Minor tweak to mp multiplication
[glibc.git] / ChangeLog
blob21fb09b937ca85e3c2fa667e90cc1ea13b7e371e
1 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
3         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
4         to optimize copies.
6         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
7         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
11         local variable MPTWO.
12         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
13         Likewise.
15 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
17         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
18         GLOB_NOESCAPE.
20 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
22         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
24 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
26         * manual/pattern.texi (glob_t): Document gl_flags.
27         (glob64_t): Likewise.
29 2013-01-11  David S. Miller  <davem@davemloft.net>
31         * math/Makefile: Recognize gmp-sysdep_routines.
32         * sysdeps/sparc/sparc64/multiarch/Makefile: Add VIS3 optimized GMP routines
33         to sysdeps.
34         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
35         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
36         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
37         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
38         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
39         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
40         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
41         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
42         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
43         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
45         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
46         sparc V9 rather than using V8 code.
47         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
48         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
50         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
51         Move to...
52         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
53         Here.
55 2013-01-11  Roland McGrath  <roland@hack.frob.com>
57         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
58         not in the main loop.
59         * configure: Regenerated.
61 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
63         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
64         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
65         to just #else.
66         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
67         [!__GLIBC_HAVE_LONG_LONG] case.
68         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
69         condition to just #else.
70         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
71         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
72         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
73         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
74         unconditional.
75         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
76         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
77         #elif condition to just #else.
78         * sysdeps/unix/sysv/linux/sys/sysmacros.h
79         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
80         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
81         #elif condition to just #else.
83 2013-01-11  Steve Ellcey  <sellcey@mips.com>
85         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
86         (EF_MIPS_ARCH_64): Fix value.
87         (EF_MIPS_ARCH_32R2): New.
88         (EF_MIPS_ARCH_64R2): New.
90 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
92         * Makeconfig (+link-pie-before-libc): New.
93         (+link-pie-after-libc): Likewise.
94         (+link-pie-tests): Likewise.
95         (+link-pie): Rewritten.
96         (link-before-libc): Remove $(config-LDFLAGS).
97         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
98         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
99         (config-LDFLAGS): Renamed to ...
100         (rtld-LDFLAGS): This.
101         (rtld-tests-LDFLAGS): New macro.
102         (link-libc-rpath-link): Likewise.
103         (link-libc-tests-rpath-link): Likewise.
104         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
105         (link-libc): Prepand $(link-libc-rpath-link).
106         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
107         (test-program-prefix): New macro.
108         (test-via-rtld-prefix): Likewise.
109         (test-program-cmd): Likewise.
110         (host-test-program-cmd): Likewise.
111         * Makefile ($(common-objpfx)testrun.sh): Replace
112         $(run-program-prefix) with $(test-program-prefix).
113         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
114         $(rtld-LDFLAGS).
115         ($(common-objpfx)shlib.lds): Likewise.
116         (build-module-helper): Likewise.
117         ($(common-objpfx)format.lds): Likewise.
118         * Rules (binaries-pie-tests): New.
119         (binaries-pie-notests): Likewise.
120         (binaries-pie): Rewritten.
121         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
122         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
123         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
124         (make-test-out): Replace $(host-built-program-cmd) with
125         $(host-test-program-cmd).
126         * config.make.in (build-hardcoded-path-in-tests): New variable.
127         * configure.in (--enable-hardcoded-path-in-tests): New configure
128         option.
129         (hardcoded_path_in_tests): New AC_SUBST.
130         * configure: Regenerated.
131         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
132         $(built-program-cmd) with $(test-program-cmd).
133         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
134         (test_program_cmd): This.
135         * elf/Makefile ($(objpfx)order.out): Run test with
136         $(test-program-prefix).
137         ($(objpfx)order2.out): Likewise.
138         ($(objpfx)tst-initorder.out): Likewise.
139         ($(objpfx)tst-initorder2.out): Likewise.
140         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
141         $(test-program-cmd).
142         ($(objpfx)tst-array1-static.out): Likewise.
143         ($(objpfx)tst-array2.out): Likewise.
144         ($(objpfx)tst-array3.out): Likewise.
145         ($(objpfx)tst-array4.out): Likewise.
146         ($(objpfx)tst-array5.out): Likewise.
147         ($(objpfx)tst-array5-static.out): Likewise.
148         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
149         $(test-program-cmd).
150         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
151         $(run-program-prefix) with $(test-program-prefix).
152         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
153         (test_program_prefix): This.
154         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
155         $(run-program-prefix) with $(test-program-prefix).
156         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
157         (test_program_prefix): This.
158         * iconvdata/tst-tables.sh: Likewise.
159         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
160         $(run-program-prefix) with $(test-program-prefix).
161         ($(objpfx)tst-translit.out): Likewise.
162         ($(objpfx)tst-gettext2.out): Likewise.
163         ($(objpfx)tst-gettext4.out): Likewise.
164         ($(objpfx)tst-gettext6.out): Likewise.
165         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
166         (test_program_prefix): This.
167         * intl/tst-gettext2.sh: Likewise.
168         * intl/tst-gettext4.sh  Likewise.
169         * intl/tst-gettext6.sh: Likewise.
170         * intl/tst-translit.sh: Likewise.
171         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
172         with $(test-program-cmd).
173         * libio/Makefile ($(objpfx)test-freopen.out): Replace
174         $(run-program-prefix) with $(test-program-prefix).
175         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
176         (test_program_prefix): This.
177         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
178         $(run-program-prefix) with $(test-program-prefix).
179         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
180         (test_program_prefix): This.
181         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
182         * posix/Makefile ($(objpfx)globtest.out): Replace
183         $(run-via-rtld-prefix) and $(test-wrapper) with
184         $(test-program-prefix) and $(test-via-rtld-prefix).
185         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
186         $(test-program-prefix).
187         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
188         $(host-test-program-cmd).
189         (tst-spawn-ARGS): Likewise.
190         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
191         $(test-program-prefix).
192         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
193         (test_via_rtld_prefix): This.
194         (test_wrapper): Renamed to ...
195         (test_program_prefix): This.
196         (run_program_prefix): Replaced by test_program_prefix.
197         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
198         (test_program_prefix): This.
199         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
200         with $(host-test-program-cmd).
201         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
202         $(run-program-prefix) with $(test-program-prefix).
203         ($(objpfx)tst-printf.out): Likewise.
204         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
205         $(test-program-cmd).
206         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
207         (test_program_prefix): This.
208         * stdio-common/tst-unbputc.sh: Likewise.
209         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
210         $(run-program-prefix) with $(test-program-prefix).
211         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
212         (test_program_prefix): This.
213         * string/Makefile ($(objpfx)tst-svc.out):  Replace
214         $(built-program-cmd) with $(test-program-cmd).
216 2013-01-11  Andreas Jaeger  <aj@suse.de>
218         [BZ #15003]
219         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
220         value. Sync with Linux 3.7.
222 2013-01-10  David S. Miller  <davem@davemloft.net>
224         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
225         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
226         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
228 2013-01-10  Roland McGrath  <roland@hack.frob.com>
230         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
231         never set.
232         * configure: Regenerated.
234 2013-01-10  David S. Miller  <davem@davemloft.net>
236         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
237         sparc V9 rather than using V8 code.
238         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
239         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
241 2013-01-10  Roland McGrath  <roland@hack.frob.com>
243         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
244         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
245         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
246         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
247         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
248         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
249         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
250         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
251         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
252         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
253         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
254         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
255         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
256         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
257         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
258         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
259         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
260         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
261         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
262         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
263         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
264         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
265         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
266         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
267         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
268         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
269         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
271 2013-01-10  David S. Miller  <davem@davemloft.net>
273         * sysdeps/sparc/fpu/libm-test-ulps: Update.
275 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
277         * posix/Makefile (tests-static): New variable.
278         (tests): Add $(tests-static).
279         (tst-exec-static-ARGS): New variable.
280         (tst-spawn-static-ARGS): Likewise.
281         * posix/tst-exec-static.c: New file.
282         * posix/tst-spawn-static.c: Likewise.
283         * posix/tst-exec.c: Support run directly.
284         * posix/tst-spawn.c: Likewise.
286 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
288         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
289         long.
290         * math/bits/mathcalls.h (llrint): Likewise.
291         (llround): Likewise.
292         * stdlib/stdlib.h (struct drand48_data): Likewise.
293         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
294         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
295         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
296         Likewise.
297         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
298         Likewise.
299         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
300         (elf_greg_t): Likewise.
301         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
302         (__jmp_buf): Likewise.
303         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
304         definitions.
305         (llrint): Likewise, for all definitions.
306         (llrintl): Likewise.
308         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
309         Remove [__GNUC__] condition.
310         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
311         condition to just [__USE_ISOC99].
312         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
314 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
316         [BZ #14200]
317         * sysdeps/unix/sysv/linux/x86/bits/environments.h
318         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
319         defined.
320         (_POSIX_V6_ILP32_OFF32): Likewise.
321         (_XBS5_ILP32_OFF32): Likewise.
322         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
323         (__ILP32_OFFBIG_LDFLAGS): Likewise.
325 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
327         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
329         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
330         doubles __mpexp_twomm1.  Adjust usage.
331         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
332         Remove.
334 2013-01-10  Andreas Schwab  <schwab@suse.de>
336         [BZ #14964]
337         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
338         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
340 2013-01-09  David S. Miller  <davem@davemloft.net>
342         [BZ #15003]
343         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
344         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
345         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
346         TCP_FASTOPEN): Define.
347         (tcp_repair_opt): New structure.
348         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
349         enum values.
350         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
351         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
352         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
353         (tcp_cookie_transactions): New structure.
355 2013-01-09  Anton Blanchard  <anton@samba.org>
357         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
358         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
359         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
360         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
362 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
364         * include/features.h (__USE_ANSI): Remove.
366 2013-01-09  Roland McGrath  <roland@hack.frob.com>
368         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
370         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
372 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
374         * sysdeps/s390/fpu/libm-test-ulps: Update.
376         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
378         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
379         (__acr): Likewise.
380         (__cpy): Likewise.
381         (norm): Likewise.
382         (denorm): Likewise.
383         (__mp_dbl): Likewise.
384         (__dbl_mp): Likewise.
385         (add_magnitudes): Likewise.
386         (sub_magnitudes): Likewise.
387         (__add): Likewise.
388         (__sub): Likewise.
389         (__mul): Likewise.
390         (__inv): Likewise.
391         (__dvd): Likewise.
392         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
393         (__acr): Likewise.
394         (__cpy): Likewise.
395         (norm): Likewise.
396         (denorm): Likewise.
397         (__mp_dbl): Likewise.
398         (__dbl_mp): Likewise.
399         (add_magnitudes): Likewise.
400         (sub_magnitudes): Likewise.
401         (__add): Likewise.
402         (__sub): Likewise.
403         (__mul): Likewise.
404         (__inv): Likewise.
405         (__dvd): Likewise.
406         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
407         (__acr): Likewise.
408         (__cpy): Likewise.
409         (norm): Likewise.
410         (denorm): Likewise.
411         (__mp_dbl): Likewise.
412         (__dbl_mp): Likewise.
413         (add_magnitudes): Likewise.
414         (sub_magnitudes): Likewise.
415         (__add): Likewise.
416         (__sub): Likewise.
417         (__mul): Likewise.
418         (__inv): Likewise.
419         (__dvd): Likewise.
421 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
423         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
424         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
425         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
426         2 && __USE_EXTERN_INLINES]: Likewise.
428 2013-01-08  Andreas Jaeger  <aj@suse.de>
430         [BZ# 14985]
431         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
432         Remove.
433         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
434         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
436 2013-01-07  Anton Blanchard  <anton@samba.org>
438         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
439         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
440         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
441         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
442         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
443         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
444         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
445         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
446         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
447         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
448         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
449         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
450         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
451         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
452         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
453         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
454         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
455         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
456         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
457         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
458         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
459         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
460         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
461         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
462         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
463         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
464         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
465         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
466         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
467         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
468         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
469         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
470         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
471         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
472         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
473         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
474         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
475         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
476         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
477         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
478         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
479         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
480         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
482 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
484         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
485         (__MALLOC_PMT): Likewise.
486         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
487         [__GNUC__], only on [_LIBC].
488         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
489         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
490         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
491         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
492         forward declaration.
493         (realloc_hook_ini): Likewise.
494         (memalign_hook_ini): Likewise.
495         (__libc_memalign): Do not use __MALLOC_PMT in variable
496         declaration.
497         (__libc_valloc): Likewise.
498         (__libc_pvalloc): Likewise.
499         (__libc_calloc): Likewise.
500         (__posix_memalign): Likewise.
502         [BZ #14996]
503         * math/s_casinh.c: Include <float.h>.
504         (__casinh): Do not do computation with squaring and square root
505         for large arguments.
506         * math/s_casinhf.c: Include <float.h>.
507         (__casinhf): Do not do computation with squaring and square root
508         for large arguments.
509         * math/s_casinhl.c: Include <float.h>.
510         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
511         (__casinhl): Do not do computation with squaring and square root
512         for large arguments.
513         * math/libm-test.inc (casin_test): Add more tests.
514         (casinh_test): Likewise.
515         * sysdeps/i386/fpu/libm-test-ulps: Update.
516         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
518 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
520         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
521         (__x86_64_raw_data_cache_size): Likewise.
522         (__x86_64_data_cache_size_half): Likewise.
523         (__x86_64_raw_data_cache_size_half): Likewise.
524         (__x86_64_shared_cache_size): Likewise.
525         (__x86_64_raw_shared_cache_size): Likewise.
526         (__x86_64_shared_cache_size_half): Likewise.
527         (__x86_64_raw_shared_cache_size_half): Likewise.
528         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
529         to ...
530         (__x86_data_cache_size): This.
531         (__x86_64_raw_data_cache_size): Renamed to ...
532         (__x86_raw_data_cache_size): This.
533         (__x86_64_data_cache_size_half): Renamed to ...
534         (__x86_data_cache_size_half): This.
535         (__x86_64_raw_data_cache_size_half): Renamed to ...
536         (__x86_raw_data_cache_size_half): This.
537         (__x86_64_shared_cache_size): Renamed to ...
538         (__x86_shared_cache_size): This.
539         (__x86_64_raw_shared_cache_size): Renamed to ...
540         (__x86_raw_shared_cache_size): This.
541         (__x86_64_shared_cache_size_half): Renamed to ...
542         (__x86_shared_cache_size_half): This.
543         (__x86_64_raw_shared_cache_size_half): Renamed to ...
544         (__x86_raw_shared_cache_size_half): This.
545         * sysdeps/x86_64/memcpy.S: Updated.
546         * sysdeps/x86_64/memset.S: Likewise.
547         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
548         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
549         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
551 2013-01-04  David S. Miller  <davem@davemloft.net>
553         * sysdeps/sparc/fpu/libm-test-ulps: Update.
555 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
557         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
558         1 to avoid redefinition warning.
559         (__USE_GNU): Don't define.
560         (init_signaling_nan): Protoize.
562         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
564 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
566         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
567         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
568         (__cpymn): Likewise.
569         (norm): Remove commented code.
570         (denorm): Likewise.
571         (__mp_dbl): Likewise.
572         (__inv): Likewise.
573         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
574         (__cpymn): Likewise.
575         (norm): Remove commented code.
576         (denorm): Likewise.
577         (__mp_dbl): Likewise.
578         (__inv): Likewise.
580         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
581         mp_no value for 1.0 and 2.0.
582         (norm): Use RADIXI instead of radixi.d.
583         (denorm): Likewise.
584         (__mul): Use 0.0 instead of zero.d.
585         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
586         mp_no value for 1.0 and 2.0.
587         (norm): Use RADIXI instead of radixi.d.
588         (denorm): Likewise.
589         (__mul): Use 0.0 instead of zero.d.
591 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
593         [BZ #14994]
594         * math/s_casinh.c (__casinh): Reduce finite argument to first
595         quadrant then set signs of results at the end.
596         * math/s_casinhf.c (__casinhf): Likewise.
597         * math/s_casinhl.c (__casinhl): Likewise.
598         * math/libm-test.inc (casin_test): Add more tests.
599         (casinh_test): Likewise.
600         * sysdeps/i386/fpu/libm-test-ulps: Update.
601         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
603 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
605         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
607         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
609         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
610         declarations.
611         (denorm): Likewise.
612         (__mp_dbl): Likewise.
613         (__inv): Likewise.
615         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
616         and adjust the header comment.
618         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
619         variable name from declaration.
621 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
623         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
624         Initialize COMMON_CPUID_INDEX_7 element.
625         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
626         (CPUID_RTM): Likewise.
627         (HAS_RTM): Likewise.
628         (COMMON_CPUID_INDEX_7): New enum.
630 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
632         [BZ #14981]
633         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
634         size is zero, record memory as freed.
636 2013-01-03  Andreas Jaeger  <aj@suse.de>
638         * po/ia.po: Add new Interlingua translation.
640 2012-01-03  Allan McRae  <allan@archlinux.org>
642         * locale/programs/localedef.c: Fix description of '--posix' flag.
644 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
646         * NEWS: Update dates in second copyright notice.
647         * README: Update copyright dates in example.
648         * manual/libc.texinfo: Update copyright dates.
649         * scripts/test-installation.pl: Update copyright date in --version
650         output.
652         * hurd/ctty-input.c: Fix copyright notice formatting.
653         * hurd/ctty-output.c: Likewise.
654         * hurd/dtable.c: Likewise.
655         * hurd/hurd-raise.c: Likewise.
656         * hurd/hurdprio.c: Likewise.
657         * hurd/msgportdemux.c: Likewise.
658         * misc/sys/file.h: Likewise.
659         * misc/sys/ioctl.h: Likewise.
660         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
661         * sysdeps/mach/hurd/chdir.c: Likewise.
662         * sysdeps/mach/hurd/fchdir.c: Likewise.
663         * sysdeps/mach/hurd/rename.c: Likewise.
664         * sysdeps/mach/hurd/rmdir.c: Likewise.
665         * sysdeps/mach/hurd/seekdir.c: Likewise.
666         * sysdeps/mach/hurd/setsid.c: Likewise.
667         * sysdeps/posix/wait3.c: Likewise.
669         * All files with FSF copyright notices: Update copyright dates
670         using scripts/update-copyrights.
671         * intl/plural.c: Regenerated.
672         * locale/programs/charmap-kw.h: Likewise.
673         * locale/programs/locfile-kw.h: Likewise.
675 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
677         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
678         four values.
680         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
681         calculation loop and add branch prediction.
683         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
684         check access beyond bounds of m1np.
686         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
687         MPTWO.
688         (__inv): Remove local variable MPTWO to use the global
689         constant.
690         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
691         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
692         variable MPTWO.
693         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
694         MP3HALFS static const.
696 2013-01-01  David S. Miller  <davem@davemloft.net>
698         * po/ca.po: Update from translation team.
700 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
702         * scripts/update-copyrights: New file.
703         * Makeconfig: Reformat copyright notice.
704         * ctype/ctype.h: Likewise.
705         * debug/swprintf_chk.c: Likewise.
706         * elf/dl-cache.c: Likewise.
707         * elf/dl-debug.c: Likewise.
708         * elf/dl-object.c: Likewise.
709         * grp/initgroups.c: Likewise.
710         * hurd/Makefile: Likewise.
711         * hurd/hurd/signal.h: Likewise.
712         * hurd/hurdfault.c: Likewise.
713         * hurd/hurdioctl.c: Likewise.
714         * hurd/hurdlookup.c: Likewise.
715         * hurd/intr-msg.c: Likewise.
716         * iconv/gconv_open.c: Likewise.
717         * libio/swprintf.c: Likewise.
718         * locale/lc-ctype.c: Likewise.
719         * locale/nl_langinfo.c: Likewise.
720         * mach/Machrules: Likewise.
721         * mach/Makefile: Likewise.
722         * malloc/obstack.h: Likewise.
723         * manual/Makefile: Likewise.
724         * manual/tsort.awk: Likewise.
725         * misc/bits/stab.def: Likewise.
726         * nis/nis_print_group_entry.c: Likewise.
727         * nis/nis_table.c: Likewise.
728         * nis/nss_compat/compat-pwd.c: Likewise.
729         * nis/nss_compat/compat-spwd.c: Likewise.
730         * po/Makefile: Likewise.
731         * posix/fnmatch.c: Likewise.
732         * posix/regex.h: Likewise.
733         * resolv/Makefile: Likewise.
734         * resolv/nss_dns/dns-network.c: Likewise.
735         * resolv/res_hconf.c: Likewise.
736         * scripts/gen-sorted.awk: Likewise.
737         * soft-fp/soft-fp.h: Likewise.
738         * stdio-common/printf.h: Likewise.
739         * stdlib/monetary.h: Likewise.
740         * stdlib/random.c: Likewise.
741         * stdlib/random_r.c: Likewise.
742         * sysdeps/generic/Makefile: Likewise.
743         * sysdeps/gnu/Makefile: Likewise.
744         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
745         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
746         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
747         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
748         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
749         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
750         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
751         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
752         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
753         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
754         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
755         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
756         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
757         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
758         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
759         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
760         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
761         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
762         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
763         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
764         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
765         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
766         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
767         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
768         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
769         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
770         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
771         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
772         * sysdeps/mach/hurd/errnos.awk: Likewise.
773         * sysdeps/mach/hurd/fork.c: Likewise.
774         * sysdeps/mach/hurd/getcwd.c: Likewise.
775         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
776         * sysdeps/mach/hurd/mmap.c: Likewise.
777         * sysdeps/mach/hurd/utimes.c: Likewise.
778         * sysdeps/mach/hurd/xmknod.c: Likewise.
779         * sysdeps/posix/profil.c: Likewise.
780         * sysdeps/posix/readdir_r.c: Likewise.
781         * sysdeps/powerpc/bits/mathdef.h: Likewise.
782         * sysdeps/powerpc/bits/setjmp.h: Likewise.
783         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
784         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
785         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
786         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
787         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
788         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
789         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
790         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
791         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
792         * sysdeps/pthread/lio_listio.c: Likewise.
793         * sysdeps/sparc/dl-procinfo.h: Likewise.
794         * sysdeps/unix/i386/sysdep.S: Likewise.
795         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
796         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
797         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
798         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
800         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
801         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
802         * sysdeps/unix/sysv/linux/speed.c: Likewise.
803         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
804         * sysdeps/wordsize-32/divdi3.c: Likewise.
805         * time/sys/time.h: Likewise.
806         * wcsmbs/Makefile: Likewise.
808 2013-01-01  David S. Miller  <davem@davemloft.net>
810         * po/fr.po: Update from translation team.
812         * catgets/gencat.c: Update copyright year.
813         * csu/version.c: Likewise.
814         * debug/catchsegv.sh: Likewise.
815         * debug/pcprofiledump.c: Likewise.
816         * debug/xtrace.sh: Likewise.
817         * elf/ldconfig.c: Likewise.
818         * elf/ldd.bash.in: Likewise.
819         * elf/pldd.c: Likewise.
820         * elf/sotruss.ksh: Likewise.
821         * elf/sprof.c: Likewise.
822         * iconv/iconv_prog.c: Likewise.
823         * iconv/iconvconfig.c: Likewise.
824         * locale/programs/locale.c: Likewise.
825         * locale/programs/localedef.c: Likewise.
826         * login/programs/pt_chown.c: Likewise.
827         * malloc/memusage.sh: Likewise.
828         * malloc/memusagestat.c: Likewise.
829         * malloc/mtrace.pl: Likewise.
830         * nscd/nscd.c: Likewise.
831         * nss/getent.c: Likewise.
832         * nss/makedb.c: Likewise.
833         * posix/getconf.c: Likewise.
835 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
837         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
838         numbers.
840 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
842         * math/bits/mathcalls.h (modf): Use __nonnull.
844 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
846         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
847         (split): Use macro CN instead of the bare value.
848         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
849         could be used.
850         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
851         instead of the bare value.
852         (power1): Likewise.
854 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
856         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
857         __ATAN_TWOM.
858         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
860         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
861         their values.
862         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
863         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
864         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
865         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
867 2012-12-28  Andreas Jaeger  <aj@suse.de>
869         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
870         values are from Linux 3.7.
872         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
873         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
875 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
877         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
878         TRUE case.
880         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
881         (norm): Likewise.
882         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
883         variables with preprocessor constants.
884         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
885         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
886         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
888 2012-12-27  Bruno Haible  <bruno@clisp.org>
890         [BZ #14317]
891         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
892         only if needed.
894 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
896         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
897         and use variable directly.
898         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
900         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
901         MPONE.
902         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
903         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
904         variable MPONE.
905         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
906         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
907         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
908         include directive.  Remove local variable MPONE.
909         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
910         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
911         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
913 2012-12-25  David S. Miller  <davem@davemloft.net>
915         * version.h (RELEASE): Set to "development".
916         (VERSION): Set to "2.17.90".
917         * NEWS: Add 2.18 section.
919 2012-12-21  David S. Miller  <davem@davemloft.net>
921         * po/hr.po: Update from translation team.
923 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
925         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
927 2012-12-19  Steve Ellcey  <sellcey@mips.com>
929         * NEWS:  Mention new memcpy for MIPS.
931 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
933         * manual/contrib.texi (Contributors): Spelling correction.
935 2012-12-15  David S. Miller  <davem@davemloft.net>
937         * po/ru.po: Update from translation team.
939 2012-12-13  David S. Miller  <davem@davemloft.net>
941         * NEWS: Mention IFUNC testsuite enhancements.
943         * po/pl.po: Update from translation team.
944         * po/bg.po: Likewise.
946         * manual/contrib.texi (Contributors): Update entries for Hongjiu
947         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
949 2012-12-11  David S. Miller  <davem@davemloft.net>
951         * po/sv.po: Update from translation team.
953         * po/vi.po: Update from translation team.
955         * po/cs.po: Update from translation team.
957         * po/de.po: Update from translation team.
958         * po/eo.po: Likewise.
959         * po/nl.po: Likewise.
961 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
963         [BZ #14246]
964         * manual/argp.texi (Argp Helper Functions): Move node to follow
965         Argp Parsing State.
967         [BZ #14872]
968         * manual/conf.texi (Limits on File System Capacity): Mention if
969         terminating null is included in the max size.
971 2012-12-10  Andreas Jaeger  <aj@suse.de>
973         * po/cs.po: Update from translation team.
975 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
977         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
978         void pointer and cast to uintptr_t.
979         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
980         path.
981         * sysdeps/s390/s390-64/memcpy.S: Likewise.
982         * sysdeps/s390/s390-64/memset.S: Likewise.
984 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
986         [BZ #14833]
987         * menual/message.texi (Message Translation): Fix typos.
988         (Helper programs for gettext): Likewise.
990 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
992         [BZ #14898]
993         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
994         Change to -1.
996 2012-12-07  David S. Miller  <davem@davemloft.net>
998         * po/libc.pot: Update.
1000 2012-12-07  Richard Henderson  <rth@redhat.com>
1002         [BZ #10114]
1003         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
1004         normal/normal case to before the switch.
1005         (_FP_DIV): Likewise.
1007 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
1008             Mike Frysinger  <vapier@gentoo.org>
1010         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
1011         check for __NR_fadvise64_64.
1013 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
1015         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
1016         0, not just to plain "0" as a statement.
1017         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
1018         with cw.
1020 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
1022         * NEWS: Use sourceware.org in Bugzilla URL.
1024 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
1026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1027         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
1029         * stdio-common/tst-put-error.c (do_test): Add newline to the
1030         padded test to ensure flush.
1032 2012-12-05  Jeff Law  <law@redhat.com>
1034         * sunrpc/etc.rpc (fedfs_admin): Add entry.
1036 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
1038         * README: Don't refer to ports add-on as distributed separately.
1039         Mention AArch64 in list of systems supported in the ports add-on.
1041         * LICENSES: Add more non-FSF copyright and license notices.
1043         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
1044         ((unused)).
1046         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
1048         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
1049         10000 as width of padded output.
1051 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
1053         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
1055         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
1056         variable LX with __attribute__ ((unused)).
1057         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
1058         Likewise.
1059         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
1060         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1061         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
1062         with __attribute__ ((unused)).
1064 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
1066         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
1068 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
1070         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
1071         (CFLAGS-nldbl-acos.c): New variable.
1072         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
1073         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
1074         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
1075         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
1076         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
1077         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
1078         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
1079         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
1080         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
1081         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
1082         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
1083         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
1084         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
1085         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
1086         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
1087         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
1088         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
1089         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
1090         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
1091         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
1092         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
1093         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
1094         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
1095         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
1096         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
1097         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
1098         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
1099         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
1100         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
1101         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
1102         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
1103         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
1104         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
1105         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
1106         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
1107         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
1108         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
1109         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
1110         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
1111         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
1112         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
1113         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
1114         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
1115         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
1116         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
1117         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
1118         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
1119         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
1120         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
1121         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
1122         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
1123         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
1124         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
1125         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
1126         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
1127         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
1128         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
1129         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
1130         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
1131         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
1132         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
1133         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
1134         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
1135         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
1136         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
1137         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
1138         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
1139         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
1140         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
1141         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
1142         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
1143         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
1144         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
1145         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
1146         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
1147         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
1148         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
1149         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
1150         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
1151         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
1152         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
1153         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
1154         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
1155         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
1156         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
1157         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
1158         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
1159         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
1160         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
1161         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
1162         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
1163         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
1164         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
1165         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
1166         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
1167         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
1168         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
1170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1171         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
1173         [BZ #14914]
1174         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
1175         whole low double instead of just low 47 bits when splitting values
1176         into two parts.
1178 2012-12-03  Allan McRae  <allan@archlinux.org>
1180         * manual/stdio.texi (Predefined Printf Handlers): Remove
1181         @hsep and @vsep usage.
1183 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
1185         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
1186         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
1188 2012-12-03  Jeff Law  <law@redhat.com>
1190         * time/sys/time.h (settimeofday): Do not mark TV argument
1191         as __nonnull.
1193 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
1195         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
1196         when currently writing and seek to current position when not.
1197         * libio/Makefile (tests): Remove bug-fclose1.
1198         * libio/bug-fclose1.c: Delete.
1200 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
1202         * manual/arith.texi (feenableexcept): Fix typo.
1203         (fedisableexcept): Likewise.
1205 2012-11-30  Roland McGrath  <roland@hack.frob.com>
1207         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
1208         second, differently-typed declaration, rather than a cast.
1210 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
1212         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
1213         * include/rpc/svc.h: ... here.
1215 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
1217         [BZ #13013]
1218         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
1219         depending n and resplen2 to catch cases where answer
1220         equals answerp2.
1222 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
1224         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
1225         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
1227 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
1229         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
1231 2012-11-29  Roland McGrath  <roland@hack.frob.com>
1233         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
1235 2012-11-28  Jeff Law  <law@redhat.com>
1237         [BZ #13761]
1238         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
1239         dataset_temporary.  Track alloca usage into alloca_used.
1240         If dataset is large allocate and release it via malloc/free.
1242 2012-06-04  Florian Weimer  <fweimer@redhat.com>
1244         [BZ #14197]
1245         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
1247 2012-11-28  David S. Miller  <davem@davemloft.net>
1249         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1251 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
1253         [BZ #14803]
1254         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
1255         of pi/2 rounded to nearest to 64 bits.
1256         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
1257         nearest to 64 bits.
1258         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
1259         bits.
1261 2012-11-28  Jeff Law <law@redhat.com>
1262             Martin Osvald <mosvald@redhat.com>
1264         [BZ #14889]
1265         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
1266         * sunrpc/svc.c: Include time.h.
1267         (__svc_accept_failed): New function.
1268         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
1269         any reason other than EINTR, call __svc_accept_failed.
1270         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
1271         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
1273 2012-11-28  Andreas Schwab  <schwab@suse.de>
1275         * scripts/abilist.awk: Also handle indirect functions in .opd
1276         section.
1278 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
1280         [BZ #13881]
1281         * sysdeps/x86/fpu/powl_helper.c: New file.
1282         * sysdeps/x86/fpu/Makefile: Likewise.
1283         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
1284         (p3): New object.
1285         (__ieee754_powl): Use __powl_helper for finite arguments except
1286         integer exponents below 8.
1287         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
1288         (p3): New object.
1289         (__ieee754_powl): Use __powl_helper for finite arguments except
1290         integer exponents below 8.
1291         * math/libm-test.inc (pow_test): Add more tests and enable some
1292         previously disabled tests.
1293         * sysdeps/i386/fpu/libm-test-ulps: Update.
1294         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1296 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
1297             Carlos O'Donell  <carlos_odonell@mentor.com>
1299         * nss/makedb.c (is_prime): Assert that input is odd and greater
1300         than 4.  Note that fact in a comment too.
1301         (next_prime): Add 4 to input.
1303 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
1305         [BZ #11741]
1306         * libio/Makefile (tests): Add test case tst-fwrite-error.
1307         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
1308         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
1309         * libio/tst-fwrite-error.c: New test case.
1311 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
1313         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
1314         before casting to void *.
1315         * include/libc-internal.h (__pointer_type): New macro.
1316         (__integer_if_pointer_type_sub): Likewise.
1317         (__integer_if_pointer_type): Likewise.
1318         (cast_to_integer): Likewise.
1319         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
1320         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
1321         before casting to atomic64_t.
1322         (atomic_exchange_acq): Likewise.
1323         (__arch_exchange_and_add_body): Likewise.
1324         (__arch_add_body): Likewise.
1325         (atomic_add_negative): Likewise.
1326         (atomic_add_zero): Likewise.
1328 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
1330         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
1331         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
1332         (add_fdes): Likewise.
1333         (linear_search_fdes): Likewise.
1334         (binary_search_unencoded_fdes): Likewise.
1336 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
1338         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
1340 2012-11-24  Adam Conrad  <adconrad@0c3.net>
1342         * configure.in: Autodetect C++ header directories.
1343         * configure: Regenerated.
1345 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
1347         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
1349 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
1351         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1353 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
1355         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
1356         LDBL_MANT_DIG == 106]: Disable some tests.
1357         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
1358         Likewise.
1359         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
1360         Likewise.
1362         [BZ #14871]
1363         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
1364         input for small inputs.  Return +/- pi/2 for large inputs.
1365         * math/libm-test.inc (atan_test): Add more tests.
1367         * sysdeps/generic/unwind-dw2-fde-glibc.c
1368         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
1369         __attribute__ ((unused)).
1371         [BZ #14645]
1372         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
1373         x * y if x and y are nonzero and z is zero.
1375         [BZ #14811]
1376         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
1377         nonzero exponents with absolute value below 0x1p-117 to +/-
1378         0x1p-117.
1380         [BZ #14869]
1381         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
1382         up arguments below 2**-450, not just those below 2**-500.
1383         * math/libm-test.inc (hypot_test): Add another test.
1385         [BZ #14868]
1386         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
1387         Return a+b for ratio over 2**120, not 2**60.
1388         * math/libm-test.inc (hypot_test): Add another test.
1390         * math/libm-test.inc (clog_test): Use
1391         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
1392         (clog10_test): Likewise.
1394         [BZ #6778]
1395         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
1397 2012-11-22  Andreas Schwab  <schwab@suse.de>
1399         * sysdeps/i386/fpu/libm-test-ulps: Update.
1401 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
1403         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
1404         printf output with newline.
1406 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
1408         [BZ #14865]
1409         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
1410         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
1411         -z nodlopen, -z initfirst and -z execstack support.
1412         * configure: Regenerated.
1414         * elf/elf.h (DF_1_NODIRECT): New macro.
1415         (DF_1_IGNMULDEF): Likewise.
1416         (DF_1_NOKSYMS): Likewise.
1417         (DF_1_NOHDR): Likewise.
1418         (DF_1_EDITED): Likewise.
1419         (DF_1_NORELOC): Likewise.
1420         (DF_1_SYMINTPOSE): Likewise.
1421         (DF_1_GLOBAUDIT): Likewise.
1422         (DF_1_SINGLETON): Likewise.
1423         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
1424         DT_1_SUPPORTED_MASK bits.
1425         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
1427 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
1429         * sysdeps/unix/make-syscalls.sh: Document prefixes.
1431 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
1433         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
1434         macro.
1436         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
1437         (sendmmsg): Move declarations...
1438         * socket/sys/socket.h: ... here.
1439         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
1440         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
1441         include it from...
1442         * socket/recvmmsg.c: ... this new file.
1443         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
1444         (sendmmsg): Rename to __sendmmsg, create weak alias and make
1445         definition of __sendmmsg hidden.
1446         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
1447         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
1448         Move ENOSYS stub into and include it from...
1449         * socket/sendmmsg.c: ... this new file.
1450         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
1451         (sysdep_routines): Move recvmmsg and sendmmsg...
1452         * socket/Makefile (routines): ... here.
1453         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
1454         (GLIBC_PRIVATE): Add __sendmmsg.
1455         * include/sys/socket.h (__sendmmsg): Add declarations.
1456         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
1457         sendmmsg.
1459 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
1461         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
1462         variable I1 with __attribute__ ((unused)).
1463         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
1465 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
1467         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
1468         DUMMY variables with __attribute__ ((unused)).
1470         * bits/byteswap.h: Include <bits/types.h>.
1471         (__bswap_64): Use __uint64_t instead of unsigned long long int.
1473 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
1475         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
1476         string_t.  Do not manually set errno.
1477         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
1478         length with __strnlen.  Make sure to both set errno and return it on
1479         failure.
1481 2012-11-19  David S. Miller  <davem@davemloft.net>
1483         With help from Joseph Myers.
1484         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
1485         very large arguments properly.
1486         * math/libm-test.inc (atan_test): New tests.
1487         (atan2_test): New tests.
1488         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1489         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1491 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
1493         [BZ #14856]
1494         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
1495         Define to 3.
1497         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
1498         [POSIX] (EADDRNOTAVAIL): Likewise.
1499         [POSIX] (EAFNOSUPPORT): Likewise.
1500         [POSIX] (EALREADY): Likewise.
1501         [POSIX] (ECONNABORTED): Likewise.
1502         [POSIX] (ECONNREFUSED): Likewise.
1503         [POSIX] (ECONNRESET): Likewise.
1504         [POSIX] (EDESTADDRREQ): Likewise.
1505         [POSIX] (EDQUOT): Likewise.
1506         [POSIX] (EHOSTUNREACH): Likewise.
1507         [POSIX] (EIDRM): Likewise.
1508         [POSIX] (EISCONN): Likewise.
1509         [POSIX] (ELOOP): Likewise.
1510         [POSIX] (EMULTIHOP): Likewise.
1511         [POSIX] (ENETDOWN): Likewise.
1512         [POSIX] (ENETUNREACH): Likewise.
1513         [POSIX] (ENOBUFS): Likewise.
1514         [POSIX] (ENODATA): Likewise.
1515         [POSIX] (ENOLINK): Likewise.
1516         [POSIX] (ENOMSG): Likewise.
1517         [POSIX] (ENOPROTOOPT): Likewise.
1518         [POSIX] (ENOSR): Likewise.
1519         [POSIX] (ENOSTR): Likewise.
1520         [POSIX] (ENOTCONN): Likewise.
1521         [POSIX] (ENOTSOCK): Likewise.
1522         [POSIX] (EOPNOTSUPP): Likewise.
1523         [POSIX] (EOVERFLOW): Likewise.
1524         [POSIX] (EPROTO): Likewise.
1525         [POSIX] (EPROTONOSUPPORT): Likewise.
1526         [POSIX] (EPROTOTYPE): Likewise.
1527         [POSIX] (ESTALE): Likewise.
1528         [POSIX] (ETIME): Likewise.
1529         [POSIX] (ETXTBSY): Likewise.
1530         [POSIX] (EWOULDBLOCK): Likewise.
1531         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
1532         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
1533         [POSIX] (SEEK_CUR): Likewise.
1534         [POSIX] (SEEK_END): Likewise.
1535         [POSIX || UNIX98] (mode_t): Do not require.
1536         [POSIX] (off_t): Likewise.
1537         [POSIX] (pid_t): Likewise.
1538         [POSIX] (sys/stat.h): Do not allow header.
1539         [POSIX] (unistd.h): Likewise.
1540         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
1541         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
1542         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
1543         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
1544         require.
1545         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
1546         sigevent): Specify elements.
1547         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
1548         entry.
1549         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
1550         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
1552         * conform/data/cpio.h-data [POSIX]: Disable whole file.
1553         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
1554         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
1555         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
1556         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
1557         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
1558         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
1559         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
1560         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
1561         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
1562         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
1563         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
1564         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
1565         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
1566         Likewise.
1567         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
1568         Likewise.
1569         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
1570         Likewise.
1571         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
1572         Likewise.
1573         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
1574         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
1575         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
1576         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
1577         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
1578         Specify lower bound on value.
1579         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
1580         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
1581         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
1582         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
1583         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
1584         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
1585         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
1586         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
1587         value.
1588         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
1589         as optional.
1590         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
1591         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
1592         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
1593         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
1594         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
1595         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
1596         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
1597         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
1598         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
1599         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
1600         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
1601         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
1602         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
1603         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
1604         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
1605         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
1606         entry.
1607         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
1608         optional.
1609         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
1610         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
1611         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
1612         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
1613         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
1614         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
1615         Likewise.
1616         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
1617         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
1618         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
1619         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
1620         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
1621         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
1622         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
1623         as optional.
1624         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
1625         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
1626         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
1627         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
1628         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
1629         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
1630         specify as optional.
1631         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
1632         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
1633         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
1634         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
1635         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
1636         [XPG3] (NL_LANGMAX): Likewise.
1637         [POSIX || XPG3] (NL_MSGMAX): Likewise.
1638         [POSIX || XPG3] (NL_NMAX): Likewise.
1639         [POSIX || XPG3] (NL_SETMAX): Likewise.
1640         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
1641         [XPG3] (NZERO): Likewise.
1642         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
1643         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
1644         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
1645         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
1646         (REG_ERANGE): Expect.
1647         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
1648         optional-constant.
1649         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
1650         Use (void) in prototype.
1651         [POSIX] (*_t): Allow.
1652         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
1653         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
1654         (WRDE_BADVAL): Expect.
1656         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
1657         expect.
1658         [XPG3 || XPG4] (O_RSYNC): Likewise.
1659         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
1660         Likewise.
1661         [XPG3 || XPG4] (pthread_sigmask): Likewise.
1662         [XPG3 || XPG4] (sigqueue): Likewise.
1663         [XPG3 || XPG4] (sigtimedwait): Likewise.
1664         [XPG3 || XPG4] (sigwaitinfo): Likewise.
1665         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
1666         [XPG3 || XPG4] (vsnprintf): Likewise.
1667         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
1668         Likewise.
1669         [XPG3 || XPG4] (blksize_t): Likewise.
1670         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
1671         Likewise.
1672         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
1673         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
1674         [XPG3 || XPG4] (struct itimerspec): Likewise.
1675         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
1676         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
1677         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
1678         [XPG3 || XPG4] (clockid_t): Likewise.
1679         [XPG3 || XPG4] (timer_t): Likewise.
1680         [XPG3 || XPG4] (clock_getres): Likewise.
1681         [XPG3 || XPG4] (clock_gettime): Likewise.
1682         [XPG3 || XPG4] (clock_settime): Likewise.
1683         [XPG3 || XPG4] (nanosleep): Likewise.
1684         [XPG3 || XPG4] (timer_create): Likewise.
1685         [XPG3 || XPG4] (timer_delete): Likewise.
1686         [XPG3 || XPG4] (timer_gettime): Likewise.
1687         [XPG3 || XPG4] (timer_getoverrun): Likewise.
1688         [XPG3 || XPG4] (timer_settime): Likewise.
1689         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
1690         [XPG3 || XPG4] (getlogin_r): Likewise.
1691         [XPG3 || XPG4] (pread): Likewise.
1692         [XPG3 || XPG4] (pthread_atfork): Likewise.
1693         [XPG3 || XPG4] (pwrite): Likewise.
1695         [BZ #14835]
1696         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
1697         <bits/siginfo.h>.
1699 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
1701         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
1702         finalizing MALLSTREAM.
1704         * sysdeps/mach/hurd/syncfs.c: New file.
1706 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
1708         [BZ #14719]
1709         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
1710         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
1711         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
1712         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
1713         (_nss_dns_gethostbyname4_r): Likewise.
1714         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
1715         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
1717 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
1719         [BZ #13763]
1720         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
1722 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
1724         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
1725         * elf/cache.c (print_entry): Print ",AArch64" for
1726         FLAG_AARCH64_LIB64
1728         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
1729         * elf/cache.c (print_entry): Print ",hard-float" for
1730         FLAG_ARM_LIBHF.
1732 2012-11-18  David S. Miller  <davem@davemloft.net>
1734         With help from Joseph Myers.
1735         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
1736         cutoff to 2**-13.
1737         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
1738         cutoff to 2**-25.
1739         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
1740         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
1741         small.
1742         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
1743         * math/libm-test.inc (y0_test): New tests.
1744         (y1_test): New tests.
1745         * sysdeps/i386/fpu/libm-test-ulps: Update.
1746         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1747         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1749 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
1751         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
1752         64-bit targets.
1753         * configure: Regenerated.
1755 2012-11-17  David S. Miller  <davem@davemloft.net>
1757         [BZ #14811]
1758         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
1759         nonzero exponents with absolute value below 0x1p-128 to +/-
1760         0x1p-128.
1762 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
1764         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
1766         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
1768         * posix/getconf-speclist.c: New file.
1769         * posix/posix-envs.def: Likewise.
1770         * posix/confstr.c (START_ENV_GROUP): New macro.
1771         (END_ENV_GROUP): Likewise.
1772         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
1773         (KNOWN_PRESENT_ENV_STRING): Likewise.
1774         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
1775         (UNKNOWN_ENVIRONMENT): Likewise.
1776         (confstr): Include posix-envs.def instead of handling
1777         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
1778         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
1779         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
1780         (END_ENV_GROUP): Likewise.
1781         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
1782         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
1783         (UNKNOWN_ENVIRONMENT): Likewise.
1784         (__sysconf): Include posix-envs.def instead of handling associated
1785         cases directly here.
1786         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
1787         preprocessing getconf-speclist.c rather than running getconf or
1788         generating empty file.
1790 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
1792         * scripts/check-local-headers.sh: Ignore 'mach' headers.
1794 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
1796         [BZ #14672]
1797         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
1799 2012-11-16  David S. Miller  <davem@davemloft.net>
1801         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
1802         smaller than LDBL_EPSILON/2.0L, just return xm1.
1804 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
1806         * elf/tst-array1.c (init): Set constructor priority to 1000.
1807         (fini): Set destructor priority to 1000.
1808         * elf/tst-array2dep.c: Likewise.
1810 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
1812         [BZ #11741]
1813         * libio/fileops.c (_IO_new_file_write): Correctly return error.
1814         (_IO_new_file_xsputn): Also return EOF if none of the input
1815         data was written when overflow failed.
1816         * libio/iopadn.c (_IO_padn): Likewise.
1817         * libio/iowpadn.c (_IO_wpadn): Likewise.
1818         * stdio-common/tst-put-error.c: Add copyright notice.
1819         (do_test): Add case for printing padded string.
1820         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
1821         _IO_padn returned error.
1822         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
1823         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
1824         return EOF.
1826 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
1828         * libio/libioP.h: Add comment note that the references to C++
1829         bits are now obsolete.
1831 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
1833         * math/libm-test.inc (check_complex): Use asprintf.
1835 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
1837         * debug/pcprofiledump.c (print_version): Update copyright year.
1838         * malloc/memusagestat.c (print_version): Likewise.
1840 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
1842         [BZ #14831]
1843         * elf/Makefile (tests): Add tst-audit8.
1844         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
1845         ($(objpfx)tst-audit8.out): New target.
1846         (tst-audit8-ENV): New variable.
1847         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
1848         audit if l_reloc_result is NULL.
1849         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
1850         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
1851         * elf/tst-audit8.c: New file.
1853 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
1855         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
1856         * misc/Makefile (CFLAGS-select.c): Define.
1857         * posix/Makefile (CFLAGS-pause.c): Define.
1859 2012-11-13  David S. Miller  <davem@davemloft.net>
1861         * crypt/Makefile: Move test targets after toplevel Rules
1862         inclusion.  Grab any necessary sysdep routines when linking.
1863         * crypt/md5.c (md5_process_block): Remove define, we will always
1864         name it __md5_process_block.
1865         (md5_finish_ctx): Update md5_process_block call.
1866         (md5_stream): Likewise.
1867         (md5_process_bytes): Likewise.
1868         (md5_process_block): Rename to __md5_process_block and move to ...
1869         * crypt/md5-block.c: ... here.
1870         * crypt/sha256.c (sha256_process_block): Move to ...
1871         * crypt/sha256-block.c: ... here.
1872         * crypt/sha512.c (sha512_process_block): Move to ...
1873         * crypt/sha512-block.c: ... here.
1874         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
1875         path.
1876         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
1877         * sysdeps/sparc/sparc64/multiarch/Makefile
1878         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
1879         crypt subdir.
1880         (localedef-aux): Add md5 crypto assembler when in locale subdir.
1881         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
1882         multiarch changes.
1883         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
1884         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
1885         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
1886         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
1887         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
1888         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
1889         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
1890         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
1891         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
1892         file.
1893         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
1894         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
1895         file.
1896         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
1898 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
1900         * timezone/tzselect.ksh: Update from tzcode git revision
1901         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
1902         * timezone/zdump.c: Likewise.
1903         * timezone/zic.c: Likewise.
1904         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
1905         in TZVERSION setting, not $(PKGVERSION).
1906         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
1907         REPORT_BUGS_TO settings.
1909         [BZ #14838]
1910         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
1911         macro.
1913 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
1915         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
1916         detection to immediately after _FP_ROUND().
1917         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
1918         bits are 0.
1920 2012-11-11  David S. Miller  <davem@davemloft.net>
1922         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
1923         inttypes.h
1924         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
1925         __close rather than their public counterparts.
1927 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
1929         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
1930         file.
1931         [UNIX98] (sem_timedwait): Do not expect.
1932         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
1933         [XPG4 || UNIX98] (sockatmark): Do not expect.
1934         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
1935         (clock_getcpuclockid): Do not expect.
1936         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
1937         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
1938         Do not expect.
1939         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
1940         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
1941         [UNIX98] (vwscanf): Likewise.
1942         [UNIX98] (vswscanf): Likewise.
1944 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
1946         * timezone/version.h: Remove file.
1947         * timezone/README: Do not refer to version.h.
1948         * timezone/Makefile ($(objpfx)zic.o): New dependency on
1949         $(objpfx)version.h.
1950         ($(objpfx)zdump.o): Likewise.
1951         ($(objpfx)version.h): New target.
1953         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
1954         2012i.
1955         * timezone/README: Don't mention modification to tzselect.ksh.
1956         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
1957         work on unmodified tzselect.ksh.  Substitute version numbers in
1958         tzselect.ksh.
1960         * Makefile (format-me): Remove.
1961         (INSTALL): Adjust indentation.  Use commands directly instead of
1962         using $(format-me).
1964         * aclocal.m4 (ACX_PKGVERSION): New macro.
1965         (ACX_BUGURL): Likewise.
1966         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
1967         (PKGVERSION): New AC_DEFINE_UNQUOTED.
1968         (REPORT_BUGS_TO): Likewise.
1969         * configure: Regenerated.
1970         * config.h.in (PKGVERSION): New macro.
1971         (REPORT_BUGS_TO): Likewise.
1972         * config.make.in (PKGVERSION): New variable.
1973         (PKGVERSION_TEXI): Likewise.
1974         (REPORT_BUGS_TO): Likewise.
1975         (REPORT_BUGS_TEXI): Likewise.
1976         * Makefile (format-me): Use -I$(common-objpfx)manual.
1977         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
1978         ($(common-objpfx)manual/%): New target.
1979         (manual/%): Remove target.
1980         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
1981         (print_version): Use PKGVERSION.
1982         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
1983         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
1984         and REPORT_BUGS_TO.
1985         ($(objpfx)xtrace): Likewise.
1986         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
1987         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
1988         (print_version): Use PKGVERSION.
1989         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
1990         (do_version): Use PKGVERSION.
1991         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
1992         REPORT_BUGS_TO.
1993         (common-ldd-rewrite): Likewise.
1994         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
1995         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
1996         (print_version): Use PKGVERSION.
1997         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
1998         * elf/pldd.c (argp_program_bug_address): Remove variable.
1999         (more_help): New function.
2000         (argp): Use more_help.
2001         (print_version): Use PKGVERSION.
2002         * elf/sln.c (main): Use PKGVERSION.
2003         (usage): Use REPORT_BUGS_TO.
2004         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
2005         (top level): Use PKGVERSION.
2006         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
2007         (print_version): Use PKGVERSION.
2008         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
2009         (print_version): Use PKGVERSION.
2010         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
2011         (print_version): Use PKGVERSION.
2012         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
2013         (print_version): Use PKGVERSION.
2014         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
2015         (print_version): Use PKGVERSION.
2016         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
2017         (print_version): Use PKGVERSION.
2018         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
2019         and BUGURL.
2020         ($(objpfx)memusage): Likewise.
2021         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
2022         (do_version): Use PKGVERSION.
2023         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
2024         (print_version): Use PKGVERSION.
2025         * malloc/mtrace.pl ($PACKAGE): Remove variable.
2026         ($PKGVERSION): New variable.
2027         ($REPORT_BUGS_TO): Likewise.
2028         (usage): Use $REPORT_BUGS_TO.
2029         (top level): Use $PKGVERSION.
2030         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
2031         ($(objpfx)pkgvers.texi): New rule.
2032         ($(objpfx)stamp-pkgvers): Likewise.
2033         * manual/install.texi: Include pkgvers.texi.
2034         (--with-pkgversion): Document new configure option.
2035         (--with-bugurl): Likewise.
2036         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
2037         than necessarily for this particular distribution.  Use
2038         REPORT_BUGS_TO for where to report bugs.
2039         * INSTALL: Regenerated.
2040         * manual/libc.texinfo: Include pkgvers.texi.
2041         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
2042         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
2043         (print_version): Use PKGVERSION.
2044         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
2045         (print_version): Use PKGVERSION.
2046         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
2047         (print_version): Use PKGVERSION.
2048         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
2049         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
2050         macro.
2051         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
2052         (print_version): Use PKGVERSION.
2053         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
2054         (print_version): Use PKGVERSION.
2055         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
2056         and PKGVERSION.
2058         * timezone/checktab.awk: Update from tzcode 2012i.
2059         * timezone/ialloc.c: Likewise.
2060         * timezone/private.h: Likewise.
2061         * timezone/scheck.c: Likewise.
2062         * timezone/tzfile.h: Likewise.
2063         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
2064         (TZVERSION): Hardcode tzcode version number.
2065         * timezone/zdump.c: Update from tzcode 2012i.
2066         * timezone/zic.c: Likewise.
2067         * timezone/version.h: New file.
2068         * timezone/README: Describe version.h.  Update upstream location.
2070         [BZ #14824]
2071         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
2072         (mktemp): Enable declaration.
2073         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
2074         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
2075         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
2076         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
2077         Likewise.
2078         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
2079         Likewise.
2080         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
2081         Likewise.
2082         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
2083         Likewise.
2084         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
2085         Likewise.
2086         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
2087         Likewise.
2089         [BZ #14821]
2090         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
2091         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
2092         for copies of such integer values.
2093         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
2094         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
2096 2012-11-09  Andreas Jaeger  <aj@suse.de>
2098         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
2099         definitions and declarations that are provided by
2100         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
2102 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2104         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
2105         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
2106         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
2107         definition.
2109 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
2111         * elf/elf.h: Update comment before AArch64 relocations.
2113 2012-11-07  David S. Miller  <davem@davemloft.net>
2115         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
2116         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
2117         (__start_context): Declare.
2118         (__makecontext_ret): Delete.
2119         (__makecontext): Hook up __start_context instead of
2120         __makecontext_ret.
2121         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
2122         (sysdep_routines): Add __start_context when in stdlib.
2124 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
2126         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
2127         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
2128         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
2129         hardcoded "nm".
2130         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
2131         (READELF): New variable.  Use it instead of hardcoded "readelf".
2133 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
2135         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
2136         * sysdeps/x86/Makefile: Here.
2137         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
2138         * sysdeps/x86/tst-xmmymm.sh: This.
2140 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
2142         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
2143         expectations.
2144         [UNIX98] (pthread_barrier_t): Do not expect.
2145         [UNIX98] (pthread_barrierattr_t): Likewise.
2146         [UNIX98] (pthread_spinlock_t): Likewise.
2147         [UNIX98] (pthread_barrier_destroy): Likewise.
2148         [UNIX98] (pthread_barrier_init): Likewise.
2149         [UNIX98] (pthread_barrier_wait): Likewise.
2150         [UNIX98] (pthread_barrierattr_destroy): Likewise.
2151         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
2152         [UNIX98] (pthread_barrierattr_init): Likewise.
2153         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
2154         [UNIX98] (pthread_getcpuclockid): Likewise.
2155         [UNIX98] (pthread_mutex_timedlock): Likewise.
2156         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
2157         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
2158         [UNIX98] (pthread_sigmask): Likewise.
2159         [UNIX98] (pthread_spin_destroy): Likewise.
2160         [UNIX98] (pthread_spin_init): Likewise.
2161         [UNIX98] (pthread_spin_lock): Likewise.
2162         [UNIX98] (pthread_spin_trylock): Likewise.
2163         [UNIX98] (pthread_spin_unlock): Likewise.
2164         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
2165         Do not expect.
2166         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
2167         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
2168         [XPG3 || XPG4] (pthread_cond_t): Likewise.
2169         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
2170         [XPG3 || XPG4] (pthread_key_t): Likewise.
2171         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
2172         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
2173         [XPG3 || XPG4] (pthread_once_t): Likewise.
2174         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
2175         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
2176         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
2177         [XPG3 || XPG4] (pthread_t): Likewise.
2179         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
2180         not expect.
2181         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
2183         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
2184         Change function return type to int.
2186         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
2187         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
2188         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
2189         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
2190         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
2191         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
2192         [!POSIX] (posix_madvise): Likewise.
2193         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
2194         && !UNIX98].
2195         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
2196         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
2197         (mode_t): Likewise.
2198         (posix_mem_offset): Likewise.
2199         (posix_typed_mem_get_info): Likewise.
2200         (posix_typed_mem_open): Likewise.
2202         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
2203         Change condition to [XOPEN2K8].
2205         * conform/conformtest.pl: Preprocess allow-header data with -x c
2206         instead of from stdin.
2207         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
2208         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
2209         [C99-based standards] (cerfc): Likewise.
2210         [C99-based standards] (cexp2): Likewise.
2211         [C99-based standards] (cexpm1): Likewise.
2212         [C99-based standards] (clog10): Likewise.
2213         [C99-based standards] (clog1p): Likewise.
2214         [C99-based standards] (clog2): Likewise.
2215         [C99-based standards] (clgamma): Likewise.
2216         [C99-based standards] (ctgamma): Likewise.
2217         [C99-based standards] (cerff): Likewise.
2218         [C99-based standards] (cerfcf): Likewise.
2219         [C99-based standards] (cexp2f): Likewise.
2220         [C99-based standards] (cexpm1f): Likewise.
2221         [C99-based standards] (clog10f): Likewise.
2222         [C99-based standards] (clog1pf): Likewise.
2223         [C99-based standards] (clog2f): Likewise.
2224         [C99-based standards] (clgammaf): Likewise.
2225         [C99-based standards] (ctgammaf): Likewise.
2226         [C99-based standards] (cerfl): Likewise.
2227         [C99-based standards] (cerfcl): Likewise.
2228         [C99-based standards] (cexp2l): Likewise.
2229         [C99-based standards] (cexpm1l): Likewise.
2230         [C99-based standards] (clog10l): Likewise.
2231         [C99-based standards] (clog1pl): Likewise.
2232         [C99-based standards] (clog2l): Likewise.
2233         [C99-based standards] (clgammal): Likewise.
2234         [C99-based standards] (ctgammal): Likewise.
2235         * conform/data/inttypes.h-data [C99-based standards]: Include
2236         stdint.h-data.  Remove all expectations for stdint.h contents.
2237         [C99-based standards] (PRI*): Do not allow.
2238         [C99-based standards] (SCN*): Likewise.
2239         [C99-based standards] (*_t): Likewise.
2240         [C99-based-standards] (PRId8): Expect macro.
2241         [C99-based-standards] (PRIi8): Likewise.
2242         [C99-based-standards] (PRIo8): Likewise.
2243         [C99-based-standards] (PRIu8): Likewise.
2244         [C99-based-standards] (PRIx8): Likewise.
2245         [C99-based-standards] (PRIX8): Likewise.
2246         [C99-based-standards] (SCNd8): Likewise.
2247         [C99-based-standards] (SCNi8): Likewise.
2248         [C99-based-standards] (SCNo8): Likewise.
2249         [C99-based-standards] (SCNu8): Likewise.
2250         [C99-based-standards] (SCNx8): Likewise.
2251         [C99-based-standards] (PRIdLEAST8): Likewise.
2252         [C99-based-standards] (PRIiLEAST8): Likewise.
2253         [C99-based-standards] (PRIoLEAST8): Likewise.
2254         [C99-based-standards] (PRIuLEAST8): Likewise.
2255         [C99-based-standards] (PRIxLEAST8): Likewise.
2256         [C99-based-standards] (PRIXLEAST8): Likewise.
2257         [C99-based-standards] (SCNdLEAST8): Likewise.
2258         [C99-based-standards] (SCNiLEAST8): Likewise.
2259         [C99-based-standards] (SCNoLEAST8): Likewise.
2260         [C99-based-standards] (SCNuLEAST8): Likewise.
2261         [C99-based-standards] (SCNxLEAST8): Likewise.
2262         [C99-based-standards] (PRIdFAST8): Likewise.
2263         [C99-based-standards] (PRIiFAST8): Likewise.
2264         [C99-based-standards] (PRIoFAST8): Likewise.
2265         [C99-based-standards] (PRIuFAST8): Likewise.
2266         [C99-based-standards] (PRIxFAST8): Likewise.
2267         [C99-based-standards] (PRIXFAST8): Likewise.
2268         [C99-based-standards] (SCNdFAST8): Likewise.
2269         [C99-based-standards] (SCNiFAST8): Likewise.
2270         [C99-based-standards] (SCNoFAST8): Likewise.
2271         [C99-based-standards] (SCNuFAST8): Likewise.
2272         [C99-based-standards] (SCNxFAST8): Likewise.
2273         [C99-based-standards] (PRId16): Likewise.
2274         [C99-based-standards] (PRIi16): Likewise.
2275         [C99-based-standards] (PRIo16): Likewise.
2276         [C99-based-standards] (PRIu16): Likewise.
2277         [C99-based-standards] (PRIx16): Likewise.
2278         [C99-based-standards] (PRIX16): Likewise.
2279         [C99-based-standards] (SCNd16): Likewise.
2280         [C99-based-standards] (SCNi16): Likewise.
2281         [C99-based-standards] (SCNo16): Likewise.
2282         [C99-based-standards] (SCNu16): Likewise.
2283         [C99-based-standards] (SCNx16): Likewise.
2284         [C99-based-standards] (PRIdLEAST16): Likewise.
2285         [C99-based-standards] (PRIiLEAST16): Likewise.
2286         [C99-based-standards] (PRIoLEAST16): Likewise.
2287         [C99-based-standards] (PRIuLEAST16): Likewise.
2288         [C99-based-standards] (PRIxLEAST16): Likewise.
2289         [C99-based-standards] (PRIXLEAST16): Likewise.
2290         [C99-based-standards] (SCNdLEAST16): Likewise.
2291         [C99-based-standards] (SCNiLEAST16): Likewise.
2292         [C99-based-standards] (SCNoLEAST16): Likewise.
2293         [C99-based-standards] (SCNuLEAST16): Likewise.
2294         [C99-based-standards] (SCNxLEAST16): Likewise.
2295         [C99-based-standards] (PRIdFAST16): Likewise.
2296         [C99-based-standards] (PRIiFAST16): Likewise.
2297         [C99-based-standards] (PRIoFAST16): Likewise.
2298         [C99-based-standards] (PRIuFAST16): Likewise.
2299         [C99-based-standards] (PRIxFAST16): Likewise.
2300         [C99-based-standards] (PRIXFAST16): Likewise.
2301         [C99-based-standards] (SCNdFAST16): Likewise.
2302         [C99-based-standards] (SCNiFAST16): Likewise.
2303         [C99-based-standards] (SCNoFAST16): Likewise.
2304         [C99-based-standards] (SCNuFAST16): Likewise.
2305         [C99-based-standards] (SCNxFAST16): Likewise.
2306         [C99-based-standards] (PRId32): Likewise.
2307         [C99-based-standards] (PRIi32): Likewise.
2308         [C99-based-standards] (PRIo32): Likewise.
2309         [C99-based-standards] (PRIu32): Likewise.
2310         [C99-based-standards] (PRIx32): Likewise.
2311         [C99-based-standards] (PRIX32): Likewise.
2312         [C99-based-standards] (SCNd32): Likewise.
2313         [C99-based-standards] (SCNi32): Likewise.
2314         [C99-based-standards] (SCNo32): Likewise.
2315         [C99-based-standards] (SCNu32): Likewise.
2316         [C99-based-standards] (SCNx32): Likewise.
2317         [C99-based-standards] (PRIdLEAST32): Likewise.
2318         [C99-based-standards] (PRIiLEAST32): Likewise.
2319         [C99-based-standards] (PRIoLEAST32): Likewise.
2320         [C99-based-standards] (PRIuLEAST32): Likewise.
2321         [C99-based-standards] (PRIxLEAST32): Likewise.
2322         [C99-based-standards] (PRIXLEAST32): Likewise.
2323         [C99-based-standards] (SCNdLEAST32): Likewise.
2324         [C99-based-standards] (SCNiLEAST32): Likewise.
2325         [C99-based-standards] (SCNoLEAST32): Likewise.
2326         [C99-based-standards] (SCNuLEAST32): Likewise.
2327         [C99-based-standards] (SCNxLEAST32): Likewise.
2328         [C99-based-standards] (PRIdFAST32): Likewise.
2329         [C99-based-standards] (PRIiFAST32): Likewise.
2330         [C99-based-standards] (PRIoFAST32): Likewise.
2331         [C99-based-standards] (PRIuFAST32): Likewise.
2332         [C99-based-standards] (PRIxFAST32): Likewise.
2333         [C99-based-standards] (PRIXFAST32): Likewise.
2334         [C99-based-standards] (SCNdFAST32): Likewise.
2335         [C99-based-standards] (SCNiFAST32): Likewise.
2336         [C99-based-standards] (SCNoFAST32): Likewise.
2337         [C99-based-standards] (SCNuFAST32): Likewise.
2338         [C99-based-standards] (SCNxFAST32): Likewise.
2339         [C99-based-standards] (PRId64): Likewise.
2340         [C99-based-standards] (PRIi64): Likewise.
2341         [C99-based-standards] (PRIo64): Likewise.
2342         [C99-based-standards] (PRIu64): Likewise.
2343         [C99-based-standards] (PRIx64): Likewise.
2344         [C99-based-standards] (PRIX64): Likewise.
2345         [C99-based-standards] (SCNd64): Likewise.
2346         [C99-based-standards] (SCNi64): Likewise.
2347         [C99-based-standards] (SCNo64): Likewise.
2348         [C99-based-standards] (SCNu64): Likewise.
2349         [C99-based-standards] (SCNx64): Likewise.
2350         [C99-based-standards] (PRIdLEAST64): Likewise.
2351         [C99-based-standards] (PRIiLEAST64): Likewise.
2352         [C99-based-standards] (PRIoLEAST64): Likewise.
2353         [C99-based-standards] (PRIuLEAST64): Likewise.
2354         [C99-based-standards] (PRIxLEAST64): Likewise.
2355         [C99-based-standards] (PRIXLEAST64): Likewise.
2356         [C99-based-standards] (SCNdLEAST64): Likewise.
2357         [C99-based-standards] (SCNiLEAST64): Likewise.
2358         [C99-based-standards] (SCNoLEAST64): Likewise.
2359         [C99-based-standards] (SCNuLEAST64): Likewise.
2360         [C99-based-standards] (SCNxLEAST64): Likewise.
2361         [C99-based-standards] (PRIdFAST64): Likewise.
2362         [C99-based-standards] (PRIiFAST64): Likewise.
2363         [C99-based-standards] (PRIoFAST64): Likewise.
2364         [C99-based-standards] (PRIuFAST64): Likewise.
2365         [C99-based-standards] (PRIxFAST64): Likewise.
2366         [C99-based-standards] (PRIXFAST64): Likewise.
2367         [C99-based-standards] (SCNdFAST64): Likewise.
2368         [C99-based-standards] (SCNiFAST64): Likewise.
2369         [C99-based-standards] (SCNoFAST64): Likewise.
2370         [C99-based-standards] (SCNuFAST64): Likewise.
2371         [C99-based-standards] (SCNxFAST64): Likewise.
2372         [C99-based-standards] (PRIdMAX): Likewise.
2373         [C99-based-standards] (PRIiMAX): Likewise.
2374         [C99-based-standards] (PRIoMAX): Likewise.
2375         [C99-based-standards] (PRIuMAX): Likewise.
2376         [C99-based-standards] (PRIxMAX): Likewise.
2377         [C99-based-standards] (PRIXMAX): Likewise.
2378         [C99-based-standards] (SCNdMAX): Likewise.
2379         [C99-based-standards] (SCNiMAX): Likewise.
2380         [C99-based-standards] (SCNoMAX): Likewise.
2381         [C99-based-standards] (SCNuMAX): Likewise.
2382         [C99-based-standards] (SCNxMAX): Likewise.
2383         [C99-based-standards] (PRIdPTR): Likewise.
2384         [C99-based-standards] (PRIiPTR): Likewise.
2385         [C99-based-standards] (PRIoPTR): Likewise.
2386         [C99-based-standards] (PRIuPTR): Likewise.
2387         [C99-based-standards] (PRIxPTR): Likewise.
2388         [C99-based-standards] (PRIXPTR): Likewise.
2389         [C99-based-standards] (SCNdPTR): Likewise.
2390         [C99-based-standards] (SCNiPTR): Likewise.
2391         [C99-based-standards] (SCNoPTR): Likewise.
2392         [C99-based-standards] (SCNuPTR): Likewise.
2393         [C99-based-standards] (SCNxPTR): Likewise.
2394         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
2395         allow.
2396         * conform/data/stdint.h-data: Update comments to clarify
2397         requirements.
2398         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
2399         type.
2400         [C99-based standards] (INT8_MAX): Likewise.
2401         [C99-based standards] (INT16_MIN): Likewise.
2402         [C99-based standards] (INT16_MAX): Likewise.
2403         [C99-based standards] (INT32_MIN): Likewise.
2404         [C99-based standards] (INT32_MAX): Likewise.
2405         [C99-based standards] (INT64_MIN): Likewise.
2406         [C99-based standards] (INT64_MAX): Likewise.
2407         [C99-based standards] (UINT8_MAX): Likewise.
2408         [C99-based standards] (UINT16_MAX): Likewise.
2409         [C99-based standards] (UINT32_MAX): Likewise.
2410         [C99-based standards] (UINT64_MAX): Likewise.
2411         [C99-based standards] (INT_LEAST8_MIN): Likewise.
2412         [C99-based standards] (INT_LEAST8_MAX): Likewise.
2413         [C99-based standards] (INT_LEAST16_MIN): Likewise.
2414         [C99-based standards] (INT_LEAST16_MAX): Likewise.
2415         [C99-based standards] (INT_LEAST32_MIN): Likewise.
2416         [C99-based standards] (INT_LEAST32_MAX): Likewise.
2417         [C99-based standards] (INT_LEAST64_MIN): Likewise.
2418         [C99-based standards] (INT_LEAST64_MAX): Likewise.
2419         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
2420         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
2421         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
2422         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
2423         [C99-based standards] (INT_FAST8_MIN): Likewise.
2424         [C99-based standards] (INT_FAST8_MAX): Likewise.
2425         [C99-based standards] (INT_FAST16_MIN): Likewise.
2426         [C99-based standards] (INT_FAST16_MAX): Likewise.
2427         [C99-based standards] (INT_FAST32_MIN): Likewise.
2428         [C99-based standards] (INT_FAST32_MAX): Likewise.
2429         [C99-based standards] (INT_FAST64_MIN): Likewise.
2430         [C99-based standards] (INT_FAST64_MAX): Likewise.
2431         [C99-based standards] (UINT_FAST8_MAX): Likewise.
2432         [C99-based standards] (UINT_FAST16_MAX): Likewise.
2433         [C99-based standards] (UINT_FAST32_MAX): Likewise.
2434         [C99-based standards] (UINT_FAST64_MAX): Likewise.
2435         [C99-based standards] (INTPTR_MIN): Likewise.
2436         [C99-based standards] (INTPTR_MAX): Likewise.
2437         [C99-based standards] (UINTPTR_MAX): Likewise.
2438         [C99-based standards] (INTMAX_MIN): Likewise.
2439         [C99-based standards] (INTMAX_MAX): Likewise.
2440         [C99-based standards] (UINTMAX_MAX): Likewise.
2441         [C99-based standards] (PTRDIFF_MIN): Likewise.
2442         [C99-based standards] (PTRDIFF_MAX): Likewise.
2443         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
2444         [C99-based standards] (SIZE_MAX): Likewise.
2445         [C99-based standards] (WCHAR_MAX): Likewise.
2446         [C99-based standards] (WINT_MAX): Likewise.
2447         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
2448         constraint on value.
2449         [C99-based standards] (WCHAR_MIN): Likewise.
2450         [C99-based standards] (WINT_MIN): Likewise.
2451         [C99-based standards] (*_t): Allow.
2452         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
2453         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
2454         Include math.h-data and complex.h-data.  Remove all expectations
2455         of math.h and complex.h contents.
2456         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
2457         at end of line.
2458         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
2459         (struct tm): Expect tag.
2460         [C99-based-standards] (wcstof): Expect function.
2461         [C99-based-standards] (wcstold): Likewise.
2462         [C99-based-standards] (wcstoll): Likewise.
2463         [C99-based-standards] (wcstoull): Likewise.
2464         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
2465         macro-int-constant.  Specify type.
2466         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
2467         constraint on value.
2468         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
2469         Specify type.
2470         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
2471         Specify value.
2472         [ISO C standards]: Do not allow headers.
2473         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
2474         wcs[abcdefghijklmnopqrstuvwxyz]*.
2475         [ISO C standards] (*_t): Do not allow.
2476         * conform/data/wctype.h-data [C99-based standards] (iswblank):
2477         Expect function.
2478         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
2479         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
2480         Specify type.
2481         [ISO C standards]: Do not allow headers.
2482         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
2483         is[abcdefghijklmnopqrstuvwxyz]*.
2484         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
2485         to[abcdefghijklmnopqrstuvwxyz]*.
2486         [ISO C standards] (*_t): Do not allow.
2487         * conform/data/stdalign.h-data: New file.
2488         * conform/data/stdbool.h-data: Likewise.
2489         * conform/data/stdnoreturn.h-data: Likewise.
2491 2012-11-07  Roland McGrath  <roland@hack.frob.com>
2493         [BZ #14815]
2494         * manual/filesys.texi (Directory Entries): Typo fix.
2495         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
2497 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
2499         * elf/elf.h (EM_AARCH64): New macro.
2500         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
2501         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
2502         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
2503         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
2504         (R_AARCH64_TLSDESC): Likewise.
2505         (NT_ARM_TLS): Likewise.
2506         (NT_ARM_HW_BREAK): Likewise.
2507         (NT_ARM_HW_WATCH): Likewise.
2509 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
2511         [BZ #14811]
2512         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
2513         (__ieee754_powl): Saturate nonzero exponents with absolute value
2514         below 0x1p-79 to +/- 0x1p-79.
2515         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
2516         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
2517         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
2518         nonzero exponents with absolute value below 0x1p-32 to +/-
2519         0x1p-32.
2520         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
2521         (__ieee754_powl): Saturate nonzero exponents with absolute value
2522         below 0x1p-79 to +/- 0x1p-79.
2523         * math/libm-test.inc (pow_test): Add more tests.
2525 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2527         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
2528         _dl_s390_cap_flags with kernel. Increase string length.
2529         (_dl_s390_platforms): Add z196 and zEC12.
2531 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
2533         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
2534         Change XOPEN21K to XOPEN2K.
2536 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
2538         * string/memmove.c: Use memcpy when possible.
2540 2012-11-06  Andreas Jaeger  <aj@suse.de>
2542         * po/eo.po: Update from translation team.
2544 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
2546         [BZ #14793]
2547         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
2548         exponent and small x and y exponents, scale x or y up.  Increase
2549         by 2 the exponent used in scaling up.
2550         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2551         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2552         * math/libm-test.inc (fma_test): Add more tests.
2553         (fma_test_towardzero): Likewise.
2554         (fma_test_downward): Likewise.
2555         (fma_test_upward): Likewise.
2557 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
2559         [BZ #14805]
2560         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
2561         fenv_t *.
2563         [BZ #14801]
2564         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
2565         namespace for names of struct fields.
2566         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
2567         fenv_t fields.
2568         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
2569         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
2571 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2573         [BZ #3665]
2574         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
2576 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
2578         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
2579         PTR_DEMANGLE.
2581         [BZ #5246]
2582         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
2583         PTR_DEMANGLE.
2585 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
2587         [BZ #14797]
2588         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
2589         definitely overflow as x * y not x * y + z.
2590         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2591         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2592         * math/libm-test.inc (fma_test): Add more tests.
2593         (fma_test_towardzero): Likewise.
2594         (fma_test_downward): Likewise.
2595         (fma_test_upward): Likewise.
2597 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
2599         [BZ #157]
2601         * include/stub-tag.h: Remove file.
2602         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
2603         '#include' of it.
2604         * manual/maint.texi (Porting): Don't reference it.
2605         * Makerules ($(objpfx)stubs): Likewise.
2606         * dirent/closedir.c: Don't include <stub-tag.h>.
2607         * dirent/dirfd.c: Likewise.
2608         * dirent/fdopendir.c: Likewise.
2609         * dirent/getdents.c: Likewise.
2610         * dirent/getdents64.c: Likewise.
2611         * dirent/opendir.c: Likewise.
2612         * dirent/readdir.c: Likewise.
2613         * dirent/readdir64.c: Likewise.
2614         * dirent/readdir64_r.c: Likewise.
2615         * dirent/readdir_r.c: Likewise.
2616         * dirent/rewinddir.c: Likewise.
2617         * dirent/seekdir.c: Likewise.
2618         * dirent/telldir.c: Likewise.
2619         * gmon/profil.c: Likewise.
2620         * grp/setgroups.c: Likewise.
2621         * inet/if_index.c: Likewise.
2622         * io/access.c: Likewise.
2623         * io/chdir.c: Likewise.
2624         * io/chmod.c: Likewise.
2625         * io/chown.c: Likewise.
2626         * io/close.c: Likewise.
2627         * io/dup.c: Likewise.
2628         * io/dup2.c: Likewise.
2629         * io/dup3.c: Likewise.
2630         * io/euidaccess.c: Likewise.
2631         * io/faccessat.c: Likewise.
2632         * io/fchdir.c: Likewise.
2633         * io/fchmod.c: Likewise.
2634         * io/fchmodat.c: Likewise.
2635         * io/fchown.c: Likewise.
2636         * io/fchownat.c: Likewise.
2637         * io/fcntl.c: Likewise.
2638         * io/flock.c: Likewise.
2639         * io/fstatfs.c: Likewise.
2640         * io/fstatfs64.c: Likewise.
2641         * io/fstatvfs.c: Likewise.
2642         * io/fstatvfs64.c: Likewise.
2643         * io/futimens.c: Likewise.
2644         * io/fxstat.c: Likewise.
2645         * io/fxstat64.c: Likewise.
2646         * io/fxstatat.c: Likewise.
2647         * io/fxstatat64.c: Likewise.
2648         * io/getcwd.c: Likewise.
2649         * io/isatty.c: Likewise.
2650         * io/lchmod.c: Likewise.
2651         * io/lchown.c: Likewise.
2652         * io/link.c: Likewise.
2653         * io/linkat.c: Likewise.
2654         * io/lseek.c: Likewise.
2655         * io/lseek64.c: Likewise.
2656         * io/lxstat64.c: Likewise.
2657         * io/mkdir.c: Likewise.
2658         * io/mkdirat.c: Likewise.
2659         * io/mkfifo.c: Likewise.
2660         * io/mkfifoat.c: Likewise.
2661         * io/open.c: Likewise.
2662         * io/open64.c: Likewise.
2663         * io/openat.c: Likewise.
2664         * io/openat64.c: Likewise.
2665         * io/pipe.c: Likewise.
2666         * io/pipe2.c: Likewise.
2667         * io/poll.c: Likewise.
2668         * io/posix_fadvise.c: Likewise.
2669         * io/posix_fadvise64.c: Likewise.
2670         * io/posix_fallocate.c: Likewise.
2671         * io/posix_fallocate64.c: Likewise.
2672         * io/read.c: Likewise.
2673         * io/readlink.c: Likewise.
2674         * io/readlinkat.c: Likewise.
2675         * io/rmdir.c: Likewise.
2676         * io/sendfile.c: Likewise.
2677         * io/sendfile64.c: Likewise.
2678         * io/statfs.c: Likewise.
2679         * io/statfs64.c: Likewise.
2680         * io/statvfs.c: Likewise.
2681         * io/statvfs64.c: Likewise.
2682         * io/symlink.c: Likewise.
2683         * io/symlinkat.c: Likewise.
2684         * io/ttyname.c: Likewise.
2685         * io/ttyname_r.c: Likewise.
2686         * io/umask.c: Likewise.
2687         * io/unlink.c: Likewise.
2688         * io/unlinkat.c: Likewise.
2689         * io/utime.c: Likewise.
2690         * io/utimensat.c: Likewise.
2691         * io/write.c: Likewise.
2692         * io/xmknod.c: Likewise.
2693         * io/xmknodat.c: Likewise.
2694         * io/xstat.c: Likewise.
2695         * io/xstat64.c: Likewise.
2696         * login/getpt.c: Likewise.
2697         * login/grantpt.c: Likewise.
2698         * login/unlockpt.c: Likewise.
2699         * math/e_acoshl.c: Likewise.
2700         * math/e_acosl.c: Likewise.
2701         * math/e_asinl.c: Likewise.
2702         * math/e_atan2l.c: Likewise.
2703         * math/e_atanhl.c: Likewise.
2704         * math/e_coshl.c: Likewise.
2705         * math/e_expl.c: Likewise.
2706         * math/e_fmodl.c: Likewise.
2707         * math/e_gammal_r.c: Likewise.
2708         * math/e_hypotl.c: Likewise.
2709         * math/e_j0l.c: Likewise.
2710         * math/e_j1l.c: Likewise.
2711         * math/e_jnl.c: Likewise.
2712         * math/e_lgammal_r.c: Likewise.
2713         * math/e_log10l.c: Likewise.
2714         * math/e_log2l.c: Likewise.
2715         * math/e_logl.c: Likewise.
2716         * math/e_powl.c: Likewise.
2717         * math/e_rem_pio2l.c: Likewise.
2718         * math/e_sinhl.c: Likewise.
2719         * math/e_sqrtl.c: Likewise.
2720         * math/fclrexcpt.c: Likewise.
2721         * math/fedisblxcpt.c: Likewise.
2722         * math/feenablxcpt.c: Likewise.
2723         * math/fegetenv.c: Likewise.
2724         * math/fegetexcept.c: Likewise.
2725         * math/fegetround.c: Likewise.
2726         * math/feholdexcpt.c: Likewise.
2727         * math/fesetenv.c: Likewise.
2728         * math/fesetround.c: Likewise.
2729         * math/feupdateenv.c: Likewise.
2730         * math/fgetexcptflg.c: Likewise.
2731         * math/fraiseexcpt.c: Likewise.
2732         * math/fsetexcptflg.c: Likewise.
2733         * math/ftestexcept.c: Likewise.
2734         * math/k_cosl.c: Likewise.
2735         * math/k_rem_pio2l.c: Likewise.
2736         * math/k_sinl.c: Likewise.
2737         * math/k_tanl.c: Likewise.
2738         * math/s_asinhl.c: Likewise.
2739         * math/s_atanl.c: Likewise.
2740         * math/s_cbrtl.c: Likewise.
2741         * math/s_erfl.c: Likewise.
2742         * math/s_expm1l.c: Likewise.
2743         * math/s_log1pl.c: Likewise.
2744         * math/s_tanhl.c: Likewise.
2745         * misc/acct.c: Likewise.
2746         * misc/brk.c: Likewise.
2747         * misc/chflags.c: Likewise.
2748         * misc/chroot.c: Likewise.
2749         * misc/fchflags.c: Likewise.
2750         * misc/fgetxattr.c: Likewise.
2751         * misc/flistxattr.c: Likewise.
2752         * misc/fremovexattr.c: Likewise.
2753         * misc/fsetxattr.c: Likewise.
2754         * misc/fsync.c: Likewise.
2755         * misc/ftruncate.c: Likewise.
2756         * misc/futimes.c: Likewise.
2757         * misc/futimesat.c: Likewise.
2758         * misc/getdomain.c: Likewise.
2759         * misc/getdtsz.c: Likewise.
2760         * misc/gethostid.c: Likewise.
2761         * misc/gethostname.c: Likewise.
2762         * misc/getloadavg.c: Likewise.
2763         * misc/getpagesize.c: Likewise.
2764         * misc/getsysstats.c: Likewise.
2765         * misc/getxattr.c: Likewise.
2766         * misc/gtty.c: Likewise.
2767         * misc/ioctl.c: Likewise.
2768         * misc/lgetxattr.c: Likewise.
2769         * misc/listxattr.c: Likewise.
2770         * misc/llistxattr.c: Likewise.
2771         * misc/lremovexattr.c: Likewise.
2772         * misc/lsetxattr.c: Likewise.
2773         * misc/lutimes.c: Likewise.
2774         * misc/madvise.c: Likewise.
2775         * misc/mincore.c: Likewise.
2776         * misc/mlock.c: Likewise.
2777         * misc/mlockall.c: Likewise.
2778         * misc/mmap.c: Likewise.
2779         * misc/mprotect.c: Likewise.
2780         * misc/msync.c: Likewise.
2781         * misc/munlock.c: Likewise.
2782         * misc/munlockall.c: Likewise.
2783         * misc/munmap.c: Likewise.
2784         * misc/preadv.c: Likewise.
2785         * misc/preadv64.c: Likewise.
2786         * misc/ptrace.c: Likewise.
2787         * misc/pwritev.c: Likewise.
2788         * misc/pwritev64.c: Likewise.
2789         * misc/readv.c: Likewise.
2790         * misc/reboot.c: Likewise.
2791         * misc/remap_file_pages.c: Likewise.
2792         * misc/removexattr.c: Likewise.
2793         * misc/revoke.c: Likewise.
2794         * misc/select.c: Likewise.
2795         * misc/setdomain.c: Likewise.
2796         * misc/setegid.c: Likewise.
2797         * misc/seteuid.c: Likewise.
2798         * misc/sethostid.c: Likewise.
2799         * misc/sethostname.c: Likewise.
2800         * misc/setregid.c: Likewise.
2801         * misc/setreuid.c: Likewise.
2802         * misc/setxattr.c: Likewise.
2803         * misc/sstk.c: Likewise.
2804         * misc/stty.c: Likewise.
2805         * misc/swapoff.c: Likewise.
2806         * misc/swapon.c: Likewise.
2807         * misc/sync.c: Likewise.
2808         * misc/syncfs.c: Likewise.
2809         * misc/syscall.c: Likewise.
2810         * misc/truncate.c: Likewise.
2811         * misc/ualarm.c: Likewise.
2812         * misc/usleep.c: Likewise.
2813         * misc/ustat.c: Likewise.
2814         * misc/utimes.c: Likewise.
2815         * misc/vhangup.c: Likewise.
2816         * misc/writev.c: Likewise.
2817         * posix/_exit.c: Likewise.
2818         * posix/alarm.c: Likewise.
2819         * posix/execve.c: Likewise.
2820         * posix/fexecve.c: Likewise.
2821         * posix/fork.c: Likewise.
2822         * posix/fpathconf.c: Likewise.
2823         * posix/getaddrinfo.c: Likewise.
2824         * posix/getegid.c: Likewise.
2825         * posix/geteuid.c: Likewise.
2826         * posix/getgid.c: Likewise.
2827         * posix/getgroups.c: Likewise.
2828         * posix/getlogin.c: Likewise.
2829         * posix/getlogin_r.c: Likewise.
2830         * posix/getpgid.c: Likewise.
2831         * posix/getpid.c: Likewise.
2832         * posix/getppid.c: Likewise.
2833         * posix/getresgid.c: Likewise.
2834         * posix/getresuid.c: Likewise.
2835         * posix/getsid.c: Likewise.
2836         * posix/getuid.c: Likewise.
2837         * posix/glob64.c: Likewise.
2838         * posix/nanosleep.c: Likewise.
2839         * posix/pathconf.c: Likewise.
2840         * posix/pause.c: Likewise.
2841         * posix/posix_madvise.c: Likewise.
2842         * posix/pread.c: Likewise.
2843         * posix/pread64.c: Likewise.
2844         * posix/pwrite.c: Likewise.
2845         * posix/pwrite64.c: Likewise.
2846         * posix/sched_getaffinity.c: Likewise.
2847         * posix/sched_getp.c: Likewise.
2848         * posix/sched_gets.c: Likewise.
2849         * posix/sched_primax.c: Likewise.
2850         * posix/sched_primin.c: Likewise.
2851         * posix/sched_rr_gi.c: Likewise.
2852         * posix/sched_setaffinity.c: Likewise.
2853         * posix/sched_setp.c: Likewise.
2854         * posix/sched_sets.c: Likewise.
2855         * posix/sched_yield.c: Likewise.
2856         * posix/setgid.c: Likewise.
2857         * posix/setlogin.c: Likewise.
2858         * posix/setpgid.c: Likewise.
2859         * posix/setresgid.c: Likewise.
2860         * posix/setresuid.c: Likewise.
2861         * posix/setsid.c: Likewise.
2862         * posix/setuid.c: Likewise.
2863         * posix/sleep.c: Likewise.
2864         * posix/spawni.c: Likewise.
2865         * posix/sysconf.c: Likewise.
2866         * posix/times.c: Likewise.
2867         * posix/wait.c: Likewise.
2868         * posix/wait3.c: Likewise.
2869         * posix/wait4.c: Likewise.
2870         * posix/waitpid.c: Likewise.
2871         * resolv/gai_sigqueue.c: Likewise.
2872         * resource/getpriority.c: Likewise.
2873         * resource/getrlimit.c: Likewise.
2874         * resource/getrusage.c: Likewise.
2875         * resource/nice.c: Likewise.
2876         * resource/setpriority.c: Likewise.
2877         * resource/setrlimit.c: Likewise.
2878         * resource/ulimit.c: Likewise.
2879         * rt/aio_cancel.c: Likewise.
2880         * rt/aio_fsync.c: Likewise.
2881         * rt/aio_read.c: Likewise.
2882         * rt/aio_sigqueue.c: Likewise.
2883         * rt/aio_suspend.c: Likewise.
2884         * rt/aio_write.c: Likewise.
2885         * rt/clock_getres.c: Likewise.
2886         * rt/clock_gettime.c: Likewise.
2887         * rt/clock_nanosleep.c: Likewise.
2888         * rt/clock_settime.c: Likewise.
2889         * rt/lio_listio.c: Likewise.
2890         * rt/mq_close.c: Likewise.
2891         * rt/mq_getattr.c: Likewise.
2892         * rt/mq_notify.c: Likewise.
2893         * rt/mq_open.c: Likewise.
2894         * rt/mq_receive.c: Likewise.
2895         * rt/mq_send.c: Likewise.
2896         * rt/mq_setattr.c: Likewise.
2897         * rt/mq_timedreceive.c: Likewise.
2898         * rt/mq_timedsend.c: Likewise.
2899         * rt/mq_unlink.c: Likewise.
2900         * rt/shm_open.c: Likewise.
2901         * rt/shm_unlink.c: Likewise.
2902         * rt/timer_create.c: Likewise.
2903         * rt/timer_delete.c: Likewise.
2904         * rt/timer_getoverr.c: Likewise.
2905         * rt/timer_gettime.c: Likewise.
2906         * rt/timer_settime.c: Likewise.
2907         * setjmp/__longjmp.c: Likewise.
2908         * setjmp/setjmp.c: Likewise.
2909         * signal/kill.c: Likewise.
2910         * signal/killpg.c: Likewise.
2911         * signal/raise.c: Likewise.
2912         * signal/sigaction.c: Likewise.
2913         * signal/sigaltstack.c: Likewise.
2914         * signal/sigblock.c: Likewise.
2915         * signal/sigignore.c: Likewise.
2916         * signal/sigintr.c: Likewise.
2917         * signal/signal.c: Likewise.
2918         * signal/sigpause.c: Likewise.
2919         * signal/sigpending.c: Likewise.
2920         * signal/sigqueue.c: Likewise.
2921         * signal/sigreturn.c: Likewise.
2922         * signal/sigset.c: Likewise.
2923         * signal/sigsetmask.c: Likewise.
2924         * signal/sigstack.c: Likewise.
2925         * signal/sigsuspend.c: Likewise.
2926         * signal/sigtimedwait.c: Likewise.
2927         * signal/sigvec.c: Likewise.
2928         * signal/sigwait.c: Likewise.
2929         * signal/sigwaitinfo.c: Likewise.
2930         * signal/sysv_signal.c: Likewise.
2931         * socket/accept.c: Likewise.
2932         * socket/accept4.c: Likewise.
2933         * socket/bind.c: Likewise.
2934         * socket/connect.c: Likewise.
2935         * socket/getpeername.c: Likewise.
2936         * socket/getsockname.c: Likewise.
2937         * socket/getsockopt.c: Likewise.
2938         * socket/isfdtype.c: Likewise.
2939         * socket/listen.c: Likewise.
2940         * socket/recv.c: Likewise.
2941         * socket/recvfrom.c: Likewise.
2942         * socket/recvmsg.c: Likewise.
2943         * socket/send.c: Likewise.
2944         * socket/sendmsg.c: Likewise.
2945         * socket/sendto.c: Likewise.
2946         * socket/setsockopt.c: Likewise.
2947         * socket/shutdown.c: Likewise.
2948         * socket/sockatmark.c: Likewise.
2949         * socket/socket.c: Likewise.
2950         * socket/socketpair.c: Likewise.
2951         * stdio-common/ctermid.c: Likewise.
2952         * stdio-common/cuserid.c: Likewise.
2953         * stdio-common/remove.c: Likewise.
2954         * stdio-common/rename.c: Likewise.
2955         * stdio-common/renameat.c: Likewise.
2956         * stdio-common/tempname.c: Likewise.
2957         * stdlib/getcontext.c: Likewise.
2958         * stdlib/makecontext.c: Likewise.
2959         * stdlib/setcontext.c: Likewise.
2960         * stdlib/swapcontext.c: Likewise.
2961         * stdlib/system.c: Likewise.
2962         * streams/fattach.c: Likewise.
2963         * streams/fdetach.c: Likewise.
2964         * streams/getmsg.c: Likewise.
2965         * streams/getpmsg.c: Likewise.
2966         * streams/putmsg.c: Likewise.
2967         * streams/putpmsg.c: Likewise.
2968         * sysdeps/unix/bsd/getpt.c: Likewise.
2969         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
2970         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
2971         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
2973         Likewise.
2974         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
2975         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
2976         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2977         * sysvipc/msgctl.c: Likewise.
2978         * sysvipc/msgget.c: Likewise.
2979         * sysvipc/msgrcv.c: Likewise.
2980         * sysvipc/msgsnd.c: Likewise.
2981         * sysvipc/semctl.c: Likewise.
2982         * sysvipc/semget.c: Likewise.
2983         * sysvipc/semop.c: Likewise.
2984         * sysvipc/semtimedop.c: Likewise.
2985         * sysvipc/shmat.c: Likewise.
2986         * sysvipc/shmctl.c: Likewise.
2987         * sysvipc/shmdt.c: Likewise.
2988         * sysvipc/shmget.c: Likewise.
2989         * termios/tcdrain.c: Likewise.
2990         * termios/tcflow.c: Likewise.
2991         * termios/tcflush.c: Likewise.
2992         * termios/tcgetattr.c: Likewise.
2993         * termios/tcgetpgrp.c: Likewise.
2994         * termios/tcsendbrk.c: Likewise.
2995         * termios/tcsetattr.c: Likewise.
2996         * termios/tcsetpgrp.c: Likewise.
2997         * time/adjtime.c: Likewise.
2998         * time/clock.c: Likewise.
2999         * time/getitimer.c: Likewise.
3000         * time/gettimeofday.c: Likewise.
3001         * time/setitimer.c: Likewise.
3002         * time/settimeofday.c: Likewise.
3003         * time/stime.c: Likewise.
3004         * time/time.c: Likewise.
3006 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
3008         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
3009         /usr/old/bin.
3011         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
3012         instead of spaces.
3013         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
3015 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
3017         [BZ #14796]
3018         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
3019         FE_TONEAREST before applying Dekker multiplication and Knuth
3020         addition.  Clear inexact exceptions and check for exact zero
3021         results afterwards.
3022         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3023         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3024         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3025         * math/libm-test.inc (fma_test): Add more tests.
3026         (fma_test_towardzero): Likewise.
3027         (fma_test_downward): Likewise.
3028         (fma_test_upward): Likewise.
3029         * sysdeps/generic/math_private.h (default_libc_fesetround): New
3030         function.
3031         (libc_fesetround): New macro.
3032         (libc_fesetroundf): Likewise.
3033         (libc_fesetroundl): Likewise.
3034         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
3035         function.
3036         (libc_fesetround_387): Likewise.
3037         (libc_fesetroundf): New macro.
3038         (libc_fesetround): Likewise.
3039         (libc_fesetroundl): Likewise.
3040         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
3041         function.
3042         (libc_fesetroundf): New macro.
3043         (libc_fesetround): Likewise.
3044         (libc_fesetroundl): Likewise.
3045         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
3046         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
3047         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
3048         libm_hidden_ver.
3049         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
3050         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
3051         libm_hidden_def.
3052         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
3053         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
3054         libm_hidden_ver.
3055         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
3056         libm_hidden_def.
3058         [BZ #3439]
3059         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
3060         integer constant usable in #if and use that to give value to enum
3061         constant.
3062         (FE_DIVBYZERO): Likewise.
3063         (FE_UNDERFLOW): Likewise.
3064         (FE_OVERFLOW): Likewise.
3065         (FE_INVALID): Likewise.
3066         (FE_INVALID_SNAN): Likewise.
3067         (FE_INVALID_ISI): Likewise.
3068         (FE_INVALID_IDI): Likewise.
3069         (FE_INVALID_ZDZ): Likewise.
3070         (FE_INVALID_IMZ): Likewise.
3071         (FE_INVALID_COMPARE): Likewise.
3072         (FE_INVALID_SOFTWARE): Likewise.
3073         (FE_INVALID_SQRT): Likewise.
3074         (FE_INVALID_INTEGER_CONVERSION): Likewise.
3075         (FE_TONEAREST): Likewise.
3076         (FE_TOWARDZERO): Likewise.
3077         (FE_UPWARD): Likewise.
3078         (FE_DOWNWARD): Likewise.
3079         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
3080         (FE_DIVBYZERO): Likewise.
3081         (FE_OVERFLOW): Likewise.
3082         (FE_UNDERFLOW): Likewise.
3083         (FE_INEXACT): Likewise.
3084         (FE_TONEAREST): Likewise.
3085         (FE_DOWNWARD): Likewise.
3086         (FE_UPWARD): Likewise.
3087         (FE_TOWARDZERO): Likewise.
3088         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
3089         (FE_UNDERFLOW): Likewise.
3090         (FE_OVERFLOW): Likewise.
3091         (FE_DIVBYZERO): Likewise.
3092         (FE_INVALID): Likewise.
3093         (FE_TONEAREST): Likewise.
3094         (FE_TOWARDZERO): Likewise.
3095         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
3096         (FE_OVERFLOW): Likewise.
3097         (FE_UNDERFLOW): Likewise.
3098         (FE_DIVBYZERO): Likewise.
3099         (FE_INEXACT): Likewise.
3100         (FE_TONEAREST): Likewise.
3101         (FE_TOWARDZERO): Likewise.
3102         (FE_UPWARD): Likewise.
3103         (FE_DOWNWARD): Likewise.
3104         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
3105         (FE_DIVBYZERO): Likewise.
3106         (FE_OVERFLOW): Likewise.
3107         (FE_UNDERFLOW): Likewise.
3108         (FE_INEXACT): Likewise.
3109         (FE_TONEAREST): Likewise.
3110         (FE_DOWNWARD): Likewise.
3111         (FE_UPWARD): Likewise.
3112         (FE_TOWARDZERO): Likewise.
3114 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
3116         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
3118 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
3120         * scripts/cross-test-ssh.sh (command): Use newlines to separate
3121         commands.  Quote $PWD.
3122         (blacklist_exports): Don't use remove_newlines.  Replace "declare
3123         -x" by "export".
3124         (remove_newlines): Remove.
3126 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
3128         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
3129         * stdlib/stdlib.h (atof): Moved to ...
3130         * include/bits/stdlib-float.h: Here.  New file.
3131         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
3132         * stdlib/bits/stdlib-float.h: New file.
3133         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
3134         -mno-sse -mno-mmx.
3135         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
3136         <xmmintrin.h>.
3138 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
3140         * conform/conformtest.pl (@headers): Add fenv.h.
3141         * conform/data/fenv.h-data: New file.
3142         * include/fenv.h [_ISOMAC]: Disable all contents of file except
3143         include of <math/fenv.h>.
3145         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
3146         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
3147         && !UNIX98].  Enables tests for XOPEN2K8.
3148         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
3149         POSIX2008]: Likewise.
3151         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
3152         (struct rusage): Do not expect type or its members.
3154         [BZ #3439]
3155         * math/math.h (FP_NAN): Define macro to integer constant usable in
3156         #if and use that to give value to enum constant.
3157         (FP_INFINITE): Likewise.
3158         (FP_ZERO): Likewise.
3159         (FP_SUBNORMAL): Likewise.
3160         (FP_NORMAL): Likewise.
3162 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
3164         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
3165         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
3166         arguments.
3168 2012-11-02  Roland McGrath  <roland@hack.frob.com>
3170         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
3171         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
3172         autoconf-time if not.
3173         * configure.in: Remove AC_PREREQ.
3175 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3177         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
3178         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
3179         of the internal implementation.
3181 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
3183         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
3184         except include of <misc/sys/syslog.h>.
3186 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
3188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
3189         function returns with a NULL context exit with zero.
3191 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3193         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
3195 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
3197         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
3198         (run_program_cmd): This.
3199         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
3200         (tst_langinfo): New variable.  Use it.
3202 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
3204         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
3205         floating point opcodes.
3207 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
3209         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
3210         variable.
3212         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
3214         * sysdeps/mach/hurd/powerpc: Remove directory.
3215         * sysdeps/mach/powerpc: Likewise.
3217 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
3219         * scripts/check-local-headers.sh: Ignore c++ headers.
3221 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
3223         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
3224         __libc_cleanup_region_start argument.
3226 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
3228         [BZ #14784]
3229         [BZ #14785]
3230         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
3231         x * y using scaling, not as x * y + z.
3232         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3233         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3234         * math/libm-test.inc (fma_test): Add more tests.
3235         (fma_test_towardzero): Likewise.
3236         (fma_test_downward): Likewise.
3237         (fma_test_upward): Likewise.
3239 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
3241         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
3243 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
3245         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
3246         New variable.
3248 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
3250         * rt/tst-shm.c (worker): Correct checking for mmap failure.
3252 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
3254         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3255         Fix sort order.
3256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3257         Likewise.
3259 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3262         Fix the order of the list for glibc 2.17.
3263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3264         Likewise.
3266 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
3268         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3270 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
3272         [BZ #14610]
3273         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
3274         for low part of x being zero before using __atanl (y).
3275         * math/libm-test.inc (atan2_test): Add another test.
3277         * manual/install.texi (Configuring and compiling): Document
3278         general use of test-wrapper and test-wrapper-env.
3279         * INSTALL: Regenerated.
3281         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
3282         (__fma): Do not extract and scale down low bits on after-rounding
3283         systems when result rounded to normal precision would have normal
3284         exponent.
3285         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
3286         (__fmal): Do not extract and scale down low bits on after-rounding
3287         systems when result rounded to normal precision would have normal
3288         exponent.
3289         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
3290         (__fmal): Do not extract and scale down low bits on after-rounding
3291         systems when result rounded to normal precision would have normal
3292         exponent.
3293         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
3294         macro.
3295         (fma_test): Add more tests.
3296         (fma_test_towardzero): Likewise.
3297         (fma_test_downward): Likewise.
3298         (fma_test_upward): Likewise.
3300 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
3302         * sysdeps/i386/tininess.h: Renamed to ...
3303         * sysdeps/x86/tininess.h: This.
3304         * sysdeps/x86_64/tininess.h: Removed.
3306 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
3308         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
3309         input.  Use $(build-program-cmd).
3310         ($(objpfx)tst-array1-static.out): Likewise.
3311         ($(objpfx)tst-array2.out): Likewise.
3312         ($(objpfx)tst-array3.out): Likewise.
3313         ($(objpfx)tst-array4.out): Likewise.
3314         ($(objpfx)tst-array5.out): Likewise.
3315         ($(objpfx)tst-array5-static.out): Likewise.
3317 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
3319         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
3320         if defined.
3322         * nss/nsswitch.h (nss_interface_function): Provide new
3323         macro for use with NSS functions.
3324         * grp/initgroups.c: Use new macro.
3325         * nss/getXXbyYY.c: Likewise.
3326         * nss/getXXbyYY_r.c: Likewise.
3327         * nss/getXXent.c: Likewise.
3328         * nss/getXXent_r.c: Likewise.
3329         * sysdeps/posix/getaddrinfo.c: Likewise.
3331 2012-10-30  Andreas Jaeger  <aj@suse.de>
3333         * po/ru.po: Update Russion translation from translation project.
3335 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
3337         [BZ #14152]
3338         [BZ #14783]
3339         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
3340         result and shift together with sticky bit instead of replicating
3341         round-to-nearest rounding.
3342         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3343         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3344         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
3345         missing underflow exceptions.
3346         (fma_test_towardzero): Add more tests.
3347         (fma_test_downward): Likewise.
3348         (fma_test_upward): Likewise.
3350         [BZ #14047]
3351         * sysdeps/generic/tininess.h: New file.
3352         * sysdeps/i386/tininess.h: Likewise.
3353         * sysdeps/sh/tininess.h: Likewise.
3354         * sysdeps/x86_64/tininess.h: Likewise.
3355         * stdlib/tst-strtod-underflow.c: Likewise.
3356         * stdlib/tst-tininess.c: Likewise.
3357         * stdlib/strtod_l.c: Include <tininess.h>.
3358         (round_and_return): Do not set errno for exact underflow cases.
3359         Force an underflow exception when setting errno for underflow.
3360         Determine underflow based on rounding to normal precision if
3361         TININESS_AFTER_ROUNDING.
3362         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
3363         ERANGE for exact underflow cases.
3364         * stdlib/Makefile (tests): Add tst-tininess and
3365         tst-strtod-underflow.
3366         ($(objpfx)tst-tininess): Use $(link-libm).
3367         ($(objpfx)tst-strtod-underflow): Likewise.
3369 2012-10-30  Andreas Jaeger  <aj@suse.de>
3371         [BZ#14767]
3372         * elf/Makefile (tests): Remove conditional for have-initfini-array
3373         since this is now always required and the variable does not exist
3374         anymore.
3375         (tests-static): Likewise.
3376         (modules-names): Likewise.
3378         * po/eo.po: Add Esperanto translation from translation project.
3380         * elf/tst-array1.c (fini_array): Make writeable so that it can be
3381         merged with constructor/destructor.
3382         (init_array): Likewise.
3383         * elf/tst-array2dep.c (fini_array): Likewise.
3384         (init_array): Likewise.
3386 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
3388         * manual/message.texi: Delete @cartouche tags.
3390 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
3392         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
3393         EOPNOTSUPP.
3394         * sysdeps/mach/hurd/fsync.c: Likewise.
3396         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
3397         [_POSIX_REALTIME_SIGNALS]: Change condition to
3398         [_POSIX_REALTIME_SIGNALS > 0].
3400 2012-10-27  Andreas Jaeger  <aj@suse.de>
3402         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
3403         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
3404         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
3405         [__WORDSIZE != 64]: Likewise.
3407 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
3409         *  iconvdata/tst-table.sh: Remove ${SHELL}.
3410         *  iconvdata/tst-tables.sh: Likewise.
3412 2012-10-25  David S. Miller  <davem@davemloft.net>
3414         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3415         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
3416         of strtoull.
3418         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
3419         ifunc-impl-list.c
3420         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3421         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
3422         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
3423         file.
3425 2012-10-25  Roland McGrath  <roland@hack.frob.com>
3427         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3428         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
3429         __getdirentries.
3431 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
3432             Jim Blandy  <jimb@codesourcery.com>
3434         * scripts/cross-test-ssh.sh: New file.
3435         * manual/install.texi (Configuring and compiling): Document use of
3436         cross-test-ssh.sh.
3437         * INSTALL: Regenerated.
3439 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
3441         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
3442         EOPNOTSUPP.
3444 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
3446         * Makeconfig (run-program-prefix): Fix comment.
3448 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
3449             Jim Blandy  <jimb@codesourcery.com>
3451         * Makeconfig (test-wrapper): New variable,
3452         (test-wrapper-env): Likewise.
3453         [$(cross-compiling) = yes && $(test-wrapper) != ""]
3454         (run-built-tests): Define to yes.
3455         (run-program-prefix): Use $(test-wrapper).
3456         (built-program-cmd): Likewise.
3457         * Rules (make-test-out): Use $(test-wrapper-env) and
3458         $(host-built-program-cmd).
3459         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
3460         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
3461         tst-pathopt.sh.
3462         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
3463         $(test-wrapper-env) to tst-rtld-load-self.sh.
3464         ($(objpfx)order2.out): Use $(test-wrapper).
3465         ($(objpfx)tst-initorder.out): Likewise.
3466         ($(objpfx)tst-initorder2.out): Likewise.
3467         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
3468         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
3469         (test_wrapper_env): New variable.  Use it to run ld.so.
3470         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
3471         Use it to run ld.so.
3472         (test_wrapper_env): Likewise.
3473         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
3474         $(test-wrapper) to run-iconv-test.sh.
3475         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
3476         (ICONV): Use $test_wrapper.
3477         * posix/Makefile ($(objpfx)globtest.out): Pass
3478         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
3479         globtest.sh, not $(run-program-prefix).
3480         * posix/globtest.sh (run_via_rtld_prefix): New variable.
3481         (test_wrapper): Likewise.
3482         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
3483         set together with run_via_rtld_prefix.
3484         (run_program_prefix): Define in terms of test_wrapper and
3485         run_via_rtld_prefix.
3487 2012-10-24  Roland McGrath  <roland@hack.frob.com>
3489         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
3490         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
3491         Targets removed.
3493         [BZ #14743]
3494         * include/time.h: Remove librt_hidden_proto (clock_gettime).
3495         Declare __clock_getres, __clock_gettime, __clock_settime,
3496         __clock_nanosleep, and __clock_getcpuclockid.
3497         * rt/clock_gettime.c: Define __clock_gettime as an alias.
3498         Remove librt_hidden_def (clock_gettime).
3499         * sysdeps/unix/clock_gettime.c: Likewise.
3500         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
3501         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
3502         * rt/clock_getres.c: Define __clock_getres as an alias.
3503         * sysdeps/posix/clock_getres.c: Likewise.
3504         * rt/clock_settime.c: Define __clock_settime as an alias.
3505         * sysdeps/unix/clock_settime.c: Likewise.
3506         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
3507         * sysdeps/unix/clock_nanosleep.c: Likewise.
3508         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
3509         * rt/clock-compat.c: New file.
3510         * rt/Makefile (librt-routines): Add clock-compat and move
3511         $(clock-routines) to ...
3512         (routines): ... here, new variable.
3513         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
3514         Don't add get_clockfreq here.
3515         * rt/Versions (libc: GLIBC_2.17): New version set.
3516         Add clock_* symbols here.
3517         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
3518         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
3519         (GLIBC_2.17): Add clock_* symbols.
3520         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
3521         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
3522         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
3523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3524         Likewise.
3525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3526         Likewise.
3527         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
3528         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
3529         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
3530         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
3531         * NEWS: Mention the move.
3533         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
3534         Use __open, __read, __close rather than their public counterparts.
3535         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3536         (__get_clockfreq_via_cpuinfo): Likewise.
3537         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
3538         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
3540         * config.h.in (HAVE_IFUNC): New #undef.
3541         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
3542         was successful.
3543         * configure: Regenerated.
3545 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
3547         * configure.in: Move READELF check to start of file.
3548         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
3549         libc_cv_asm_gnu_indirect_function in the process.
3550         * configure: Regenerated.
3552 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
3554         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
3555         send the output to /dev/null.
3556         (libc_cv_cc_with_libunwind): Likewise.
3557         (libc_cv_as_noexecstack): Likewise.
3558         * configure: Regenerate.
3560 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
3562         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
3564         * posix/globtest.sh (TMPDIR): Do not set.
3565         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
3566         (testout): Likewise.
3568 2012-10-24  Andreas Jaeger  <aj@suse.de>
3570         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
3571         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
3572         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
3573         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
3574         posix_fadvise64, posix_fallocate64.
3576         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
3577         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
3578         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
3579         Likewise.
3580         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
3581         Likewise.
3582         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
3584         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
3585         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
3586         <bits/fcntl-linux.h>.
3587         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
3589         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
3590         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
3591         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
3592         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
3593         [__WORDSIZE != 64]: Likewise.
3595 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
3597         * Makeconfig (run-built-tests): New variable.
3598         * Rules [$(cross-compiling) = yes]: Change condition to
3599         [$(run-built-tests) = no].
3600         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
3601         to [$(run-built-tests) = yes].
3602         * elf/Makefile [$(cross-compiling) = no]: Likewise
3603         * grp/Makefile [$(cross-compiling) = no]: Likewise.
3604         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
3605         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
3606         * intl/Makefile [$(cross-compiling) = no]: Likewise.
3607         * io/Makefile [$(cross-compiling) = no]: Likewise.
3608         * libio/Makefile [$(cross-compiling) = no]: Likewise.
3609         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
3610         * misc/Makefile [$(cross-compiling) = no]: Likewise.
3611         * posix/Makefile [$(cross-compiling) = no]: Likewise.
3612         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
3613         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
3614         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
3615         * string/Makefile [$(cross-compiling) = no]: Likewise.
3617         * posix/Makefile ($(objpfx)globtest.out): Pass
3618         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
3619         $(rtld-installed-name).
3620         * posix/globtest.sh (elf_objpfx): Remove variable.
3621         (rtld_installed_name): Likewise.
3622         (library_path): Likewise.
3623         (run_program_prefix): New variable.  Use for running globtest
3624         binary.
3626 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
3627             Joseph Myers  <joseph@codesourcery.com>
3629         * Makeconfig (host-built-program-cmd): New variable.
3630         * elf/Makefile (tst-stackguard1-ARGS): Use
3631         $(host-built-program-cmd).
3632         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
3633         (tst-spawn-ARGS): Likewise.
3634         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
3636 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
3637             Jim Blandy  <jimb@codesourcery.com>
3639         * Makeconfig (run-via-rtld-prefix): New variable.
3640         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
3641         (built-program-cmd): Likewise.
3643 2012-10-22  Andreas Jaeger  <aj@suse.de>
3645         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
3646         __O_RSYNC if it exists, otherwise to O_SYNC.
3648 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
3649             Joseph Myers  <joseph@codesourcery.com>
3651         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
3652         /dev/null.
3653         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
3654         from /dev/null
3655         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
3656         /dev/null.
3658 2012-10-22  Andreas Jaeger  <aj@suse.de>
3660         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
3661         Define always.
3662         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
3664         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3665         bits/fcntl-linux.h.
3667         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
3668         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
3670         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
3671         to __O_LARGEFILE.
3672         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
3673         to __O_LARGEFILE.
3675 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
3676             Joseph Myers  <joseph@codesourcery.com>
3678         * config.make.in (NM): New variable.
3680 2012-10-21  Andreas Jaeger  <aj@suse.de>
3682         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
3683         definitions and declarations that are provided by
3684         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
3686 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
3688         [BZ #14683]
3689         * elf/Makefile (tests-static): Add tst-leaks1-static.
3690         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
3691         ($(objpfx)tst-leaks1-static): New rule.
3692         ($(objpfx)tst-leaks1-static-mem): Likewise.
3693         (tst-leaks1-static-ENV): New macro.
3694         * elf/dl-open.c (dl_open_worker): Check the main application
3695         only if SHARED is defined.
3696         * elf/tst-leaks1-static.c: New file.
3698 2012-10-20  Andreas Jaeger  <aj@suse.de>
3700         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
3701         generic values for Linux.
3702         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
3703         and declarations that are provided by <bits/fcntl-linux.h> and
3704         include <bits/fcntl-linux.h>.
3705         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3706         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
3708 2012-10-20  Roland McGrath  <roland@hack.frob.com>
3710         * io/fcntl.h: Move include of <bits/types.h> to the top and
3711         include it unconditionally.
3713 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
3715         * wcsmbs/Makefile (tests-ifunc): New variable.
3716         (tests): Add $(tests-ifunc).
3717         * wcsmbs/test-wcschr-ifunc.c: New file.
3718         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
3719         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
3720         * wcsmbs/test-wcslen-ifunc.c: Likewise.
3721         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
3722         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
3724         * string/Makefile (tests-ifunc): New variable.
3725         (tests): Add $(tests-ifunc).
3726         * string/test-memccpy.c (TEST_NAME): New macro.
3727         * string/test-memchr.c (TEST_NAME): Likewise.
3728         * string/test-memcmp.c (TEST_NAME): Likewise.
3729         * string/test-memcpy.c (TEST_NAME): Likewise.
3730         * string/test-memmem.c (TEST_NAME): Likewise.
3731         * string/test-memmove.c (TEST_NAME): Likewise.
3732         * string/test-memset.c (TEST_NAME): Likewise.
3733         * string/test-rawmemchr.c (TEST_NAME): Likewise.
3734         * string/test-stpcpy.c (TEST_NAME): Likewise.
3735         * string/test-stpncpy.c (TEST_NAME): Likewise.
3736         * string/test-strcasecmp.c (TEST_NAME): Likewise.
3737         * string/test-strcasestr.c (TEST_NAME): Likewise.
3738         * string/test-strcat.c (TEST_NAME): Likewise.
3739         * string/test-strchr.c (TEST_NAME): Likewise.
3740         * string/test-strcmp.c(TEST_NAME): Likewise.
3741         * string/test-strcpy.c (TEST_NAME): Likewise.
3742         * string/test-strcspn.c (TEST_NAME): Likewise.
3743         * string/test-strlen.c (TEST_NAME): Likewise.
3744         * string/test-strncasecmp.c (TEST_NAME): Likewise.
3745         * string/test-strncmp.c (TEST_NAME): Likewise.
3746         * string/test-strncpy.c (TEST_NAME): Likewise.
3747         * string/test-strnlen.c (TEST_NAME): Likewise.
3748         * string/test-strpbrk.c (TEST_NAME): Likewise.
3749         * string/test-strrchr.c (TEST_NAME): Likewise.
3750         * string/test-strspn.c (TEST_NAME): Likewise.
3751         * string/test-strstr.c (TEST_NAME): Likewise.
3752         * string/test-bcopy-ifunc.c: New file.
3753         * string/test-bzero-ifunc.c: Likewise.
3754         * string/test-memccpy-ifunc.c: Likewise.
3755         * string/test-memchr-ifunc.c: Likewise.
3756         * string/test-memcmp-ifunc.c: Likewise.
3757         * string/test-memcpy-ifunc.c: Likewise.
3758         * string/test-memmem-ifunc.c: Likewise.
3759         * string/test-memmove-ifunc.c: Likewise.
3760         * string/test-mempcpy-ifunc.c: Likewise.
3761         * string/test-memset-ifunc.c: Likewise.
3762         * string/test-rawmemchr-ifunc.c: Likewise.
3763         * string/test-stpcpy-ifunc.c: Likewise.
3764         * string/test-stpncpy-ifunc.c: Likewise.
3765         * string/test-strcasecmp-ifunc.c: Likewise.
3766         * string/test-strcasestr-ifunc.c: Likewise.
3767         * string/test-strcat-ifunc.c: Likewise.
3768         * string/test-strchr-ifunc.c: Likewise.
3769         * string/test-strchrnul-ifunc.c: Likewise.
3770         * string/test-strcmp-ifunc.c: Likewise.
3771         * string/test-strcpy-ifunc.c: Likewise.
3772         * string/test-strcspn-ifunc.c: Likewise.
3773         * string/test-strlen-ifunc.c: Likewise.
3774         * string/test-strncasecmp-ifunc.c: Likewise.
3775         * string/test-strncat-ifunc.c: Likewise.
3776         * string/test-strncmp-ifunc.c: Likewise.
3777         * string/test-strncpy-ifunc.c: Likewise.
3778         * string/test-strnlen-ifunc.c: Likewise.
3779         * string/test-strpbrk-ifunc.c: Likewise.
3780         * string/test-strrchr-ifunc.c: Likewise.
3781         * string/test-strspn-ifunc.c: Likewise.
3782         * string/test-strstr-ifunc.c: Likewise.
3784         * debug/Makefile (tests-ifunc): New variable.
3785         (tests): Add $(tests-ifunc).
3786         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
3787         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
3788         * debug/test-stpcpy_chk-ifunc.c: New file.
3789         * debug/test-strcpy_chk-ifunc.c: Likewise.
3791 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
3793         [BZ #13601]
3794         * elf/dl-load.c (open_verify): Retry read if the entire ELF
3795         header is not read in.
3797 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
3799         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
3800         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
3801         directly.  Pass built executable to script as
3802         $(built-program-cmd).
3803         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
3804         $testprogram without using LD_LIBRARY_PATH and $ldso.
3806         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
3807         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
3808         $(rtld-installed-name).
3809         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
3810         (rtld_installed_name): Likewise.
3811         (library_path): Likewise.
3812         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
3813         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
3814         $(run-program-prefix) to tst-tables.sh.
3815         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
3816         it to run tst-table-from and tst-table-to.
3817         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
3818         Pass it to tst-table.sh.
3819         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
3820         $(run-program-prefix) to tst-gettext.sh.
3821         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
3822         tst-translit.sh.
3823         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
3824         tst-gettext2.sh.
3825         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
3826         to run tst-gettext.
3827         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
3828         to run tst-gettext2.
3829         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
3830         to run tst-translit.
3831         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
3832         $(run-program-prefix) to tst-mtrace.sh.
3833         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
3834         to run tst-mtrace.
3835         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
3836         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
3837         $(rtld-installed-name).
3838         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
3839         (rtld_installed_name): Likewise.
3840         (run_program_prefix): New variable.  Use it to run wordexp-test.
3842         * Makeconfig (ARCH): Remove all definitions.
3843         (machine): Likewise.
3844         [ARCH]: Remove conditional code.
3845         [!objdir]: Give error.
3846         [!objdir] (objpfx): Remove.
3847         [!objdir] (common-objpfx): Likewise.
3848         [!objdir] (common-objdir): Likewise.
3849         * configure.in (config_makefile): Remove.  Hardcode Makefile in
3850         AC_CONFIG_FILES call.
3851         * configure: Regenerated.
3853         [BZ #13888]
3854         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
3855         or TMPDIR.
3856         (testout): Likewise.
3858         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
3859         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
3860         $(rtld-installed-name).
3861         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
3862         (rtld_installed_name): Likwise.
3863         (runit): Remove function.
3864         (run_getconf): New variable,  Use it for running getconf binary.
3866 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
3868         [BZ #14716]
3869         * string/test-memmem.c (check_result): New function.
3870         (do_one_test): Use it.
3871         (check1): New function.
3872         (test_main): Use it.
3874 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
3876         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
3878 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
3880         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
3881         (_G_LSEEK64): Likewise.
3882         (_G_MMAP64): Likewise.
3883         (_G_FSTAT64): Likewise.
3884         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
3885         (_G_LSEEK64): Likewise.
3886         (_G_MMAP64): Likewise.
3887         (_G_FSTAT64): Likewise.
3888         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
3889         unconditional.  Call __mmap64 directly.
3890         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
3891         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
3892         __lseek64 directly.
3893         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
3894         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
3895         __mmap64 directly.
3896         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
3897         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
3898         __lseek64 directly.
3899         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
3900         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
3901         __lseek64 directly.
3902         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
3903         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
3904         __lseek64 directly.
3905         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
3906         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
3907         __fxstat64 directly.
3908         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
3909         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
3910         unconditional.
3911         (freopen64) [!_G_OPEN64]: Remove conditional code.
3912         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
3913         unconditional.
3914         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
3915         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
3916         unconditional.
3917         (ftello64) [!_G_LSEEK64]: Remove conditional code.
3918         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
3919         unconditional.
3920         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
3921         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
3922         unconditional.
3923         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
3924         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
3925         unconditional.
3926         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
3927         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
3928         unconditional.
3929         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
3930         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
3931         unconditional.
3932         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
3934 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
3936         [BZ #12140]
3937         * manual/memory.texi (Malloc Tunable Parameters): Add note
3938         about free list pointers overwriting some perturb bytes.
3939         Wording suggested by Roland McGrath.
3941 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
3943         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
3944         (lgamma_test): Likewise.
3945         (tgamma_test): Likewise.
3947 2012-10-16  Florian Weimer  <fweimer@redhat.com>
3949         [BZ #14700]
3950         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
3951         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
3953 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
3955         * NEWS: Mention BZ #14716.
3956         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
3957         when removing AVAILABLE1_USES_J macro.
3959 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
3961         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
3962         (__bswap_64): __uint64_t for unsigned 64-bit int.
3964 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
3966         * include/string.h (memmem): Declare libc hidden alias.
3967         * string/memmem.c (memmem): Define libc hidden alias.
3968         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
3969         __read, __close instead of open, read, close.
3971 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
3973         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
3974         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
3975         global and hidden.
3976         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
3977         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
3978         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
3979         Likewise.
3980         (__rawmemchr_sse2): Likewise.
3981         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
3982         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
3983         (__strchr_sse2): Likewise.
3984         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
3985         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
3986         (__strcasecmp_sse2): Likewise.
3987         (__strncasecmp_sse2): Likewise.
3988         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
3989         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
3990         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
3991         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
3992         (__strrchr_sse2): Likewise.
3993         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
3994         ifunc-impl-list.c.
3995         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3996         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3997         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3998         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
3999         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
4000         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
4001         * sysdeps/x86_64/multiarch/memset.S: Likewise.
4002         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4003         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
4004         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
4005         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
4006         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
4007         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
4008         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
4009         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
4010         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
4011         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
4012         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
4013         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
4014         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
4015         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
4016         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
4017         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
4018         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
4019         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
4020         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4021         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
4022         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
4023         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
4024         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
4026         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
4027         global and hidden.
4028         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
4029         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
4030         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
4031         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
4032         Likewise.
4033         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
4034         Likewise.
4035         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
4036         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
4037         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
4038         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
4039         ifunc-impl-list.c.
4040         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4041         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4042         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4043         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4044         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4045         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4046         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4047         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4048         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4049         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4050         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4051         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4052         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4053         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
4054         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
4055         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4056         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
4057         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
4058         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4059         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4060         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4061         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4062         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4063         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4064         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4065         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
4066         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
4067         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
4068         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
4069         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4070         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
4071         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4072         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4073         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
4074         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4075         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4076         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4077         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4078         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4079         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4080         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
4082         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
4083         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
4084         * include/ifunc-impl-list.h: New file.
4085         * misc/ifunc-impl-list.c: Likewise.
4086         * misc/Makefile (routines): Add ifunc-impl-list.
4087         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
4088         * string/test-string.h: Include <ifunc-impl-list.h>.
4089         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
4090         impl_array): New variables.
4091         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
4092         are defined.
4093         (test_init): Call __libc_ifunc_impl_list to initialize
4094         func_list if TEST_IFUNC and TEST_NAME are defined.
4096         * string/Makefile (strop-tests): Add bcopy and bzero.
4097         * string/test-bcopy.c: New file.
4098         * string/test-bzero.c: Likewise.
4099         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
4100         defined.
4101         * string/test-memset.c: Support bzero test if TEST_BZERO is
4102         defined.
4103         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
4104         __libc_memmove.
4105         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
4106         __libc_memset.
4107         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
4108         of memset.
4110 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
4112         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
4113         * configure: Regenerated.
4115         * Makeconfig (+link-static-before-libc): Don't include
4116         $(link-static-libc).
4118         * libio/libio.h (_IO_pos_t): Remove.
4120 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
4122         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
4123         McGrath.
4125 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
4127         * crypt/crypt-entry.c: Include fips-private.h.
4128         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
4129         * crypt/md5c-test.c (main): Tolerate disabled MD5.
4130         * sysdeps/unix/sysv/linux/fips-private.h: New file.
4131         * sysdeps/generic/fips-private.h: New file, dummy fallback.
4133 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
4135         * crypt/crypt-private.h: Include stdbool.h.
4136         (_ufc_setup_salt_r): Return bool.
4137         * crypt/crypt-entry.c: Include errno.h.
4138         (__crypt_r): Return NULL with EINVAL for bad salt.
4139         * crypt/crypt_util.c (bad_for_salt): New.
4140         (_ufc_setup_salt_r): Check that salt is long enough and within
4141         the specified alphabet.
4142         * crypt/badsalttest.c: New file.
4143         * crypt/Makefile (tests): Add it.
4144         ($(objpfx)badsalttest): New.
4146 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
4148         * NEWS: Add entry for BZ #14602.
4150 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
4152         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
4153         type-generic.
4154         * math/libm-test.inc: Update comment listing what functions and
4155         macros are tested.
4156         (isgreater_test): New function.
4157         (isgreaterequal_test): Likewise.
4158         (isless_test): Likewise.
4159         (islessequal_test): Likewise.
4160         (islessgreater_test): Likewise.
4161         (isunordered_test): Likewise.
4162         (main): Call the new functions.
4164 2012-10-09  Roland McGrath  <roland@hack.frob.com>
4166         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
4167         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
4168         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
4169         * sysdeps/i386/configure: Regenerated.
4170         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
4171         * sysdeps/mach/configure: Regenerated.
4172         * sysdeps/mach/hurd/configure: Regenerated.
4173         * sysdeps/powerpc/configure: Regenerated.
4174         * sysdeps/powerpc/powerpc32/configure: Regenerated.
4175         * sysdeps/powerpc/powerpc64/configure: Regenerated.
4176         * sysdeps/s390/s390-32/configure: Regenerated.
4177         * sysdeps/s390/s390-64/configure: Regenerated.
4178         * sysdeps/sh/configure: Regenerated.
4179         * sysdeps/sparc/configure: Regenerated.
4180         * sysdeps/unix/sysv/linux/configure: Regenerated.
4181         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
4182         * sysdeps/x86_64/configure: Regenerated.
4184         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
4185         defined.  Don't check if MAP is NULL.
4187 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
4189         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
4190         (_G_stat64): Likewise.
4191         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
4192         (_G_stat64): Likewise.
4193         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
4194         instead of struct _G_stat64.
4195         * libio/fileops.c (mmap_remap_check): Likewise.
4196         (decide_maybe_mmap): Likewise.
4197         (_IO_new_file_seekoff): Likewise.
4198         (_IO_file_stat): Likewise.
4199         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
4200         _G_off64_t.
4201         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
4202         instead of struct _G_stat64.
4203         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
4205 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
4207         [BZ #14602]
4208         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
4209         Replace with ...
4210         (CHECK_EOL): New macro.
4211         (two_way_short_needle): Check beginning of haystack for EOL.  Use
4212         CHECK_EOL.
4213         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
4214         Replace with CHECK_EOL.
4215         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
4216         Replace with CHECK_EOL.
4218 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
4220         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
4221         type-generic.
4222         * math/libm-test.inc: Update comment listing what functions and
4223         macros are tested.
4224         (finite_test): New function.
4225         (isinf_test): Likewise.
4226         (isnan_test): Likewise.
4227         (fpclassify_test): Test subnormal input.
4228         (isfinite_test): Likewise.
4229         (isnormal_test): Likewise.
4230         (main): Call the new functions.
4232 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
4234         [BZ #14660]
4235         * Makerules (%.dynsym): Force C locale when running
4236         $(OBJDUMP) --dynamic-syms.
4238 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
4240         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
4241         <stdint.h>.
4243 2012-10-06  David S. Miller  <davem@davemloft.net>
4245         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
4246         upper 32-bits of the length value in %o2 since we use branch-on-register
4247         tests which consider the entire 64-bit register.
4249 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
4251         * string/test-strstr.c (check2): Add a test for page boundary.
4253 2012-10-05  David S. Miller  <davem@davemloft.net>
4255         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
4256         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
4257         file.
4258         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
4259         sysdep_routines.
4260         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
4261         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
4262         and bzero when HWCAP_SPARC_CRYPTO is present.
4264 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
4266         [BZ #14602]
4267         * string/test-strstr.c (check2): New function.
4268         (test_main): Call check2.
4270         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
4271         and bug-strchr1.
4272         * string/bug-strcasestr1.c (do_test): Moved to ...
4273         * string/test-strcasestr.c (check1): Here.  New function.
4274         (do_one_test): Break out result checking code into ...
4275         (check_result): This.  New function.
4276         (do_one_test): Call check_result.
4277         (test_main): Call check1.
4278         * string/bug-strchr1.c (do_test): Moved to ...
4279         * string/test-strchr.c (check1): Here.  New function.
4280         (do_one_test): Break out result checking code into ...
4281         (check_result): This.  New function.
4282         (do_one_test): Call check_result.
4283         (test_main): Call check1.
4284         * string/bug-strstr1.c (main): Moved to ...
4285         * string/test-strchr.c (check1): Here.  New function.
4286         (do_one_test): Break out result checking code into ...
4287         (check_result): This.  New function.
4288         (do_one_test): Call check_result.
4289         (test_main): Call check1.
4290         * string/bug-strcasestr1.c: Removed.
4291         * string/bug-strchr1.c: Likewise.
4292         * string/bug-strstr1.c: Likewise.
4294         * elf/Makefile (dl-routines): Add hwcaps.
4295         * elf/dl-support.c (_dl_important_hwcaps): Removed.
4296         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
4297         (_dl_important_hwcaps): Moved to ...
4298         * elf/dl-hwcaps.c: Here.  New file.
4299         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
4301         [BZ #14557]
4302         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
4303         if IS_IN_rtld isn't defined.
4305         * elf/dl-support.c (_dl_sysinfo_map): New.
4306         Include "get-dynamic-info.h" and "setup-vdso.h".
4307         (_dl_non_dynamic_init): Call setup_vdso.
4308         * elf/dynamic-link.h: Don't include <assert.h>.
4309         (elf_get_dynamic_info): Moved to ...
4310         * elf/get-dynamic-info.h: Here.  New file.
4311         * elf/dynamic-link.h: Include "get-dynamic-info.h".
4312         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
4313         * elf/setup-vdso.h: Here.  New file.
4314         * elf/rtld.c: Include "setup-vdso.h".
4315         (dl_main): Call setup_vdso.
4317 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
4319         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
4320         creal in comment listing functions tested.  List finite, isinf,
4321         isnan, isless, islessequal, isgreater, isgreaterequal,
4322         islessgreater, isunordered, lgamma_r and pow10 as functions and
4323         macros not tested.  Mention which functions not tested are aliases
4324         for other functions.  Fix typo.  Note that signs of NaNs are not
4325         tested.
4327         * scripts/config.guess: Update from config.git.
4328         * scripts/config.sub: Likewise.
4330 2012-10-04  Roland McGrath  <roland@hack.frob.com>
4332         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
4333         * misc/madvise.c (madvise): Renamed to __madvise.
4334         Make madvise a weak alias.
4335         * include/sys/mman.h: Declare __madvise.
4336         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
4337         * sysdeps/unix/syscalls.list
4338         (madvise): Make __madvise the strong name, and madvise a weak alias.
4339         * sysdeps/unix/sysv/linux/syscalls.list
4340         (madvise, mmap): Remove redundant entries.
4341         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
4342         * malloc/malloc.c (mtrim): Likewise.
4343         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
4345 2012-10-03  Roland McGrath  <roland@hack.frob.com>
4347         * sysdeps/mach/hurd/dl-cache.c: File removed.
4348         * config.h.in (USE_LDCONFIG): New #undef.
4349         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
4350         * configure: Regenerated.
4351         * elf/Makefile (dl-routines): Add dl-cache only under
4352         [$(use-ldconfig) = yes].
4353         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
4354         cache on [USE_LDCONFIG].
4355         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
4356         [USE_LDCONFIG].
4357         * elf/rtld.c (dl_main): Likewise.
4359 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
4361         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
4362         _SC_LEVEL4_CACHE_LINESIZE.
4364 2012-10-03  Roland McGrath  <roland@hack.frob.com>
4366         * sysdeps/unix/bsd/confstr.h: File removed.
4368 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
4370         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
4371         sys/sdt-config.h.
4373 2012-10-02  Roland McGrath  <roland@hack.frob.com>
4375         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
4376         Make 'mapoff' field ElfW(Off) rather than off_t.
4378 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
4380         * nscd/Makefile: Remove nscd-cflags and all its users.
4381         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
4382         (CFLAGS-nonlib): Add compiler flags for nscd modules.
4384         [BZ #10631]
4385         * malloc.c (malloc_printerr): Clarify error message.
4387 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
4389         [BZ #14648]
4390         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4391         Set bit_FMA_Usable if FMA is supported.
4392         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
4393         macro.
4394         (bit_FMA4_Usable): Updated.
4395         (index_FMA_Usable): New macro.
4396         (CPUID_FMA): Likewise
4397         (HAS_FMA): Defined with bit_FMA_Usable.
4399 2012-10-01  Roland McGrath  <roland@hack.frob.com>
4401         * bits/types.h (__swblk_t): Type removed.
4402         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
4403         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
4404         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4405         (__SWBLK_T_TYPE): Likewise.
4406         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
4407         (__SWBLK_T_TYPE): Likewise.
4408         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4409         (__SWBLK_T_TYPE): Likewise.
4410         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4411         (__SWBLK_T_TYPE): Likewise.
4413 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
4414             Honza Horak <hhorak@redhat.com>
4416         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
4417         (xdr_mapname): Use YPMAXMAP as maxsize.
4418         (xdr_peername): Use YPMAXPEER as maxsize.
4419         (xdr_keydat): Use YPAXRECORD as maxsize.
4420         (xdr_valdat): Use YPMAXRECORD as maxsize.
4422 2012-10-01  Roland McGrath  <roland@hack.frob.com>
4424         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
4426         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
4427         * csu/init-first.c: ... here.
4428         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
4429         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
4430         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
4431         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
4432         * sysdeps/i386/init-first.c: File removed.
4433         * sysdeps/sh/init-first.c: File removed.
4435 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
4437         [BZ #14645]
4438         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
4439         if x * y might underflow to zero and z is zero.
4440         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4441         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4442         * math/libm-test.inc (min_subnorm_value): New variable.
4443         (fma_test): Add more tests.
4444         (fma_test_towardzero): Likewise.
4445         (fma_test_downward): Likewise
4446         (fma_test_upward): Likewise.
4447         (initialize): Set min_subnorm_value.
4449 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
4451         [BZ #14638]
4452         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
4453         0 + 0.
4454         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
4455         mode for addition resulting in exact zero.
4456         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
4457         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
4458         exact 0 + 0.
4459         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4460         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4461         * math/libm-test.inc (fma_test): Add more tests.
4462         (fma_test_towardzero): New function.
4463         (fma_test_downward): Likewise.
4464         (fma_test_upward): Likewise.
4465         (main): Call the new functions.
4467 2012-09-28  David S. Miller  <davem@davemloft.net>
4469         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
4471 2012-09-28  Roland McGrath  <roland@hack.frob.com>
4473         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
4474         instead of SIGALRM.
4476         * sysdeps/gnu/_G_config.h: Moved to ...
4477         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
4478         * sysdeps/mach/hurd/_G_config.h: Moved to ...
4479         * sysdeps/generic/_G_config.h: ... here.
4481         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
4483         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
4485         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
4486         Conditionalize target on [libnss_test1.so-version].
4488         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
4490         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
4491         (elfobjdir): Move out of conditionals.
4493         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
4494         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
4495         (__nss_lookup_function): Conditionalize label remove_from_tree on
4496         [!DO_STATIC_NSS || SHARED], matching its only use.
4498 2012-09-28  David S. Miller  <davem@davemloft.net>
4500         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
4501         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
4502         file.
4503         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
4504         sysdep_routines.
4505         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
4506         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
4507         when HWCAP_SPARC_CRYPTO is present.
4509 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
4511         * io/tst-mknodat.c: Create a FIFO instead of a socket.
4513 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
4515         [BZ #6530]
4516         * stdio-common/vfprintf.c (process_string_arg): Revert
4517         2000-07-22 change.
4519 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
4521         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
4522         for testcase.
4523         * stdio-common/tst-sprintf.c: Include <locale.h>
4524         (main): Test sprintf's handling of incomplete multibyte
4525         characters.
4527 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
4529         * elf/dl-runtime.c (VERSYMIDX): Removed.
4530         * elf/dl-version.c (VERSYMIDX): Likewise.
4531         * elf/do-rel.h (VERSYMIDX): Likewise.
4532         (VALIDX): Likewise.
4533         * elf/dynamic-link.h (VERSYMIDX): Likewise.
4534         * elf/rtld.c (VALIDX): Likewise.
4535         (ADDRIDX): Likewise.
4536         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
4537         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
4538         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
4539         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
4540         (VALIDX): Likewise.
4541         (ADDRIDX): Likewise.
4543 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
4545         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
4547 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
4549         [BZ #11438]
4550         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
4551         to global scope.
4552         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
4553         addresses are in the same scope as 192.0.2/24.
4554         * posix/gai.conf: Document new scope table defaults.
4556 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4558         [BZ #5298]
4559         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
4560         for ftell.  Compute offsets from write pointers instead.
4561         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
4563 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4565         [BZ #14543]
4566         * libio/Makefile (tests): New test case tst-fseek.
4567         * libio/tst-fseek.c: New test case to verify that fseek/ftell
4568         combination works in wide mode.
4569         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
4570         state when the external buffer state changes.
4572 2012-09-27  David S. Miller  <davem@davemloft.net>
4574         [BZ #14376]
4575         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
4576         pass reloc->r_addend in as the 'high' argument to
4577         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
4579         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4581 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
4583         * rt/tst-aio2.c: Include <pthread.h>.
4584         * rt/tst-aio3.c: Likewise.
4586 2012-09-27  Steve Ellcey  <sellcey@mips.com>
4588         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
4590 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
4592         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
4593         contents on [SHARED].
4595 2012-09-26  Marek Polacek  <polacek@redhat.com>
4597         [BZ #14530]
4598         [BZ #13741]
4599         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
4600         for C++ and GCC <4.3 as well as for non GCC compilers.
4602 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
4604         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4606 2012-09-25  Roland McGrath  <roland@hack.frob.com>
4608         * Makefile.in (all, install): Declare with .PHONY.
4609         Reported by Michael Hope <michael.hope@linaro.org>.
4611 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4613         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
4614         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
4615         system header.
4616         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
4617         Likewise.
4618         (sydep_routines): Add the new and the internal functions.
4619         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
4620         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
4621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
4622         (GLIBC_2.17): Add the new function.
4623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
4624         (GLIBC_2.17): Likewise.
4625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
4626         (GLIBC_2.17): Likewise.
4627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
4628         (GLIBC_2.17): Likewise.
4629         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
4631 2012-09-25  Alan Modra  <amodra@gmail.com>
4633         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
4634         Add release barrier before setting once_control to say
4635         initialisation is done.  Add hints on lwarx.  Use macro in
4636         place of isync.
4637         (clear_once_control): Add release barrier.
4639 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
4641         [BZ #13629]
4642         * math/s_clog.c (__clog): Handle more values close to |z| = 1
4643         specially.
4644         * math/s_clog10.c (__clog10): Likewise.
4645         * math/s_clog10f.c (__clog10f): Likewise.
4646         * math/s_clog10l.c (__clog10l): Likewise.
4647         * math/s_clogf.c (__clogf): Likewise.
4648         * math/s_clogl.c (__clogl): Likewise.
4649         * math/Makefile (libm-calls): Add x2y2m1.
4650         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
4651         (__x2y2m1): Likewise.
4652         (__x2y2m1l): Likewise.
4653         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
4654         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
4655         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
4656         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
4657         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
4658         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
4659         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
4660         * sysdeps/i386/fpu/libm-test-ulps: Update.
4661         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4663         [BZ #14621]
4664         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
4665         int as type of variable DEPTH.
4666         (glob): Use size_t instead of int as type of variables NEWCOUNT
4667         and OLD_PATHC.
4669 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
4671         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
4672         Add s_sincosf-sse2.
4673         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
4674         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
4675         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
4676         macros for using routine as __sincosf_ia32.
4677         Use macro for function declaration and weak_alias.
4678         * sysdeps/i386/fpu/libm-test-ulps: Update.
4680         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
4681         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4683         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
4684         subnormal argument.
4685         * math/s_cexpf.c (__cexpf): Likewise.
4686         * math/s_csinf.c (__csinf): Likewise.
4687         * math/s_csinhf.c (__csinhf): Likewise.
4688         * math/s_ctanf.c (__ctanf): Likewise.
4689         * math/s_ctanhf.c (__ctanhf): Likewise.
4690         * math/s_ccosh.c (__ccoshf): Likewise.
4691         * math/s_cexp.c (__cexpl): Likewise.
4692         * math/s_csin.c (__csin): Likewise.
4693         * math/s_csinh.c (__csinh): Likewise.
4694         * math/s_ctan.c (__ctan): Likewise.
4695         * math/s_ctanh.c (ctanh): Likewise.
4696         * math/s_ccoshl.c (__ccoshl): Likewise.
4697         * math/s_cexpl.c (__cexpl): Likewise.
4698         * math/s_csinl.c (__csinl): Likewise.
4699         * math/s_csinhl.c (__csinhl): Likewise.
4700         * math/s_ctanl.c (__ctanl): Likewise.
4701         * math/s_ctanhl.c (__ctanhl): Likewise.
4703 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
4705         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
4706         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
4707         (_IO_off_t): Define to __off_t, not _G_off_t.
4708         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
4709         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
4710         (_IO_wint_t): Define to wint_t, not _G_wint_t.
4711         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
4712         type of __dummy and __dummy2 fields.
4713         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
4714         (_G_ssize_t): Likewise.
4715         (_G_off_t): Likewise.
4716         (_G_pid_t): Likewise.
4717         (_G_uid_t): Likewise.
4718         (_G_wchar_t): Likewise.
4719         (_G_wint_t): Likewise.
4720         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
4721         (_G_ssize_t): Likewise.
4722         (_G_off_t): Likewise.
4723         (_G_pid_t): Likewise.
4724         (_G_uid_t): Likewise.
4725         (_G_wchar_t): Likewise.
4726         (_G_wint_t): Likewise.
4727         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
4728         (_G_ssize_t): Likewise.
4729         (_G_off_t): Likewise.
4730         (_G_pid_t): Likewise.
4731         (_G_uid_t): Likewise.
4732         (_G_wchar_t): Likewise.
4733         (_G_wint_t): Likewise.
4735 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
4737         * malloc/arena.c: Include malloc-sysdep.h.
4738         (shrink_heap): Use check_may_shrink_heap to decide if madvise
4739         is sufficient to shrink the heap or an unmap is needed.
4740         * sysdeps/generic/malloc-sysdep.h: New file.  Define
4741         new function check_may_shrink_heap.
4742         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
4743         new function check_may_shrink_heap.
4745 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
4747         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
4748         comments.
4750 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
4752         * catgets/test-gencat.sh: Add "set -e".
4753         * elf/tst-pathopt.sh: Likewise.
4754         * grp/tst_fgetgrent.sh: Likewise.
4755         * iconvdata/run-iconv-test.sh: Likewise.
4756         * intl/tst-gettext.sh: Likewise.
4757         * intl/tst-gettext2.sh: Likewise.
4758         * intl/tst-gettext4.sh: Likewise.
4759         * intl/tst-gettext6.sh: Likewise.
4760         * intl/tst-translit.sh: Likewise.
4761         * io/ftwtest-sh: Likewise.
4762         * libio/test-freopen.sh: Likewise.
4763         * malloc/tst-mtrace.sh: Likewise.
4764         * posix/globtest.sh: Likewise.
4765         * posix/tst-getconf.sh: Likewise.
4766         * posix/wordexp-tst.sh: Likewise.
4767         * stdio-common/tst-printf.sh: Likewise.
4768         * stdio-common/tst-unbputc.sh: Likewise.
4769         * stdlib/tst-fmtmsg.sh: Likewise.
4770         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
4771         * catgets/Makefile: Do not specify -e option when running
4772         testsuite shell scripts.
4773         * elf/Makefile: Likewise.
4774         * grp/Makefile: Likewise.
4775         * iconvdata/Makefile: Likewise.
4776         * intl/Makefile: Likewise.
4777         * io/Makefile: Likewise.
4778         * libio/Makefile: Likewise.
4779         * malloc/Makefile: Likewise.
4780         * posix/Makefile: Likewise.
4781         * stdio-common/Makefile: Likewise.
4782         * stdlib/Makefile: Likewise.
4783         * sysdeps/x86_64/Makefile: Likewise.
4785         * io/ftwtest-sh: Add copyright header.
4786         * posix/globtest.sh: Likewise.
4787         * posix/tst-getconf.sh: Likewise.
4788         * posix/wordexp-tst.sh: Likewise.
4789         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
4791 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
4793         [BZ #13679]
4794         * Makeconfig (+link): Defined as $(+link-static) if
4795         $(build-shared) isn't yes.
4796         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
4797         isn't yes.
4798         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
4800         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
4802         [BZ #14562]
4803         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
4804         new chunk size with MALLOC_ALIGN_MASK.
4806 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
4808         [BZ #5044]
4809         * stdio-common/printf_fphex.c: Include <stdbool.h> and
4810         <rounding-mode.h>.
4811         (__printf_fphex): Determine rounding using get_rounding_mode and
4812         round_away.
4813         * stdio-common/tst-printf-round.c (struct hex_test): New
4814         structure.
4815         (hex_tests): New variable.
4816         (test_hex_in_one_mode): New function.
4817         (do_test): Also run tests for hex float output.
4819 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
4821         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
4822         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
4823         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
4824         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
4825         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
4826         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
4827         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
4828         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
4830 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
4832         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
4833         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
4834         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
4835         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
4837 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
4839         [BZ #14579]
4840         * elf/rtld.c (dl_main): Limit the check for self loading to normal
4841         mode only.
4842         * elf/tst-rtld-load-self.sh: New test.
4843         * elf/Makefile: Run it.
4845 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
4847         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
4848         (tst-writev-ENV): Remove.
4849         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
4851 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
4853         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
4855 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
4857         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
4858         unconditional.
4859         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
4860         Likewise.
4861         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
4862         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
4863         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
4864         Likewise.
4866 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
4868         [BZ #14587]
4869         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
4870         * config.make.in (have-cpp-asm-debuginfo): Removed.
4871         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
4872         * configure: Regenerated.
4874 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
4876         [BZ #5044]
4877         * stdio-common/printf_fp.c: Include <stdbool.h> and
4878         <rounding-mode.h>.
4879         (___printf_fp): Determine rounding using get_rounding_mode and
4880         round_away.
4881         * stdio-common/tst-printf-round.c: New file.
4882         * stdio-common/Makefile (tests): Add tst-printf-round.
4883         (link-libm): New variable.
4884         ($(objpfx)tst-printf-round): Depend in $(link-libm).
4886 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
4888         [BZ #14576]
4889         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
4890         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
4891         Likewise.
4892         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
4893         Likewise.
4895 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
4897         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
4898         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4899         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4900         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4902 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
4904         [BZ #14518]
4905         * include/rounding-mode.h: New file.
4906         * sysdeps/generic/get-rounding-mode.h: Likewise.
4907         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
4908         * stdlib/strtod_l.c: Include <rounding-mode.h>.
4909         (MAX_VALUE): New macro.
4910         (MIN_VALUE): Likewise.
4911         (overflow_value): New function.
4912         (underflow_value): Likewise.
4913         (round_and_return): Use overflow_value and underflow_value to
4914         determine return values in overflow and underflow cases.  Use
4915         round_away to determine rounding depending on rounding mode.
4916         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
4917         determine return values in overflow and underflow cases.
4918         * stdlib/tst-strtod-round.c: Include <fenv.h>.
4919         (struct test_results): New structure.
4920         (struct test): Use struct test_results to store expected results
4921         for all rounding modes.
4922         (TEST): Include expected results for all rounding modes.
4923         (test_in_one_mode): New function.
4924         (do_test): Use test_in_one_mode to compute and check results.
4925         Check results for all rounding modes.
4926         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
4927         $(link-libm).
4929 2012-12-09  Allan McRae  <allan@archlinux.org>
4931         * sysdeps/i386/fpu/libm-test-ulps: Update
4933 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
4935         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
4936         (_G_int32_t): Likewise.
4937         (_G_uint16_t): Likewise.
4938         (_G_uint32_t): Likewise.
4939         (_G_HAVE_BOOL): Likewise.
4940         (_G_HAVE_ATEXIT): Likewise.
4941         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4942         (_G_HAVE_IO_FILE_OPEN): Likewise.
4943         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
4944         (_G_int32_t): Likewise.
4945         (_G_uint16_t): Likewise.
4946         (_G_uint32_t): Likewise.
4947         (_G_HAVE_BOOL): Likewise.
4948         (_G_HAVE_ATEXIT): Likewise.
4949         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4950         (_G_HAVE_IO_FILE_OPEN): Likewise.
4951         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
4952         (_G_int32_t): Likewise.
4953         (_G_uint16_t): Likewise.
4954         (_G_uint32_t): Likewise.
4955         (_G_HAVE_BOOL): Likewise.
4956         (_G_HAVE_ATEXIT): Likewise.
4957         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4958         (_G_HAVE_IO_FILE_OPEN): Likewise.
4960 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
4962         * csu/libc-tls.c: Update copyright years.
4964 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
4966         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
4967         [!_G_USING_THUNKS]: Remove conditional code.
4968         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
4969         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
4971         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
4972         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
4973         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4974         (_G_VTABLE_LABEL_PREFIX): Likewise.
4975         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4976         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4977         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4978         (_G_VTABLE_LABEL_PREFIX): Likewise.
4979         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
4980         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4981         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4982         (_G_VTABLE_LABEL_PREFIX): Likewise.
4983         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
4985 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
4987         * libio/Makefile: Include ../Makeconfig before tests.
4988         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
4989         only if $(build-shared) is yes.
4991         * iconv/gconv_db.c: Update copyright years.
4993 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
4995         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
4996         unwind info if defined PIC. Fix special cases description.
4997         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
4999         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
5000         DP_HI_MASK entry.
5001         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
5003 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
5005         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
5007         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
5008         is NULL.
5010         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
5011         (LDLIBS-tst-chk4): This.
5012         (LDFLAGS-tst-chk5): Renamed to ...
5013         (LDLIBS-tst-chk5): This.
5014         (LDFLAGS-tst-chk6): Renamed to ...
5015         (LDLIBS-tst-chk6): This.
5016         (LDFLAGS-tst-lfschk4): Renamed to ...
5017         (LDLIBS-tst-lfschk4): This.
5018         (LDFLAGS-tst-lfschk5): Renamed to ...
5019         (LDLIBS-tst-lfschk5): This.
5020         (LDFLAGS-tst-lfschk6): Renamed to ...
5021         (LDLIBS-tst-lfschk6): This.
5023         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
5024         on $(common-objpfx)soversions.mk.
5026 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
5028         [BZ #10014]
5029         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
5030         example host name.
5032 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
5034         * malloc/arena.c (arena_get_retry): New function that gets
5035         another arena for the caller to try its request on.
5036         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
5037         current arena cannot fulfill the request.
5038         (__libc_memalign): Likewise.
5039         (__libc_memalign): Likewise.
5040         (__libc_pvalloc): Likewise.
5041         (__libc_calloc): Likewise.
5043 2012-09-05  John Tobey  <john.tobey@gmail.com>
5045         [BZ #13542]
5046         * manual/arith.texi (Operations on Complex): Fix description
5047         of carg branch cut.
5049 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
5051         [BZ #10014]
5052         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
5053         host name.
5055         [BZ #10038]
5056         * manual/memory.texi (Memory): Make order of menu items match
5057         order of sections.
5059 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
5061         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
5062         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
5063         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
5065 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
5067         * csu/libc-tls.c (static_dtv): Renamed to ...
5068         (_dl_static_dtv): This.  Make it global.
5069         (_dl_initial_dtv): Removed.
5070         (__libc_setup_tls): Updated.
5071         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
5072         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
5073         DL_INITIAL_DTV.
5075 2012-09-06  Petr Machata  <pmachata@redhat.com>
5077         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
5078         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
5079         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
5080         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
5082 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
5084         [BZ #14545]
5085         * csu/libc-tls.c (_dl_initial_dtv): New variable.
5086         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
5087         freeing dtv[-1].
5089 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
5091         [BZ #14544]
5092         * Makeconfig (link-static-before-libc): Replace $(+prector)
5093         with $(+prectorT).
5094         (link-static-after-libc): Replace $(+postctor) with
5095         $(+postctorT).
5096         (link-bounded): Replace $(+prector)/$(+postctor) with
5097         $(+prectorT)/$(+postctorT).
5098         (+prectorT): New macro.
5099         (+postctorT): Likewise.
5101 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
5103         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
5104         (round_str): Handle values above the maximum for IBM long double
5105         as inexact.
5106         * stdlib/tst-strtod-round.c (tests): Regenerated.
5108 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5110         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
5111         assembler flag.
5112         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
5113         zarch_nohighgprs around the zarch optimized routines.
5114         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
5115         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
5116         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
5117         for zarch.
5119 2012-09-05  David S. Miller  <davem@davemloft.net>
5121         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5123         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
5124         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
5125         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
5126         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
5127         entries.
5129 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
5131         * malloc/arena.c: Fold copyright years.
5132         * malloc/mcheck.c, malloc/memusage.c: Likewise.
5134 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
5136         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
5138 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
5140         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
5142 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
5144         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
5145         change internal state upon failure.
5147 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
5149         * malloc/mcheck.c (mcheck_check_all): Fix typo.
5150         * malloc/memusage.c (mmap): Likewise.
5151         (mmap64, mremap): Likewise.  Adjust name in comment.
5153 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
5155         * libio/fileops.c: Fix typos in comments.
5156         * libio/oldfileops.c: Likewise.
5157         * libio/wfileops.c: Likewise.
5159 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
5161         [BZ #1349]
5162         * malloc/Makefile (tests): Add tst-malloc-usable test case.
5163         (tst-malloc-usable-ENV): Set environment for test case.
5164         * malloc/hooks.c (malloc_check_get_size): New function to get
5165         requested size.
5166         * malloc/malloc.c (musable): Use malloc_check_get_size.
5167         * malloc/tst-malloc-usable.c: New test case.
5169 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
5171         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
5173 2012-09-05  Allan McRae  <allan@archlinux.org>
5175         [BZ #13966]
5176         * configure.in (CXX_SYSINCLUDES): Use compiler output to
5177         determine header location.
5178         * configure: Regenerated.
5180 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
5182         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
5183         float format.
5184         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
5185         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
5186         format.
5187         (test): Regenerate.
5189 2012-09-04  David S. Miller  <davem@davemloft.net>
5191         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
5192         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
5193         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
5195 2012-09-04  Florian Weimer  <fweimer@redhat.com>
5197         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
5198         failures.
5200         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
5202 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
5204         [BZ #9914]
5205         * libio/iogetdelim.c: Include <limits.h>.
5206         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
5207         + len + 1 would overflow.
5209 2012-09-03  Andreas Jaeger  <aj@suse.de>
5211         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5212         * sysdeps/i386/fpu/libm-test-ulps: Update.
5214 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5216         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
5217         Add s_sinf-sse2, s_conf-sse2.
5219         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
5220         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
5221         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
5222         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
5224         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
5225         for using routine as __sinf_ia32.
5226         Use macro for function declaration and weak_alias.
5227         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
5228         for using routine as __cosf_ia32.
5229         Use macro for function declaration and weak_alias.
5231         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
5232         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
5234         * sysdeps/x86_64/fpu/s_sinf.S: New file.
5235         * sysdeps/x86_64/fpu/s_cosf.S: New file.
5236         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5238         * math/libm-test.inc (cos_test): Add more test cases.
5239         (sin_test): Likewise.
5240         (sincos_test): Likewise.
5242 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5244         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
5245         (IFUNC_RESOLVE): Make pointers to the specialized implementations
5246         hidden.
5247         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5249 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
5251         [BZ #14538]
5252         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
5253         first element of the GOT.
5254         (elf_machine_load_address): Return the difference between
5255         the runtime address of _DYNAMIC and elf_machine_dynamic ().
5257 2012-09-01  Allan McRae  <allan@archlinux.org>
5259         [BZ #13412]
5260         * configure.in (AWK): Require gawk version 3.0 or later.
5261         * configure: Regenerated.
5263 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
5265         * sysdeps/unix/sysv/linux/kernel-features.h
5266         (__ASSUME_POSIX_CPU_TIMERS): Remove.
5267         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
5268         [__NR_clock_getres]: Make code unconditional.
5269         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
5270         (clock_getcpuclockid): Remove code left unreachable by removal of
5271         conditionals.
5272         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
5273         code unconditional.
5274         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
5275         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
5276         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
5277         Make code unconditional.
5278         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
5279         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
5280         * sysdeps/unix/sysv/linux/clock_settime.c
5281         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
5282         conditional code.
5283         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
5284         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
5286 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
5288         [BZ #14476]
5289         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
5290         scripts/test-installation.pl.
5292         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
5293         and $ld_so_version if it is set.
5295 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
5297         [BZ #14516]
5298         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
5299         failure if reading from procfs failed.
5300         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
5302 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
5304         * sysdeps/unix/sysv/linux/kernel-features.h
5305         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
5306         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
5307         Remove conditional code.
5308         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5309         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
5310         Remove conditional code.
5311         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5312         * sysdeps/unix/sysv/linux/i386/fxstat.c
5313         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
5314         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5315         * sysdeps/unix/sysv/linux/i386/fxstatat.c
5316         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
5317         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5318         * sysdeps/unix/sysv/linux/i386/lxstat.c
5319         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
5320         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5321         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
5322         Remove conditional code.
5323         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5324         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
5325         Remove conditional code.
5326         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5327         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
5328         <kernel-features.h>.
5329         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
5330         Remove.
5331         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
5332         Remove conditional code.
5333         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5334         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
5335         Remove conditional.
5337 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
5339         [BZ #5400]
5340         * NEWS: Add fixed bug number.
5342 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
5344         [BZ #14519]
5345         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
5346         underflowing exponent in case of negative sign.
5347         * stdlib/tst-strtod-round-data: Add more tests.
5348         * stdlib/tst-strtod-round.c (tests): Regenerated.
5350         [BZ #3479]
5351         * stdlib/strtod_l.c (NDIG): Remove.
5352         (HEXNDIG): Likewise.
5353         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
5354         smallest representable value.
5355         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
5356         lie within an exact representation of 1/2 ulp of the result.
5357         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
5358         unconditionally.
5359         (TENS_P9_IDX): Define unconditionally.
5360         (TENS_P9_SIZE): Likewise.
5361         (TENS_P10_IDX): Likewise.
5362         (TENS_P10_SIZE): Likewise.
5363         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
5364         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
5365         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
5366         entries for 10^2^13 and 10^2^14.
5367         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
5368         (TENS_P13_IDX): Define.
5369         (TENS_P13_SIZE): Likewise.
5370         (TENS_P14_IDX): Likewise.
5371         (TENS_P14_SIZE): Likewise.
5372         (_fpioconst_pow10): Change array size to
5373         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
5374         unconditional.
5375         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
5376         1024]: Add entries for 10^2^13 and 10^2^14.
5377         [LAST_POW10 > _LAST_POW10]: Remove #error.
5378         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
5379         (_fpioconst_pow10): Change array size to
5380         FPIOCONST_POW10_ARRAY_SIZE.
5381         * stdlib/gen-fpioconst.c: New file.
5382         * stdlib/gen-tst-strtod-round.c: Likewise.
5383         * stdlib/tst-strtod-round-data: Likewise.
5384         * stdlib/tst-strtod-round.c: Likewise.
5385         * stdlib/Makefile (tests): Add tst-strtod-round.
5387         [BZ #14459]
5388         * stdlib/strtod_l.c: Include <stdint.h>.
5389         (NDEBUG): Do not define.
5390         (round_and_return): Change EXPONENT parameter to type intmax_t.
5391         Rearrange calculations to avoid internal overflow possibilities.
5392         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
5393         Rearrange calculations to avoid internal overflow possibilities.
5394         Assert that number fits inside MPNSIZE limbs.
5395         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
5396         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
5397         calculations and add assertions to avoid internal overflow
5398         possibilities.  Add casts to avoid signed/unsigned operations.
5399         * stdlib/tst-strtod-overflow.c: New file.
5400         * stdlib/Makefile (tests): Add tst-strtod-overflow.
5402 2012-08-25  Marek Polacek  <polacek@redhat.com>
5404         * time/time.h: Fix some typos in comments.
5406 2012-08-23  Roland McGrath  <roland@hack.frob.com>
5408         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
5409         * posix/tst-rfc3484-2.c: Likewise.
5410         * posix/tst-rfc3484-3.c: Likewise.
5412 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
5414         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
5415         (EF_ARM_ABI_FLOAT_HARD): Likewise.
5417 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
5419         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
5420         #include of fxstatat64.c.
5422 2012-08-22  Roland McGrath  <roland@hack.frob.com>
5424         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
5425         * shadow/getspent_r.c: Likewise.
5426         * shadow/getspnam.c: Likewise.
5427         * shadow/getspnam_r.c: Likewise.
5428         * gshadow/getsgent.c: Likewise.
5429         * gshadow/getsgent_r.c: Likewise.
5430         * gshadow/getsgnam.c: Likewise.
5431         * gshadow/getsgnam_r.c: Likewise.
5432         * inet/getnetbyad.c: Likewise.
5433         * inet/getnetbyad_r.c: Likewise.
5434         * inet/getnetbynm.c: Likewise.
5435         * inet/getnetbynm_r.c: Likewise.
5436         * inet/getnetent.c: Likewise.
5437         * inet/getnetent_r.c: Likewise.
5438         * inet/getproto.c: Likewise.
5439         * inet/getproto_r.c: Likewise.
5440         * inet/getprtent.c: Likewise.
5441         * inet/getprtent_r.c: Likewise.
5442         * inet/getprtname.c: Likewise.
5443         * inet/getprtname_r.c: Likewise.
5444         * inet/getrpcbyname.c: Likewise.
5445         * inet/getrpcbyname_r.c: Likewise.
5446         * inet/getrpcbynumber.c: Likewise.
5447         * inet/getrpcbynumber_r.c: Likewise.
5448         * inet/getrpcent.c: Likewise.
5449         * inet/getrpcent_r.c: Likewise.
5450         * inet/getaliasent.c: Likewise.
5451         * inet/getaliasent_r.c: Likewise.
5452         * inet/getaliasname.c: Likewise.
5453         * inet/getaliasname_r.c: Likewise.
5454         * nscd/getgrgid_r.c: Likewise.
5455         * nscd/getgrnam_r.c: Likewise.
5456         * nscd/gethstbyad_r.c: Likewise.
5457         * nscd/gethstbynm3_r.c: Likewise.
5458         * nscd/getpwnam_r.c: Likewise.
5459         * nscd/getpwuid_r.c: Likewise.
5460         * nscd/getsrvbynm_r.c: Likewise.
5461         * nscd/getsrvbypt_r.c: Likewise.
5462         * nscd/gai.c: Likewise.
5464         * configure.in (build_nscd): New substituted variable, set
5465         by --disable-build-nscd and defaults to $use_nscd.
5466         * configure: Regenerated.
5467         * config.make.in (build-nscd): New substituted variable.
5468         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
5469         Change conditional to require [$(build-nscd) = yes] as well.
5470         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
5472         [BZ# 13696]
5473         * configure.in (use_nscd): New substituted variable, set by
5474         --disable-nscd.  If enabled, define USE_NSCD.
5475         * configure: Regenerated.
5476         * config.h.in: Add USE_NSCD.
5477         * config.make.in (use-nscd): New substituted variable.
5478         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
5479         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
5480         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
5481         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
5482         (CFLAGS-getgrnam_r.c): Likewise.
5483         (CFLAGS-initgroups.c): Likewise.
5484         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
5485         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
5486         Variables removed.
5487         * inet/getnetgrent_r.c
5488         (nscd_setnetgrent): New function, broken out of ...
5489         (setnetgrent): ... here.  Call it.
5490         (innetgr): Conditionalize nscd bits on [USE_NSCD].
5491         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
5492         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
5493         * nscd/Makefile (routines, aux): Move definitions after include of
5494         Makeconfig.  Conditionalize on [$(use-nscd) != no].
5495         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
5496         Conditionalize on [USE_NSCD].
5497         (is_nscd, nscd_init_cb): Likewise.
5498         (nss_load_library): Conditionalize init callback on [USE_NSCD].
5499         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
5500         * nss/nss_db/db-init.c: Likewise.
5501         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
5502         [USE_NSCD].
5503         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
5504         (make_request): Use it.
5505         (cache_valid_p): New function.
5506         (__check_pf): Use it.
5507         * NEWS: Add item for --disable-nscd.
5509 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
5511         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
5512         to support sed >= 4.2.1-20-ga9bf076.
5513         * configure: Regenerated.
5515 2012-08-22  Roland McGrath  <roland@hack.frob.com>
5517         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
5518         Conditionalize whole body on [IREL].
5520 2012-08-22  Jeff Law <law@redhat.com>
5522         [BZ #14505]
5523         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
5524         if the family is PF_UNSPEC.
5526 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
5528         * Makerules (lib-version): Rename from V.
5529         (install-lib-nosubdir): Change V to lib-version.
5531 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
5533         [BZ #14252]
5534         * powerpc32/power6/wcschr.c: New file.
5535         * powerpc32/power6/wcscpy.c: New file.
5536         * powerpc32/power6/wcsrchr.c: New file.
5537         * powerpc64/power6/wcschr.c: New file.
5538         * powerpc64/power6/wcscpy.c: New file.
5539         * powerpc64/power6/wcsrchr.c: New file.
5541 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
5543         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
5544         (two_way_short_needle): Use it.
5545         * string/strstr.c (AVAILABLE1_USES_J): Define.
5546         * string/strcasestr.c: Likewise.
5548         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
5549         array references.
5550         * string/strcasestr.c (TOLOWER): Make side-effect safe.
5552         [BZ #11607]
5553         * NEWS: Add an entry.
5554         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
5555         define their defaults.
5556         (two_way_short_needle): Detect end-of-string on-the-fly.
5557         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
5558         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
5559         * string/bug-strcasestr1.c: New test.
5560         * string/Makefile: Run it.
5562 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
5564         [BZ #11607]
5565         * string/str-two-way.h (two_way_short_needle): Optimize matching of
5566         the first character.
5568 2012-08-21  Roland McGrath  <roland@hack.frob.com>
5570         * csu/elf-init.c (__libc_csu_irel): Function removed.
5571         * csu/libc-start.c (apply_irel): New function.
5572         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
5574 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
5576         * sysdeps/unix/sysv/linux/kernel-features.h
5577         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
5578         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
5579         <kernel-features.h>.
5580         [__NR_fadvise64_64]: Make code unconditional.
5581         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
5582         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
5583         !__NR_fadvise64_64)]: Likewise.
5584         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
5585         !__NR_fadvise64_64))]: Likewise.
5586         [__NR_fadvise64]: Make code unconditional.
5587         [!__NR_fadvise64]: Remove conditional code.
5588         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
5589         <kernel-features.h>.
5590         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
5591         unconditional.
5592         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
5593         conditional code.
5594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
5595         not include <kernel-features.h>.
5596         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
5597         unconditional.
5598         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
5599         conditional code.
5600         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
5601         include <kernel-features.h>.
5602         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
5603         unconditional.
5604         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
5605         conditional code.
5607 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
5609         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
5610         slight instruction rearrangements per scrollpipe analysis.
5611         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
5613 2012-08-20  Roland McGrath  <roland@hack.frob.com>
5615         * manual/syslog.texi (syslog; vsyslog, closelog):
5616         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
5617         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
5619         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
5620         DSOCAPS to match condition on defining it.
5622 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
5624         * sysdeps/unix/sysv/linux/kernel-features.h
5625         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
5626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
5627         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5628         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
5630         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5631         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
5633         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5634         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5636         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
5637         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
5639         * sysdeps/unix/sysv/linux/kernel-features.h
5640         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
5641         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
5642         unconditional.
5643         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5644         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
5645         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
5646         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5647         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
5648         Make code unconditional.
5649         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5650         (__mmap64) [!__NR_mmap2]: Likewise.
5651         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
5652         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
5653         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5654         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
5655         [__NR_mmap2]: Make code unconditional.
5656         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5657         (__mmap64) [!__NR_mmap2]: Likewise.
5659 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5661         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
5663 2012-08-18  Andreas Jaeger  <aj@suse.de>
5665         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
5667 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
5669         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
5670         * include/unistd.h (__have_sock_cloexec): Likewise.
5671         (__have_pipe2): Likewise.
5672         (__have_dup3): Likewise.
5674 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
5676         [BZ #9685]
5677         * include/unistd.h (__have_pipe2): Change define into an extern int.
5678         (__have_dup3): Likewise.
5679         * socket/have_sock_cloexec.c: Include fcntl.h.
5680         (__have_pipe2): New variable.
5681         (__have_dup3): Likewise.
5683 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
5685         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
5687 2012-08-17  Marek Polacek  <polacek@redhat.com>
5689         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
5690         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
5692 2012-08-17  Roland McGrath  <roland@hack.frob.com>
5694         * configure.in: Add AC_SUBST for sysheaders.
5695         * configure: Regenerated.
5696         * config.make.in (sysheaders): New substituted variable.
5698         * sysdeps/unix/mkfifo.c: Moved ...
5699         * sysdeps/posix/mkfifo.c: ... here.
5700         * sysdeps/unix/mkfifoat.c: Moved ...
5701         * sysdeps/posix/mkfifoat.c: ... here.
5703         * sysdeps/unix/utime.c: Moved ...
5704         * sysdeps/posix/utime.c: ... here.
5706         * sysdeps/unix/time.c: Moved ...
5707         * sysdeps/posix/time.c: ... here.
5708         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
5709         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
5711         * sysdeps/unix/nice.c: Moved ...
5712         * sysdeps/posix/nice.c: ... here.
5714         * sysdeps/unix/alarm.c: Moved ...
5715         * sysdeps/posix/alarm.c: ... here.
5717         * intl/Makefile ($(codeset_mo)): Depend on the input file.
5719 2012-08-17  Jeff Law <law@redhat.com>
5721         * intl/Makefile (codeset_mo): New variable.
5722         ($(codeset_mo)): New target.
5723         (tst-codeset.out): Depend on that.  Remove explicit rule.
5724         (tst-gettext3.out, tst-gettext5.out): Likewise.
5725         (LOCPATH-ENV, tst-codeset-ENV): New variables.
5726         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
5727         * intl/tst-codeset.sh: Remove.
5728         * intl/tst-gettext3.sh: Likewise.
5729         * intl/tst-gettext5.sh: Likewise.
5731 2012-08-17  Roland McGrath  <roland@hack.frob.com>
5733         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
5734         * sysdeps/unix/syscalls.list: ... here.
5736         * sysdeps/posix/getaddrinfo.c
5737         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
5738         (gaiconf_init, gaiconf_reload): Use them.
5739         [!_STATBUF_ST_NSEC]
5740         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
5741         Define using time_t rather than struct timespec.
5743         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
5744         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
5745         Macros removed.
5746         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
5747         [!NO_THREADS].
5748         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
5749         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
5750         Likewise.
5752         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
5753         __libc_cleanup_push argument.
5755         * bits/param.h: New file.
5756         * misc/sys/param.h: New file.
5757         * include/sys/param.h: New file.
5758         * misc/Makefile (headers): Add bits/param.h.
5759         * sysdeps/generic/sys/param.h: File removed.
5760         * sysdeps/unix/sysv/linux/bits/param.h: New file.
5761         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
5762         * sysdeps/mach/hurd/bits/param.h: New file.
5763         * sysdeps/mach/hurd/sys/param.h: File removed.
5765         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
5766         last change.
5768         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
5769         [_IO_MTSAFE_IO].
5770         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
5771         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
5772         New macros.
5774         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
5775         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
5776         rather than -D_IO_MTSAFE_IO conditionally.
5777         * stdio-common/Makefile (CPPFLAGS): Likewise.
5778         * wcsmbs/Makefile (CPPFLAGS): Likewise.
5779         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
5780         Use $(libio-mtsafe).
5781         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
5782         of -D_IO_MTSAFE_IO.
5783         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
5784         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
5785         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
5786         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
5787         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
5788         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
5789         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
5790         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
5791         (CFLAGS-fread_u_chk.c): Likewise.
5792         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
5793         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
5794         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
5795         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
5796         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
5797         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
5798         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
5799         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
5800         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
5802         * libio/Makefile: Test [$(libc-reentrant) = yes]
5803         instead of [$(filter %REENTRANT, $(defines)) nonempty].
5805         * Makeconfig
5806         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
5807         * sysdeps/pthread/configure: File removed.
5808         * sysdeps/pthread/Makeconfig: New file.
5809         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
5810         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
5812 2012-08-16  Gary Benson  <gbenson@redhat.com>
5814         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
5815         unmapping the first object in a namespace.
5817 2012-08-16  Roland McGrath  <roland@hack.frob.com>
5819         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
5820         (__internal_setnetgrent): ... this.  Add internal_function to
5821         definition.  Add libc_hidden_def.
5822         (setnetgrent): Update caller.
5823         (internal_endnetgrent): Renamed to ...
5824         (__internal_endnetgrent): ... this.  Add internal_function to
5825         definition.  Add libc_hidden_def.
5826         (endnetgrent): Update caller.
5827         (internal_getnetgrent_r): Renamed to ...
5828         (__internal_getnetgrent_r): ... this.  Add internal_function to
5829         definition.  Add libc_hidden_def.
5830         (__getnetgrent_r): Update caller.
5831         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
5833 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
5835         * stdlib/longlong.h: Update from GCC.
5837 2012-08-16  Roland McGrath  <roland@hack.frob.com>
5839         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
5840         on _QL, which is set by umul_ppmm but never used.
5841         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
5842         variables, which are set by GMP macros but never used.
5843         * stdio-common/_itowa.c (_itowa): Likewise.
5844         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
5845         * stdlib/mod_1.c (mpn_mod_1): Likewise.
5847 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
5849         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
5850         struct La_sh_regs is not constant.
5851         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
5852         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
5853         and struct La_sparc64_regs are not constant.
5855 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
5857         * sysdeps/unix/sysv/linux/kernel-features.h
5858         (__ASSUME_POSIX_TIMERS): Remove.
5859         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
5860         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5861         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
5862         Make code unconditional.
5863         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5864         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
5865         Make code unconditional.
5866         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5867         * sysdeps/unix/sysv/linux/clock_nanosleep.c
5868         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
5869         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5870         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
5871         Make code unconditional.
5872         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5873         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
5874         (__libc_missing_posix_timers): Remove.
5876 2012-08-15  Roland McGrath  <roland@hack.frob.com>
5878         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
5879         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
5881         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
5883         * elf/dl-sym.c: Include <stdlib.h>.
5885         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
5886         constants, which avoids warnings in 32-bit builds.
5888         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
5889         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
5891         * misc/lseek.c: File moved to ...
5892         * io/lseek.c: ... here.
5894         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
5896         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
5897         shifting LEN more than 31 bits at once.
5899 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5901         [BZ #14195]
5902         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
5903         segmentation fault for a case of two empty input strings.
5904         * string/test-strncasecmp.c (check1): Renamed to...
5905         (bz12205): ...this.
5906         (bz14195): Add new testcase for two empty input strings and N > 0.
5907         (test_main): Call new testcase, adapt for renamed function.
5909 2012-08-15  Andreas Jaeger  <aj@suse.de>
5911         [BZ #14090]
5912         * crypt/md5test2.c: New test, based on test supplied by Serge
5913         Belyshev <belyshev@depni.sinp.msu.ru>.
5914         * crypt/Makefile (xtests): Add md5test-giant..
5915         * crypt/Makefile ($(objpfx)md5test-giant): Add.
5917 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
5919         [BZ #14090]
5920         * crypt/md5.c (md5_process_block): Don't assume the buffer
5921         length is less than 2**32.
5922         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
5923         length is less than 2**64.
5925 2012-08-15  Roland McGrath  <roland@hack.frob.com>
5927         * string/str-two-way.h: Include <sys/param.h>.
5928         (MAX): Macro removed.
5930         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
5931         Move #define and #undef of memmove to just before and after
5932         including <string.h>.
5934         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
5935         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
5936         and after including <string.h>.  Move declarations of
5937         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
5938         to before #include "string/memmove.c".
5940         * include/dirent.h: Declare __getdirentries.
5942         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
5943         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
5945 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
5947         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
5948         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
5949         * sysdeps/i386/configure: Regenerated.
5950         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
5951         STABS_CURRENT_FILE, and STABS_FUN.
5952         (END): Remove call to STABS_FUN_END.
5953         (STABS_CURRENT_FILE1): Delete.
5954         (STABS_CURRENT_FILE): Likewise.
5955         (STABS_FUN): Likewise.
5956         (STABS_FUN_END): Likewise.
5957         (STABS_FUN2): Likewise.
5958         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
5959         * sysdeps/x86_64/configure: Regenerated.
5961 2012-08-14  Roland McGrath  <roland@hack.frob.com>
5963         * elf/dl-open.c: Include <atomic.h>.
5964         * elf/dl-lookup.c: Likewise.
5966 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
5968         * sysdeps/unix/sysv/linux/kernel-features.h
5969         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
5970         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
5971         unconditionally.
5972         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
5973         unconditionally.
5974         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
5975         condition on __ASSUME_CLONE_THREAD_FLAGS.
5977 2012-08-14  Andreas Jaeger  <aj@suse.de>
5979         * sysdeps/i386/fpu/libm-test-ulps: Update.
5981 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
5983         * include/atomic.h (atomic_exchange_and_add): Split into ...
5984         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
5985         New atomic macros.
5987 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
5989         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5991 2012-08-13  Jeff Law <law@redhat.com>
5993         * manual/stdio.texi (snprintf): Clarify handling of the trailing
5994         null byte in the output string.
5996 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
5998         * sysdeps/unix/sysv/linux/kernel-features.h
5999         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
6000         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
6001         (__ASSUME_ARG_MAX_STACK_BASED): Define.
6002         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
6003         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
6004         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
6005         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
6007 2012-08-09  Jeff Law <law@redhat.com>
6009         [BZ #13939]
6010         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
6011         When avoid_arena is set, don't retry in the that arena.  Pick the
6012         next one, whatever it might be.
6013         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
6014         (arena_lock): Pass in new parameter to arena_get2.
6015         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
6016         arena_get2.
6017         (__libc_malloc): Unify retrying after main arena failure with
6018         __libc_memalign version.
6019         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
6021 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
6023         [BZ #14166]
6024         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
6025         to __redirect_strstr.
6026         (__strstr_sse42): Use typeof __redirect_strstr.
6027         (__strstr_ia32): Likewise.
6028         (__libc_strstr): New prototype.
6029         (strstr): Renamed to ...
6030         (__libc_strstr): This.
6031         (strstr): New strong alias of __libc_strstr.
6032         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
6033         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
6034         __redirect_time.
6035         Include <time.h>.
6036         (__libc_time): New prototype.
6037         (time_ifunc): Replace time with __libc_time.
6038         (time): New strong alias and hidden definition of __libc_time.
6039         (__GI_time): Remove strong alias.
6040         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
6041         Include <stddef.h>.
6042         (memmove): Redefined to __redirect_memmove.
6043         (__memmove_sse2): Use typeof __redirect_memmove.
6044         (__memmove_ssse3): Likewise.
6045         (__memmove_ssse3_back): Likewise.
6046         (__libc_memmove): New prototype.
6047         (memmove): Renamed to ...
6048         (__libc_memmove): This.
6049         (memmove): New strong alias of __libc_memmove.
6051 2012-08-08  Mark Salter  <msalter@redhat.com>
6053         * elf/elf.h
6054         (R_MN10300_TLS_GD): Define.
6055         (R_MN10300_TLS_LD): Likewise.
6056         (R_MN10300_TLS_LDO): Likewise.
6057         (R_MN10300_TLS_GOTIE): Likewise.
6058         (R_MN10300_TLS_IE): Likewise.
6059         (R_MN10300_TLS_LE): Likewise.
6060         (R_MN10300_TLS_DTPMOD): Likewise.
6061         (R_MN10300_TLS_DTPOFF): Likewise.
6062         (R_MN10300_TLS_TPOFF): Likewise.
6063         (R_MN10300_SYM_DIFF): Likewise.
6064         (R_MN10300_ALIGN): Likewise.
6065         (R_MN10300_NUM): Update.
6067 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
6069         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
6070         Remove.
6072 2012-08-08  Roland McGrath  <roland@hack.frob.com>
6074         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
6076         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
6077         sysdeps/unix -> sysdeps/posix move.
6078         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
6080 2012-08-07      Allan McRae     <allan@archlinux.org>
6082         [BZ #14303]
6083         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
6084         (SUNOS_CPP): Likewise.
6085         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
6086         not found.
6087         (open_input): Call CPP using execvp.
6089 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
6091         * sysdeps/unix/sysv/linux/kernel-features.h
6092         (__ASSUME_PROT_GROWSUPDOWN): Remove.
6093         (__ASSUME_NO_CLONE_DETACHED): Likewise.
6094         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
6095         (__ASSUME_WAITID_SYSCALL): Likewise.
6096         * sysdeps/unix/sysv/linux/dl-execstack.c
6097         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
6098         code unconditional.
6099         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
6100         conditional code.
6101         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
6102         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
6103         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
6104         code.
6105         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
6106         unconditional.
6107         [__ASSUME_WAITID_SYSCALL]: Likewise.
6108         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
6110 2012-08-07  Roland McGrath  <roland@hack.frob.com>
6112         * sysdeps/unix/closedir.c: Renamed to ...
6113         * sysdeps/posix/closedir.c: ... here.
6114         * sysdeps/unix/dirfd.c: Renamed to ...
6115         * sysdeps/posix/dirfd.c: ... here.
6116         * sysdeps/unix/dirstream.h: Renamed to ...
6117         * sysdeps/posix/dirstream.h: ... here.
6118         * sysdeps/unix/fdopendir.c: Renamed to ...
6119         * sysdeps/posix/fdopendir.c: ... here.
6120         * sysdeps/unix/opendir.c: Renamed to ...
6121         * sysdeps/posix/opendir.c: ... here.
6122         * sysdeps/unix/readdir.c: Renamed to ...
6123         * sysdeps/posix/readdir.c: ... here.
6124         * sysdeps/unix/readdir_r.c: Renamed to ...
6125         * sysdeps/posix/readdir_r.c: ... here.
6126         * sysdeps/unix/rewinddir.c: Renamed to ...
6127         * sysdeps/posix/rewinddir.c: ... here.
6128         * sysdeps/unix/seekdir.c: Renamed to ...
6129         * sysdeps/posix/seekdir.c: ... here.
6130         * sysdeps/unix/telldir.c: Renamed to ...
6131         * sysdeps/posix/telldir.c: ... here.
6132         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
6133         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
6134         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
6135         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
6137         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
6138         * bits/fcntl.h: ... here.
6140         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
6141         not 0.
6142         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
6143         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
6144         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
6145         (struct flock): Move l_start, l_len to the beginning.
6146         Use __pid_t for l_pid.
6147         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
6148         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
6149         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
6150         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
6151         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
6152         [__USE_LARGEFILE64] (struct flock64): New type.
6153         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
6155         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
6156         * bits/dirent.h: ... here.
6158         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
6159         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
6161 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
6163         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6164         Change from 2.6.0 to 2.6.16.
6165         * sysdeps/unix/sysv/linux/configure: Regenerated.
6166         * sysdeps/unix/sysv/linux/kernel-features.h
6167         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
6168         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
6169         version.
6170         (__ASSUME_UTIMES): Likewise.
6171         (__ASSUME_CLONE_STOPPED): Remove.
6172         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
6173         architectures, not kernel version.
6174         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
6175         (__ASSUME_NO_CLONE_DETACHED): Likewise.
6176         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
6177         (__ASSUME_WAITID_SYSCALL): Likewise.
6178         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
6179         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
6180         * README: State 2.6.16 as minimum Linux kernel version.  Do not
6181         refer to older versions.
6183 2012-08-06  Roland McGrath  <roland@hack.frob.com>
6185         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
6186         Define alphasort64 as an alias.
6187         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
6188         Define versionsort64 as an alias.
6189         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
6190         Define scandir64 as an alias.
6191         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
6192         Define scandirat64 as an alias.
6193         * dirent/alphasort64.c (alphasort64):
6194         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
6195         * dirent/versionsort64.c: Likewise.
6196         * dirent/scandir64.c: Likewise.
6197         * dirent/scandirat64.c: Likewise.
6198         * sysdeps/wordsize-64/alphasort.c: File removed.
6199         * sysdeps/wordsize-64/alphasort64.c: File removed.
6200         * sysdeps/wordsize-64/scandir.c: File removed.
6201         * sysdeps/wordsize-64/scandir64.c: File removed.
6202         * sysdeps/wordsize-64/scandirat.c: File removed.
6203         * sysdeps/wordsize-64/scandirat64.c: File removed.
6204         * sysdeps/wordsize-64/versionsort.c: File removed.
6205         * sysdeps/wordsize-64/versionsort64.c: File removed.
6206         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
6207         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
6208         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
6209         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
6210         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
6211         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
6212         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
6213         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
6215         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
6216         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
6217         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
6218         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6219         [defined __arch64__ || defined __sparcv9]
6220         (__INO_T_MATCHES_INO64_T): New macro.
6221         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
6222         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
6223         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
6224         * sysdeps/unix/sysv/linux/bits/dirent.h
6225         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
6226         (_DIRENT_MATCHES_DIRENT64): New macro.
6228         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
6229         Define lockf64 as an alias.
6230         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
6231         Define fseeko64 as an alias.
6232         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
6233         Define ftello64 as an alias.
6234         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
6235         Define _IO_fgetpos64 and fgetpos64 as aliases.
6236         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
6237         Define _IO_fsetpos64 and fsetpos64 as aliases.
6238         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
6239         Conditionalize body on this.
6240         * libio/fseeko64.c: Likewise.
6241         * libio/ftello64.c: Likewise.
6242         * libio/iofgetpos64.c: Likewise.
6243         * libio/iofsetpos64.c: Likewise.
6244         * sysdeps/wordsize-64/lockf.c: File removed.
6245         * sysdeps/wordsize-64/lockf64.c: File removed.
6246         * sysdeps/wordsize-64/fseeko.c: File removed.
6247         * sysdeps/wordsize-64/fseeko64.c: File removed.
6248         * sysdeps/wordsize-64/ftello.c: File removed.
6249         * sysdeps/wordsize-64/ftello64.c: File removed.
6250         * sysdeps/wordsize-64/iofgetpos.c: File removed.
6251         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
6252         * sysdeps/wordsize-64/iofsetpos.c: File removed.
6253         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
6254         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
6255         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
6256         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
6257         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
6258         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
6259         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
6260         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
6261         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
6262         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
6263         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
6265         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
6266         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
6267         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
6268         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6269         [defined __arch64__ || defined __sparcv9]
6270         (__OFF_T_MATCHES_OFF64_T): New macro.
6271         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
6272         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
6273         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6274         (__OFF_T_MATCHES_OFF64_T): New macro.
6276 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
6278         * stdlib/secure-getenv.c (__secure_getenv): Replace
6279         GLIBC_2_16 with GLIBC_2_17.
6281 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
6283         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
6284         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
6286 2012-08-03  David S. Miller  <davem@davemloft.net>
6288         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6290 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
6292         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
6293         Remove.
6294         (__ASSUME_CORRECT_SI_PID): Likewise.
6295         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
6296         (__ASSUME_TMPFS_NAME): Likewise.
6297         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
6298         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
6299         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
6300         (HAVE_AUX_SECURE): Make definition unconditional.
6301         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
6302         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
6304 2012-08-03  Roland McGrath  <roland@hack.frob.com>
6306         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
6307         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
6308         * sysdeps/mach/hurd/eloop-threshold.h: New file.
6309         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
6310         __eloop_threshold instead of SYMLOOP_MAX.
6312         * sysdeps/generic/eloop-threshold.h: New file.
6313         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
6314         of MAXSYMLINKS.
6315         * elf/chroot_canon.c (chroot_canon): Likewise.
6317 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
6319         [BZ #13717]
6320         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6321         Change to 2.6.0 everywhere.
6322         * sysdeps/unix/sysv/linux/configure: Regenerated.
6323         * sysdeps/unix/sysv/linux/kernel-features.h
6324         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
6325         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
6326         kernel versions.
6327         (__ASSUME_POSIX_TIMERS): Define unconditionally.
6328         (__ASSUME_FUTEX_REQUEUE): Remove.
6329         (__ASSUME_STATFS64): Define unconditionally.
6330         (__ASSUME_AT_SECURE): Likewise.
6331         (__ASSUME_CORRECT_SI_PID): Likewise.
6332         (__ASSUME_TGKILL): Define without depending on kernel version for
6333         i386.
6334         (__ASSUME_UTIMES): Likewise.
6335         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
6336         kernel version.
6337         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
6338         (__ASSUME_TMPFS_NAME): Likewise.
6339         * README: Update reference to Linux kernel versions.
6341 2012-08-02  Marek Polacek  <polacek@redhat.com>
6343         [BZ# 14150]
6344         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
6345         libc_cv_asm_type_prefix with %.
6346         * configure: Regenerated.
6347         * include/libc-symbols.h: Remove comment about
6348         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
6349         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
6350         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
6351         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
6352         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
6353         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
6354         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
6355         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
6356         * elf/tst-unique2mod1.c: Likewise.
6357         * elf/tst-unique1mod2.c: Likewise.
6358         * elf/tst-unique1mod1.c: Likewise.
6359         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
6360         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
6361         Replace ASM_TYPE_DIRECTIVE with .type.
6362         * sysdeps/s390/s390-64/sysdep.h: Likewise.
6363         * sysdeps/i386/sysdep.h: Likewise.
6364         * sysdeps/x86_64/sysdep.h: Likewise.
6365         * sysdeps/sh/sysdep.h: Likewise.
6366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
6367         Do not define ASM_TYPE_DIRECTIVE.
6368         * sysdeps/powerpc/sysdep.h: Likewise.
6369         * sysdeps/powerpc/powerpc32/sysdep.h:
6370         Replace ASM_TYPE_DIRECTIVE with .type.
6371         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
6372         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6373         * sysdeps/i386/fpu/e_powf.S: Likewise.
6374         * sysdeps/i386/fpu/e_expl.S: Likewise.
6375         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6376         * sysdeps/i386/fpu/e_acosh.S: Likewise.
6377         * sysdeps/i386/fpu/e_pow.S: Likewise.
6378         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
6379         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6380         * sysdeps/i386/fpu/s_expm1.S: Likewise.
6381         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
6382         * sysdeps/i386/fpu/e_log2.S: Likewise.
6383         * sysdeps/i386/fpu/e_log2l.S: Likewise.
6384         * sysdeps/i386/fpu/e_scalb.S: Likewise.
6385         * sysdeps/i386/fpu/e_powl.S: Likewise.
6386         * sysdeps/i386/fpu/e_log10f.S: Likewise.
6387         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
6388         * sysdeps/i386/fpu/e_logl.S: Likewise.
6389         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
6390         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
6391         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
6392         * sysdeps/i386/fpu/e_log2f.S: Likewise.
6393         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6394         * sysdeps/i386/fpu/e_log.S: Likewise.
6395         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6396         * sysdeps/i386/fpu/e_logf.S: Likewise.
6397         * sysdeps/i386/fpu/e_log10l.S: Likewise.
6398         * sysdeps/i386/fpu/e_atanh.S: Likewise.
6399         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
6400         * sysdeps/i386/fpu/e_log10.S: Likewise.
6401         * sysdeps/i386/fpu/s_frexp.S: Likewise.
6402         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6403         * sysdeps/i386/fpu/s_asinh.S: Likewise.
6404         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
6405         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6406         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
6407         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
6408         * sysdeps/i386/i686/strtok.S: Likewise.
6409         * sysdeps/i386/i386-mcount.S: Likewise.
6410         * sysdeps/i386/strtok.S: Likewise.
6411         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
6412         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6413         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6414         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6415         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
6416         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6417         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
6418         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
6419         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6420         * sysdeps/x86_64/_mcount.S: Likewise.
6421         * sysdeps/x86_64/strtok.S: Likewise.
6422         * sysdeps/sh/_mcount.S: Likewise.
6424 2012-08-01  Roland McGrath  <roland@hack.frob.com>
6426         * libio/iofopen.c: Include <fcntl.h>.
6427         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
6428         (_IO_fopen64, fopen64): Define as aliases.
6429         * libio/iofopen64.c: Include <fcntl.h>.
6430         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
6431         Conditionalize body on this.
6432         * sysdeps/wordsize-64/iofopen.c: File removed.
6433         * sysdeps/wordsize-64/iofopen64.c: File removed.
6435 2012-08-01  Marek Polacek  <polacek@redhat.com>
6437         * libc/Makeconfig: Use elf in place of binfmt-subdir.
6438         Use dlfcn directly instead of a variable.
6439         (binfmt-subdir): Do not define.
6440         (dlfcn): Likewise.
6442 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
6444         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
6445         Remove all definitions.
6446         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
6447         <kernel-features.h>.
6448         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
6449         (miss_F_GETOWN_EX): Remove all definitions.
6450         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
6451         macro definition.
6452         [!__ASSUME_FCNTL64]: Remove conditional code.
6453         [__ASSUME_FCNTL64]: Make code unconditional.
6454         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
6455         <kernel-features.h>.
6456         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
6457         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
6458         (lockf64) [__NR_fcntl64]: Make code unconditional.
6459         (lockf64) [__ASSUME_FCNTL64]: Likewise.
6461         * sysdeps/unix/sysv/linux/kernel-features.h
6462         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
6463         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
6464         Make code unconditional.
6465         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
6466         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
6467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
6468         [__NR_vfork]: Make code unconditional.
6469         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
6470         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
6471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
6472         [__NR_vfork]: Make code unconditional.
6473         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
6474         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
6476 2012-08-01  Roland McGrath  <roland@hack.frob.com>
6478         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
6479         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
6481         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6482         Define mkstemp64 as an alias.
6483         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6484         Define mkstemps64 as an alias.
6485         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6486         Define mkostemp64 as an alias.
6487         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6488         Define mkostemps64 as an alias.
6489         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
6490         Conditionalize body on this.
6491         * misc/mkostemp64.c: Likewise.
6492         * misc/mkostemps64.c: Likewise.
6493         * misc/mkstemps64.c: Likewise.
6494         * sysdeps/wordsize-64/mkstemp64.c: File removed.
6495         * sysdeps/wordsize-64/mkostemp64.c: File removed.
6496         * sysdeps/wordsize-64/mkostemp.c: File removed.
6497         * sysdeps/wordsize-64/mkstemp.c: File removed.
6498         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
6499         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
6500         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
6501         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
6503         [BZ #14138]
6504         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
6505         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
6506         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
6507         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
6509         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
6510         compat_symbol macros from <shlib-compat.h> rather than the underlying
6511         default_symbol_version and symbol_version macros, so that DEFAULT
6512         lines in shlib-versions are respected.
6513         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
6515 2012-08-01  Florian Weimer  <fweimer@redhat.com>
6517         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
6518         Declare with warn_unused_result.
6519         (setgid, setregid, setegid, setresgid): Likewise.
6520         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
6521         Likewise.
6522         * WUR-REPORT: Remove set*id functions.
6524 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
6526         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
6528 2012-07-31  Roland McGrath  <roland@hack.frob.com>
6530         * include/sys/socket.h (__libc_accept, __libc_accept4):
6531         Add attribute_hidden.
6532         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
6534         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
6535         use of PTR_MANGLE.
6536         * inet/getnetgrent_r.c (setup): Likewise.
6538         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
6540 2012-07-31  David S. Miller  <davem@davemloft.net>
6542         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6544 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
6546         [BZ #13629]
6547         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
6548         value between 1.0 and 2.0 and smaller part has absolute value less
6549         than 1.0.
6550         * math/s_clog10.c (__clog10): Likewise.
6551         * math/s_clog10f.c (__clog10f): Likewise.
6552         * math/s_clog10l.c (__clog10l): Likewise.
6553         * math/s_clogf.c (__clogf): Likewise.
6554         * math/s_clogl.c (__clogl): Likewise.
6555         * math/libm-test.inc (clog_test): Add more tests.
6556         (clog10_test): Likewise.
6557         * sysdeps/i386/fpu/libm-test-ulps: Update.
6558         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6560 2012-07-31  Florian Weimer  <fweimer@redhat.com>
6562         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
6563         Exit with zero in case no suitable GID is found, and write a
6564         message to standard error.
6566 2012-07-30  Roland McGrath  <roland@hack.frob.com>
6568         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
6569         rather than to 1.
6570         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
6571         (MAXPATHLEN): Removed.
6572         (NOGROUP, NODEV): New macros.
6573         (setbit, clrbit, isset, isclr): New macros.
6574         (howmany, roundup, powerof2): New macros.
6575         (DEV_BSIZE): New macro.
6577         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
6578         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
6580         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
6581         definition on [!__NO_LONG_DOUBLE_MATH].
6583         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
6584         PTR_MANGLE and PTR_DEMANGLE.
6586         * socket/accept4.c (accept4): Rename to __libc_accept4.
6587         Define accept4 as a weak alias.
6589         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
6590         on [_DIRENT_HAVE_D_TYPE].
6591         * io/ftw.c (ftw_dir): Likewise.
6593         * io/xmknod.c (__xmknod): Don't check PATH for being null.
6595         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
6597         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
6598         Use the BSD numbers rather than the arbitrary ones we had.
6599         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
6600         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
6601         (SIGXCPU, SIGXFSZ): New macros.
6602         (_NSIG): Now 32.
6604         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
6605         initializer on [_LIBC_REENTRANT].
6607         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
6608         definitions inside [_POSIX_MAPPED_FILES].
6610         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
6612         * dirent/opendir.c: Include <fcntl.h>.
6614         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
6615         (__libc_getspecific): Likewise.
6616         (__libc_key_create): Likewise.
6618         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
6619         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
6620         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
6621         (tmpfile64): Define as alias.
6622         * sysdeps/wordsize-64/tmpfile.c: File removed.
6623         * sysdeps/wordsize-64/tmpfile64.c: File removed.
6624         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
6625         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
6627         * stdio-common/vfscanf.c: Include <stdbool.h>.
6628         * nss/makedb.c: Likewise.
6629         * stdio-common/_i18n_number.h: Likewise.
6630         * argp/argp-help.c: Likewise.
6631         * posix/wordexp.c: Likewise.
6632         * sysdeps/posix/spawni.c: Likewise.
6633         * nss/nss_files/files-initgroups.c: Likewise.
6634         * stdio-common/reg-modifier.c: Include <stdlib.h>.
6635         * nss/nss_files/files-initgroups.c: Likewise.
6636         * nss/nss_db/db-netgrp.c: Likewise.
6637         * nss/nss_db/db-initgroups.c: Likewise.
6638         * io/fchmodat.c: Include <sys/stat.h>.
6640         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
6641         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
6643         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
6644         [HAVE_MMAP].
6646         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
6647         Add multiple inclusion protection.
6649 2012-07-27  David S. Miller  <davem@davemloft.net>
6651         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6653 2012-07-27  Gary Benson  <gbenson@redhat.com>
6655         [BZ #14298]
6656         * elf/rtld.c: Include <stap-probe.h>.
6657         (dl_main): Added static probes "init_start" and "init_complete".
6658         * elf/dl-load.c: Include <stap-probe.h>.
6659         (lose): Take new parameter "nsid".
6660         Added static probe "map_failed".
6661         (_dl_map_object_from_fd): Pass namespace id to lose.
6662         Added static probe "map_start".
6663         (open_verify): Pass namespace id to lose.
6664         * elf/dl-open.c: Include <stap-probe.h>.
6665         (dl_open_worker) Added static probes "map_complete", "reloc_start"
6666         and "reloc_complete".
6667         * elf/dl-close.c: Include <stap-probe.h>.
6668         (_dl_close_worker): Added static probes "unmap_start" and
6669         "unmap_complete".
6670         * elf/rtld-debugger-interface.txt: New file documenting the above.
6672 2012-07-26  Roland McGrath  <roland@hack.frob.com>
6674         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
6675         rather than a string variable.
6676         * sunrpc/rpc_main.c (h_output): Likewise.
6677         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
6679 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
6681         * inet/check_native.c: New file.
6683 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
6685         [BZ #13629]
6686         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
6687         if larger part has absolute value 1.0.
6688         * math/s_clog10.c (__clog10): Likewise.
6689         * math/s_clog10f.c (__clog10f): Likewise.
6690         * math/s_clog10l.c (__clog10l): Likewise.
6691         * math/s_clogf.c (__clogf): Likewise.
6692         * math/s_clogl.c (__clogl): Likewise.
6693         * math/libm-test.inc (clog_test): Add more tests.
6694         (clog10_test): Likewise.
6695         * sysdeps/i386/fpu/libm-test-ulps: Update.
6696         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6698         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
6699         (pltexit): Likewise.
6700         (La_regs): Likewise.
6701         (La_retval): Likewise.
6702         (int_retval): Likewise.
6703         Update #error for removed macros to refer only to definitions in
6704         tst-audit.h.
6705         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
6706         macro.
6707         (pltexit): Likewise.
6708         (La_regs): Likewise.
6709         (La_retval): Likewise.
6710         (int_retval): Likewise.
6711         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
6712         macro.
6713         (pltexit): Likewise.
6714         (La_regs): Likewise.
6715         (La_retval): Likewise.
6716         (int_retval): Likewise.
6717         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
6718         macro.
6719         (pltexit): Likewise.
6720         (La_regs): Likewise.
6721         (La_retval): Likewise.
6722         (int_retval): Likewise.
6723         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
6724         macro.
6725         (pltexit): Likewise.
6726         (La_regs): Likewise.
6727         (La_retval): Likewise.
6728         (int_retval): Likewise.
6729         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
6730         macro.
6731         (pltexit): Likewise.
6732         (La_regs): Likewise.
6733         (La_retval): Likewise.
6734         (int_retval): Likewise.
6735         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
6736         macro.
6737         (pltexit): Likewise.
6738         (La_regs): Likewise.
6739         (La_retval): Likewise.
6740         (int_retval): Likewise.
6741         * sysdeps/generic/tst-audit.h: Update comment to refer only to
6742         macro definitions in tst-audit.h.
6743         * sysdeps/i386/tst-audit.h: New file.
6744         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
6745         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
6746         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
6747         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
6748         * sysdeps/sh/tst-audit.h: Likewise.
6749         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
6750         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
6751         * sysdeps/x86_64/tst-audit.h: Likewise.
6753 2012-07-26  Andreas Jaeger  <aj@suse.de>
6755         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
6756         ptrace.
6758         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
6759         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
6760         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
6761         PTRACE_O_MASK.
6762         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
6763         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
6764         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
6766         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
6767         value.
6769         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
6770         _sigsys.
6771         (si_call_addr, si_syscall, si_arch): Define new macro.
6772         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
6773         _sigsys.
6774         (si_call_addr, si_syscall, si_arch): Define new marcro.
6775         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
6776         _sigsys.
6777         (si_call_addr, si_syscall, si_arch): Define new macro.
6778         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
6779         _sigsys.
6780         (si_call_addr, si_syscall, si_arch): Define new macro.
6782 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
6784         [BZ #13717]
6785         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6786         Change to 2.4.21 where previously 2.4.1.
6787         * sysdeps/unix/sysv/linux/configure: Regenerated.
6788         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
6789         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
6790         Linux kernel version.
6791         (__ASSUME_STD_AUXV): Remove.
6792         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
6793         kernel version.
6794         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
6795         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
6796         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
6797         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
6798         (__ASSUME_NETLINK_SUPPORT): Likewise.
6799         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
6800         (__no_netlink_support): Remove conditional definition.
6801         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
6802         Remove.
6803         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
6804         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
6805         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
6806         (if_nameindex_ioctl): Remove.
6807         (if_nameindex_netlink): Do not handle __no_netlink_support.
6808         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
6809         code.
6810         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
6811         Remove conditional code.
6812         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
6813         code.
6814         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
6815         unconditional.
6816         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
6817         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
6818         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
6819         Remove.
6820         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
6821         [!__ASSUME_STD_AUXV]: Remove conditional code.
6822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
6823         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
6824         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
6825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
6826         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
6827         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
6828         code.
6829         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
6830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
6831         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
6832         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
6833         conditional code.
6834         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
6835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
6836         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
6837         code.
6838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
6839         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
6840         conditional code.
6841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
6842         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6843         code unconditional.
6844         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6845         conditional code.
6846         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6847         unconditional.
6848         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6849         conditional code.
6850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6851         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6852         unconditional.
6853         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6854         conditional code.
6855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
6856         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6857         code unconditional.
6858         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6859         conditional code.
6860         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6861         unconditional.
6862         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6863         conditional code.
6864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
6865         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6866         code unconditional.
6867         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6868         conditional code.
6869         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6870         unconditional.
6871         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6872         conditional code.
6874 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
6876         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
6877         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
6878         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6879         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
6880         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
6881         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
6882         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
6883         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
6884         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
6885         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
6886         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
6887         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
6888         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
6889         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
6890         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
6891         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
6892         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
6893         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
6894         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
6895         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
6896         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
6897         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
6898         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
6900 2012-07-25  Florian Weimer  <fweimer@redhat.com>
6902         * Versions.def: Add GLIBC_2.17.
6903         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
6904         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
6905         Introduce __libc_secure_getenv.
6906         * stdlib/Versions (2.17): Add secure_getenv
6907         (GLIBC_PRIVATE): Add __libc_secure_getenv.
6908         * stdlib/secure-getenv.c: Rename __secure_getenv to
6909         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
6910         symbol __secure_getenv for GLIBC_2.0.
6911         * stdlib/tst-secure-getenv.c: New.
6912         * stdlib/Makefile (tests): Add testcase.
6913         * manual/startup.texi (Environment Access): Document
6914         secure_getenv.
6915         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
6916         __libc_secure_getenv.
6917         * inet/ruserpass.c (ruserpass): Likewise.
6918         * malloc/mtrace.c (mtrace): Likewise.
6919         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
6920         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
6921         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
6922         * sysdeps/posix/tempname.c: Likewise.  Evaluate
6923         HAVE_SECURE_GETENV.
6924         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
6925         __secure_getenv to __libc_secure_getenv.
6926         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
6927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6928         Likewise.
6929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6930         Likewise.
6931         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
6932         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
6933         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6934         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
6935         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
6936         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6937         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
6939 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
6941         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
6942         (struct La_i86_retval): Likewise.
6943         (struct La_x86_64_regs): Likewise.
6944         (struct La_x86_64_retval): Likewise.
6945         (struct La_x32_regs): Likewise.
6946         (struct La_x32_retval): Likewise.
6947         (struct La_ppc32_regs): Likewise.
6948         (struct La_ppc32_retval): Likewise.
6949         (struct La_ppc64_regs): Likewise.
6950         (struct La_ppc64_retval): Likewise.
6951         (struct La_sh_regs): Likewise.
6952         (struct La_sh_retval): Likewise.
6953         (struct La_s390_32_regs): Likewise.
6954         (struct La_s390_32_retval): Likewise.
6955         (struct La_s390_64_regs): Likewise.
6956         (struct La_s390_64_retval): Likewise.
6957         (struct La_sparc32_regs): Likewise.
6958         (struct La_sparc32_retval): Likewise.
6959         (struct La_sparc64_regs): Likewise.
6960         (struct La_sparc64_retval): Likewise.
6961         (struct audit_ifaces): Remove architecture-specific pltenter and
6962         pltexit members.
6963         * sysdeps/i386/ldsodefs.h: New file.
6964         * sysdeps/powerpc/ldsodefs.h: Likewise.
6965         * sysdeps/s390/ldsodefs.h: Likewise.
6966         * sysdeps/sh/ldsodefs.h: Likewise.
6967         * sysdeps/sparc/ldsodefs.h: Likewise.
6968         * sysdeps/x86_64/ldsodefs.h: Likewise.
6970 2012-07-25  Marek Polacek  <polacek@redhat.com>
6972         [BZ #6808]
6973         * math/libm-test.inc (yn_test): Add another test.
6974         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
6975         to ERANGE when the result is +-Inf.
6976         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
6977         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
6978         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
6979         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
6981 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
6983         * conform/data/time.h-data (NULL): Use macro-constant.  Require
6984         equal to 0.
6985         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
6986         clock_t.
6987         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
6989 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
6991         * configure.in <sysdeps resolving>: Correct printing
6992         Implies_before.
6993         * configure: Regenerate.
6995 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
6997         * math/w_ilogb.c: Include <limits.h>.
6998         * math/w_ilogbl.c: Likewise.
7000 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
7002         * manual/lang.texi (__va_copy): Document primarily as ISO C99
7003         va_copy.  Document allowing for unavailable va_copy only as
7004         pre-C99 compatibility.
7005         * manual/string.texi (Copying and Concatenation): Use va_copy
7006         instead of __va_copy in concat example.
7008 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
7010         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
7011         (__sendto): Use create_address_port.  Initialize APORT and deallocate
7012         it if not null.
7014         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
7015         with O_NOLINK passed to __file_name_lookup.
7017         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
7018         with O_NOLINK passed to __file_name_lookup.
7020         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
7021         negative N or less than NGIDS.
7023         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
7024         type to string_t.  Set ERANGE as errno and return it if NAME is not big
7025         enough.  Use memcpy instead of strncpy.
7027 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
7029         * elf/Makefile (check-data): Remove.
7030         (localplt.data): New vpath directive.
7031         ($(objpfx)check-localplt.out): Use localplt.data from vpath
7032         instead of $(check-data).
7033         * scripts/data/localplt-generic.data: Move to ...
7034         * sysdeps/generic/localplt.data: ... here.
7035         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
7036         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
7037         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
7038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
7039         ... here.
7040         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
7041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
7042         ... here.
7043         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
7044         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
7045         ... here.
7046         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
7047         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
7048         ... here.
7049         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
7050         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
7051         ... here.
7052         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
7053         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
7054         ... here.
7056 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7058         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
7059         PPC32 and PPC64 files.
7060         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
7061         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
7063 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7065         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
7066         __makecontext_ret to ...
7067         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
7068         ... here and call exit if uc_link is NULL.  New file.
7069         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
7070         __makecontext_ret.S.
7071         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
7072         __makecontext_ret to ...
7073         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
7074         ... here and call exit if uc_link is NULL.  New file.
7075         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
7076         __makecontext_ret.S.
7078 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7080         * elf/elf.h (R_390_IRELATIVE): New definition.
7081         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
7082         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
7083         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
7084         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
7085         (elf_machine_lazy_rel): Likewise.
7086         * sysdeps/s390/dl-irel.h: New file.
7087         * sysdeps/s390/s390-64/memcpy.S: New asm code.
7088         * sysdeps/s390/s390-64/memset.S: New asm code.
7089         * sysdeps/s390/s390-64/memcmp.S: New asm code.
7090         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
7091         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
7092         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
7093         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
7094         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
7095         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
7096         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
7097         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
7098         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
7099         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
7100         * sysdeps/s390/s390-32/memcpy.S: New asm code.
7101         * sysdeps/s390/s390-32/memset.S: New asm code.
7102         * sysdeps/s390/s390-32/memcmp.S: New asm code.
7104 2012-07-17  Marek Polacek  <polacek@redhat.com>
7106         [BZ #14349]
7107         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
7108         * sysdeps/s390/s390-64/configure.in: Likewise.
7109         * sysdeps/sparc/configure.in: Likewise.
7110         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
7111         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
7112         * sysdeps/i386/configure.in: Likewise.
7113         * sysdeps/x86_64/configure.in: Likewise.
7114         * sysdeps/sh/configure.in: Likewise.
7115         * sysdeps/s390/s390-32/configure: Regenerated.
7116         * sysdeps/s390/s390-64/configure: Likewise.
7117         * sysdeps/x86_64/configure: Likewise.
7118         * sysdeps/sh/configure: Likewise.
7119         * sysdeps/powerpc/powerpc64/configure: Likewise.
7120         * sysdeps/powerpc/powerpc32/configure: Likewise.
7121         * sysdeps/sparc/configure: Likwise.
7122         * sysdeps/i386/configure: Likewise.
7124         * elf/dl-open.c: Comment fixes.
7126 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
7128         * Makefile [CXX] (check-data): Remove.
7129         [CXX] (c++-types.data): New vpath directive.
7130         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
7131         vpath.  Do not allow for C++ type data being missing.
7132         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
7133         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
7134         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
7135         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
7136         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
7137         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
7138         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
7139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
7140         ... here.
7141         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
7142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
7143         ... here.
7144         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
7145         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
7146         ... here.
7147         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
7148         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
7149         ... here.
7150         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
7151         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
7152         ... here.
7153         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
7154         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
7155         ... here.
7156         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
7157         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
7158         ... here.
7159         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
7160         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
7162         * elf/tls-macros.h (TLS_LE): Move architecture-specific
7163         definitions to architecture-specific files.
7164         (TLS_IE): Likewise.
7165         (TLS_LD): Likewise.
7166         (TLS_GD): Likewise.
7167         * sysdeps/i386/tls-macros.h: New file.
7168         * sysdeps/powerpc/tls-macros.h: Likewise.
7169         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
7170         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
7171         * sysdeps/sh/tls-macros.h: Likewise.
7172         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
7173         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
7174         * sysdeps/x86_64/tls-macros.h: Likewise.
7176 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
7178         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
7179         zero value for regular exit case.
7181         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
7182         (__start_context): Preserve zero value for regular exit case.
7184 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
7185             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7187         * manual/setjmp.texi (setcontext): Clarify normal process
7188         termination when uc_link is the null pointer.
7189         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
7190         exit call.
7192 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
7194         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
7195         preprocessor.  Test for each exception mask separately.
7197 2012-07-16  Andreas Jaeger  <aj@suse.de>
7199         * po/ru.po: Update from translation team.
7201 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
7203         * conform/data/string.h-data (NULL): Use macro-constant.  Require
7204         equal to 0.
7205         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
7206         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
7207         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
7208         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
7209         [ISO || ISO99 || ISO11] (*_t): Do not allow.
7211 2012-07-13  Andreas Jaeger  <aj@suse.de>
7213         * po/fr.po: Update from translation team.
7215 2012-07-12  Marek Polacek  <polacek@redhat.com>
7217         [BZ #14173]
7218         * math/libm-test.inc (yn_test): Add test for BZ #14173.
7219         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
7220         loop condition.
7222 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
7224         [BZ #13717]
7225         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7226         Change to 2.4.1 where previously 2.4.0.
7227         * sysdeps/unix/sysv/linux/configure: Regenerated.
7228         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
7229         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
7230         version.
7231         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
7232         (__ASSUME_AT_CLKTCK): Remove.
7233         (__ASSUME_AT_PAGESIZE): Likewise.
7234         (__ASSUME_AT_XID): Likewise.
7235         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
7236         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
7237         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
7238         unconditionally.
7239         (HAVE_AUX_PAGESIZE): Likewise.
7240         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
7241         [__ASSUME_AT_CLKTCK]: Make code unconditional.
7242         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
7244 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
7246         [BZ #14307]
7247         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
7248         the temporary buffer used to invoke __gethostbyname2_r,
7249         __gethostbyaddr_r and gethostbyname4_r to make room for struct
7250         host_data / struct gaih_addrtuple.
7251         * resolv/nss_dns/dns-host.c (global scope): Move definition of
7252         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
7253         header file nss/nsswitch.h.
7254         * nss/nsswitch.h (global scope): Add definition of implementation
7255         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
7256         resolv/nss_dns/dns-host.c).
7258 2012-07-11  Andreas Jaeger  <aj@suse.de>
7260         * po/fr.po: Update from translation team.
7262         * po/sv.po: Update from translation team
7263         * po/fr.po: Another update from translation team.
7265 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7267         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
7268         for subnormals or multiply small sinh result by itself.
7269         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
7270         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7272 2012-07-11  David S. Miller  <davem@davemloft.net>
7274         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7276 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
7278         [BZ #14347]
7279         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
7280         (INTERNAL_MARK): Shift it here.
7282 2012-07-10  Marek Polacek  <polacek@redhat.com>
7284         [BZ #14151]
7285         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
7286         libc_cv_asm_global_directive with .globl.
7287         * configure: Regenerated.
7288         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
7289         with .globl.
7290         * sysdeps/i386/configure: Regenerated.
7291         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
7292         with .globl.
7293         * sysdeps/x86_64/configure: Regenerated.
7294         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
7295         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
7296         * elf/tst-unique2mod2.c: Likewise.
7297         * elf/tst-unique2mod1.c: Likewise.
7298         * elf/tst-unique1mod2.c: Likewise.
7299         * elf/tst-unique1mod1.c: Likewise.
7300         * sysdeps/s390/s390-32/sysdep.h: Likewise.
7301         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
7302         * sysdeps/s390/s390-64/sysdep.h: Likewise.
7303         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7304         * sysdeps/mach/sysdep.h: Likewise.
7305         * sysdeps/i386/sysdep.h: Likewise.
7306         * sysdeps/i386/i386-mcount.S: Likewise.
7307         * sysdeps/x86_64/_mcount.S: Likewise.
7308         * sysdeps/x86_64/sysdep.h: Likewise.
7309         * sysdeps/sh/_mcount.S: Likewise.
7310         * sysdeps/sh/sysdep.h: Likewise.
7311         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
7312         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
7313         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
7314         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
7315         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
7316         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
7317         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
7318         * locale/localeinfo.h: Likewise.
7319         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
7320         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
7322 2012-07-09  Roland McGrath  <roland@hack.frob.com>
7324         [BZ #14336]
7325         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
7326         system".
7327         * manual/message.texi (The Uniforum approach): Likewise.
7328         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
7329         (glibc iconv Implementation): Likewise.
7331 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
7333         [BZ #14337]
7334         * math/s_clog.c (__clog): Avoid scaling a value down where that
7335         could result in underflow.
7336         * math/s_clog10.c (__clog10): Likewise.
7337         * math/s_clog10f.c (__clog10f): Likewise.
7338         * math/s_clog10l.c (__clog10l): Likewise.
7339         * math/s_clogf.c (__clogf): Likewise.
7340         * math/s_clogl.c (__clogl): Likewise.
7341         * math/libm-test.inc (clog_test): Add more tests.
7342         (clog10_test): Likewise.
7343         * sysdeps/i386/fpu/libm-test-ulps: Update.
7344         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7346 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
7348         [BZ #14283]
7349         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
7350         by 7 not 8 to examine high bit of fractional part.
7352         [BZ #14042]
7353         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
7354         for call to __mcount_internal.
7355         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
7356         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
7357         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
7359 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
7361         [BZ #14154]
7362         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
7363         approximation for values within 0x1p-13f of an odd multiple of
7364         pi/4.
7365         * math/libm-test.inc (tan_test): Do not allow spurious underflow
7366         exception.  Add more tests.
7367         * sysdeps/i386/fpu/libm-test-ulps: Update.
7369         [BZ #6778]
7370         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
7371         inputs and return -1 for them.  Do not check for +Inf in case not
7372         reachable for +Inf.
7373         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
7374         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
7375         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
7376         and return -1 for them.  Do not check for +Inf in case not
7377         reachable for +Inf.
7378         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
7379         define.
7380         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
7381         and return -1 for them.  Do not check for +Inf in case not
7382         reachable for +Inf.
7383         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
7384         spurious underflow.
7385         * sysdeps/i386/fpu/libm-test-ulps: Update.
7386         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7388 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
7390         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
7392 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
7394         [BZ #14157]
7395         [BZ #14331]
7396         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
7397         could result in spurious underflow.  Scale down values above
7398         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
7399         * math/s_csqrtf.c (__csqrtf): Likewise.
7400         * math/s_csqrtl.c (__csqrtl): Likewise.
7401         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
7402         spurious underflow.
7403         * sysdeps/i386/fpu/libm-test-ulps: Update.
7404         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7406 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
7408         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
7409         xopen-msg.sed.
7410         * catgets/xopen-msg.awk: New file.
7411         * catgets/xopen-msg.sed: Removed.
7413         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
7414         po2text.sed.
7415         * intl/po2test.awk: New file.
7416         * intl/po2test.sed: Removed.
7418 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
7420         [BZ #14328]
7421         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
7422         or multiply small sinh result by itself.
7423         * math/s_ctanf.c (__ctanf): Likewise.
7424         * math/s_ctanh.c (__ctanh): Likewise.
7425         * math/s_ctanhf.c (__ctanhf): Likewise.
7426         * math/s_ctanhl.c (__ctanhl): Likewise.
7427         * math/s_ctanl.c (__ctanl): Likewise.
7428         * math/libm-test.inc (ctan_test_tonearest): New function.
7429         (ctan_test_towardzero): Likewise.
7430         (ctan_test_downward): Likewise.
7431         (ctan_test_upward): Likewise.
7432         (ctanh_test_tonearest): Likewise.
7433         (ctanh_test_towardzero): Likewise.
7434         (ctanh_test_downward): Likewise.
7435         (ctanh_test_upward): Likewise.
7436         (main): Call these new functions.
7437         * sysdeps/i386/fpu/libm-test-ulps: Update.
7438         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7440 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
7442         * .gitignore: Delete /ports entry.
7444 2012-07-03  Andreas Jaeger  <aj@suse.de>
7446         * po/bg.po: Update from translation team.
7447         * po/cs.po: Likewise.
7448         * po/de.po: Likewise.
7449         * po/hr.po: Likewise.
7450         * po/nl.pl: Likewise.
7451         * po/pl.po: Likewise.
7452         * po/vi.po: Likewise.
7454 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
7456         * Makeconfig [!+link] (+link-before-libc): New variable.
7457         [!+link] (+link-after-libc): Likewise.
7458         [!+link] (+link-tests): Likewise.
7459         [!+link] (+link): Define in terms of $(+link-before-libc) and
7460         $(+link-after-libc).
7461         [!+link-static] (+link-static-before-libc): New variable.
7462         [!+link-static] (+link-static-after-libc): Likewise.
7463         [!+link-static] (+link-static-tests): Likewise.
7464         [!+link-static] (+link-static): Define in terms of
7465         $(+link-static-before-libc) and $(+link-static-after-libc).
7466         [build-shared] (link-libc-before-gnulib): New variable.
7467         [build-shared] (link-libc-tests): Likewise.
7468         [build-shared] (link-libc): Define in terms of
7469         $(link-libc-before-gnulib).
7470         [!build-shared] (link-libc-tests): New variable.
7471         (link-libc-static-tests): New variable.
7472         [!gnulib] (gnulib-arch): New variable.
7473         [!gnulib] (gnulib-tests): Likewise.
7474         [!gnulib] (static-gnulib-arch): Likewise.
7475         [!gnulib] (static-gnulib-tests): Likewise.
7476         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
7477         Define with "=" instead of ":=".
7478         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
7479         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
7480         * Rules (binaries-all-notests): New variable.
7481         (binaries-all-tests): Likewise.
7482         (binaries-static-notests): Likewise.
7483         (binaries-static-tests): Likewise.
7484         (binaries-all): Define using $(binaries-all-notests) and
7485         $(binaries-all-tests).
7486         (binaries-static): Define using $(binaries-static-notests) and
7487         $(binaries-static-tests).
7488         (binaries-shared-tests): New variable.
7489         (binaries-shared-notests): Likewise.
7490         (binaries-shared): Remove variable.
7491         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
7492         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
7493         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
7494         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
7495         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
7496         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
7497         * elf/Makefile (sln-modules): New variable.
7498         (extra-objs): Add $(sln-modules:=.o).
7499         (ldconfig-modules): Add static-stubs.
7500         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
7501         * elf/static-stubs.c: New file.
7503         [BZ #14283]
7504         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
7505         by 7 not 8 to examine high bit of fractional part.  Use volatile
7506         variables when splitting into final array of floats if
7507         __FLT_EVAL_METHOD__ != 0.
7508         * math/libm-test.inc (cos_test): Add another test.
7509         (sin_test): Likewise.
7510         * sysdeps/i386/fpu/libm-test-ulps: Update.
7512         [BZ #14273]
7513         * math/libm-test.inc (cosh_test): Add more tests.
7515         * version.h (RELEASE): Set to "development".
7516         (VERSION): Set to "2.16.90".
7518 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
7520         * NEWS: Update copyright. Remove last-updated date.
7521         Mention math library bug fixes and timezone data changes.
7522         * README: Mention GNU/Hurd, x32, and HPPA support status.
7524 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
7526         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
7528 2012-06-27  Andreas Jaeger  <aj@suse.de>
7530         * manual/contrib.texi (Contributors): Add Samuel Thibault.
7532 2012-06-25  Andreas Jaeger  <aj@suse.de>
7534         * sysdeps/s390/fpu/libm-test-ulps: Update.
7536 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
7537             Thomas Schwinge  <thomas@codesourcery.com>
7539         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
7540         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
7541         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
7542         fanotify_mark.
7544 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
7546         * sysdeps/mach/start.c: Remove file.
7547         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
7548         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
7549         * sysdeps/sh/init-first.c: Likewise.
7551         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
7552         registers for frame unwinding purposes, add CFI directives.
7553         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
7554         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
7555         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
7556         Likewise.
7558         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
7559         __fortify_fail returning.
7560         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
7562         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
7563         sysdeps/sh/____longjmp_chk.S.
7564         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
7565         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
7566         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
7567         (gen-as-const-headers): Append sigaltstack-offsets.sym.
7569         * sysdeps/sh/abort-instr.h: New file.
7570         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
7571         process in case exit returns.
7573         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
7574         initialize the GOT register before use.
7576         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
7577         calculation of ARGC > 4.
7579         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
7580         meaningful names to some local labels.
7582 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
7583             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7585         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
7586         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
7587         (__arch_compare_and_exchange_val_16_acq): Likewise.
7588         (__arch_compare_and_exchange_val_32_acq): Likewise.
7589         (atomic_exchange_and_add): Fix gUSA sequence.
7590         (atomic_add): Likewise.
7591         (atomic_add_negative): Likewise.
7592         (atomic_add_zero): Likewise.
7593         (atomic_bit_test_set): Likewise.
7595 2012-06-22  Andreas Schwab  <schwab@redhat.com>
7597         [BZ #13579]
7598         * include/link.h (struct link_map): Add l_free_initfini.
7599         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
7600         l_initfini.
7601         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
7602         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
7603         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
7604         set.
7606 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
7608         * configure.in: Use AC_LANG_SOURCE.
7609         * configure: Regenerate.
7611 2012-06-22  Roland McGrath  <roland@hack.frob.com>
7613         * configure.in (libc_cv_localstatedir): New substituted variable.
7614         * configure: Regenerated.
7615         * config.make.in (localstatedir): New variable, substituted from
7616         libc_cv_localstatedir.
7617         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
7618         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
7619         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
7620         * sysdeps/gnu/configure: Regenerated.
7622 2012-06-21  Jeff Law  <law@redhat.com>
7624         [BZ #14277]
7625         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
7626         free.  Simplify list management for _LIBC case.
7628 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
7630         [BZ #14273]
7631         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
7632         Clear sign bit of 64-bit integer value before comparing against
7633         overflow value.
7635         * sysdeps/mach/configure: Regenerated.
7637 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
7639         [BZ #14278]
7640         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
7642 2012-06-21  Jeff Law  <law@redhat.com>
7644         [BZ #13882]
7645         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
7646         uint16_t for elements in the "seen" array to avoid char overflows.
7647         * elf/dl-fini.c (_dl_sort_fini): Likewise.
7648         * elf/dl-open.c (dl_open_worker): Likewise.
7650 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
7652         * scripts/list-sources.sh: Scan PORTS for translations.
7653         * po/libc.pot: Regenerated.
7655 2012-06-21  Andreas Jaeger  <aj@suse.de>
7657         [BZ #12194]
7658         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
7659         warning.
7660         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
7661         * bits/byteswap-16.h (__bswap_16): Likewise.
7662         * bits/byteswap.h (__bswap_constant_16): Likewise.
7664 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
7666         [BZ #14117]
7667         * sysdeps/i386/fpu_control.h: Removed.
7668         * sysdeps/x86_64/fpu_control.h: Moved to ...
7669         * sysdeps/x86/fpu_control.h: Here.
7671         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
7672         (_FPU_SETCW): Likewise.
7674 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
7676         [BZ #14117]
7677         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
7678         * sysdeps/x86/fpu/bits/mathinline.h: This.
7679         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
7681         [BZ #14050]
7682         [BZ #14117]
7683         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
7684         functions if __x86_64__ is defined.
7686 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
7688         * string/endian.h: Add !__ASSEMBLER__ condition for including
7689         conversion interfaces.
7691 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
7693         [BZ #14241]
7694         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
7695         of ABS(x) in calculating zero to negative powers other than odd
7696         integers.
7697         * math/libm-test.inc (pow_test): Add more tests.
7699 2012-06-15  Andreas Jaeger  <aj@suse.de>
7701         * manual/contrib.texi (Contributors): Update entry of Liubov
7702         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
7703         Machado Filho.
7705 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
7707         * string/string.h: Add __wur to GNU version of strerror_r.
7709 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
7711         [BZ #14229]
7712         * string/Makefile (tests): Add tst-strtok_r.
7713         * string/tst-strtok_r.c: New file.
7714         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
7715         RAX_LP/RDX_LP on SAVE_PTR.
7717 2012-06-14  Roland McGrath  <roland@hack.frob.com>
7719         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
7721 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
7723         * libm_test.inc (csqrt_test): Allow more spurious underflow
7724         exceptions.
7725         (j0_test): Likewise.
7726         (j1_test): Likewise.
7727         (y0_test): Likewise.
7728         (y1_test): Likewise.
7730 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
7732         * po/Makefile (libc.pot): Use UTF-8 charset.
7734 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
7736         [BZ #14210]
7737         Suppress sign-conversion warning from FD_SET.
7738         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
7739         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
7740         not unsigned long int.
7741         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
7743 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
7745         [BZ #14050]
7746         [BZ #14117]
7747         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
7748         __extern_always_inline instead of __extern_inline.
7749         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
7750         (__signbit): Likewise.
7751         (__signbitl): Support C++ namespace.
7752         (lrintf): New inline function.
7753         (lrint): Likewise.
7754         (llrintf): Likewise.
7755         (llrint): Likewise.
7756         (fmaxf): Likewise.
7757         (fmax): Likewise.
7758         (fminf): Likewise.
7759         (fmin): Likewise.
7760         (rint): Likewise.
7761         (rintf): Likewise.
7762         (ceil): Likewise.
7763         (ceilf): Likewise.
7764         (floor): Likewise.
7765         (floorf): Likewise.
7766         (nearbyint): Likewise.
7767         (nearbyintf): Likewise.
7769 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
7771         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
7772         non-default versions.
7774 2012-06-11  Roland McGrath  <roland@hack.frob.com>
7776         [BZ #14218]
7777         * manual/argp.texi (Argp): Reword argp_parse description slightly.
7779 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
7781         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
7782         (FE_UPWARD, FE_DOWNWARD): Don't define.
7783         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
7784         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7786         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
7787         reading it.
7788         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
7789         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
7791 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7793         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
7794         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
7795         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
7796         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
7798 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
7800         [BZ #14117]
7801         * sysdeps/i386/fpu/bits/fenv.h: Removed.
7802         * sysdeps/i386/fpu/Implies: New file.
7803         * sysdeps/x86_64/fpu/Implies: Likewise.
7804         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
7805         * sysdeps/x86/fpu/bits/fenv.h: This.
7807         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
7808         __SSE_MATH__.
7810 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
7812         [BZ #14134]
7813         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
7814         character 0xffff that matches the last element of the
7815         conversion table.
7817 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7819         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
7820         fmodl commit.
7822 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7824         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
7825         values higher than 25.6283.
7827 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7829         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
7830         subnormal exponent extraction and add some __builtin_expect.
7831         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
7832         Fix for subnormal mantissa calculation.
7834 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
7836         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
7837         cpu2 is -1 and errno is not ENOSYS.
7839 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
7841         [BZ #14117]
7842         * sysdeps/i386/i486/bits/string.h: Renamed to ...
7843         * sysdeps/x86/bits/string.h: This.
7844         * sysdeps/x86_64/bits/string.h: Removed.
7846         * sysdeps/i386/i486/bits/string.h: Define inline functions only
7847         if not compiling for x86-64, but compiling for >= i486.
7849         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
7850         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
7852         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
7853         New macro from Linux kernel 3.4.0.
7854         (FP_XSTATE_MAGIC2): Likewise.
7855         (FP_XSTATE_MAGIC2_SIZE): Likewise.
7856         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
7857         (struct _fpx_sw_bytes): New struct.
7858         (struct _xsave_hdr): Likewise.
7859         (struct _ymmh_state): Likewise.
7860         (struct _xstate): Likewise.
7862         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
7863         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
7864         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
7865         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
7866         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
7867         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
7869         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
7870         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
7871         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
7872         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
7873         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
7874         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
7876 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7878         [BZ #13743]
7879         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
7880         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
7881         (sysdep_headers): Include sys/platform/ppc.h.
7882         * sysdeps/powerpc/test-gettimebase.c: Test for
7883         __ppc_get_timebase() to catch future ISA opcode/insn changes.
7884         * manual/Makefile (appendices): Include platform.texi.
7885         * manual/contrib.texi (Contributors): Update @node pointers.
7886         * manual/maint.texi (Maintenance): Likewise.
7887         (Platform): New node.
7888         * manual/platform.texi: New file.  Document the new features.
7890 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
7891             Jakub Jelinek  <jakub@redhat.com>
7893         [BZ #14188]
7894         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
7895         where __builtin_expect is unavailable.
7897 2012-06-03  David S. Miller  <davem@davemloft.net>
7899         * stdlib/longlong.h: Updated from GCC.
7901 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
7903         [BZ #14042]
7904         * sysdeps/powerpc/powerpc32/mcount.c: New file.
7905         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
7906         __mcount_internal.
7907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
7908         (GLIBC_2.16): Likewise.
7910 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
7912         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
7914 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
7916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
7917         (default-abi): New variable.
7918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
7919         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
7920         variable.
7921         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
7922         Likewise.
7923         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
7924         Likewise.
7925         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
7926         Likewise.
7928         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
7929         definition.  Document in comment.
7931 2012-06-01  David S. Miller  <davem@davemloft.net>
7933         * stdlib/longlong.h: Updated from GCC.
7935 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
7937         [BZ #14117]
7938         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
7939         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
7940         sys/debugreg.h sys/io.h here.
7941         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
7942         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
7943         sys/io.h.
7944         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
7945         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
7946         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
7947         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
7948         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
7949         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
7951         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
7952         Define only if __x86_64__ is defined.
7954 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
7956         [BZ #14048]
7957         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
7958         Use int64_t for variable i.
7959         * math/libm-test.inc (fmod_test): Add more tests.
7961         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
7962         z computation is not scheduled after fetestexcept.
7963         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
7964         Use math_force_eval instead of asm to ensure calculation scheduled
7965         before exception test.
7966         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
7967         Ensure a1 + u.d computation is not scheduled after fetestexcept.
7969 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
7971         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
7972         computation is not scheduled after fetestexcept.
7974 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
7976         [BZ #14117]
7977         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
7978         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
7980 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7982         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
7983         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7985 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
7987         [BZ #14117]
7988         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
7989         <bits/wordsize.h>.
7990         (__WCHAR_MIN): Support __WORDSIZE == 64.
7991         (__WCHAR_MAX): Likewise.
7993         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
7994         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
7996         [BZ #14183]
7997         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
7998         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
8000         [BZ #14117]
8001         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
8002         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
8004         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
8005         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
8007         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
8008         Defined to 1 if __x86_64__ isn't defined.
8009         (_STAT_VER_LINUX_OLD): New.
8010         (st_atime): Remove duplicate.
8011         (st_mtime): Likewise.
8012         (st_ctime): Likewise.
8014 2012-05-31  David S. Miller  <davem@davemloft.net>
8016         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
8017         entries.
8019 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
8021         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
8022         gen-libm-test.pl.
8024         [BZ #14132]
8025         * elf/dl-reloc.c: Include <_itoa.h>.
8026         (_dl_reloc_bad_type): Remove use of INTUSE.
8027         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
8028         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
8029         * stdio-common/psiginfo.c (psiginfo): Likewise.
8030         * stdio-common/psignal.c (psignal): Likewise.
8031         * string/strsignal.c (strsignal): Likewise.
8032         * include/signal.h (_sys_siglist): Declare hidden proto.
8033         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
8034         INTVARDEF with libc_hidden_data_def.
8035         * stdio-common/itoa-udigits.c: Likewise.
8036         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
8037         (_itoa_lower_digits_internal): Remove declaration.
8038         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
8039         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
8040         (_sys_sigabbrev_internal): Remove aliases.
8041         (_sys_siglist): Define hidden alias.
8043 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
8045         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8046         bits/sysctl.h.
8048 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
8050         [BZ #14117]
8051         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
8052         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
8054         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
8055         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
8056         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
8057         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
8058         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
8059         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
8061         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
8062         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
8063         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
8065         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
8066         with __addr.
8067         (insw): Likewise.
8068         (insl): Likewise.
8069         (outsb): Likewise.
8070         (outsw): Likewise.
8071         (outsl): Likewise.
8073         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
8074         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
8075         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
8077         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
8078         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
8079         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
8080         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
8081         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
8082         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
8084         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
8085         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
8087         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
8088         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
8090         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
8091         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
8092         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
8094         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
8095         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
8096         to ...
8097         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
8099         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
8100         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
8101         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
8103         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
8104         for x86-64.
8105         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
8107 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
8109         * math/math.h (M_El): Use two more decimal places.
8110         (M_LOG2El): Likewise.
8111         (M_LOG10El): Likewise.
8112         (M_LN2l): Likewise.
8113         (M_LN10l): Likewise.
8114         (M_PIl): Likewise.
8115         (M_PI_2l): Likewise.
8116         (M_PI_4l): Likewise.
8117         (M_1_PIl): Likewise.
8118         (M_2_PIl): Likewise.
8119         (M_2_SQRTPIl): Likewise.
8120         (M_SQRT2l): Likewise.
8121         (M_SQRT1_2l): Likewise.
8123 2012-05-31  David S. Miller  <davem@davemloft.net>
8125         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
8126         values between float registers.
8127         * sysdeps/sparc/sparc64/memset.S: Likewise.
8128         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8130 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
8132         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
8133         -D_FORTIFY_SOURCE=1.
8134         (CPPFLAGS-tst-longjmp_chk.c): Define.
8135         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
8136         (CPPFLAGS-tst-longjmp_chk2.c): Define.
8137         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
8138         CFLAGS-tst-wchar-h.c.
8140 2012-05-31  Marek Polacek  <polacek@redhat.com>
8142         [BZ #14132]
8143         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
8144         __endmntent_internal): Remove declaration.
8145         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
8146         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
8147         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
8149 2012-05-30  David S. Miller  <davem@davemloft.net>
8151         * sysdeps/sparc/sparc32/soft-fp/q_util.c
8152         (___Q_simulate_exceptions): Use real FP ops rather than writing
8153         into the %fsr.
8154         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
8155         Likewise.
8157 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
8159         [BZ #14117]
8160         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
8161         * sysdeps/x86/bits/xtitypes.h: This.
8163         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
8164         * sysdeps/x86/bits/wordsize.h: This.
8166         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
8167         * sysdeps/x86/bits/huge_vall.h: This.
8169         * sysdeps/i386/bits/select.h: Removed.
8170         * sysdeps/x86_64/bits/select.h: Renamed to ...
8171         * sysdeps/x86/bits/select.h: This.
8173         * sysdeps/i386/bits/setjmp.h: Removed.
8174         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
8175         * sysdeps/x86/bits/setjmp.h: This.
8177         * sysdeps/i386/bits/mathdef.h: Removed.
8178         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
8179         * sysdeps/x86/bits/mathdef.h: This.
8181 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
8183         [BZ #14132]
8184         * include/sys/socket.h (__connect_internal)
8185         (__libc_sa_len_internal): Remove declaration.
8186         (__connect, __libc_sa_len): Declare hidden_proto.
8187         (SA_LEN): Remove use of INTUSE.
8188         * socket/connect.c: Add libc_hidden_def.
8189         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
8190         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
8191         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
8192         alias.
8193         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
8194         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
8195         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
8196         of adding _internal alias.
8198 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
8200         [BZ #14117]
8201         * sysdeps/i386/bits/link.h: Removed.
8202         * sysdeps/i386/bits/linkmap.h: Likewise.
8203         * sysdeps/x86_64/bits/link.h: Renamed to ...
8204         * sysdeps/x86/bits/link.h: This.
8205         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
8206         * sysdeps/x86/bits/linkmap.h: This.
8208         * sysdeps/i386/bits/endian.h: Removed.
8209         * sysdeps/x86_64/bits/endian.h: Renamed to ...
8210         * sysdeps/x86/bits/endian.h: This.
8212         * sysdeps/i386/bits/byteswap.h: Removed.
8213         * sysdeps/i386/bits/byteswap-16.h: Likewise.
8214         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
8215         * sysdeps/x86/bits/byteswap.h: This.
8216         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
8217         * sysdeps/x86/bits/byteswap-16.h: This.
8218         * sysdeps/i386/Implies: Add x86.
8219         * sysdeps/x86_64/Implies: Likewise.
8221 2012-05-30  David S. Miller  <davem@davemloft.net>
8223         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
8224         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
8225         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
8226         (FP_TRAPPING_EXCEPTIONS): Define.
8227         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
8228         (FP_TRAPPING_EXCEPTIONS): Define.
8229         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
8230         subnormals only when inexact has been signalled or underflow
8231         exceptions are enabled.
8232         (_FP_PACK_CANONICAL): Likewise.
8234 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
8236         [BZ #14183]
8237         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
8238         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
8240 2012-05-30  Richard Henderson  <rth@twiddle.net>
8242         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
8243         with #ifndef NOT_IN_libc.
8245         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
8246         marked to avoid plt entry.
8248 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
8250         [BZ #14112]
8251         * Makeconfig (default-abi): New macro.
8252         (abi-includes): Likewise.
8253         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
8254         $(abi-$(default-abi)-lib-soname) for soname if defined.
8255         ($(common-objpfx)gnu/lib-names.stmp): Generate from
8256         abi-variants.
8257         * Makefile (installed-stubs): Likewise.
8258         * include/stubs-biarch.h: Removed.
8259         * scripts/lib-names.awk: Only handle one library at a time.
8260         * scripts/soversions.awk: Remove WORDSIZE support.
8261         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
8262         entries.
8263         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
8264         Removed.
8265         (syscall-list-default-condition): Likewise.
8266         (syscall-list-default-condition): Likewise.
8267         (syscall-list-includes): Likewise.
8268         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
8269         syscall-list-* with abi-*.  Handle undefined abi-variants.
8270         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
8271         * sysdeps/unix/sysv/linux/i386/Implies: New file.
8272         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
8273         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
8274         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
8275         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
8276         Removed.
8277         (syscall-list-32-options): Likewise.
8278         (syscall-list-32-condition): Likewise.
8279         (syscall-list-64-options): Likewise.
8280         (syscall-list-64-condition): Likewise.
8281         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
8282         macro.
8283         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
8284         Renamed to ...
8285         (abi-*): This.
8286         (abi-64-ld-soname): New macro.
8287         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
8288         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
8289         Renamed to ...
8290         (abi-*): This.
8291         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
8292         * sysdeps/x86_64/x32/shlib-versions: Likewise.
8294 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
8296         * sysdeps/unix/sysv/linux/kernel-features.h
8297         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
8298         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
8299         include <kernel-features.h>.
8300         [!__NR_ftruncate64]: Remove conditional code.
8301         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8302         [__NR_ftruncate64]: Make code unconditional.
8303         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8304         * sysdeps/unix/sysv/linux/truncate64.c: Do not
8305         include <kernel-features.h>.
8306         [!__NR_ftruncate64]: Remove conditional code.
8307         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8308         [__NR_ftruncate64]: Make code unconditional.
8309         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
8311         include <kernel-features.h>.
8312         [!__NR_ftruncate64]: Remove conditional code.
8313         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8314         [__NR_ftruncate64]: Make code unconditional.
8315         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
8317         include <kernel-features.h>.
8318         [!__NR_ftruncate64]: Remove conditional code.
8319         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8320         [__NR_ftruncate64]: Make code unconditional.
8321         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8323         * configure.in (libc_cv_fpie): Weaken to a compile test using
8324         LIBC_TRY_CC_OPTION.
8325         * configure: Regenerated.
8327 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8329         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
8330         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
8331         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
8332         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8333         Refreshed.
8334         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
8335         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
8336         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
8337         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
8338         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
8339         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8340         Refreshed.
8342 2012-05-27  David S. Miller  <davem@davemloft.net>
8344         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
8345         (___Q_zero): New.
8346         (__Q_simulate_exceptions): Return void.  Change to simulate
8347         exceptions by writing into the %fsr.
8348         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
8349         (__Qp_handle_exceptions): Likewise.
8350         (numbers): Delete.
8351         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
8352         __Qp_handle_exceptions.
8353         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
8354         __Qp_handle_exceptions.
8355         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
8356         as unused and give dummy FP_RND_NEAREST initializer.
8357         (FP_INHIBIT_RESULTS): Define.
8358         (___Q_simulate_exceptions): Update declaration.
8359         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
8360         formatting.
8361         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
8362         as unused and give dummy FP_RND_NEAREST initializer.
8363         (__Qp_handle_exceptions): Update declaration.
8364         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
8365         formatting.
8367 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
8369         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
8370         the temporary FPU control word.
8371         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
8372         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
8373         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
8374         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
8375         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
8376         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
8377         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
8378         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
8379         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
8380         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
8381         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
8383 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8385         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
8386         fields.
8388 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
8390         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
8391         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
8392         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
8393         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
8394         Likewise.
8395         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
8396         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
8397         Likewise.
8399 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
8401         * po/h.po: Update from translation team.
8403 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
8405         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
8407         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
8408         handling of denormals.
8409         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
8410         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
8411         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
8412         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
8413         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8414         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
8415         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
8416         Likewise.
8418 2012-05-26  Marek Polacek  <polacek@redhat.com>
8420         [BZ #14152]
8421         * math/libm-test.inc (fma_test): Don't always expect underflow
8422         exception.
8424 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
8426         [BZ #12416]
8427         * elf/tst-execstack.c: Include stackinfo.h.
8428         (do_test): Adjust test case to ensure that pthread_getattr_np
8429         behaviour remains the same after marking stack executable.
8431 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
8433         * sysdeps/unix/sysv/linux/kernel-features.h
8434         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
8435         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
8436         kernel-features.h.
8437         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
8438         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
8439         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
8440         kernel-features.h.
8441         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
8442         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
8444 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
8446         * configure.in: Define the default includes to being none.
8447         * configure: Regenerated.
8449 2012-05-25  Roland McGrath  <roland@hack.frob.com>
8451         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
8452         * sysdeps/x86_64/setjmp.S: Likewise.
8453         * sysdeps/i386/bsd-setjmp.S: Likewise.
8454         * sysdeps/i386/bsd-_setjmp.S: Likewise.
8455         * sysdeps/i386/setjmp.S: Likewise.
8456         * sysdeps/i386/__longjmp.S: Likewise.
8457         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
8458         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
8460         * include/stap-probe.h: New file.
8461         * configure.in: Handle --enable-systemtap.
8462         * configure: Regenerated.
8463         * config.h.in (USE_STAP_PROBE): New #undef.
8464         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
8465         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
8466         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
8468 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
8470         [BZ #13717]
8471         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
8472         to 2.4.0 where earlier.
8473         * sysdeps/unix/sysv/linux/configure: Regenerated.
8474         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
8475         <kernel-features.h>.
8476         [__ASSUME_32BITUIDS]: Make code unconditional.
8477         [!__ASSUME_32BITUIDS]: Remove conditional code.
8478         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
8479         <kernel-features.h>.
8480         [__ASSUME_32BITUIDS]: Make code unconditional.
8481         [!__ASSUME_32BITUIDS]: Remove conditional code.
8482         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
8483         [__ASSUME_32BITUIDS]: Make code unconditional.
8484         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
8485         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
8486         <kernel-features.h>.
8487         [__ASSUME_32BITUIDS]: Make code unconditional.
8488         [!__ASSUME_32BITUIDS]: Remove conditional code.
8489         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
8490         <kernel-features.h>.
8491         [__ASSUME_32BITUIDS]: Make code unconditional.
8492         [!__ASSUME_32BITUIDS]: Remove conditional code.
8493         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
8494         <kernel-features.h>.
8495         [__ASSUME_32BITUIDS]: Make code unconditional.
8496         [!__ASSUME_32BITUIDS]: Remove conditional code.
8497         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
8498         <kernel-features.h>.
8499         [__ASSUME_32BITUIDS]: Make code unconditional.
8500         [!__ASSUME_32BITUIDS]: Remove conditional code.
8501         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
8502         <kernel-features.h>.
8503         [__ASSUME_32BITUIDS]: Make code unconditional.
8504         [!__ASSUME_32BITUIDS]: Remove conditional code.
8505         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
8506         <kernel-features.h>.
8507         [__ASSUME_32BITUIDS]: Make code unconditional.
8508         [!__ASSUME_32BITUIDS]: Remove conditional code.
8509         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
8510         <kernel-features.h>.
8511         [__ASSUME_32BITUIDS]: Make code unconditional.
8512         [!__ASSUME_32BITUIDS]: Remove conditional code.
8513         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
8514         <kernel-features.h>.
8515         [__ASSUME_32BITUIDS]: Make code unconditional.
8516         [!__ASSUME_32BITUIDS]: Remove conditional code.
8517         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
8518         <kernel-features.h>.
8519         [__ASSUME_32BITUIDS]: Make code unconditional.
8520         [!__ASSUME_32BITUIDS]: Remove conditional code.
8521         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
8522         <kernel-features.h>.
8523         [__ASSUME_32BITUIDS]: Make code unconditional.
8524         [!__ASSUME_32BITUIDS]: Remove conditional code.
8525         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
8526         <kernel-features.h>.
8527         [__NR_setresgid] (__setresgid): Do not declare.
8528         [__ASSUME_32BITUIDS]: Make code unconditional.
8529         [!__ASSUME_32BITUIDS]: Remove conditional code.
8530         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
8531         <kernel-features.h>.
8532         [__NR_setresuid] (__setresuid): Do not declare.
8533         [__ASSUME_32BITUIDS]: Make code unconditional.
8534         [!__ASSUME_32BITUIDS]: Remove conditional code.
8535         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
8536         <kernel-features.h>.
8537         [__ASSUME_32BITUIDS]: Make code unconditional.
8538         [!__ASSUME_32BITUIDS]: Remove conditional code.
8539         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
8540         <kernel-features.h>.
8541         [__ASSUME_32BITUIDS]: Make code unconditional.
8542         [!__ASSUME_32BITUIDS]: Remove conditional code.
8543         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
8544         <kernel-features.h>.
8545         [__ASSUME_32BITUIDS]: Make code unconditional.
8546         [!__ASSUME_32BITUIDS]: Remove conditional code.
8547         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
8548         <kernel-features.h>.
8549         [__ASSUME_32BITUIDS]: Make code unconditional.
8550         [!__ASSUME_32BITUIDS]: Remove conditional code.
8551         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
8552         <kernel-features.h>.
8553         [__ASSUME_32BITUIDS]: Make code unconditional.
8554         [!__ASSUME_32BITUIDS]: Remove conditional code.
8555         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
8556         <kernel-features.h>.
8557         [__ASSUME_32BITUIDS]: Make code unconditional.
8558         [!__ASSUME_32BITUIDS]: Remove conditional code.
8559         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
8560         <kernel-features.h>.
8561         [__ASSUME_32BITUIDS]: Make code unconditional.
8562         [!__ASSUME_32BITUIDS]: Remove conditional code.
8563         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
8564         <kernel-features.h>.
8565         [__ASSUME_32BITUIDS]: Make code unconditional.
8566         [!__ASSUME_32BITUIDS]: Remove conditional code.
8567         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
8568         <kernel-features.h>.
8569         [__ASSUME_32BITUIDS]: Make code unconditional.
8570         [!__ASSUME_32BITUIDS]: Remove conditional code.
8571         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
8572         <kernel-features.h>.
8573         [__ASSUME_32BITUIDS]: Make code unconditional.
8574         [!__ASSUME_32BITUIDS]: Remove conditional code.
8575         * sysdeps/unix/sysv/linux/kernel-features.h
8576         (__ASSUME_SETRESUID_SYSCALL): Remove.
8577         (__ASSUME_SETRESGID_SYSCALL): Likewise.
8578         (__ASSUME_32BITUIDS): Likewise.
8579         (__ASSUME_LDT_WORKS): Likewise.
8580         (__ASSUME_O_DIRECTORY): Likewise.
8581         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
8582         architecture but not kernel version.
8583         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
8584         (__ASSUME_MMAP2_SYSCALL): Likewise.
8585         (__ASSUME_STAT64_SYSCALL): Likewise.
8586         (__ASSUME_IPC64): Likewise.
8587         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
8588         <kernel-features.h>.
8589         [__ASSUME_32BITUIDS]: Make code unconditional.
8590         [!__ASSUME_32BITUIDS]: Remove conditional code.
8591         * sysdeps/unix/sysv/linux/opendir.c: Do not include
8592         <kernel-features.h>.
8593         [__ASSUME_O_DIRECTORY]: Make code unconditional.
8594         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
8595         132096]: Remove conditional code.
8596         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
8597         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
8598         <kernel-features.h>.
8599         [__ASSUME_32BITUIDS]: Make code unconditional.
8600         [!__ASSUME_32BITUIDS]: Remove conditional code.
8601         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
8602         <kernel-features.h>.
8603         [__ASSUME_32BITUIDS]: Make code unconditional.
8604         [!__ASSUME_32BITUIDS]: Remove conditional code.
8605         * sysdeps/unix/sysv/linux/setegid.c: Do not include
8606         <kernel-features.h>.
8607         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
8608         unconditional.
8609         (__setresgid): Do not declare.
8610         [__ASSUME_32BITUIDS]: Make code unconditional.
8611         [!__ASSUME_32BITUIDS]: Remove conditional code.
8612         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
8613         <kernel-features.h>.
8614         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
8615         unconditional.
8616         (__setresuid): Do not declare.
8617         [__ASSUME_32BITUIDS]: Make code unconditional.
8618         [!__ASSUME_32BITUIDS]: Remove conditional code.
8619         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
8620         <kernel-features.h>.
8621         [__ASSUME_32BITUIDS]: Make code unconditional.
8622         [!__ASSUME_32BITUIDS]: Remove conditional code.
8623         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
8624         <kernel-features.h>.
8625         [__ASSUME_32BITUIDS]: Make code unconditional.
8626         [!__ASSUME_32BITUIDS]: Remove conditional code.
8628 2012-05-25  Richard Henderson  <rth@twiddle.net>
8630         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
8631         dl_hwcap to ifunc resolver.
8632         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
8633         elf_ifunc_invoke.
8634         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
8635         dl_hwcap to ifunc resolver.
8636         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
8638 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
8640         [BZ #14153]
8641         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
8642         for |x| <= 2**-26, not 2**-57.
8643         * math/libm-test.inc (acos_test): Do not allow spurious underflow
8644         exception.
8646 2012-05-24  Jeff Law  <law@redhat.com>
8648         * stdio-common/Makefile (tests): Add bug25.
8649         * stdio-common/bug25.c: New test.
8651 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
8653         [BZ #13576]
8654         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
8655         multiple of MALLOC_ALIGNMENT in size.
8656         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
8658 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
8660         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
8661         Require >= 256.
8662         (FILENAME_MAX): Use macro-int-constant.
8663         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
8664         (_IOFBF): Use macro-int-constant.
8665         (_IOLBF): Likewise.
8666         (_IONBF): Likewise.
8667         (SEEK_CUR): Likewise.
8668         (SEEK_END): Likewise.
8669         (SEEK_SET): Likewise.
8670         (TMP_MAX): Likewise.
8671         (EOF): Use macro-int-constant.  Require < 0.
8672         (NULL): Use macro-constant.  Require == 0.
8673         (stdin): Require type to be FILE *.
8674         (stdout): Likewise.
8675         (stderr): Likewise.
8676         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
8677         macro-int-constant.
8678         (EXIT_SUCCESS): Likewise.
8679         (NULL): Use macro-constant.  Require == 0.
8680         (RAND_MAX): Use macro-int-constant.
8681         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
8682         [C99-based standards] (strtof): Require function.
8683         [C99-based standards] (strtold): Likewise.
8684         [C99-based standards] (strtoll): Likewise.
8685         [C99-based standards] (strtoull): Likewise.
8686         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
8687         [ISO || ISO99 || ISO11] (limits.h): Likewise.
8688         [ISO || ISO99 || ISO11] (math.h): Likewise.
8689         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
8690         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
8691         [ISO || ISO99 || ISO11] (*_t): Do not allow.
8693 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
8695         [BZ #14132]
8696         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
8697         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
8698         * intl/dgettext.c (DCGETTEXT): Likewise.
8699         * intl/gettext.c (DCGETTEXT): Likewise.
8700         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
8701         * posix/regex_internal.h (gettext): Likewise.
8702         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
8703         Remove declaration.
8704         * include/argz.h (__argz_count_internal)
8705         (__argz_stringify_internal): Remove declaration.
8706         (__argz_count, __argz_stringify): Declare hidden proto.
8707         * intl/dcgettext.c: Remove use of INTDEF.
8708         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
8709         * string/argz-stringify.c: Likewise.
8710         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
8711         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
8712         Declare hidden proto.
8713         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
8714         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
8715         Declare hidden proto.
8716         * include/stdio.h (__asprintf_internal): Don't declare.
8717         (__asprintf): Don't define as macro.  Declare hidden proto.
8718         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
8719         (__fsetlocking): Declare hidden proto.
8720         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
8721         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
8722         hidden proto.
8723         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
8724         (_IO_setlinebuf): Remove use of INTUSE.
8725         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
8726         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
8727         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
8728         Remove declaration.
8729         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
8730         (_IO_do_flush): Remove use of INTUSE.
8731         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
8732         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
8733         (_IO_adjust_column, _IO_least_wmarker)
8734         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
8735         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
8736         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
8737         (_IO_default_doallocate, _IO_wdefault_doallocate)
8738         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
8739         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
8740         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
8741         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
8742         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
8743         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
8744         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
8745         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
8746         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
8747         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
8748         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
8749         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
8750         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
8751         proto.
8752         (_IO_flush_all_internal, _IO_adjust_column_internal)
8753         (_IO_default_uflow_internal, _IO_default_finish_internal)
8754         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
8755         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
8756         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
8757         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
8758         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
8759         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
8760         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
8761         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
8762         (_IO_file_close_internal, _IO_file_close_it_internal)
8763         (_IO_file_underflow_internal, _IO_file_overflow_internal)
8764         (_IO_file_init_internal, _IO_file_attach_internal)
8765         (_IO_file_fopen_internal, _IO_file_read_internal)
8766         (_IO_file_sync_internal, _IO_file_seek_internal)
8767         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
8768         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
8769         (_IO_str_underflow_internal, _IO_str_overflow_internal)
8770         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
8771         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
8772         (_IO_list_all_internal, _IO_link_in_internal)
8773         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
8774         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
8775         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
8776         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
8777         (_IO_do_write_internal, _IO_padn_internal)
8778         (_IO_getline_info_internal, _IO_getline_internal)
8779         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
8780         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
8781         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
8782         (_IO_vfscanf_internal, _IO_vfprintf_internal)
8783         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
8784         (_IO_init_internal, _IO_un_link_internal): Don't declare.
8785         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
8786         with libc_hidden_ver, remove use of INTUSE.
8787         * libio/genops.c: Likewise.
8788         * libio/freopen.c: Likewise.
8789         * libio/freopen64.c: Likewise.
8790         * libio/iofclose.c: Likewise.
8791         * libio/iofdopen.c: Likewise.
8792         * libio/iofflush.c: Likewise.
8793         * libio/iofflush_u.c: Likewise.
8794         * libio/iofgets.c: Likewise.
8795         * libio/iofgets_u.c: Likewise.
8796         * libio/iofopen.c: Likewise.
8797         * libio/iofopncook.c: Likewise.
8798         * libio/iofread.c: Likewise.
8799         * libio/iofread_u.c: Likewise.
8800         * libio/ioftell.c: Likewise.
8801         * libio/iofwrite.c: Likewise.
8802         * libio/iogetline.c: Likewise.
8803         * libio/iogets.c: Likewise.
8804         * libio/iogetwline.c: Likewise.
8805         * libio/iopadn.c: Likewise.
8806         * libio/iopopen.c: Likewise.
8807         * libio/ioseekoff.c: Likewise.
8808         * libio/ioseekpos.c: Likewise.
8809         * libio/iosetbuffer.c: Likewise.
8810         * libio/iosetvbuf.c: Likewise.
8811         * libio/ioungetc.c: Likewise.
8812         * libio/ioungetwc.c: Likewise.
8813         * libio/iovdprintf.c: Likewise.
8814         * libio/iovsprintf.c: Likewise.
8815         * libio/iovsscanf.c: Likewise.
8816         * libio/memstream.c: Likewise.
8817         * libio/obprintf.c: Likewise.
8818         * libio/oldfileops.c: Likewise.
8819         * libio/oldiofclose.c: Likewise.
8820         * libio/oldiofdopen.c: Likewise.
8821         * libio/oldiofopen.c: Likewise.
8822         * libio/oldiopopen.c: Likewise.
8823         * libio/oldstdfiles.c: Likewise.
8824         * libio/putc.c: Likewise.
8825         * libio/setbuf.c: Likewise.
8826         * libio/setlinebuf.c: Likewise.
8827         * libio/stdfiles.c: Likewise.
8828         * libio/strops.c: Likewise.
8829         * libio/vasprintf.c: Likewise.
8830         * libio/vscanf.c: Likewise.
8831         * libio/vsnprintf.c: Likewise.
8832         * libio/vswprintf.c: Likewise.
8833         * libio/wfiledoalloc.c: Likewise.
8834         * libio/wfileops.c: Likewise.
8835         * libio/wgenops.c: Likewise.
8836         * libio/wmemstream.c: Likewise.
8837         * libio/wstrops.c: Likewise.
8838         * libio/__fpurge.c: Likewise.
8839         * libio/__fsetlocking.c: Likewise.
8840         * assert/assert.c: Likewise.
8841         * debug/fgets_chk.c: Likewise.
8842         * debug/fgets_u_chk.c: Likewise.
8843         * debug/fread_chk.c: Likewise.
8844         * debug/fread_u_chk.c: Likewise.
8845         * debug/gets_chk.c: Likewise.
8846         * debug/obprintf_chk.c: Likewise.
8847         * debug/vasprintf_chk.c: Likewise.
8848         * debug/vdprintf_chk.c: Likewise.
8849         * debug/vsnprintf_chk.c: Likewise.
8850         * debug/vsprintf_chk.c: Likewise.
8851         * malloc/mtrace.c: Likewise.
8852         * misc/error.c: Likewise.
8853         * misc/syslog.c: Likewise.
8854         * stdio-common/asprintf.c: Likewise.
8855         * stdio-common/fxprintf.c: Likewise.
8856         * stdio-common/getw.c: Likewise.
8857         * stdio-common/isoc99_fscanf.c: Likewise.
8858         * stdio-common/isoc99_scanf.c: Likewise.
8859         * stdio-common/isoc99_vfscanf.c: Likewise.
8860         * stdio-common/isoc99_vscanf.c: Likewise.
8861         * stdio-common/isoc99_vsscanf.c: Likewise.
8862         * stdio-common/printf-prs.c: Likewise.
8863         * stdio-common/printf_fp.c: Likewise.
8864         * stdio-common/printf_fphex.c: Likewise.
8865         * stdio-common/printf_size.c: Likewise.
8866         * stdio-common/putw.c: Likewise.
8867         * stdio-common/scanf.c: Likewise.
8868         * stdio-common/sprintf.c: Likewise.
8869         * stdio-common/tmpfile.c: Likewise.
8870         * stdio-common/vfprintf.c: Likewise.
8871         * stdio-common/vfscanf.c: Likewise.
8872         * stdlib/strfmon_l.c: Likewise.
8873         * sunrpc/openchild.c: Likewise.
8874         * sunrpc/xdr_stdio.c: Likewise.
8875         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
8876         * sysdeps/mach/hurd/tmpfile.c: Likewise.
8878 2012-05-24  Roland McGrath  <roland@hack.frob.com>
8880         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
8882         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
8883         in the third column, to generate for the shared library an IFUNC
8884         that uses _dl_vdso_vsym.
8885         * Makerules (COMPILE.c, compile-stdin.c): New variables.
8886         * Makeconfig (object-suffixes-noshared): New variable.
8888         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
8889         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
8890         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
8891         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
8893         [BZ #14132]
8894         * include/sys/time.h (__gettimeofday): Remove macro.
8895         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
8896         * time/gettimeofday.c (__gettimeofday): Remove #undef.
8897         Remove INTDEF.
8898         (__gettimeofday): Add libc_hidden_def.
8899         (gettimeofday): Add libc_hidden_weak.
8900         * sysdeps/mach/gettimeofday.c: Likewise.
8901         * sysdeps/posix/gettimeofday.c: Likewise.
8902         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
8903         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
8904         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
8905         (__gettimeofday_internal): Remove strong_alias.
8906         (__gettimeofday): Add libc_hidden_def.
8907         (gettimeofday): Add libc_hidden_weak.
8908         * sysdeps/unix/syscalls.list (gettimeofday):
8909         Remove __gettimeofday_internal alias.
8911 2012-05-24  Daniel Jacobowitz  <drow@false.org>
8912             H.J. Lu  <hongjiu.lu@intel.com>
8914         [BZ #12495]
8915         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
8916         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
8917         (largebin_index_32_big): New.
8918         (largebin_index): Use it for 16-byte alignment.
8919         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
8920         correction with front_misalign.
8922 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
8924         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
8925         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
8926         Likewise.
8927         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
8928         Likewise.
8929         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
8930         Likewise.
8931         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
8932         Likewise.
8933         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
8934         Likewise.
8935         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
8936         Likewise.
8937         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
8938         Likewise.
8939         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
8940         Likewise.
8941         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
8942         Likewise.
8943         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
8944         Likewise.
8945         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
8946         Likewise.
8947         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
8948         Likewise.
8950         * scripts/data/c++-types-x32-linux-gnu.data: New file.
8951         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
8953 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
8955         [BZ #10846]
8956         [BZ #14036]
8957         * math/libm-test.inc (exp_test): Add test from bug 14036.
8958         (pow_test): Add test from bug 10846.
8960         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
8961         and other flags.
8962         (special_function): Do not include flags in test name.
8963         (parse_args): Likewise.
8964         * sysdeps/i386/fpu/libm-test-ulps: Update.
8965         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8966         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8967         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8968         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8970         * math/gen-libm-test.pl (%beautify): Add entries for underflow
8971         exceptions.
8972         * math/libm-test.inc ("Philosophy"): Update comment about
8973         exception testing.
8974         (UNDERFLOW_EXCEPTION): New macro.
8975         (UNDERFLOW_EXCEPTION_OK): Likewise.
8976         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
8977         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
8978         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
8979         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
8980         (INVALID_EXCEPTION_OK): Update value.
8981         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8982         (OVERFLOW_EXCEPTION_OK): Likewise.
8983         (IGNORE_ZERO_INF_SIGN): Likewise.
8984         (test_exceptions): Handle underflow exceptions.
8985         (acos_test): Update for underflow exception expectations.
8986         (cexp_test): Likewise.
8987         (clog_test): Likewise.
8988         (clog10_test): Likewise.
8989         (csqrt_test): Likewise.
8990         (ctan_test): Likewise.
8991         (ctanh_test): Likewise.
8992         (exp_test): Likewise.
8993         (exp10_test): Likewise.
8994         (exp2_test): Likewise.
8995         (expm1_test): Likewise.
8996         (fma_test): Likewise.
8997         (j0_test): Likewise.
8998         (jn_test): Likewise.
8999         (nexttoward_test): Likewise.
9000         (pow_test): Likewise.
9001         (scalbn_test): Likewise.
9002         (scalbln_test): Likewise.
9003         (tan_test): Likewise.
9004         (y1_test): Likewise.
9005         * sysdeps/i386/fpu/libm-test-ulps: Update.
9006         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9008 2012-05-23  David S. Miller  <davem@davemloft.net>
9010         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
9011         (__libc_sigaction): Remove unused local variables.
9013 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
9015         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
9017 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
9019         mktime: avoid signed integer overflow
9020         * time/mktime.c (__mktime_internal): Do not mishandle the case
9021         where diff == INT_MIN.
9023         mktime: simplify computation of average
9024         * time/mktime.c (ranged_convert): Use new time_t_avg function
9025         instead of rolling our own (probably-slower) code.
9027         mktime: do not assume signed right shift propagates sign bit
9028         * time/mktime.c (isdst_differ): New static function.
9029         (__mktime_internal): No need to normalize tm_isdst now.
9030         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
9031         tm_isdst values.
9033         mktime: merge another wrapv change from gnulib
9034         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
9035         from some compilers.
9037         mktime: remove incorrect attempt at unusual arithmetics
9038         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
9039         The code didn't really work on such machines anyway.
9040         (TYPE_MINIMUM): Assume two's complement.
9041         (twos_complement_arithmetic): Verify that long_int and time_t
9042         are two's complement (or unsigned, in the latter case).
9044         mktime: check signed shifts on long_int and time_t, too
9045         * time/mktime.c (SHR): Check that shifts work as desired
9046         on the types long_int and time_t too, as SHR is used on
9047         such types.
9049         mktime: do not assume 'long' is wide enough
9050         * time/mktime.c (verify): Move decl up.
9051         (long_int): New type.
9052         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
9053         to remove assumption in the code that 'long' is wide enough to
9054         store year values.  This assumption is not true on x32 and on
9055         some non-glibc platforms.
9057         mktime: merge wrapv change from gnulib
9058         * time/mktime.c (WRAPV): New macro.
9059         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
9060         (guess_time_tm, __mktime_internal): Do not assume that signed
9061         integer overflow wraps around; modern compilers generate code
9062         where this assumption is no longer valid.
9064 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
9066         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
9067         Replace "jmp L(pseudo_end)" with "ret".
9068         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
9069         Likewise.
9071 2012-05-23  Andreas Jaeger  <aj@suse.de>
9073         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
9074         * sysdeps/unix/sysv/linux/poll.c: Remove file.
9076 2012-05-23  Andreas Jaeger  <aj@suse.de>
9077             Maximilian Attems  <max@stro.at>
9079         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
9080         New macros.
9082 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
9084         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
9085         code so that pseudo_end is just ret and the stack pointer is
9086         correct also for static library in error case.
9088 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
9090         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
9091         move to syscalls.list.
9092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
9093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
9094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
9095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
9097         * manual/install.texi (Running make install): Do not mention Linux
9098         kernel version for which pt_chown is not needed.
9099         (Linux): Do not mention problems with nscd with 2.0 kernels.
9100         * INSTALL: Regenerated.
9102 2012-05-23  Andreas Jaeger  <aj@suse.de>
9104         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
9105         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
9106         macro.
9107         * sysdeps/unix/sysv/linux/s390/bits/mman.h
9108         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9109         * sysdeps/unix/sysv/linux/sh/bits/mman.h
9110         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9111         * sysdeps/unix/sysv/linux/i386/bits/mman.h
9112         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9113         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
9114         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9115         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
9116         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9117         * sysdeps/unix/sysv/linux/bits/in.h
9118         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
9120 2012-05-22  Roland McGrath  <roland@hack.frob.com>
9122         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
9123         (PREPARE_VERSION): Just use assert instead, it will be elided
9124         under [NDEBUG] anyway.
9126 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
9128         * sysdeps/unix/sysv/linux/Makefile: Include
9129         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
9130         (sysdep_routines): Remove sysctl.
9131         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
9132         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
9133         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
9134         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
9135         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
9137 2012-05-22  Andreas Jaeger  <aj@suse.de>
9139         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
9140         that pseudo_end is just ret and the stack pointer is correct also
9141         for static library in error case.
9143 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
9145         [BZ #14122]
9146         * nss/nsswitch.c (defconfig_entries): New variable.
9147         (__nss_database_lookup): Don't leak defconfig entries.
9148         (nss_parse_service_list): Don't leak on error paths.
9149         (free_database_entries): New function.
9150         (free_defconfig): New function.
9151         (free_mem): Move common code to free_database_entries.
9153 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
9155         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
9156         Add arch_prctl.
9157         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
9159         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9160         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
9161         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
9162         New macro.
9163         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
9164         (INTERNAL_SYSCALL_TYPES): Likewise.
9165         (LOAD_ARGS_TYPES_[1-6]): Likewise.
9166         (LOAD_REGS_TYPES_[1-6]): Likewise.
9167         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
9168         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
9170 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9172         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
9173         copysignl for GLIBC_2_0.
9174         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
9175         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
9176         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
9177         logbl for GLIBC_2_0.
9178         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
9179         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
9181 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
9183         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
9184         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
9186         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
9187         Use "neg %eax".
9189         * time/mktime.c: Update copyright years.
9191 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
9193         mktime: merge comment-quoting-style change from gnulib
9194         * time/mktime.c: Quote 'like this' in comments.
9195         The GNU coding standards suggest that we no longer quote `like this',
9196         as "`" and "'" are typically rendered asymmetrically nowadays.
9197         The typical gnulib style is to quote 'like this' when quoting
9198         code, and "like this" when quoting English.
9200         * time/mktime.c (compile-command): Add "-I.".
9202         mktime: merge mktime-internal.h change from gnulib
9203         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
9205         mktime: merge time_r change from gnulib
9206         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
9208         mktime: merge DEBUG change from gnulib
9209         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
9210         case system <time.h> has a #define.
9212         mktime: merge <sys/types.h> change from gnulib
9213         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
9214         since <time.t> is now guaranteed to define time_t.
9216         mktime: merge HAVE_CONFIG_H change from gnulib
9217         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
9219 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
9221         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
9222         Use "neg %eax".
9224         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
9225         __rlim_t cast.
9226         (struct rusage): Use anonymous union to pad each field to
9227         __syscall_slong_t.
9229 2012-05-21  David S. Miller  <davem@davemloft.net>
9231         * Makefules (o-iterator): Remove .s cases.
9232         (compile-command.s): Delete.
9233         (COMPILE.s): Delete.
9234         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
9236 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
9238         * configure.in (libc_cv_predef_stack_protector): Only consider
9239         "foobar" and "__stack_chk_fail" lines in libc_undefs.
9240         * configure: Regenerated.
9242 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
9244         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
9245         New macro.  Use R*LP on int and pointer.
9246         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
9247         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
9248         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
9249         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
9251         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
9252         [__WORDSIZE_TIME64_COMPAT32] instead of
9253         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
9254         (struct utmp): Likewise.
9255         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
9256         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
9257         Renamed to ...
9258         (__WORDSIZE_TIME64_COMPAT32): This.
9259         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
9260         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
9261         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
9262         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
9263         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
9264         (__WORDSIZE_TIME64_COMPAT32): New macro.
9266 2012-05-21  Andreas Jaeger  <aj@suse.de>
9268         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
9269         only if [SHARED]. Add prototype for __wcschr_ia32.
9271 2012-05-21  Roland McGrath  <roland@hack.frob.com>
9273         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
9274         of %rbp unmolested in the jmp_buf while mangling the low bits.
9275         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
9276         unmolested high bits of %rbp while demangling the low bits.
9277         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
9279 2012-05-21  Andreas Jaeger  <aj@suse.de>
9281         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
9282         * sunrpc/svc_simple.c: Use it for registerrpc.
9283         * sunrpc/xcrypt.c: Use it for passwd2des.
9285         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
9287 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
9289         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
9290         Don't define if [__SYSCALL_WORDSIZE != 32].
9291         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
9292         New macro.
9294 2012-05-21  Bruno Haible  <bruno@clisp.org>
9295             Andreas Jaeger  <aj@suse.de>
9297         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
9298         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
9299         inptr and inend for must_buffer_ch.
9300         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
9301         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
9302         * stdio-common/Makefile (tests): Remove bug15.
9303         (bug15-ENV): Remove macro.
9304         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
9305         anymore.
9307 2012-05-19  Andreas Jaeger  <aj@suse.de>
9308             Roland McGrath  <roland@hack.frob.com>
9310         * manual/contrib.texi: Completely rewritten. It contains now an
9311         alphabetical list of contributors and their contributions.
9313 2012-05-21  Richard Henderson  <rth@twiddle.net>
9315         * misc/getauxval.c (__getauxval): Use unsigned long int.
9316         * misc/sys/auxv.h: Include <sys/cdefs.h>.
9317         (getauxval): Use unsigned long int.
9319 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
9321         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
9323 2012-05-21  Roland McGrath  <roland@hack.frob.com>
9325         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
9326         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
9327         __alignof__ (long double).
9329 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9331         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9333 2012-05-20  Richard Henderson  <rth@twiddle.net>
9335         * misc/getauxval.c: New file.
9336         * misc/sys/auxv.h: New file.
9337         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
9338         (routines): Add getauxval.
9339         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
9340         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
9341         * elf/dl-sysdep.c (_dl_auxv): Remove.
9342         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
9343         * elf/dl-support.c (_dl_auxv): New variable.
9344         (_dl_aux_init): Initialize it.
9345         * manual/startup.texi (Auxiliary Vector): New node.
9346         * sysdeps/generic/bits/hwcap.h: New file.
9347         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
9348         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
9349         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
9350         * sysdeps/sparc/sysdep.h: ... here.  Include it.
9351         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
9352         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
9353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9354         Update.
9355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
9356         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
9357         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
9358         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
9359         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
9360         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
9361         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
9362         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
9364 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9366         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9368 2012-05-19  David S. Miller  <davem@davemloft.net>
9370         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9372 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
9374         [BZ #14123]
9375         * math/s_ccosh.c: Include <float.h>
9376         (__ccosh): Avoid internal overflow calculating sinh and cosh
9377         values before multiplying by sin and cos values.
9378         * math/s_ccoshf.c: Likewise.
9379         * math/s_ccoshl.c: Likewise.
9380         * math/s_csin.c: Likewise.
9381         * math/s_csinf.c: Likewise.
9382         * math/s_csinl.c: Likewise.
9383         * math/s_csinh.c: Likewise.
9384         * math/s_csinhf.c: Likewise.
9385         * math/s_csinhl.c: Likewise.
9386         * math/libm-test.inc (ccos_test): Add more tests.
9387         (ccosh_test): Likewise.
9388         (csin_test): Likewise.
9389         (csinh_test): Likewise.
9390         * sysdeps/i386/fpu/libm-test-ulps: Update.
9391         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9393 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
9395         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
9396         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
9398         * sysdeps/x86_64/x32/_itoa.h: Add comment.
9400 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
9402         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
9403         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
9404         * sysdeps/powerpc/soft-fp/Versions: Likewise.
9405         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
9406         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
9407         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
9408         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
9409         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
9410         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
9411         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
9412         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
9413         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
9414         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
9415         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
9416         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
9417         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
9418         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
9419         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
9420         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
9421         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
9422         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
9423         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
9424         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
9425         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
9426         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
9427         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
9428         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
9429         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
9430         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
9431         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
9432         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
9434 2012-05-18  Andreas Jaeger  <aj@suse.de>
9436         * csu/.gitignore: Delete.
9438 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
9440         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
9441         (timex): Use __syscall_slong_t.
9443 2012-05-18  Andreas Jaeger  <aj@suse.de>
9444             Carlos O'Donell  <carlos_odonell@mentor.com>
9446         * manual/install.texi (Configuring and compiling): Update
9447         description about files modified in the source directory.
9448         * INSTALL: Regenerated.
9450 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
9452         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
9453         value.  Use "or" to set return value to -1.
9454         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
9455         negate return value.
9457 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9459         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
9460         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
9461         failure if the compiler has Graphite support disabled.
9462         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
9463         Likewise.
9464         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
9465         CFLAGS-memmove.c): Likewise.
9466         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
9467         Likewise.
9469 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
9471         * sysdeps/x86_64/x32/_itoa.h: New file.
9473         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
9474         getdents system call only if kernel and user dirents have the
9475         same d_ino and d_off.
9477         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
9478         LLONG_MAX != LONG_MAX.
9479         (_itoa_word): Use _ITOA_WORD_TYPE on value.
9480         (_fitoa_word): Likewise.
9482         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
9483         years.
9484         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
9485         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
9486         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
9488         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
9489         include <bits/wordsize.h>.  Check __x86_64__ instead of
9490         __WORDSIZE.
9491         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
9492         if __x86_64__ is defined.  Use anonymous union on fpstate.
9494         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
9495         anonymous union.
9497 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
9499         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
9500         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
9501         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
9502         Refer to _rtld_local_ro instead of _rtld_global_ro.
9503         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
9504         Likewise.
9505         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
9506         Likewise.
9507         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
9508         Likewise.
9509         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
9510         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
9511         of _rtld_global, and rtld_progname instead of _dl_argv[0].
9513         * sysdeps/powerpc/powerpc32/dl-machine.c
9514         (__elf_machine_runtime_setup) [PROF]: Don't reference
9515         _dl_prof_resolve.
9517 2012-05-18  Andreas Jaeger  <aj@suse.de>
9519         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
9520         function only available for GCCs before 3.4 since GCC 3.4
9521         introduced a builtin.
9522         (lrint): Likewise.
9523         (llrintf): Likewise.
9524         (llrint): Likewise.
9525         (fmaxf): Likewise.
9526         (fmax): Likewise.
9527         (fminf): Likewise.
9528         (fmin): Likewise.
9529         (rint): Likewise.
9530         (rintf): Likewise.
9531         (nearbyint): Likewise.
9532         (nearbyintf): Likewise.
9533         (ceil): Likewise.
9534         (ceilf): Likewise.
9535         (floor): Likewise.
9536         (floorf): Likewise.
9538 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
9540         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
9541         on both fields and cast pointer to __syscall_ulong_t.
9543         * bits/types.h (__fsword_t): New type.
9544         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
9545         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
9546         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9547         (__FSWORD_T_TYPE): Likewise.
9548         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9549         (__FSWORD_T_TYPE): Likewise.
9550         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9551         (__FSWORD_T_TYPE): Likewise.
9552         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
9553         (__FSWORD_T_TYPE): Likewise.
9554         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
9555         __SWORD_TYPE with __fsword_t.
9556         (statfs64): Likewise.
9558 2012-05-17  David S. Miller  <davem@davemloft.net>
9560         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
9562 2012-05-17  Andreas Jaeger  <aj@suse.de>
9564         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
9565         warning.
9567 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
9569         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
9571 2012-05-17  Andreas Jaeger  <aj@suse.de>
9573         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
9574         when it is used.
9576 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
9578         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
9580 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
9582         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
9583         * sysdeps/x86_64/tst-mallocalign1.c: New file.
9585 2012-05-17  Andreas Jaeger  <aj@suse.de>
9586             Carlos O'Donell  <carlos_odonell@mentor.com>
9588         [BZ #14059]
9589         * sysdeps/x86_64/multiarch/init-arch.h
9590         (bit_YMM_Usable): Rename to...
9591         (bit_AVX_Usable): ... this.
9592         (bit_FMA4_Usable): New macro.
9593         (bit_XMM_state): New macro.
9594         (bit_YMM_state): New macro.
9595         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
9596         [__ASSEMBLER__] (index_AVX_Usable): ... this.
9597         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
9598         (CPUID_OSXSAVE): New macro.
9599         (CPUID_AVX): New macro.
9600         (CPUID_FMA4): New macro.
9601         (index_YMM_Usable): Rename to...
9602         (index_AVX_Usable): ... this.
9603         (HAS_AVX): Use HAS_ARCH_FEATURE.
9604         (HAS_FMA4): Likewise.
9605         (HAS_YMM_USABLE): Remove.
9606         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9607         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
9608         are present.
9609         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
9610         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
9611         * sysdeps/x86_64/multiarch/Makefile: Likewise.
9612         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
9613         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
9615 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
9617         * math/libm-test.c: Support platforms without multiple rounding modes.
9618         * math/bug-nextafter.c: Support platforms without FP exceptions.
9619         * math/bug-nexttoward.c: Likewise.
9620         * math/test-fenv.c: Likewise.
9621         * math/test-misc.c: Likewise.
9622         * stdlib/bug-getcontext.c: Likewise.
9624 2012-05-17  Andreas Jaeger  <aj@suse.de>
9626         * manual/examples/search.c (critter_cmp): Change signature to
9627         avoid warnings.
9628         * manual/string.texi (Collation Functions): Likewise.
9630 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
9632         * bits/types.h: Fold copyright years.
9633         * bits/typesizes.h: Likewise.
9634         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
9635         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
9636         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
9637         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
9638         * time/time.h: Likewise.
9640 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
9642         [BZ #208]
9643         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
9644         in instead of returning them.  Return void.
9645         (__libc_mallinfo): Accumulate over all arenas.
9646         (__malloc_stats): Adjust for change in int_mallinfo interface.
9648 2012-05-16  Roland McGrath  <roland@hack.frob.com>
9650         [BZ #10375]
9651         * configure.in (NM): Add AC_CHECK_TOOL for it.
9652         (libc_extra_cflags): New substituted variable.
9653         Check for -fstack-protector being used implicitly.
9654         * configure: Regenerated.
9655         * config.make.in (config-extra-cflags): New variable,
9656         gets @libc_extra_cflags@.
9657         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
9659         [BZ #10375]
9660         * configure.in: Check for _FORTIFY_SOURCE being predefined.
9661         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
9662         * configure: Regenerated.
9663         * config.make.in (CPPUNDEFS): New substituted variable.
9664         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
9665         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
9666         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
9668 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
9670         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
9671         (mq_attr): Use __syscall_slong_t.
9673 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
9675         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
9676         Check __x86_64__ instead of __WORDSIZE.
9677         (_STAT_VER_LINUX): Likewise.
9678         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
9679         __syscall_ulong_t and __syscall_slong_t.
9680         (stat64): Likewise.
9682 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
9684         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
9686 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
9688         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
9690 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
9692         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
9693         __syscall_ulong_t.
9695         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
9696         include <bits/wordsize.h>.  Check __x86_64__ instead of
9697         __WORDSIZE.
9698         (greg_t): Use "__extension__ long long int" if __x86_64__ is
9699         defined.
9700         (mcontext_t): Replace "unsigned long" with "unsigned long long".
9702         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
9703         include <bits/wordsize.h>.  Check __x86_64__ instead of
9704         __WORDSIZE.
9705         (user_regs_struct): Use "__extension__ unsigned long long"
9706         instead of "unsigned long" if __x86_64__ is defined.
9707         (user): Likewise.  Pad after pointer field if __ILP32__ is
9708         defined.
9710 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
9712         * configure.in (makeinfo): Require version 4.5 or later.  Allow
9713         versions 5 to 9.
9714         * configure: Regenerated.
9715         * manual/install.texi (texinfo): Increase version requirement to
9716         4.5 or later.
9717         * INSTALL: Regenerated.
9719         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
9721 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
9723         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
9725         * sysdeps/x86_64/x32/ffs.c: New file.
9727         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
9728         __syscall_ulong_t.
9729         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
9730         defined.  Use __syscall_ulong_t.
9731         (shminfo): Use __syscall_ulong_t.
9732         (shm_info): Likewise.
9734         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
9735         __syscall_ulong_t.
9737         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
9738         <bits/wordsize.h>.
9739         (msgqnum_t): Use __syscall_ulong_t.
9740         (msglen_t): Likewise.
9741         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
9742         __syscall_ulong_t.
9744         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
9745         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
9747         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
9749         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
9750         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
9752         * sysvipc/sys/msg.h (msgbuf): Replace long int with
9753         __syscall_slong_t.
9755         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
9756         include <bits/wordsize.h>.  Check __x86_64__ instead of
9757         __WORDSIZE.
9759         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
9760         "unsigned long long int" if __x86_64__ is defined.
9761         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
9763         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
9764         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
9765         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
9767         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
9768         <stdint.h>.
9769         (GET_PC): Cast to uintptr_t first.
9770         (GET_FRAME): Likewise.
9771         (GET_STACK): Likewise.
9773         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
9774         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
9775         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
9776         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
9777         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
9778         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
9779         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
9780         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
9781         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
9782         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
9783         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
9784         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
9785         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
9786         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
9787         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
9788         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
9789         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
9790         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
9791         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
9792         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
9793         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
9794         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
9795         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
9796         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
9797         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
9798         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
9799         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
9800         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
9801         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
9803 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
9805         * Makerules (+depfiles): Also collect depfiles from .oS in
9806         $(extra-objs).
9807         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
9808         .oS, $(libnldbl-routines)).
9810         * Makerules (native-compile-mkdep-flags): Define.
9811         * sunrpc/Makefile (extra-objs): Add $(addprefix
9812         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
9813         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
9814         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
9815         calling $(make-target-directory).
9817 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9819         * bits/types.h (__snseconds_t): Removed.
9820         * time/time.h (struct timespec): Replace __snseconds_t with
9821         __syscall_slong_t.
9822         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
9823         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
9824         Likewise.
9825         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9826         (__SNSECONDS_T_TYPE): Likewise.
9827         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9828         (__SNSECONDS_T_TYPE): Likewise.
9829         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9830         (__SNSECONDS_T_TYPE): Likewise.
9832 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9834         * sysdeps/mach/hurd/bits/typesizes.h
9835         (__SYSCALL_SLONG_TYPE): New macro.
9836         (__SYSCALL_ULONG_TYPE): Likewise.
9838 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9840         * bits/types.h (__syscall_slong_t): New type.
9841         (__syscall_ulong_t): Likewise.
9843         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
9844         (__SYSCALL_ULONG_TYPE): Likewise.
9845         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9846         (__SYSCALL_SLONG_TYPE): Likewise.
9847         (__SYSCALL_ULONG_TYPE): Likewise.
9848         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9849         (__SYSCALL_SLONG_TYPE): Likewise.
9850         (__SYSCALL_ULONG_TYPE): Likewise.
9851         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9852         (__SYSCALL_SLONG_TYPE): Likewise.
9853         (__SYSCALL_ULONG_TYPE): Likewise.
9855 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9857         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
9858         Add sigaltstack-offsets.sym.
9859         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
9860         <sigaltstack-offsets.h>.
9861         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
9862         longjmp_msg pointer.
9863         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
9864         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
9865         signal stack.
9866         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
9868 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
9870         * elf/stackguard-macros.h: Remove file.
9871         * sysdeps/generic/stackguard-macros.h: New file.
9872         * sysdeps/i386/stackguard-macros.h: Likewise.
9873         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
9874         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
9875         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
9876         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
9877         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
9878         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
9879         * sysdeps/x86_64/stackguard-macros.h: Likewise.
9880         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
9881         <elf/stackguard-macros.h>.
9883         [BZ #14109]
9884         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
9885         __aligned__ in attribute.
9886         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
9887         (gregset_t): Likewise.
9889 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9891         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
9892         * sysdeps/x86_64/64/Implies-after: Here.  New file.
9893         * sysdeps/x86_64/x32/Implies-after: New file.
9895 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9897         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
9898         and access return value for _dl_profile_fixup.  Use R10_LP to
9899         load frame size.
9901 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9903         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
9905 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9907         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
9908         * sysdeps/x86_64/x32/sysdep.h: New file.
9910 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9912         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
9913         * sysdeps/x86_64/setjmp.S: Likewise.
9915 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9917         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
9918         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
9919         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
9920         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
9921         remove unused global constant.
9923 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
9925         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
9926         include of <not-cancel.h>.
9928 2012-05-15  Roland McGrath  <roland@hack.frob.com>
9930         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
9932 2012-05-15  Jeff Law  <law@redhat.com>
9933             Andreas Jaeger  <aj@suse.de>
9935         [BZ #13594]
9936         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
9937         out from...
9938         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
9939         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
9940         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
9941         code changing __hst_map_handle.map.
9943 2012-05-15  Roland McGrath  <roland@hack.frob.com>
9945         * configure.in (sysnames): Look for Implies-before and Implies-after
9946         files.
9947         * configure: Regenerated.
9949 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9951         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
9952         8-byte data alignment with LP_SIZE alignment.
9954 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9956         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
9957         into R10_LP.
9959 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9961         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
9963 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9965         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
9966         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
9967         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
9968         Likewise.
9969         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
9971 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9973         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
9974         (stackinfo_sub_sp): Likewise.
9976 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9978         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
9979         RAX_LP.
9981 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9983         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
9984         into R*_LP.
9986 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9988         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
9989         sizes into R*_LP.
9991 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9993         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
9995 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9997         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
9998         into R11_LP and load __x86_64_shared_cache_size_half into
9999         R8_LP.
10001 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
10003         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
10004         R8_LP.
10006 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10008         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
10009         logb for POWER7.
10010         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
10011         logbf for POWER7.
10012         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
10013         logbl for POWER7.
10014         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
10015         powerpc32/power7/fpu/s_logb.c via #include.
10016         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
10017         powerpc32/power7/fpu/s_logbf.c via #include.
10018         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
10019         powerpc32/power7/fpu/s_logbl.c via #include.
10021 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
10023         * README.libm: Remove file.
10025 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
10027         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
10028         count for x32.  Use R*_LP and omit operand-size suffix.
10030 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
10032         * shlib-versions: Move x86_64-.*-linux.* entries to ...
10033         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
10034         * sysdeps/x86_64/x32/shlib-versions: New file.
10036 2012-05-14  Roland McGrath  <roland@hack.frob.com>
10038         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
10039         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
10040         Use _dl_fatal_printf instead.
10042 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
10044         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
10045         set if not set by the user.  Do not allow for being unset.
10046         * sysdeps/unix/sysv/linux/configure: Regenerated.
10048 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
10050         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
10051         the `q' suffix from lea and replace .quad with ASM_ADDR.
10053 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
10055         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
10056         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
10057         instead of $17.
10058         (PTR_DEMANGLE): Likewise.
10060 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
10062         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
10063         (LP_OP): Likewise.
10064         (ASM_ADDR): Likewise.
10065         (RAX_LP): Likewise.
10066         (RBP_LP): Likewise.
10067         (RBX_LP): Likewise.
10068         (RCX_LP): Likewise.
10069         (RDI_LP): Likewise.
10070         (RSI_LP): Likewise.
10071         (RSP_LP): Likewise.
10072         (R8_LP): Likewise.
10073         (R9_LP): Likewise.
10074         (R10_LP): Likewise.
10075         (R10_LP): Likewise.
10076         (R11_LP): Likewise.
10077         (R12_LP): Likewise.
10078         (R13_LP): Likewise.
10079         (R14_LP): Likewise.
10080         (R15_LP): Likewise.
10082 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
10084         * sysdeps/x86_64/x32/dl-machine.h: New file.
10086 2012-05-14  Andreas Jaeger  <aj@suse.de>
10088         * manual/Makefile (subdir): Remove export of subdir.
10089         (all): Remove target.
10090         (.PHONY): Remove all from list.
10091         (mkinstalldirs): Remove.
10092         (.PHONY): Remove installdirs from list.
10093         ($(inst_infodir)/libc.info): Use make-target-directory.
10094         (installdirs): Remove.
10095         (subdir_%): Remove.
10096         (glibc-targets): Remove.
10097         (lib): Remove.
10098         (stubs): Remove.
10099         ($(objpfx)stubs ../po/manual.pot): Remove.
10100         ($(objpfx)stamp%): Remove.
10101         (make-target-directory): Remove.
10102         (subdir_install): Remove.
10103         (routines): Remove.
10104         (aux): Remove.
10105         (sources): Remove.
10106         (objects): Remove.
10107         (headers): Remove.
10109         [BZ #13750]
10110         * manual/.gitignore: Remove, it's not needed anymore.
10111         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
10112         all files in it.
10113         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
10114         directory.
10115         (texis): Renamed to $(objpfx)texis.
10116         (texis-path): New, contains path to generated files.
10117         (chapters.%): Use texis-path for complete path, add extra argument
10118         libc-texinfo.sh.
10119         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
10120         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
10121         (summary,texi, stamp-summary): Use complete path of
10122         files. Generate files in build dir.
10123         (dir-add.texi): Build in build dir.
10124         (libm-err.texi,stamp-libm-err): Likewise.
10125         (version.texi, stamp-version): Likewise.
10126         (.%c.texi): Likewise.
10127         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
10128         (mostlyclean): Remove target.
10129         (realclean): Remove target.
10130         (generated): Add new variable with contents from mostlyclean and
10131         realclean, remove entries duplicated in common-mostlyclean, add
10132         stamp-libm-err and stamp-version.
10133         (generated-dirs): Add libc directory.
10134         ($(inst_infodir)/libc.info): Install files from build dir.
10136         * manual/install.texi (Configuring and compiling): Adjust since
10137         the info files are not part of the tar ball anymore.
10139 2012-05-14  Andreas Jaeger  <aj@suse.de>
10141         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
10142         variable.
10144 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
10146         [BZ #13717]
10147         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
10148         to 2.2.0 where earlier.
10149         * sysdeps/unix/sysv/linux/configure: Regenerated.
10150         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
10151         Remove conditional code.
10152         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
10153         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
10154         Remove conditional code.
10155         [!__NR_lchown]: Likewise.
10156         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
10157         [__NR_lchown]: Likewise.
10158         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
10159         comment referencing __ASSUME_LCHOWN_SYSCALL.
10160         * sysdeps/unix/sysv/linux/i386/sigaction.c
10161         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10162         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10163         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
10164         Remove conditional code.
10165         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
10166         (__protocol_available): Remove #if 0 code.
10167         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
10168         conditional code.
10169         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
10170         * sysdeps/unix/sysv/linux/kernel-features.h
10171         (__ASSUME_GETCWD_SYSCALL): Don't define.
10172         (__ASSUME_REALTIME_SIGNALS): Likewise.
10173         (__ASSUME_PREAD_SYSCALL): Likewise.
10174         (__ASSUME_PWRITE_SYSCALL): Likewise.
10175         (__ASSUME_POLL_SYSCALL): Likewise.
10176         (__ASSUME_LCHOWN_SYSCALL): Likewise.
10177         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
10178         non-SPARC.
10179         (__ASSUME_SIOCGIFNAME): Don't define.
10180         (__ASSUME_MSG_NOSIGNAL): Likewise.
10181         (__ASSUME_SENDFILE): Define unconditionally.
10182         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
10183         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
10184         conditional code.
10185         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
10186         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
10187         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
10188         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
10189         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
10190         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
10191         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
10192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
10193         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10194         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
10196         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10197         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
10199         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10200         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
10202         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10203         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
10205         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10206         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
10208         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10209         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
10211         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10212         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
10214         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10215         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10216         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
10217         Remove conditional code.
10218         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10219         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
10220         Remove conditional code.
10221         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10222         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
10223         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
10224         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
10225         Remove conditional code.
10226         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10227         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
10228         Remove conditional code.
10229         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10230         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
10231         Remove conditional code.
10232         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10233         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
10234         Remove conditional code.
10235         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10236         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
10237         Remove conditional code.
10238         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10239         * sysdeps/unix/sysv/linux/sh/pwrite64.c
10240         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10241         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10242         * sysdeps/unix/sysv/linux/sigaction.c
10243         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10244         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10245         * sysdeps/unix/sysv/linux/sigpending.c
10246         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10247         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10248         * sysdeps/unix/sysv/linux/sigprocmask.c
10249         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10250         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10251         * sysdeps/unix/sysv/linux/sigsuspend.c
10252         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10253         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10254         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
10255         (__libc_missing_rt_sigs): Remove.
10256         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
10257         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
10258         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
10259         Remove conditional code.
10260         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
10261         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
10262         return 1.
10263         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
10264         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
10265         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
10266         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
10268 2012-05-14  Andreas Jaeger  <aj@suse.de>
10270         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
10271         it's not used in glibc.
10272         (__coshm1): Likewise.
10273         (__acosh1p): Likewise.
10274         (__sgn): Likewise.
10276         * manual/string.texi (Copying and Concatenation): Add missing
10277         variable in concat example.
10278         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
10280 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
10282         [BZ #14103]
10283         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
10284         __builtin_clzl with __builtin_clzll.
10286 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
10288         [BZ #14104]
10289         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
10290         libc_freeres_ptr.
10292 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
10294         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
10295         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
10296         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
10297         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
10299 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
10301         * NEWS: Update ia64 info.
10303 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
10305         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
10306         used as bcopy.
10308 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
10310         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
10311         * sysdeps/unix/syscalls.list (dup3): Likewise.
10312         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
10313         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
10315 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
10317         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
10318         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
10320 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
10322         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
10323         thread pointer.
10324         (TLS_IE): Use mov/add instead of movq/addq to load thread
10325         pointer.
10326         (TLS_GD_PREFIX): New.
10327         (TLS_GD): Use it.
10329 2012-05-11  David S. Miller  <davem@davemloft.net>
10331         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
10332         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
10333         (_FPU_SETCW): Likewise.
10335 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
10337         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
10338         is 32-byte aligned.
10340 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
10342         [BZ #11837]
10343         * iconvdata/gb18030.c: Update tables.
10344         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
10345         characters specially.
10346         (BODY for TO_LOOP): Add encoding of missing ranges.
10348 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
10350         [BZ #13673]
10351         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
10352         * sysdeps/mach/hurd/dup3.c: Likewise.
10353         * sysdeps/mach/hurd/readlinkat.c: Likewise.
10354         * sysdeps/powerpc/memmove.c:: Likewise.
10356 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
10358         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
10359         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
10361 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
10363         * elf/elf.h (R_X86_64_RELATIVE64): New.
10364         (R_X86_64_NUM): Updated.
10365         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
10366         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
10367         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
10368         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
10369         tst-quad1pie tst-quad2pie
10370         (modules-names): Add tst-quadmod1 tst-quadmod2.
10371         ($(objpfx)tst-quad1): New dependency.
10372         ($(objpfx)tst-quad2): Likewise.
10373         ($(objpfx)tst-quad1pie): Likewise.
10374         ($(objpfx)tst-quad2pie): Likewise.
10375         * sysdeps/x86_64/tst-quad1.c: New file.
10376         * sysdeps/x86_64/tst-quad1pie.c: New file.
10377         * sysdeps/x86_64/tst-quad2.c: Likewise.
10378         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
10379         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
10380         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
10381         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
10382         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
10384 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10386         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
10387         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
10388         * streams/stropts.h (t_scalar_t): Define type.
10390         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
10391         (_PATH_PRESERVE): Set to "/var/lib".
10392         (_PATH_RWHODIR): Set to "/var/spool/rwho".
10394         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
10395         instead of int.
10397         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
10398         if __dir_mkfile succeeded.
10400         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
10401         checking for _hurd_dtablesize.  Unlock it right after having
10402         finished _hurd_dtable allocation.
10404 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
10406         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
10407         * sysdeps/mach/hurd/configure: Regenerated.
10408         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
10409         special-casing to...
10410         * sysdeps/gnu/configure.in: ... this new file.
10411         * sysdeps/unix/sysv/linux/configure: Regenerated.
10412         * sysdeps/gnu/configure: New generated file.
10414         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
10415         for Linux: use nsec instead of usec, as well as:
10416         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
10417         members of type struct timespec.
10418         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
10419         New macros.
10420         (struct stat64): Likewise.
10421         (_STATBUF_ST_NSEC): New macro.
10422         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
10424         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
10425         __strtoul_internal rather than strtoul.
10427 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
10429         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
10430         and reject them.
10432 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10434         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
10435         which preserves existing values.
10436         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
10438 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
10440         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
10441         TIMEOUT values.  Return EINVAL for NFDS values either negative or
10442         greater than FD_SETSIZE.
10444 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10446         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
10447         allocated, call __vm_protect to finish enabling the existing space, and
10448         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
10449         allocate the remainder.
10451 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
10453         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
10454         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
10456 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10458         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
10459         sysdeps/mach/hurd/readlink.c.
10461         * posix/tst-sysconf.c (posix_options): Only use
10462         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
10463         _POSIX_SYNCHRONIZED_IO when they are defined
10464         * sysdeps/mach/hurd/bits/posix_opt.h:
10465         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
10466         (_XOPEN_REALTIME): Undefine macro.
10467         (_XOPEN_REALTIME_THREADS): Undefine macro.
10468         (_XOPEN_SHM): Undefine macro.
10469         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
10470         macro to -1.
10471         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
10472         macro to -1.
10473         (_POSIX_ASYNC_IO): Undefine macro.
10474         (_POSIX_PRIORITIZED_IO): Undefine macro.
10475         (_POSIX_SPIN_LOCKS): Define macro to -1.
10477         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
10478         SA_NODEFER, SA_RESETHAND.
10479         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
10480         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
10481         F_DUPFD_CLOEXEC.
10483 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
10485         * elf/Makefile (pldd-modules): Define unconditionally.
10487 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
10489         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
10491 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10493         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
10494         Return ENOENT when name is empty.
10495         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
10497 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
10499         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
10501         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
10503 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10505         Fix mlock in all cases except non-readable pages.
10506         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
10507         instead of VM_PROT_ALL as parameter to __vm_wire function.
10509         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
10510         (__mkdir): When path is `/', just fail with EEXIST.
10511         * sysdeps/mach/hurd/mkdirat.c: Likewise.
10513 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
10515         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
10516         <sys/uio.h> (for writev).
10517         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
10518         and <sys/param.h> (for MIN).
10520 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
10522         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
10523         REQUESTED_TIME.  Properly set the remaining time and return EINTR
10524         if interrupted.
10526 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
10528         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
10529         Depend on against $(link-rpcuserlibs).
10531 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10533         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
10534         (__libc_stack_end): Do not use attribute_relro.
10535         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
10536         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
10537         to libthread-provided value.
10538         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
10539         attribute_relro.
10541 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
10543         [BZ #3748]
10544         * bits/libc-lock.h (__libc_once_get): New macro.
10545         * sysdeps/mach/bits/libc-lock.h: Likewise.
10546         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
10547         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
10548         instead of using implementation details.
10550         * libio/fileops.c: Unconditionally include <kernel-features.h>.
10551         * libio/freopen.c: Likewise.
10552         * libio/freopen64.c: Likewise.
10553         * misc/syslog.c: Likewise.
10554         * nscd/connections.c: Likewise.
10555         * nscd/netgroupcache.c: Likewise.
10556         * sysdeps/posix/getcwd.c: Likewise.
10558 2012-05-10  Roland McGrath  <roland@hack.frob.com>
10560         * math/w_ilogbf.c: Add #include <limits.h>.
10562 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10564         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
10565         path instead of returning without unlocking.
10567         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
10568         immediate-write ioctls.
10569         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
10571 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
10573         * sysdeps/mach/hurd/i386/init-first.c (init): Use
10574         __builtin_frame_address instead of making assumptions about the
10575         location of the return address relative to DATA.  Force early load of
10576         the return address.
10577         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
10578         __builtin_frame_address.
10580         dup3 for GNU Hurd.
10581         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
10582         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
10583         implement dup3 and do some further code clean-ups.
10584         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
10585         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
10587 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10589         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
10591         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
10592         HURD_CRITICAL_END around holding _hurd_dtable_lock.
10593         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
10594         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
10595         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
10596         d->port.lock.
10598         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
10599         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
10600         when handler == SIG_ERR, not when handler != SIG_ERR.
10602 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
10604         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
10605         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
10606         definitions.
10608         accept4 for GNU Hurd.
10609         * include/sys/socket.h (__libc_accept4): New prototype.
10610         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
10611         to implement __libc_accept4.
10612         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
10613         __libc_accept4.
10614         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
10616         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
10617         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
10618         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
10619         signal-defines.sym.
10621 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10623         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
10625 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
10627         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
10628         assertion on O_CLOEXEC flag.
10629         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
10630         * hurd/intern-fd.c: Likewise.
10631         * hurd/port2fd.c: Likewise.
10633 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10635         [BZ #3906]
10636         * bits/in.h (IPV6_PKTINFO): Define new macro.
10637         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
10639 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10641         [BZ #13954]
10642         [BZ #13955]
10643         [BZ #13956]
10644         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
10645         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10646         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
10647         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
10648         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10649         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
10650         * math/libm-test.inc (logb_test) : Additional logb tests.
10652 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
10653             Andreas Jaeger  <aj@suse.de>
10655         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
10656         * configure: Regenerated.
10657         * config.h.in (LINK_OBSOLETE_RPC): New macro.
10658         * config.make.in (link-obsolete-rpc): New substituted variable.
10659         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
10660         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
10661         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
10662         (shared-only-routines): Don't set it under [link-obsolete-rpc],
10663         so that libc.a contains the symbols.
10664         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
10665         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
10666         * sunrpc/auth_none.c: Likewise.
10667         * sunrpc/auth_unix.c: Likewise.
10668         * sunrpc/authdes_prot.c: Likewise.
10669         * sunrpc/authuxprot.c: Likewise.
10670         * sunrpc/clnt_gen.c: Likewise.
10671         * sunrpc/clnt_perr.c: Likewise.
10672         * sunrpc/clnt_raw.c: Likewise.
10673         * sunrpc/clnt_simp.c: Likewise.
10674         * sunrpc/clnt_tcp.c: Likewise.
10675         * sunrpc/clnt_udp.c: Likewise.
10676         * sunrpc/clnt_unix.c: Likewise.
10677         * sunrpc/des_crypt.c: Likewise.
10678         * sunrpc/des_soft.c: Likewise.
10679         * sunrpc/get_myaddr.c: Likewise.
10680         * sunrpc/key_call.c: Likewise.
10681         * sunrpc/key_prot.c: Likewise.
10682         * sunrpc/netname.c: Likewise.
10683         * sunrpc/pm_getmaps.c: Likewise.
10684         * sunrpc/pm_getport.c: Likewise.
10685         * sunrpc/pmap_clnt.c: Likewise.
10686         * sunrpc/pmap_prot.c: Likewise.
10687         * sunrpc/pmap_prot2.c: Likewise.
10688         * sunrpc/pmap_rmt.c: Likewise.
10689         * sunrpc/publickey.c: Likewise.
10690         * sunrpc/rpc_cmsg.c: Likewise.
10691         * sunrpc/rpc_common.c: Likewise.
10692         * sunrpc/rpc_dtable.c: Likewise.
10693         * sunrpc/rpc_prot.c: Likewise.
10694         * sunrpc/rpc_thread.c: Likewise.
10695         * sunrpc/rtime.c: Likewise.
10696         * sunrpc/svc.c: Likewise.
10697         * sunrpc/svc_auth.c: Likewise.
10698         * sunrpc/svc_raw.c: Likewise.
10699         * sunrpc/svc_run.c: Likewise.
10700         * sunrpc/svc_tcp.c: Likewise.
10701         * sunrpc/svc_udp.c: Likewise.
10702         * sunrpc/svc_unix.c: Likewise.
10703         * sunrpc/svcauth_des.c: Likewise.
10704         * sunrpc/xcrypt.c: Likewise.
10705         * sunrpc/xdr.c: Likewise.
10706         * sunrpc/xdr_array.c: Likewise.
10707         * sunrpc/xdr_float.c: Likewise.
10708         * sunrpc/xdr_intXX_t.c: Likewise.
10709         * sunrpc/xdr_mem.c: Likewise.
10710         * sunrpc/xdr_rec.c: Likewise.
10711         * sunrpc/xdr_ref.c: Likewise.
10712         * sunrpc/xdr_sizeof.c: Likewise.
10713         * sunrpc/xdr_stdio.c: Likewise.
10715 2012-05-10  Roland McGrath  <roland@hack.frob.com>
10717         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
10718         change.  Update copyright years.
10720 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
10722         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
10724 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
10725             Joseph Myers  <joseph@codesourcery.com>
10726             Paul Pluzhnikov  <ppluzhnikov@google.com>
10728         [BZ #14012]
10729         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
10730         requiring rpcgen.
10731         [cross-compiling] (extra-libs): Likewise.
10732         [cross-compiling] (extra-libs-others): Likewise.
10733         [cross-compiling] (librpcsvc-routines): Likewise.
10734         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
10735         [cross-compiling] (omit-deps): Likewise.
10736         (sunrpc-CPPFLAGS): New variable.
10737         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
10738         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
10739         (cross-rpcgen-objs): New variable.
10740         (extra-objs): Append $(cross-rpcgen-objs).
10741         ($(cross-rpcgen-objs)): New rule.
10742         ($(objpfx)cross-rpcgen): Likewise.
10743         (rpcgen-cmd): Define to use $(built-program-file).  Expand
10744         comment.
10745         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
10746         ($(objpfx)x%.stmp): Likewise.
10747         * sunrpc/proto.h [IS_IN_build] (_): Define.
10748         [IS_IN_build] (_libc_intl_domainname): Likewise.
10750 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
10752         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
10753         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
10754         and R_X86_64_TPOFF64.
10756 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
10758         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
10759         sysdeps/unix/sysv/syscalls.list.
10760         (stime): Likewise.
10761         (utime): Likewise.
10762         * sysdeps/unix/sysv/syscalls.list: Remove file.
10764 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
10766         [BZ #3440]
10767         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
10768         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
10769         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
10770         (__LC_IDENTIFICATION): Make these macros useful in #if
10771         expressions, as required by C99.
10773 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
10775         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
10776         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
10777         after this.
10779 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
10781         * stdlib/longlong.h: Updated from GCC.
10783 2012-05-09  Andreas Jaeger  <aj@suse.de>
10785         * nscd/nscd.c (run_modes): Make named enum, reorder so that
10786         default is first entry.
10787         (run_mode): Set type.
10788         (main): Remove informal message about syslog.
10789         (options): Fix typo.
10791         [BZ #14053]
10792         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
10793         to asm.
10794         (lrint): Likewise.
10795         (llrintf): Likewise.
10796         (llrint): Likewise.
10797         (rint): Likewise.
10798         (rintf): Likewise.
10799         (nearbyint): Likewise.
10800         (nearbyintf): Likewise.
10802 2012-05-09  Andreas Jaeger  <aj@suse.de>
10803             Pedro Alves  <palves@redhat.com>
10805         * nscd/nscd.c (run_mode): Use enum.
10806         (main): Cleanup coding style issue.
10808 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
10809             Andreas Jaeger  <aj@suse.de>
10811         * nscd/nscd.c (go_background): Replaced with...
10812         (run_mode): ... this.
10813         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
10814         (options): Add -F --foreground.
10815         (main): Implement it.
10816         (parse_opt): Parse it.
10818 2012-05-09  Andreas Jaeger  <aj@suse.de>
10820         [BZ #14083]
10821         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
10822         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
10823         -Wconversion warning.
10824         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
10825         Likewise.
10827 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
10829         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
10830         == 0.
10831         (LC_ALL): Use macro-int-constant.
10832         (LC_COLLATE): Likewise.
10833         (LC_CTYPE): Likewise.
10834         (LC_MESSAGES): Likewise.
10835         (LC_MONETARY): Likewise.
10836         (LC_NUMERIC): Likewise.
10837         (LC_TIME): Likewise.
10838         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
10839         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
10840         [ISO || ISO99 || ISO11] (*_t): Do not allow.
10841         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
10842         Specify type.
10843         [C99-based standards] (float_t): Expect type.
10844         [C99-based standards] (double_t): Expect type.
10845         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
10846         type.
10847         [C99-based standards] (HUGE_VALL): Likewise.
10848         [C99-based standards] (INFINITY): Likewise.
10849         [C99-based standards] (NAN): Likewise.
10850         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
10851         [C99-based standards] (FP_NAN): Likewise.
10852         [C99-based standards] (FP_NORMAL): Likewise.
10853         [C99-based standards] (FP_SUBNORMAL): Likewise.
10854         [C99-based standards] (FP_ZERO): Likewise.
10855         [C99-based standards] (FP_FAST_FMA): Use
10856         optional-macro-int-constant.  Specify type.  Require == 1.
10857         [C99-based standards] (FP_FAST_FMAF): Likewise.
10858         [C99-based standards] (FP_FAST_FMAL): Likewise.
10859         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
10860         [C99-based standards] (FP_ILOGBNAN): Likewise.
10861         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
10862         Specify type.
10863         [C99-based standards] (MATH_ERREXCEPT): Likewise.
10864         [C99-based standards] (math_errhandling): Specify type.
10865         [ISO99 || ISO11] (signgam): Do not allow.
10866         [non-C99-based standards] (copysignf): Do not allow.
10867         [non-C99-based standards] (exp2f): Likewise.
10868         [non-C99-based standards] (log2f): Likewise.
10869         [non-C99-based standards] (modff): Allow.
10870         [non-C99-based standards] (erff): Do not allow.
10871         [non-C99-based standards] (erfcf): Likewise.
10872         [non-C99-based standards] (gammaf): Likewise.
10873         [non-C99-based standards] (hypotf): Likewise.
10874         [non-C99-based standards] (j0f): Likewise.
10875         [non-C99-based standards] (j1f): Likewise.
10876         [non-C99-based standards] (jnf): Likewise.
10877         [non-C99-based standards] (lgammaf): Likewise.
10878         [non-C99-based standards] (tgammaf): Likewise.
10879         [non-C99-based standards] (y0f): Likewise.
10880         [non-C99-based standards] (y1f): Likewise.
10881         [non-C99-based standards] (ynf): Likewise.
10882         [non-C99-based standards] (isnanf): Likewise.
10883         [non-C99-based standards] (acoshf): Likewise.
10884         [non-C99-based standards] (asinhf): Likewise.
10885         [non-C99-based standards] (atanhf): Likewise.
10886         [non-C99-based standards] (cbrtf): Likewise.
10887         [non-C99-based standards] (expm1f): Likewise.
10888         [non-C99-based standards] (ilogbf): Likewise.
10889         [non-C99-based standards] (log1pf): Likewise.
10890         [non-C99-based standards] (logbf): Likewise.
10891         [non-C99-based standards] (nextafterf): Likewise.
10892         [non-C99-based standards] (remainderf): Likewise.
10893         [non-C99-based standards] (rintf): Likewise.
10894         [non-C99-based standards] (scalbf): Likewise.
10895         [non-C99-based standards] (copysignl): Likewise.
10896         [non-C99-based standards] (exp2l): Likewise.
10897         [non-C99-based standards] (log2l): Likewise.
10898         [non-C99-based standards] (modfl): Allow.
10899         [non-C99-based standards] (erfl): Do not allow.
10900         [non-C99-based standards] (erfcl): Likewise.
10901         [non-C99-based standards] (gammal): Likewise.
10902         [non-C99-based standards] (hypotl): Likewise.
10903         [non-C99-based standards] (j0l): Likewise.
10904         [non-C99-based standards] (j1l): Likewise.
10905         [non-C99-based standards] (jnl): Likewise.
10906         [non-C99-based standards] (lgammal): Likewise.
10907         [non-C99-based standards] (tgammal): Likewise.
10908         [non-C99-based standards] (y0l): Likewise.
10909         [non-C99-based standards] (y1l): Likewise.
10910         [non-C99-based standards] (ynl): Likewise.
10911         [non-C99-based standards] (isnanl): Likewise.
10912         [non-C99-based standards] (acoshl): Likewise.
10913         [non-C99-based standards] (asinhl): Likewise.
10914         [non-C99-based standards] (atanhl): Likewise.
10915         [non-C99-based standards] (cbrtl): Likewise.
10916         [non-C99-based standards] (expm1l): Likewise.
10917         [non-C99-based standards] (ilogbl): Likewise.
10918         [non-C99-based standards] (log1pl): Likewise.
10919         [non-C99-based standards] (logbl): Likewise.
10920         [non-C99-based standards] (nextafterl): Likewise.
10921         [non-C99-based standards] (remainderl): Likewise.
10922         [non-C99-based standards] (rintl): Likewise.
10923         [non-C99-based standards] (scalbl): Likewise.
10924         [ISO || ISO99 || ISO11] (*_t): Do not allow.
10925         [non-C99-based standards] (FP_*): Do not allow.
10926         [C99-based standards] (FP_*): Change to
10927         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
10928         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10929         allow.
10930         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
10931         (SIG_ERR): Likewise.
10932         [X/Open-based standards] (SIG_HOLD): Likewise.
10933         (SIG_IGN): Likewise.
10934         (SIGABRT): Use macro-int-constant.  Specify type.  Require
10935         positive value.
10936         (SIGFPE): Likewise.
10937         (SIGILL): Likewise.
10938         (SIGINT): Likewise.
10939         (SIGSEGV): Likewise.
10940         (SIGTER): Likewise.
10941         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
10942         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
10943         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
10944         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
10945         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
10946         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
10947         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
10948         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
10949         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
10950         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
10951         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
10952         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
10953         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
10954         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
10955         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
10956         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
10957         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
10958         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
10959         [X/Open-based standards] (SIGTRAP): Likewise.
10960         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
10961         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
10962         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
10963         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
10964         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10965         allow.
10967 2012-05-08  Ian Wienand  <ianw@vmware.com>
10969         [BZ #14080]
10970         * time/tzset.c (__tzset_parse_tz): Update default rules for
10971         daylight time changes in the Energy Policy Act of 2005.
10973 2012-05-09  Andreas Jaeger  <aj@suse.de>
10975         [BZ #13983]
10976         * elf/ldconfig.c (parse_conf): Change string to make clear that
10977         ldconfig only issued a warning if ld.so.conf does not exist.
10979 2012-05-08  David S. Miller  <davem@davemloft.net>
10981         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
10982         movxtod instead of popping the value on the stack.
10984         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10986 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
10988         * config.h.in: Add HAVE_ARM_PCS_VFP.
10990 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
10992         [BZ #13979]
10993         * include/features.h: Warn if user requests __FORTIFY_SOURCE
10994         checking but the checks are disabled for any reason.
10996 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
10998         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
10999         and ELF64_R_TYPE with ELFW(R_TYPE).
11001 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
11003         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
11004         (ulimit): Likewise.
11006         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
11007         (settimeofday): Likewise.
11009 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
11011         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
11012         a struct th_u2 inside the union, and move tu_block/tu_code into
11013         a new th_u3 union of tu_block/tu_code inside of that.  Move
11014         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
11015         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
11016         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
11017         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
11018         (th_stuff): Change to th_u1.tu_stuff.
11019         (th_data): Define.
11020         (th_msg): Change to th_u1.th_u2.tu_data.
11022 2012-05-07  David S. Miller  <davem@davemloft.net>
11024         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11026         [BZ #14074]
11027         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
11028         (SETUP_PIC_REG): Use it.
11029         (SETUP_PIC_REG_LEAF): Use it.
11031 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
11033         [BZ #13885]
11034         [BZ #13923]
11035         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11036         USE_AS_EXPM1L.
11037         (EXPL_FINITE): Likewise.
11038         (FLDLOG): Likewise.
11039         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
11040         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
11041         e_expl.S.
11042         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11043         USE_AS_EXPM1L.
11044         (EXPL_FINITE): Likewise.
11045         (FLDLOG): Likewise.
11046         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
11047         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
11048         e_expl.S.
11049         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
11050         test of -max_value argument for long double.
11051         * sysdeps/i386/fpu/libm-test-ulps: Update.
11052         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11054 2012-05-06  David S. Miller  <davem@davemloft.net>
11056         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
11057         quad soft-float symbols whose references which are compiler
11058         generated.
11059         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
11061 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
11063         [BZ #13884]
11064         [BZ #13914]
11065         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11066         USE_AS_EXP10L.
11067         (EXPL_FINITE): Likewise.
11068         (FLDLOG): Likewise.
11069         (c0): Likewise.
11070         (c1): Likewise.
11071         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
11072         Adjust comments for base varying.
11073         (__expl_finite): Change alias to EXPL_FINITE.
11074         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
11075         e_expl.S.
11076         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
11077         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
11078         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
11079         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
11080         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11081         USE_AS_EXP10L.
11082         (EXPL_FINITE): Likewise.
11083         (FLDLOG): Likewise.
11084         (c0): Likewise.
11085         (c1): Likewise.
11086         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
11087         Adjust comments for base varying.
11088         (__expl_finite): Change alias to EXPL_FINITE.
11089         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
11090         tests for bugs.
11091         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11093         [BZ #14064]
11094         * math/libm-test.inc (check_float_internal): Correct ulp
11095         calculation for subnormal expected results.
11097 2012-05-06  Andreas Jaeger  <aj@suse.de>
11099         * Makeconfig (+math-flags): New, set to -frounding-math.
11100         (+cflags): Add +math-flags so that all of glibc gets compiled with
11101         it.
11103         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
11105 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
11107         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
11108         Disable one test.
11110         [BZ #13787]
11111         [BZ #13922]
11112         [BZ #14036]
11113         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
11114         (__ieee754_expl): Allow for and saturate large arguments.
11115         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
11116         (u_threshold): Likewise.
11117         (__exp): Call __ieee754_exp before checking for overflow and
11118         underflow.
11119         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
11120         (u_threshold): Likewise.
11121         (__expf): Call __ieee754_expf before checking for overflow and
11122         underflow.
11123         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
11124         (u_threshold): Likewise.
11125         (__expl): Call __ieee754_expl before checking for overflow and
11126         underflow.
11127         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
11128         (__ieee754_expl): Allow for and saturate large arguments.
11129         * math/libm-test.inc (exp_test): Add another test.  Do not allow
11130         missing overflow exception on overflow.
11131         (expm1_test): Do not allow missing overflow exception on overflow.
11133         * sysdeps/i386/fpu/e_expl.c: Move to ...
11134         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
11135         rather than using inline asm.
11136         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
11137         * sysdeps/x86_64/fpu/e_expl.S: Copy from
11138         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
11140         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
11141         (nice): Likewise.
11142         (poll): Likewise.
11143         (signal): Likewise.
11144         (time): Likewise.
11145         (times): Likewise.
11147 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
11149         * sysdeps/unix/syscalls.list (adjtime): Add entry from
11150         sysdeps/unix/common/syscalls.list.
11151         (fchmod): Likewise.
11152         (fchown): Likewise.
11153         (ftruncate): Likewise.
11154         (getrusage): Likewise.
11155         (gettimeofday): Likewise.
11156         (setpgid): Likewise.
11157         (setregid): Likewise.
11158         (setreuid): Likewise.
11159         (sigaction): Likewise.
11160         (truncate): Likewise.
11161         (vhangup): Likewise.
11162         * sysdeps/unix/common/syscalls.list: Remove file.
11163         * sysdeps/unix/bsd/Implies: Don't include unix/common.
11164         * sysdeps/unix/sysv/linux/Implies: Likewise.
11166 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
11168         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
11169         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
11170         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
11171         Moved to ...
11172         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
11173         Here.
11174         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
11175         to ...
11176         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
11177         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
11178         to ...
11179         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
11180         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
11181         to ...
11182         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
11183         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
11184         to ...
11185         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
11186         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
11187         to ...
11188         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
11189         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
11190         to ...
11191         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
11192         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
11193         to ...
11194         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
11195         Here.
11196         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
11197         to ...
11198         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
11199         Here.
11200         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
11201         to ...
11202         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
11203         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
11204         Moved to ...
11205         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
11206         Here.
11207         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
11208         to ...
11209         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
11211 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
11213         * sysdeps/unix/common/bits/dirent.h: Remove file.
11214         * sysdeps/unix/common/bits/fcntl.h: Likewise.
11216         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
11217         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
11218         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
11219         * sysdeps/unix/bsd/isatty.c: Likewise.
11220         * sysdeps/unix/bsd/tcdrain.c: Likewise.
11221         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
11222         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
11224 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11226         [BZ #13563]
11227         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
11228         long double comparison inaccuracies.
11229         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
11230         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11232 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
11234         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
11235         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
11237 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
11239         [BZ #14049]
11240         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
11241         nonzero digits before rounding a hex value.
11242         * stdlib/tst-strtod.c (tests): Add another test.
11244 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11246         * sysdeps/s390/fpu/libm-test-ulps: Update.
11248 2012-05-03  Andreas Jaeger  <aj@suse.de>
11250         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
11251         does not get optimized out.
11252         (malloc_opt_barrier): New.
11254 2012-05-03  Andreas Jaeger  <aj@suse.de>
11255             Roland McGrath  <roland@hack.frob.com>
11257         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
11258         intermediate file deletion.
11259         (generated): Add .symlist files.
11261 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
11263         [BZ #13775]
11264         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
11265         Redirect under this condition.
11266         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
11267         [__USE_GNU] (__dprintf_chk): Not under this condition.
11268         [__USE_GNU] (__vdprintf_chk): Likewise.
11269         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
11270         under this condition.
11271         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
11272         [__USE_XOPEN2K8] (dprintf): Define under this condition.
11273         [__USE_XOPEN2K8] (vdprintf): Likewise.
11274         [__USE_GNU] (__dprintf_chk): Not under this condition.
11275         [__USE_GNU] (__vdprintf_chk): Likewise.
11276         [__USE_GNU] (dprintf): Likewise.
11277         [__USE_GNU] (vdprintf): Likewise.
11279 2012-05-03  Roland McGrath  <roland@hack.frob.com>
11281         * elf/Makefile (common-generated): Set this instead of generated for
11282         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
11283         $(all-built-dso)-derived lists.
11285 2012-05-03  Andreas Jaeger  <aj@suse.de>
11287         * sysdeps/i386/fpu/libm-test-ulps: Update.
11289         * FAQ: Removed.
11290         * FAQ.in: Likewise.
11291         * scripts/gen-FAQ.pl: Likewise.
11292         * manual/install.texi (Installation): Point to online location of
11293         FAQ.
11294         * Makefile (files-for-dist): Remove FAQ.
11295         (FAQ): Remove.
11297 2012-05-02  Allan McRae  <allan@archlinux.org>
11299         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
11300         (LDFLAGS-reldepmod5.so): Likewise.
11301         (LDFLAGS-reldep6mod1.so): Likewise.
11302         (LDFLAGS-reldep6mod4.so): Likewise.
11303         (LDFLAGS-reldep8mod3.so): Likewise.
11304         (LDFLAGS-unload4mod1.so): Likewise.
11305         (LDFLAGS-unload4mod2.so): Likewise.
11306         (LDFLAGS-tst-initorder): Likewise.
11307         (LDFLAGS-tst-initordera2.so): Likewise.
11308         (LDFLAGS-tst-initordera3.so): Likewise.
11309         (LDFLAGS-tst-initordera4.so): Likewise.
11310         (LDFLAGS-tst-initorderb2.so): Likewise.
11311         (LDFLAGS-noload): Likewise.
11312         (LDFLAGS-next): Likewise.
11313         (LDFLAGS-order2mod1.so): Likewise.
11314         (LDFLAGS-order2mod2.so): Likewise.
11315         (LDFLAGS-tst-initorder2): Likewise.
11316         (LDFLAGS-tst-initorder2a.so): Likewise.
11317         (LDFLAGS-tst-initorder2b.so): Likewise.
11318         (LDFLAGS-tst-initorder2c.so): Likewise.
11319         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
11321 2012-05-02  David S. Miller  <davem@davemloft.net>
11323         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11325 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
11327         [BZ #14055]
11328         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
11330 2012-05-02  Andreas Jaeger  <aj@suse.de>
11332         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
11333         since we manipulate rounding mode.
11334         (CPPFLAGS-test-idouble.c): Likewise.
11335         (CPPFLAGS-test-ifloat.c): Likewise.
11336         (CFLAGS-test-ldouble.c): Likewise.
11337         (CFLAGS-test-double.c): Likewise.
11338         (CFLAGS-test-float.c): Likewise.
11339         (CFLAGS-test-misc.c): Likewise.
11340         (CFLAGS-test-test-fenv.c): Likewise.
11342 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11344         [BZ #2550]
11345         [BZ #2570]
11346         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
11347         comparisons to determine direction to adjust input.
11349 2012-05-01  Roland McGrath  <roland@hack.frob.com>
11351         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
11352         output to the target.
11354         * scripts/localplt.awk: New file.
11355         * elf/Makefile ($(objpfx)check-localplt): Target removed.
11356         (check-localplt-CFLAGS): Variable removed.
11357         ($(all-built-dso:=.jmprel)): New static pattern rule.
11358         (generated): Add those targets.
11359         (localplt-built-dso): New variable.
11360         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
11362         * elf/check-localplt.c: File removed.
11364         * scripts/check-execstack.awk: New file.
11365         * elf/Makefile ($(objpfx)check-execstack): Target removed.
11366         (check-execstack-CFLAGS): Variable removed.
11367         ($(objpfx)check-execstack.h): Target removed.
11368         ($(objpfx)execstack-default): New target.
11369         (generated): Add that instead of check-execstack.h.
11370         ($(all-built-dso:=.phdr)): New static pattern rule.
11371         (generated): Add those targets.
11372         * elf/check-execstack.c: File removed.
11374         * scripts/check-textrel.awk: New file.
11375         * elf/Makefile ($(objpfx)check-textrel): Target removed.
11376         (check-textrel-CFLAGS): Variable removed.
11377         (all-built-dso): Use := to define.o
11378         ($(all-built-dso:=.dyn)): New static pattern rule.
11379         (generated): Add those targets.
11380         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
11381         * config.make.in (READELF): New substituted variable.
11382         * elf/check-textrel.c: File removed.
11384 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
11386         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
11387         allow.
11388         * conform/data/ctype.h-data [C99-based standards] (isblank):
11389         Expect function.
11390         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
11391         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
11392         [ISO || ISO99 || ISO11] (*_t): Do not allow.
11393         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
11394         Specify type.  Require positive value.
11395         (EILSEQ): Likewise.
11396         (ERANGE): Likewise.
11397         [ISO || POSIX] (EILSEQ): Do not expect.
11398         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
11399         Specify type.  Require positive value.
11400         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
11401         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
11402         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
11403         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
11404         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
11405         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
11406         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
11407         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
11408         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
11409         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
11410         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
11411         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
11412         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
11413         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
11414         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
11415         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
11416         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
11417         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
11418         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
11419         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
11420         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
11421         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
11422         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
11423         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
11424         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
11425         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
11426         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
11427         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
11428         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
11429         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
11430         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
11431         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
11432         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
11433         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
11434         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
11435         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
11436         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
11437         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
11438         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
11439         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
11440         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
11441         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
11442         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
11443         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
11444         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
11445         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
11446         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
11447         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
11448         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
11449         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
11450         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
11451         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
11452         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
11453         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
11454         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
11455         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
11456         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
11457         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
11458         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
11459         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
11460         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
11461         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
11462         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
11463         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
11464         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
11465         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
11466         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
11467         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
11468         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
11469         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
11470         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
11471         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
11472         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
11473         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
11474         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
11475         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
11476         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
11477         Require >= 2.
11478         (FLT_ROUNDS): Expect as macro, not constant.
11479         (FLT_MANT_DIG): Use macro-int-constant.
11480         (DBL_MANT_DIG): Likewise.
11481         (LDBL_MANT_DIG): Likewise.
11482         (FLT_DIG): Likewise.
11483         (DBL_DIG): Likewise.
11484         (LDBL_DIG): Likewise.
11485         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
11486         (DBL_MIN_EXP): Likewise.
11487         (LDBL_MIN_EXP): Likewise.
11488         (FLT_MAX_EXP): Use macro-int-constant.
11489         (DBL_MAX_EXP): Likewise.
11490         (LDBL_MAX_EXP): Likewise.
11491         (FLT_MAX_10_EXP): Likewise.
11492         (DBL_MAX_10_EXP): Likewise.
11493         (LDBL_MAX_10_EXP): Likewise.
11494         (FLT_MAX): Use macro-constant.
11495         (DBL_MAX): Likewise.
11496         (LDBL_MAX): Likewise.
11497         (FLT_EPSILON): Use macro-constant.  Give upper bound.
11498         (DBL_EPSILON): Likewise.
11499         (LDBL_EPSILON): Likewise.
11500         (FLT_MIN): Likewise.
11501         (DBL_MIN): Likewise.
11502         (LDBL_MIN): Likewise.
11503         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
11504         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
11505         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
11506         [ISO11] (FLT_HAS_SUBNORM): Likewise.
11507         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
11508         [ISO11] (DBL_DECIMAL_DIG): Likewise.
11509         [ISO11] (FLT_DECIMAL_DIG): Likewise.
11510         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
11511         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
11512         [ISO11] (FLT_TRUE_MIN): Likewise.
11513         [ISO11] (LDBL_TRUE_MIN): Likewise.
11514         [ISO || ISO99 || ISO11] (*_t): Do not allow.
11515         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
11516         (SCHAR_MIN): Use macro-int-constant.  Specify type.
11517         (SCHAR_MAX): Likewise.
11518         (UCHAR_MAX): Likewise.
11519         (CHAR_MIN): Likewise.
11520         (CHAR_MAX): Likewise.
11521         (MB_LEN_MAX): Use macro-int-constant.
11522         (SHRT_MIN): Use macro-int-constant.  Specify type.
11523         (SHRT_MAX): Likewise.
11524         (USHRT_MAX): Likewise.
11525         (INT_MAX): Likewise.
11526         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
11527         bound negative.
11528         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
11529         bound with "U".
11530         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
11531         bound with "L".
11532         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
11533         bound negative.  Suffix upper bound with "L".
11534         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
11535         bound with "UL".
11536         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
11537         Specify type.
11538         [C99-based standards] (LLONG_MAX): Likewise.
11539         [C99-based standards] (ULLONG_MAX): Likewise.
11540         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
11541         == 0.
11542         [ISO11] (max_align_t): Require type.
11543         [ISO || ISO99 || ISO11] (*_t): Do not allow.
11545         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
11546         from $CFLAGS, without defining away __attribute__ calls.
11547         (checknamespace): Use $CFLAGS_namespace.
11549         * conform/conformtest.pl (@keywords): Only include C99 keywords
11550         for standards based on C99 or C11.
11552         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
11553         Disable tests.
11554         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
11555         UNIX98]: Likewise.
11557         * conform/conformtest.pl: Handle "macro-int-constant" and test for
11558         usability of symbols in #if.
11560         * conform/conformtest.pl: If macro or constant types start
11561         "promoted:", expect the symbol to be of the following type
11562         promoted by the integer promotions.
11564         * conform/conformtest.pl: Parse all "constant" and "macro" lines
11565         in one place.  Also handle "macro-constant".
11567         * conform/conformtest.pl: Only accept expected macro values with
11568         "==".  Parse all "macro" lines in one place.
11569         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
11571         * conform/conformtest.pl: Handle braced types on "constant" lines
11572         instead of handling "typed-constant".
11573         * conform/data/signal.h-data: Use "constant" instead of
11574         "typed-constant".
11576         * conform/conformtest.pl: Handle "optional-" at start of lines in
11577         one place rather than duplicating several cases.  Handle each
11578         format of "macro" line with initial "optional-".
11580         * conform/conformtest.pl: Only accept expected constant or
11581         optional-constant values with "==".  Parse all "constant" lines in
11582         one place.  Parse all "optional-constant" lines in one place.
11583         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
11584         * conform/data/fmtmsg.h-data: Likewise.
11585         * conform/data/netinet/in.h-data: Likewise.
11586         * conform/data/tar.h-data: Likewise.
11587         * conform/data/limits.h-data: Use "==" form on "constant" and
11588         "optional-constant" lines.
11590         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
11591         Use -std=c99 for XOPEN2K.
11592         (@knownproblems): Remove.
11593         (newtoken): Don't check %isknown.
11595         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
11596         Do not expect macro.
11597         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
11598         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
11599         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
11600         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
11601         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
11602         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
11603         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
11604         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
11605         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
11606         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
11607         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
11608         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
11609         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
11610         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
11611         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
11612         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
11613         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
11614         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
11615         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
11616         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
11617         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
11618         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
11619         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
11620         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
11621         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
11622         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
11623         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
11624         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
11625         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
11626         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
11627         [XPG3] (acosh): Likewise.
11628         [XPG3] (asinh): Likewise.
11629         [XPG3] (atanh): Likewise.
11630         [XPG3] (cbrt): Likewise.
11631         [XPG3] (expm1): Likewise.
11632         [XPG3] (ilogb): Likewise.
11633         [XPG3] (log1p): Likewise.
11634         [XPG3] (logb): Likewise.
11635         [XPG3] (nextafter): Likewise.
11636         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
11637         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
11638         [XPG3] (remainder): Likewise.
11639         [XPG3] (rint): Likewise.
11640         [XPG3 || XPG4 || UNIX98] (round): Likewise.
11641         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
11642         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
11643         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
11644         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
11645         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
11646         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
11647         [UNIX98 || XOPEN2K] (scalb): Expect.
11648         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
11649         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
11650         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
11651         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
11652         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
11653         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
11654         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
11655         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
11656         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
11657         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
11658         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
11659         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
11660         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
11661         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
11662         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
11663         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
11664         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
11665         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
11666         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
11667         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
11668         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
11669         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
11670         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
11671         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
11672         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
11673         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
11674         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
11675         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
11676         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
11677         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
11678         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
11679         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
11680         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
11681         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
11682         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
11683         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
11684         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
11685         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
11686         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
11687         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
11688         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
11689         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
11690         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
11691         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
11692         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
11693         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
11694         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
11695         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
11696         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
11697         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
11698         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
11699         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
11700         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
11701         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
11702         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
11703         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
11704         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
11705         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
11706         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
11707         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
11708         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
11709         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
11710         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
11711         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
11712         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
11713         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
11714         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
11715         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
11716         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
11717         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
11718         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
11719         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
11720         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
11721         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
11722         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
11723         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
11724         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
11725         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
11726         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
11727         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
11728         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
11729         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
11730         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
11731         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
11732         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
11733         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
11734         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
11735         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
11736         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
11737         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
11738         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
11739         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
11740         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
11741         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
11742         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
11743         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
11744         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
11745         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
11746         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
11747         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
11748         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
11749         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
11750         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
11751         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
11752         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
11753         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
11754         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
11755         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
11756         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
11757         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
11758         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
11759         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
11760         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
11761         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
11762         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
11763         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
11764         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
11765         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
11766         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
11767         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
11768         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
11769         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
11770         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
11771         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
11772         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
11773         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
11774         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
11775         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
11776         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
11777         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
11778         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
11779         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
11780         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
11781         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
11782         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
11783         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
11784         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
11786         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
11787         _XOPEN_SOURCE_EXTENDED for XPG4.
11789         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
11791         * Makeconfig (localtime): Remove variable.
11792         (inst_localtime-file): Likewise.
11794 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
11796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
11797         Update.
11798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11799         Update.
11800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
11801         Update.
11802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11803         Update.
11804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
11805         Update.
11806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
11807         Update.
11808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11809         Update.
11810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
11811         Update.
11812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11813         Update.
11815 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
11817         [BZ #2550]
11818         [BZ #2570]
11819         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
11820         comparisons to determine direction to adjust input.
11821         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
11822         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
11823         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
11824         Likewise.
11825         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
11826         Likewise.
11827         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11828         Likewise.
11829         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
11830         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
11831         Likewise.
11832         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
11833         Likewise.
11834         * math/libm-test.inc (nexttoward_test): Add more tests.
11836 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
11838         [BZ #14040]
11839         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
11840         in version GLIBC_2.1, not GLIBC_2.0.
11841         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
11842         Likewise.
11844 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
11846         [BZ #13942]
11847         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
11848         (1 - x) * (1 + x).
11849         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
11850         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
11851         * math/libm-test.inc (acos_test): Add more tests.
11852         (asin_test): Likewise.
11853         * sysdeps/i386/fpu/libm-test-ulps: Update.
11854         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11856         [BZ #14034]
11857         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
11858         of square root.
11859         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
11860         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
11861         * math/libm-test.inc (acos_test_tonearest): New function.
11862         (acos_test_towardzero): Likewise.
11863         (acos_test_downward): Likewise.
11864         (acos_test_upward): Likewise.
11865         (asin_test_tonearest): Likewise.
11866         (asin_test_towardzero): Likewise.
11867         (asin_test_downward): Likewise.
11868         (asin_test_upward): Likewise.
11869         (main): Call the new functions.
11870         * sysdeps/i386/fpu/libm-test-ulps: Update.
11871         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11873         [BZ #13884]
11874         [BZ #13924]
11875         * math/e_exp10.c: Include <float.h>.
11876         (__ieee754_exp10): Handle underflow here rather than multiplying
11877         large negative argument by M_LN10.
11878         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
11879         of __ieee754_expf.
11880         * math/e_exp10l.c: Include <float.h>.
11881         (__ieee754_exp10l): Handle underflow here rather than multiplying
11882         large negative argument by M_LN10l.
11883         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
11884         spurious overflow exception on underflow.
11886 2012-04-29  Marek Polacek  <polacek@redhat.com>
11888         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
11889         (__fortify_function): New macro.
11890         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
11891         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
11892         __extern_always_inline.
11893         * libio/bits/stdio2.h: Likewise.
11894         * libio/bits/stdio.h: Likewise.
11895         * string/string.h: Likewise.
11896         * string/bits/string3.h: Likewise.
11897         * include/stdio.h: Likewise.
11898         * stdlib/bits/stdlib.h: Likewise.
11899         * stdlib/stdlib.h: Likewise.
11900         * rt/bits/mqueue2.h: Likewise.
11901         * rt/mqueue.h: Likewise.
11902         * posix/bits/unistd.h: Likewise.
11903         * posix/unistd.h: Likewise.
11904         * io/bits/poll2.h: Likewise.
11905         * io/bits/fcntl2.h: Likewise.
11906         * io/fcntl.h: Likewise.
11907         * io/sys/poll.h: Likewise.
11908         * misc/bits/syslog.h: Likewise.
11909         * misc/bits/syslog-ldbl.h: Likewise.
11910         * misc/sys/syslog.h: Likewise.
11911         * socket/bits/socket2.h: Likewise.
11912         * socket/sys/socket.h: Likewise.
11913         * debug/tst-chk1.c: Likewise.
11914         * wcsmbs/bits/wchar2.h: Likewise.
11915         * wcsmbs/bits/wchar-ldbl.h: Likewise.
11916         * wcsmbs/wchar.h: Likewise.
11918 2012-04-29  Andreas Jaeger  <aj@suse.de>
11920         * Makerules (tests): Remove enable-check-abi protection.
11921         (check-abi-warn): Remove.
11922         (check-abi-%): Remove check-abi-warn usage.
11924         * configure.in: Remove check-abi configure option.
11925         * configure: Regenerated.
11926         * config.make.in (enable-check-abi): Remove.
11928 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
11930         [BZ #14033]
11931         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
11932         double functions to double *_finite functions.
11934         [BZ #13941]
11935         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
11936         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
11937         LDBL_MIN_EXP.
11938         * stdio-common/Makefile (tests): Add tst-sprintf3.
11939         * stdio-common/tst-sprintf3.c: New file.
11941         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
11942         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
11944 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
11946         * conform/conformtest.pl: Remove duplicate typed-constant
11947         handling.
11949 2012-04-28  David S. Miller  <davem@davemloft.net>
11951         * Makerules (%.abilist): Add vpath on sysdep_dirs.
11952         (check-abi-%): Remove AWK script prerequisite and explicit
11953         abilist directory.
11954         (check-abi): Rewrite to just diff the symlist with the abilist.
11955         (config-tls, config-abi-config): Delete, no longer used.
11956         (update-abi-%): Remove AWK script and explicit abilist directory.
11957         (update-abi): Rewrite to simply compare and conditionally copy the
11958         symlist and the sysdep abilist file.  Remove update-abi-config
11959         checks.
11960         * abilist/ld.abilist: Remove.
11961         * abilist/libBrokenLocale.abilist: Remove.
11962         * abilist/libanl.abilist: Remove.
11963         * abilist/libcrypt.abilist: Remove.
11964         * abilist/libdl.abilist: Remove.
11965         * abilist/librt.abilist: Remove.
11966         * abilist/libthread_db.abilist: Remove.
11967         * abilist/libutil.abilist: Remove.
11968         * scripts/extract-abilist.awk: Remove.
11969         * scripts/merge-abilist.awk: Remove.
11970         * sysdeps/generic/libcidn.abilist: New file.
11971         * sysdeps/generic/libnss_compat.abilist: New file.
11972         * sysdeps/generic/libnss_db.abilist: New file.
11973         * sysdeps/generic/libnss_dns.abilist: New file.
11974         * sysdeps/generic/libnss_files.abilist: New file.
11975         * sysdeps/generic/libnss_hesiod.abilist: New file.
11976         * sysdeps/generic/libnss_nis.abilist: New file.
11977         * sysdeps/generic/libnss_nisplus.abilist: New file.
11978         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
11979         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
11980         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
11981         file.
11982         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
11983         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
11984         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
11985         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
11986         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
11987         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
11988         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
11989         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
11990         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
11991         file.
11992         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
11993         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
11994         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
11995         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
11996         file.
11997         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
11998         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
11999         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
12000         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
12001         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
12002         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
12003         file.
12004         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
12005         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
12006         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
12007         file.
12008         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
12009         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
12010         New file.
12011         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
12012         New file.
12013         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
12014         New file.
12015         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
12016         New file.
12017         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
12018         New file.
12019         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
12020         New file.
12021         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
12022         New file.
12023         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
12024         New file.
12025         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
12026         New file.
12027         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
12028         New file.
12029         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
12030         New file.
12031         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
12032         New file.
12033         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
12034         New file.
12035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
12036         file.
12037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
12038         New file.
12039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
12040         New file.
12041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
12042         file.
12043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
12044         New file.
12045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
12046         New file.
12047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
12048         file.
12049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
12050         New file.
12051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
12052         New file.
12053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
12054         New file.
12055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
12056         New file.
12057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
12058         New file.
12059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
12060         New file.
12061         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
12062         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
12063         file.
12064         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
12065         New file.
12066         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
12067         file.
12068         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
12069         file.
12070         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
12071         file.
12072         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
12073         file.
12074         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
12075         file.
12076         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12077         New file.
12078         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
12079         file.
12080         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
12081         file.
12082         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
12083         New file.
12084         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
12085         file.
12086         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
12087         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
12088         file.
12089         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
12090         New file.
12091         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
12092         file.
12093         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
12094         file.
12095         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
12096         file.
12097         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
12098         file.
12099         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
12100         file.
12101         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12102         New file.
12103         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
12104         file.
12105         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
12106         file.
12107         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
12108         New file.
12109         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
12110         file.
12111         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
12112         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
12113         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
12114         file.
12115         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
12116         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
12117         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
12118         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
12119         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
12120         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
12121         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
12122         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
12123         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
12124         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
12125         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
12126         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
12127         file.
12128         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
12129         New file.
12130         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
12131         file.
12132         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
12133         file.
12134         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
12135         file.
12136         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
12137         file.
12138         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
12139         file.
12140         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
12141         New file.
12142         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
12143         New file.
12144         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
12145         file.
12146         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
12147         New file.
12148         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
12149         file.
12150         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
12151         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
12152         file.
12153         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
12154         New file.
12155         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
12156         file.
12157         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
12158         file.
12159         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
12160         file.
12161         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
12162         file.
12163         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
12164         file.
12165         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
12166         New file.
12167         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
12168         New file.
12169         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
12170         file.
12171         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
12172         New file.
12173         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
12174         file.
12176 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
12178         * conform/conformtest.pl: Fix typo in handling typed-constant from
12179         allow-header.
12181 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
12183         * README: Cut down references to pre-2.6 Linux kernels and
12184         Linuxthreads.  Update lists of configurations in libc and ports
12185         and sort alphabetically.  Say "or newer" with Linux kernel version
12186         requirements.
12188         * config.h.in [IS_IN_build]: Allow compiling without optimization.
12190 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
12192         [BZ #887]
12193         * math/libm-test.inc (logb_test_downward): New test to expose
12194         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
12195         rounding mode.
12197 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
12199         [BZ #14027]
12200         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
12201         to be done.
12202         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
12203         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
12205 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
12207         * sysdeps/unix/i386/brk.S: Remove file.
12208         * sysdeps/unix/i386/dl-brk.S: Likewise.
12209         * sysdeps/unix/i386/pipe.S: Likewise.
12210         * sysdeps/unix/i386/sigreturn.S: Likewise.
12211         * sysdeps/unix/i386/syscall.S: Likewise.
12212         * sysdeps/unix/i386/vfork.S: Likewise.
12213         * sysdeps/unix/i386/wait.S: Likewise.
12215         * sysdeps/unix/common/tcsendbrk.c: Move to ...
12216         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
12218         * configure.in (arm*-none*): Do not allow without
12219         --enable-hacker-mode.
12220         (netbsd*): Remove case setting base_os.
12221         (386bsd*): Likewise.
12222         (freebsd*): Likewise.
12223         (bsdi*): Likewise.
12224         (osf*): Likewise.
12225         (sunos*): Likewise.
12226         (ultrix*): Likewise.
12227         (newsos*): Likewise.
12228         (dynix*): Likewise.
12229         (*bsd*): Likewise.
12230         (sysv*): Likewise.
12231         (isc*): Likewise.
12232         (esix*): Likewise.
12233         (sco*): Likewise.
12234         (minix*): Likewise.
12235         (irix4*): Likewise.
12236         (irix6*): Likewise.
12237         (solaris[2-9]*): Likewise.
12238         (none): Likewise.
12239         * configure: Regenerated.
12241 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12243         [BZ #11521]
12244         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
12245         overflow or cancellation in calculating denominator.
12246         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
12247         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
12248         down expression to avoid unexpected rounding in newer GCCs.
12249         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
12251 2012-04-26  David S. Miller  <davem@davemloft.net>
12253         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
12254         long-double compat symbols.
12255         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
12256         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
12257         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
12258         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
12259         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
12260         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
12261         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
12262         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
12263         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
12264         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
12265         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
12266         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
12267         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
12269 2012-04-25  David S. Miller  <davem@davemloft.net>
12271         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
12272         HWCAP_* values only after the memory barriers have been defined.
12273         (atomic_full_barrier): Define.
12274         (atomic_read_barrier): Define.
12275         (atomic_write_barrier): Define.
12277 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12279         * shlib-versions: Add libgcc_s version information.
12280         * sysdeps/generic/libgcc_s.h: Remove.
12281         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
12282         libgcc_s.h.
12283         * sysdeps/gnu/unwind-resume.c: Likewise.
12284         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
12286 2012-04-25  David S. Miller  <davem@davemloft.net>
12288         * sysdeps/unix/sparc/brk.S: Delete.
12289         * sysdeps/unix/sparc/dl-brk.S: Delete.
12290         * sysdeps/unix/sparc/pipe.S: Delete.
12291         * sysdeps/unix/sparc/sysdep.S: Delete.
12292         * sysdeps/unix/sparc/sysdep.h: Delete.
12293         * sysdeps/unix/sparc/vfork.S: Delete.
12294         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
12295         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
12296         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
12297         ret_ERRVAL, r0, r1, MOVE): Define.
12298         (JUMPTARGET): Remove.
12299         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
12300         sysdeps/unix/sparc/sysdep.h
12301         (ENTRY, END): Remove.
12302         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12304 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
12306         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
12307         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
12308         -DIS_IN_build.
12310         * timezone/README: Update upstream location and email address for
12311         tzcode and tzdata.
12312         * timezone/zdump.c: Update from tzcode 2012b.
12313         * timezone/zic.c: Likewise.
12315         * configure.in (libc_cv_as_needed): Remove test.
12316         * configure: Regenerated.
12317         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
12318         conditional definition.
12319         [$(have-as-needed) != yes] (no-as-needed): Likewise.
12320         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
12321         * config.make.in (have-as-needed): Remove variable.
12323 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
12324             Paul Pluzhnikov  <ppluzhnikov@google.com>
12326         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
12327         strings correctly.
12329 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
12331         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
12332         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
12333         * sysdeps/sh/strlen.S: Likewise.
12335 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
12337         * sysdeps/unix/fork.S: Remove file.
12338         * sysdeps/unix/i386/fork.S: Likewise.
12339         * sysdeps/unix/sparc/fork.S: Likewise.
12341         * sysdeps/unix/system.c: Remove file.
12342         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
12344         * sysdeps/unix/getegid.S: Remove file.
12345         * sysdeps/unix/geteuid.S: Likewise.
12347 2012-04-24  Roland McGrath  <roland@hack.frob.com>
12349         * scripts/check-localplt.awk: New file.
12350         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
12351         of diff.
12352         * scripts/data/localplt-generic.data: Add a comment.
12354         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
12355         NODE when __dir_mkfile failed.
12356         * sysdeps/mach/hurd/symlinkat.c: Likewise.
12357         Reported by Ludovic Courtès <ludo@gnu.org>.
12359 2012-04-24  Andreas Jaeger  <aj@suse.de>
12361         * Makerules (common-clean): Also remove gen-as-const-headers
12362         files.
12364 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
12366         * Makerules (native-compile): Do not change working directory for
12367         build.  Use $(OUTPUT_OPTION) in command.
12368         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
12370 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12372         [BZ #13886]
12373         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
12374         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
12375         * math/libm-test.inc (floor_test): Add more tests.
12376         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
12378 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
12380         * sysdeps/unix/getdents.c: Remove file.
12381         * sysdeps/unix/sysv/getdents.c: Likewise.
12382         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
12384         * sysdeps/unix/syscalls.list (madvise): Add syscall from
12385         sysdeps/unix/mman/syscalls.list.
12386         (mmap): Likewise.
12387         (mprotect): Likewise.
12388         (msync): Likewise.
12389         (munmap): Likewise.
12390         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
12391         * sysdeps/unix/mman/syscalls.list: Remove.
12392         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
12394         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
12395         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
12396         * configure: Regenerated.
12397         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
12398         $(libgcc_s_suffix).
12399         * config.make.in (libgcc_s_suffix): Remove variable.
12401 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
12403         * sysdeps/unix/sysv/gethostname.c: Move to ...
12404         * sysdeps/posix/gethostname.c: ... here.
12406         * sysdeps/unix/execve.S: Remove file.
12408         * sysdeps/unix/_exit.S: Remove file.
12410 2012-04-23  Andreas Jaeger  <aj@suse.de>
12412         [BZ #13739]
12413         * manual/Makefile: Remove make dist support, there's no
12414         need for a stand-alone documentation tar ball.
12415         (TEXI2DVI): Define always, it's not in Makeconfig.
12416         (dist): Removed.
12417         (tar-it): Removed.
12418         (edition): Removed.
12419         (glibc-doc-$(edition).tar): Removed
12420         (%.Z): Removed.
12421         (%.gz): Removed.
12422         (%.uu): Removed.
12423         (ETAGS): Remove, it's in Makeconfig.
12424         (move-if-change): Remove, it's in Makeconfig.
12426 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
12428         [BZ #13970]
12429         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
12430         (strtod, strtof, strtold, strtol, strtoul, strtoq)
12431         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
12432         (strtod_l, strtof_l, strtold_l): Remove __wur.
12433         It is not necessarily an error to ignore strtol's return value.
12434         One can reliably look at the stored endptr to decide whether
12435         the number had valid syntax.
12437 2012-04-21  Andreas Jaeger  <aj@suse.de>
12439         [BZ #13739]
12440         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
12442 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
12444         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
12445         * sysdeps/unix/sysv/Versions: Remove file.
12447 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
12449         [BZ #13927]
12450         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12452 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
12454         [BZ #7064]
12455         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
12456         version from __vm86.
12458 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
12460         * sysdeps/unix/common/lxstat.c: Remove file.
12461         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
12463         * sysdeps/unix/sysv/Makefile: Remove file.
12465         * sysdeps/unix/sysv/direct.h: Remove file.
12467         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
12468         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
12469         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
12470         * sysdeps/unix/sysv/bits/signum.h: Likewise.
12471         * sysdeps/unix/sysv/bits/stat.h: Likewise.
12472         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
12473         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
12475         * sysdeps/unix/sysv/setrlimit.c: Remove file.
12477         * sysdeps/unix/xmknod.c: Remove file.
12478         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
12480         * sysdeps/unix/sysv/settimeofday.c: Remove file.
12482         * sysdeps/unix/sysv/i386/time.S: Remove file.
12484         * sysdeps/unix/fxstat.c: Remove file.
12485         * sysdeps/unix/xstat.c: Likewise.
12486         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
12488         * sysdeps/unix/sysv/sigaction.c: Remove file.
12490         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
12491         (sysdep_headers): Remove variable.
12492         [termio.h not in sysdep_headers] (generated): Likewise.
12493         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
12494         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
12495         * sysdeps/unix/sysv/tcdrain.c: Likewise.
12496         * sysdeps/unix/sysv/tcflow.c: Likewise.
12497         * sysdeps/unix/sysv/tcflush.c: Likewise.
12498         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
12499         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
12500         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
12501         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
12502         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
12504         * sysdeps/unix/siglist.c: Remove file.
12506         * sysdeps/unix/getppid.S: Remove file.
12508         * sysdeps/unix/mkdir.c: Remove file.
12509         * sysdeps/unix/rmdir.c: Likewise.
12511 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
12513         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
12514         ERR_MAX value.
12515         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
12516         errlist-compat value.
12518 2012-04-18  David S. Miller  <davem@davemloft.net>
12520         * sysdeps/generic/memcopy.h (reg_char): Delete.
12521         * debug/strcat_chk.c: Use char, not reg_char.
12522         * debug/strcpy_chk.c: Likewise.
12523         * debug/strncat_chk.c: Likewise.
12524         * debug/strncpy_chk.c: Likewise.
12525         * string/memchr.c: Likewise.
12526         * string/memrchr.c: Likewise.
12527         * string/rawmemchr.c: Likewise.
12528         * string/strcat.c: Likewise.
12529         * string/strchr.c: Likewise.
12530         * string/strchrnul.c: Likewise.
12531         * string/strcmp.c: Likewise.
12532         * string/strcpy.c: Likewise.
12533         * string/strncat.c: Likewise.
12534         * string/strncmp.c: Likewise.
12535         * string/strncpy.c: Likewise.
12537 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
12539         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
12540         __builtin_memcopy is called when src and dest ranges are known to not
12541         overlap.
12543 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
12545         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
12546         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
12547         fwd_align_merge macro call.
12548         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
12549         bwd_align_merge macro call.
12550         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12552 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
12554         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
12555         bwd_align_merge macros.
12556         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
12557         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
12558         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12560 2012-04-18  David S. Miller  <davem@davemloft.net>
12562         * sysdeps/sparc/sparc64/memcopy.h: Delete.
12564 2012-04-18  Andreas Jaeger  <aj@suse.de>
12566         [BZ# 6794]
12567         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
12568         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
12569         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12571         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
12572         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
12573         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12575         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
12576         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
12577         Adjust for changed ldbl-128 files.
12579         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
12580         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
12581         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12583 2012-04-17  David S. Miller  <davem@davemloft.net>
12585         * sysdeps/sparc/sparc32/memcopy.h: Delete.
12587 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
12589         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
12590         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
12591         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
12592         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
12593         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
12594         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
12596 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12598         [BZ #6794]
12599         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
12600         * math/libm-test.inc: Add ilogb errno and exception tests.
12601         * math/w_ilogb.c: New file: ilogb wrapper.
12602         * math/w_ilogbf.c: New file: ilogbf wrapper.
12603         * math/w_ilogbl.c: New file: ilogbl wrapper.
12604         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
12605         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
12606         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
12607         exception being thrown with 0.0 as argument.
12608         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
12609         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
12610         exception being thrown with 0.0 as argument.
12611         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
12612         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
12613         exception being thrown with 0.0 as argument.
12614         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
12615         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
12616         exception being thrown with 0.0 as argument.
12617         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
12618         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
12619         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
12620         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
12621         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
12622         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
12623         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
12624         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
12625         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
12627 2012-04-17  Petr Baudis  <pasky@ucw.cz>
12629         * include/sys/uio.h: Change __vector to __iovec to avoid clash
12630         with altivec.
12632 2012-04-16  Marek Polacek  <polacek@redhat.com>
12634         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
12636 2012-04-16  Marek Polacek  <polacek@redhat.com>
12638         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
12639         operands of fdivp instruction.
12641 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
12643         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
12644         * elf/tst-auditmod3b.c: Likewise.
12645         * elf/tst-auditmod4b.c: Likewise.
12646         * elf/tst-auditmod5b.c: Likewise.
12647         * elf/tst-auditmod6b.c: Likewise.
12648         * elf/tst-auditmod6c.c: Likewise.
12649         * elf/tst-auditmod7b.c: Likewise.
12650         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
12651         * sysdeps/x86_64/preconfigure.in: Likewise.
12652         * sysdeps/x86_64/preconfigure: Regenerated.
12654 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
12656         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
12657         __ILP32__.
12659 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
12661         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12662         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
12664 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
12666         [BZ #13973]
12667         * locale/iso-639.def: Fix gl language name. Spotted by
12668         Yaron Shahrabani.
12670 2012-04-12  Roland McGrath  <roland@hack.frob.com>
12672         [BZ #2074]
12673         * libio/libio.h (__io_write_fn): Update comment.
12675 2012-04-12  Petr Baudis  <pasky@ucw.cz>
12677         [BZ #2074]
12678         * stdio.texi (Hook Functions): The user provided writer function
12679         is not allowed to return -1.
12681 2012-04-11  David S. Miller  <davem@davemloft.net>
12683         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12685 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
12687         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
12688         Add a leading slash to rtkaio.
12690 2012-04-11  Jim Meyering  <meyering@redhat.com>
12692         [BZ #11959]
12693         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
12694         It is not necessarily an error to ignore fwrite's return
12695         value.  One can reliably use ferror to test for errors after
12696         the fact.
12698 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
12700         * bits/types.h (__snseconds_t): New type.
12701         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
12703         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
12704         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12705         (__SNSECONDS_T_TYPE): Likewise.
12706         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12707         (__SNSECONDS_T_TYPE): Likewise.
12708         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12709         (__SNSECONDS_T_TYPE): Likewise.
12711 2012-04-10  Andreas Jaeger  <aj@suse.de>
12713         [BZ #2636]
12714         * manual/time.texi (Processor Time): Return type of times is
12715         elapsed real time since an arbitrary point in the past.
12716         (CPU Time): Move CLK_TCK from here...
12717         (Processor Time): ...to here.  Correct description.
12718         * manual/conf.texi (Constants for Sysconf): Correct description of
12719         _SC_CLK_TCK.
12721 2012-04-10  David S. Miller  <davem@davemloft.net>
12723         [BZ #13967]
12724         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
12725         where the is a gap between DT_REL(A) and DT_JMPREL.
12727 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
12729         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
12730         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
12731         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
12733 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
12735         * elf/dl-support.c (_dl_inhibit_cache): New variable.
12736         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
12737         (dl_main): Handle --inhibit-cache.
12738         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
12739         _dl_inhibit_cache.
12740         * elf/dl-load.c (_dl_map_object): Use it.
12741         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
12743 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
12745         [BZ #13872]
12746         * sysdeps/i386/fpu/e_powl.S (p78): New object.
12747         (__ieee754_powl): Saturate large exponents rather than testing for
12748         overflow of y*log2(x).
12749         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12750         * math/libm-test.inc (pow_test): Do not permit spurious overflow
12751         exceptions.
12753         [BZ #11521]
12754         * math/s_ctan.c: Include <float.h>.
12755         (__ctan): Avoid internal overflow or cancellation in calculating
12756         denominator.
12757         * math/s_ctanf.c: Likewise.
12758         * math/s_ctanl.c: Likewise.
12759         * math/s_ctanh.c: Likewise.
12760         * math/s_ctanhf.c: Likewise.
12761         * math/s_ctanhl.c: Likewise.
12762         * math/libm-test.inc (ctan_test): Add more tests.
12763         (ctanh_test): Likewise.
12764         * sysdeps/i386/fpu/libm-test-ulps: Update.
12765         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12767 2012-04-09  Andreas Jaeger  <aj@suse.de>
12769         [BZ #6894]
12770         * manual/filesys.texi (Directory Entries): Mention that d_namlen
12771         is an optional BSD extension.
12773         [BZ #10254]
12774         * manual/stdio.texi (Opening Streams): Document additional fopen
12775         parameters.
12777 2012-04-09  Roland McGrath  <roland@hack.frob.com>
12779         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
12780         %eax without telling the compiler.
12782 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
12784         [BZ # 13963]
12785         * manual/install.texi: Use sourceware.org.
12787 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
12789         [BZ #13873]
12790         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
12791         (__ieee754_pow): Generate overflow and underflow using huge*huge
12792         and tiny*tiny rather than just returning constant infinity or zero
12793         for large exponents.
12794         * math/libm-test.inc (pow_test): Require overflow exceptions for
12795         applicable cases of large exponents.
12797         [BZ #706]
12798         * sysdeps/i386/fpu/e_pow.S (p10): New object.
12799         (__ieee754_pow): Use iterative multiplication algorithm only for
12800         integer exponents with absolute value below 1024.  Check for odd
12801         integer exponents when using algorithm for real exponents.
12802         * math/libm-test.inc (pow_test): Add more tests.
12803         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12805 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
12807         [BZ #13705]
12808         * math/libm-test.inc (exp_test): Do not allow overflow exception
12809         on underflow test.
12811 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
12813         [BZ #13705]
12814         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
12815         instead of __kernel_standard_f.
12817 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
12819         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
12820         * sysdeps/x86_64/memset_chk.S: Likewise.
12822 2012-04-08  Andreas Jaeger  <aj@suse.de>
12824         [BZ #10153]
12825         * manual/startup.texi (Environment Access): Describe return value
12826         for putenv and setenv.
12828         [BZ #6895]
12829         * manual/filesys.texi (Directory Entries): Add description for
12830         DT_LNK.
12832         [BZ #6890]
12833         * manual/filesys.texi (Directory Entries): Clarify that it's file
12834         system not operating system in the description of DT_UNKNOWN.
12836         [BZ #6578]
12837         * manual/syslog.texi (closelog): Fix reference, it's openlog.
12839 2012-04-08  Stephen Compall  <s11@member.fsf.org>
12841         [BZ #6649]
12842         * manual/llio.texi (Opening and Closing Files): Add cross
12843         reference to explain mode argument.
12845 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
12847         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
12848         * sysdeps/x86_64/memset_chk.S: Likewise.
12850 2012-04-07  David S. Miller  <davem@davemloft.net>
12852         * elf/elf.h (R_SPARC_WDISP10): Define.
12853         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
12854         R_SPARC_SIZE32.
12855         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
12856         R_SPARC_SIZE64 and R_SPARC_H34.
12858 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
12860         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
12861         conditions and remove no longer applicable assertion.
12863 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
12865         * bits/byteswap.h: Include <features.h>.
12866         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
12867         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
12869 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
12871         * bits/byteswap.h (__bswap_16): Removed.
12872         Include <bits/byteswap-16.h> to get __bswap_16.
12873         * sysdeps/i386/bits/byteswap.h: Likewise.
12874         * sysdeps/s390/bits/byteswap.h: Likewise.
12875         * sysdeps/x86_64/bits/byteswap.h: Likewise.
12876         * bits/byteswap-16.h: New file.
12877         * sysdeps/i386/bits/byteswap-16.h: Likewise.
12878         * sysdeps/s390/bits/byteswap-16.h: Likewise.
12879         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
12880         * string/Makefile (headers): Add bits/byteswap-16.h.
12882 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
12884         [BZ #13895]
12885         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
12886         extra indirection.
12887         * nss/Makefile (tests-static, tests): Add tst-nss-static.
12888         * nss/tst-nss-static.c: New.
12890 2012-04-06  Robert Millan  <rmh@gnu.org>
12892         [BZ #6486]
12893         * manual/llio.texi (File Position Primitive): lseek
12894         refers to WHENCE when it really means OFFSET.
12896 2012-04-06  Andreas Jaeger  <aj@suse.de>
12898         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
12899         strncmp declarations.
12901         * abilist/libc.abilist: Add __poll and __ppoll.
12903 2012-04-05  David S. Miller  <davem@davemloft.net>
12905         * scripts/check-local-headers.sh: Accept a host triplet in the
12906         path matched by the exclude regexp.
12908         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
12909         definition.
12910         * sysdeps/powerpc/powerpc32/dl-machine.h
12911         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
12912         * sysdeps/s390/s390-32/dl-machine.h
12913         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12914         * sysdeps/sparc/sparc32/dl-machine.h
12915         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12916         * sysdeps/sparc/sparc64/dl-machine.h
12917         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12919         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
12920         lazy binding.
12921         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
12922         undefined symbol errors.
12924         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
12925         DT_NEEDED entries.
12927 2012-04-05  Michael Matz  <matz@suse.de>
12929         [BZ #13592]
12930         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
12932 2012-04-05  Andreas Jaeger  <aj@suse.de>
12934         [BZ #13908]
12935         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
12936         comment.
12938 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
12940         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
12941         which ROUND is no valid rounding mode.
12943 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
12945         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
12946         read again.
12947         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
12949 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
12951         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
12952         an exception using FPU order intentionally.
12954 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
12956         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
12957         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
12958         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
12959         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
12961 2012-04-05  Simon Josefsson  <simon@josefsson.org>
12963         [BZ #12340]
12964         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
12965         EINVAL when BUFLEN is too smal.
12967 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
12969         [BZ #13553]
12970         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
12971         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
12973 2012-04-03  Andreas Jaeger  <aj@suse.de>
12975         [BZ #13938]
12976         * manual/setjmp.texi (System V contexts): Fix sentence.
12978         [BZ #13926]
12979         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
12980         New macro for this case.
12981         [!__GNUC__] (__bswap_64): New inline function for this case.
12982         * sysdeps/x86_64/bits/byteswap.h: Likewise.
12983         * bits/byteswap.h: Likewise.
12984         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
12985         ull, guard with __GLIBC_HAVE_LONG_LONG.
12987         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
12988         __GLIBC_HAVE_LONG_LONG.
12990         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
12991         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
12993 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12995         [BZ #13691]
12996         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
12997         inptr and inend, rather than using last_ch.
12999 2012-04-02  David S. Miller  <davem@davemloft.net>
13001         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
13002         * stdio-common/printf-parse.h (read_int): Change return type to
13003         'int', return -1 on INT_MAX overflow.
13004         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
13005         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
13006         overflows INT_MAX.  Check for overflow of in-format-string precision
13007         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
13008         SIZE_MAX not INT_MAX for integer overflow test.
13009         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
13010         skip the construct in the format string but do not record anything.
13011         * stdio-common/bug22.c: Adjust to test both width/prevision
13012         INT_MAX overflow as well as total length INT_MAX overflow.  Check
13013         explicitly for proper errno values.
13015 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
13017         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
13018         CHAR_MAX.
13019         * string/test-strcmp.c [! WIDE]: Likewise.
13020         * time/tst-mktime2.c: Likewise for INT_MAX.
13021         * string/test-string.h: #include <sys/param.h> for MIN.
13023         * csu/init-first.c (__libc_init_first): Call __ctype_init.
13024         * sysdeps/i386/init-first.c (init): Likewise.
13025         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
13026         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
13027         * sysdeps/sh/init-first.c (init): Likewise.
13029 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
13031         * po/ru.po: Update from translation team.
13032         * po/vi.po: Likewise.
13034 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
13036         * resolv/nss_dns/dns-host.c: Merge copyright years.
13038 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13040         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
13041         Optimize memcpy with prefetch if
13042         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
13043         src, dst pointers have unequal 16 byte alignments.
13045 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
13047         [BZ #13928]
13048         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
13049         from a CNAME entry and return the minimum ttl for the query.
13050         (gaih_getanswer_slice): Likewise.
13052 2012-03-30  Jeff Law  <law@redhat.com>
13054         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
13055         due to long keys.
13056         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
13057         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
13059         * resolv/nss_dns/dns-host.c: Update copyright year.
13061 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
13063         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
13064         requests to save a system call.  Fix check that all bytes are sent.
13066         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
13067         comments for sendmmsg.
13069 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13071         [BZ #13691]
13072         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
13073         with only 1 character between 0x0041 and 0x01b0.
13074         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
13075         * wcsmbs/tst-mbsnrtowcs.c: New file.
13077 2012-03-29  David S. Miller  <davem@davemloft.net>
13079         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
13080         small copies by hand.
13082 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13084         [BZ #13761]
13085         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
13086         _nss_compat_initgroups_dyn): Fall back to malloc/free
13087         for large group memberships.
13089 2012-03-28  David S. Miller  <davem@davemloft.net>
13091         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
13092         that branches into memcpy.
13093         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
13094         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
13095         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
13096         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
13097         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
13098         bits.
13099         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
13100         implementation too.
13101         * sysdeps/sparc/mempcpy.S: New file.
13103         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
13104         the IFUNC routine in the libc case.
13105         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
13107         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
13108         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
13109         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
13110         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
13111         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
13112         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
13113         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
13114         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
13116         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
13117         loop to 256 bytes instead of 64 bytes and fix test signedness.
13119         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
13120         * sysdeps/sparc/sparc32/Makefile: rather than here...
13121         * sysdeps/sparc/sparc64/Makefile: and here.
13123 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
13125         * malloc/mallocbug.c: Avoid warnings about unused variables.
13127 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
13129         [BZ #13760]
13130         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
13131         in the right place. Discard and retry query if response is
13132         larger than input buffer size.
13134 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
13136         [BZ #369]
13137         [BZ #2678]
13138         [BZ #3866]
13139         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
13140         x for large integer exponent.
13141         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13142         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
13143         sign of result as needed afterwards.
13144         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13145         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
13146         result for underflowing pow the same as for overflow.
13147         (__kernel_standard_l): Handle powl overflow and underflow here
13148         rather than calling __kernel_standard.
13149         * math/libm-test.inc (pow_test): Add more tests.
13151         [BZ #3868]
13152         [BZ #13879]
13153         [BZ #13910]
13154         [BZ #13911]
13155         [BZ #13912]
13156         [BZ #13913]
13157         [BZ #13915]
13158         [BZ #13916]
13159         [BZ #13917]
13160         [BZ #13918]
13161         [BZ #13919]
13162         [BZ #13920]
13163         [BZ #13921]
13164         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
13165         * sysdeps/ieee754/k_standard.c: Include <float.h>.
13166         (__kernel_standard_l): New function.
13167         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
13168         __kernel_standard.
13169         * math/w_acosl.c (__acosl): Likewise.
13170         * math/w_asinl.c (__asinl): Likewise.
13171         * math/w_atan2l.c (__atan2l): Likewise.
13172         * math/w_atanhl.c (__atanhl): Likewise.
13173         * math/w_coshl.c (__coshl): Likewise.
13174         * math/w_exp10l.c (__exp10l): Likewise.
13175         * math/w_exp2l.c (__exp2l): Likewise.
13176         * math/w_fmodl.c (__fmodl): Likewise.
13177         * math/w_hypotl.c (__hypotl): Likewise.
13178         * math/w_j0l.c (__j0l, __y0l): Likewise.
13179         * math/w_j1l.c (__j1l, __y1l): Likewise.
13180         * math/w_jnl.c (__jnl, __ynl): Likewise.
13181         * math/w_lgammal.c (__lgammal): Likewise.
13182         * math/w_log10l.c (__log10l): Likewise.
13183         * math/w_log2l.c (__log2l): Likewise.
13184         * math/w_logl.c (__logl): Likewise.
13185         * math/w_powl.c (__powl): Likewise.
13186         * math/w_remainderl.c (__remainderl): Likewise.
13187         * math/w_scalbl.c (sysv_scalbl): Likewise.
13188         * math/w_sinhl.c (__sinhl): Likewise.
13189         * math/w_sqrtl.c (__sqrtl): Likewise.
13190         * math/w_tgammal.c (__tgammal): Likewise.
13191         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
13192         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
13193         * math/libm-test.inc (acos_test): Add more tests.
13194         (acosh_test): Likewise.
13195         (asin_test): Likewise.
13196         (atanh_test): Likewise.
13197         (exp_test): Likewise.
13198         (exp10_test): Likewise.
13199         (exp2_test): Likewise.
13200         (expm1_test): Likewise.
13201         (lgamma_test): Likewise.
13202         (log_test): Likewise.
13203         (log10_test): Likewise.
13204         (log1p_test): Likewise.
13205         (log2_test): Likewise.
13206         (pow_test): Do not allow some spurious overflow exceptions.
13207         (sqrt_test): Add more tests.
13208         (tgamma_test): Likewise.
13209         (y0_test): Likewise.
13210         (y1_test): Likewise.
13211         (yn_test): Likewise.
13213 2012-03-27  Anton Blanchard  <anton@samba.org>
13215         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
13216         MAP_HUGETLB.
13217         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
13218         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
13219         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
13221 2012-03-27  David S. Miller  <davem@davemloft.net>
13223         * conform/Makefile: Run run-conformtest.sh using $(BASH).
13225         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
13226         have-as-vis3 check.
13228 2012-03-27  Andreas Jaeger  <aj@suse.de>
13230         * sysdeps/x86_64/elf/configure.in: Moved to ...
13231         * sysdeps/x86_64/configure.in: ... here.
13232         * sysdeps/x86_64/elf/start.S: Moved to ...
13233         * sysdeps/x86_64/start.S: ... here.
13234         * sysdeps/x86_64/elf/configure: Delete.
13236         * sysdeps/x86_64/configure.in: Merge contents from
13237         sysdeps/i386/configure.in (without i686 check).
13239         * sysdeps/i386/elf/Versions: Merge into ...
13240         * sysdeps/i386/Versions: ... this.
13241         * sysdeps/i386/elf/Versions: Delete file.
13242         * sysdeps/i386/elf/start.S: Moved to ...
13243         * sysdeps/i386/start.S: ...here.
13244         * sysdeps/i386/elf/configure.in: Merge into...
13245         * sysdeps/i386/configure.in: ...here.
13246         * sysdeps/i386/elf/configure.in: Delete file.
13247         * sysdeps/i386/elf/configure: Delete file.
13249         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
13250         * debug/backtracesyms.c: ... here.
13251         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
13252         * debug/backtracesymsfd.c: ... here.
13253         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
13254         * sysdeps/generic/ifunc-sel.h: ... here.
13256         * sysdeps/unix/i386/start.c: Delete file.
13257         * sysdeps/unix/sparc/start.c: Delete file.
13258         * sysdeps/unix/start.c: Delete file.
13260         * sysdeps/sh/elf/configure.in: Moved to ...
13261         * sysdeps/sh/configure.in: ... here.
13262         * sysdeps/sh/elf/start.S: Moved to ...
13263         * sysdeps/sh/start.S: ... here.
13264         * sysdeps/sh/elf/configure: Delete file.
13266         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
13267         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
13268         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
13269         * sysdeps/powerpc/powerpc64/entry.h: ... here.
13270         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
13271         * sysdeps/powerpc/powerpc64/start.S: here.
13272         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
13273         * sysdeps/powerpc/powerpc64/Makefile: ... this.
13274         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
13275         * sysdeps/powerpc/powerpc64/configure.in: ... this.
13276         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
13278         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
13279         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
13280         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
13281         * sysdeps/powerpc/powerpc32/start.S: ... here.
13282         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
13283         * sysdeps/powerpc/powerpc32/configure.in: ... this.
13284         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
13286         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
13287         * sysdeps/powerpc/ifunc-sel.h: ... here.
13288         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
13289         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
13291         * sysdeps/sparc/elf/configure.in: Moved to ...
13292         * sysdeps/sparc/configure.in: ... here.
13293         * sysdeps/sparc/elf/configure: Delete file.
13294         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
13295         * sysdeps/sparc/sparc32/start.S: ... here.
13296         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
13297         * sysdeps/sparc/sparc64/start.S: ... here.
13298         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
13299         * sysdeps/sparc/sparc32/Makefile: ... this.
13300         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
13301         * sysdeps/sparc/sparc64/Makefile: ... this.
13303         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
13304         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
13305         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
13306         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
13307         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
13308         * sysdeps/s390/s390-32/setjmp.S: ... here.
13309         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
13310         * sysdeps/s390/s390-32/configure.in: ... here.
13311         * sysdeps/s390/s390-32/elf/configure: Delete file.
13312         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
13313         * sysdeps/s390/s390-32/start.S: ... here.
13315         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
13316         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
13317         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
13318         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
13319         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
13320         * sysdeps/s390/s390-64/setjmp.S: ... here.
13321         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
13322         * sysdeps/s390/s390-64/configure.in: ... here
13323         * sysdeps/s390/s390-64/elf/configure: Delete file.
13324         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
13325         * sysdeps/s390/s390-64/start.S: ... here.
13326         * sysdeps/s390/s390-64/elf/configure: Delete.
13328         * configure.in: Remove support for elf directories in sysdeps.
13330         * configure: Regenerated.
13331         * sysdeps/i386/configure: Regenerated.
13332         * sysdeps/powerpc/powerpc32/configure: Regenerated.
13333         * sysdeps/powerpc/powerpc64/configure: Regenerated.
13334         * sysdeps/s390/s390-32/configure: Regenerated.
13335         * sysdeps/s390/s390-64/configure: Regenerated.
13336         * sysdeps/sh/configure: Regenerated.
13337         * sysdeps/sparc/configure: Regenerated.
13338         * sysdeps/x86_64/configure: Regenerated.
13340 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
13342         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13344         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
13345         denormal result into account.
13347 2012-03-25  Roland McGrath  <roland@hack.frob.com>
13349         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
13350         Reported by Allan McRae <allan@archlinux.org>.
13352 2012-03-23  Jeff Law  <law@redhat.com>
13354         * nss/getnssent.c (__nss_getent): Fix typo.
13356 2012-03-23  David S. Miller  <davem@davemloft.net>
13358         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13360 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
13362         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
13363         to pad to uint64_t for each field.
13364         (dl_tls_index): Replace unsigned long with uint64_t.
13366 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
13367         Paul Pluzhnikov  <ppluzhnikov@google.com>
13369         [BZ #6528]
13370         * grp/Makefile (otherlibs): Don't set it.
13371         * inet/Makefile (otherlibs): Likewise.
13372         * login/Makefile (otherlibs): Likewise.
13373         * nscd/Makefile (otherlibs): Likewise.
13374         * posix/Makefile (otherlibs): Likewise.
13375         * pwd/Makefile (otherlibs): Likewise.
13376         * rt/Makefile (otherlibs): Likewise.
13377         * sunrpc/Makefile (otherlibs): Likewise.
13378         * nss/Makefile (otherlibs): Likewise.
13379         Add libnss_files to routines and static-only-routines.
13380         ($(objpfx)getent): Remove rule.
13381         * resolv/Makefile: Add libnss_dns and libresolv to routines and
13382         static-only-routines.
13384 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
13386         [BZ #13892]
13387         * math/s_cexp.c: Include <float.h>.
13388         (__cexp): Handle exp result overflowing not necessarily
13389         overflowing both real and imaginary parts of result.
13390         * math/s_cexpf.c: Likewise.
13391         * math/s_cexpl.c: Likewise.
13392         * math/libm-test.inc (cexp_test): Add more tests.
13393         * sysdeps/i386/fpu/libm-test-ulps: Update.
13394         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13396 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
13398         * include/link.h (ELFW): New macro.
13399         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
13400         Replace ELF64_R_TYPE with ELFW(R_TYPE).
13402 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
13404         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
13405         with uint64_t.
13407 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
13409         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
13410         declaration.
13411         (struct La_x32_retval): Likewise.
13413 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
13415         * sysdeps/x86_64/preconfigure.in: New file.
13416         * sysdeps/x86_64/preconfigure: New generated file.
13418 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
13420         [BZ #13824]
13421         * math/e_exp2l.c: Include <float.h>.
13422         (__ieee754_exp2l): Handle overflow and underflow cases
13423         separately.  Only pass fractional part of argument to
13424         __ieee754_expl.
13425         * math/libm-test.inc (exp2_test): Add more tests.
13427         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
13428         negating x to take absolute value.
13429         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
13430         Likewise.
13431         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
13432         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
13433         Likewise.
13434         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
13435         computing low part if x was negated.
13436         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
13438 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
13440         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
13441         la_x32_gnu_pltexit.
13442         (pltexit): Cast int_retval to ptrdiff_t.
13443         * elf/tst-auditmod3b.c: Likewise.
13444         * elf/tst-auditmod4b.c: Likewise.
13445         * elf/tst-auditmod5b.c: Likewise.
13446         * elf/tst-auditmod6b.c: Likewise.
13447         * elf/tst-auditmod6c.c: Likewise.
13448         * elf/tst-auditmod7b.c: Likewise.
13450         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
13451         and x32_gnu_pltexit.
13453         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
13454         __ELF_NATIVE_CLASS.
13455         (La_x32_regs): New macro.
13456         (La_x32_retval): Likewise.
13457         (la_x32_gnu_pltenter): New function prototype.
13458         (la_x32_gnu_pltexit): Likewise.
13460 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
13462         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
13463         exponent.
13465         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13467         * configure.in (libc_cv_cc_nofma): Check for option to disable
13468         generation of FMA instructions.
13469         * configure: Regenerate.
13470         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
13471         * sysdeps/ieee754/dbl-64/Makefile: New file.
13472         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
13473         Remove brandred-fma4.
13474         (CFLAGS-brandred-fma4.c): Remove.
13475         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
13476         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
13477         define.
13478         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
13479         define.
13481 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
13483         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
13484         LLONG_MAX != LONG_MAX.
13485         (_itoa_word): Use _ITOA_WORD_TYPE on value.
13486         (_fitoa_word): Likewise.
13487         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
13488         LLONG_MAX != LONG_MAX.
13489         * stdio-common/_itowa.h: Include <_itoa.h>.
13490         (_itowa_word): Use _ITOA_WORD_TYPE on value.
13491         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
13492         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
13493         only if not defined.
13494         (_ITOA_WORD_TYPE): Likewise.
13495         (_itoa_word): Use _ITOA_WORD_TYPE on value.
13496         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
13498 2012-03-21  David S. Miller  <davem@davemloft.net>
13500         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13502 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
13504         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
13505         of x86_64 when setting libc_cv_slibdir, libdir and
13506         libc_cv_localedir.
13507         * sysdeps/unix/sysv/linux/configure: Regenerated.
13509 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
13511         * manual/lang.texi (Old Varargs): Remove section.
13512         (How Variadic): Update menu.
13513         (va_start): Do not mention varargs.h.
13515 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
13516             Joseph Myers  <joseph@codesourcery.com>
13518         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
13519         link test.
13520         * configure: Regenerated.
13522 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
13524         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
13525         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
13526         conformtest.pl
13528 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
13530         * NOTES: Remove.
13531         * Makefile (files-for-dist): Remove NOTES.
13532         (NOTES): Remove rule.
13533         * README: Don't refer to NOTES.
13534         * manual/creature.texi: Don't include macros.texi.
13535         * manual/intro.texi (creature.texi): Remove comment referring to
13536         NOTES.
13538         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
13539         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
13540         * configure: Regenerated.
13541         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
13542         LIBC_TRY_CC_OPTION.
13543         (libc_cv_as_i686): Likewise.
13544         (libc_cv_cc_avx): Likewise.
13545         (libc_cv_cc_sse2avx): Likewise.
13546         (libc_cv_cc_fma4): Likewise.
13547         (libc_cv_cc_novzeroupper): Likewise.
13548         * sysdeps/i386/configure: Regenerated.
13550         [BZ #13883]
13551         * sysdeps/i386/fpu/s_cexp.S: Remove.
13552         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
13553         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
13554         * math/libm-test.inc (cexp_test): Add more tests.
13555         * sysdeps/i386/fpu/libm-test-ulps: Update.
13556         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13558 2012-03-21  Allan McRae  <allan@archlinux.org>
13560         * timezone/Makefile: Do not install iso3166.tab and zone.tab
13562 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
13564         [BZ #13871]
13565         * math/w_exp2.c: Do not include <float.h>.
13566         (o_threshold, u_threshold): Remove.
13567         (__exp2): Calculate result before checking finiteness and calling
13568         __kernel_standard.
13569         * math/w_exp2f.c: Likewise.
13570         * math/w_exp2l.c: Likewise.
13571         * math/libm-test.inc (exp2_test): Require overflow exception for
13572         1e6 input.
13574         [BZ #3866]
13575         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
13576         range of signed 64-bit integers before using fistpll.  Remove
13577         checks for whether integers fit in mantissa bits.
13578         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
13579         the range of signed 32-bit integers before using fistpl.  Remove
13580         checks for whether integers fit in mantissa bits.
13581         * sysdeps/i386/fpu/e_powl.S (p64): New object.
13582         (__ieee754_powl): Test for y outside the range of signed 64-bit
13583         integers before using fistpll.  Reduce 64-bit values to 63-bit
13584         ones as needed.
13585         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
13586         divide-by-zero is raised for zero to large negative powers.
13587         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
13588         (__ieee754_powl): Test for y outside the range of signed 64-bit
13589         integers before using fistpll.  Reduce 64-bit values to 63-bit
13590         ones as needed.
13591         * math/libm-test.inc (pow_test): Add more tests.
13593 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
13595         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
13596         <stdio-common/_itoa.h>.
13597         * debug/segfault.c: Likewise.
13598         * elf/dl-cache.c: Likewise.
13599         * elf/dl-minimal.c: Likewise.
13600         * elf/dl-misc.c: Likewise.
13601         * elf/dl-sysdep.c: Likewise.
13602         * elf/dl-version.c: Likewise.
13603         * elf/rtld.c: Likewise.
13604         * hurd/hurdsock.c: Likewise.
13605         * hurd/lookup-retry.c: Likewise.
13606         * malloc/malloc.c: Likewise.
13607         * malloc/mtrace.c: Likewise.
13608         * nscd/nscd_getgr_r.c: Likewise.
13609         * nscd/nscd_getpw_r.c: Likewise.
13610         * nscd/nscd_getserv_r.c: Likewise.
13611         * posix/getopt_init.c: Likewise.
13612         * posix/wordexp.c: Likewise.
13613         * stdio-common/_itoa.c: Likewise.
13614         * stdio-common/printf_fphex.c: Likewise.
13615         * stdio-common/vfprintf.c: Likewise.
13616         * string/_strerror.c: Likewise.
13617         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
13618         * sysdeps/i386/i686/hp-timing.h: Likewise.
13619         * sysdeps/mach/_strerror.c: Likewise.
13620         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
13621         * sysdeps/mach/hurd/sethostid.c: Likewise.
13622         * sysdeps/mach/hurd/xmknodat.c: Likewise.
13623         * sysdeps/mach/xpg-strerror.c: Likewise.
13624         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13625         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
13626         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
13627         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
13628         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
13629         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
13630         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
13631         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
13632         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
13633         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
13634         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
13635         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
13636         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
13637         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
13638         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
13639         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
13640         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
13641         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
13642         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
13643         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
13644         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
13646         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
13648         * stdio-common/_itoa.h: Moved to ...
13649         * sysdeps/generic/_itoa.h: Here.
13651         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
13653         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
13654         instead of "_itoa.h" and "_itowa.h".
13655         * stdio-common/vfprintf.: Likewise.
13657 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
13659         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
13660         <bits/wordsize.h>.
13661         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
13662         (__signbit): Likwise.
13663         (llrintf): Likwise.
13664         (llrint): Likwise.
13666 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
13668         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
13669         __WORDSIZE != 64.
13671 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
13673         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
13674         OVERFLOW_EXCEPTION_OK.
13675         * math/libm-test.inc ("Philosophy"): Update comment about
13676         exception testing.
13677         (OVERFLOW_EXCEPTION): Define.
13678         (OVERFLOW_EXCEPTION_OK): Likewise.
13679         (INVALID_EXCEPTION_OK): Renumber.
13680         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13681         (IGNORE_ZERO_INF_SIGN): Likewise.
13682         (test_exceptions): Handle FE_OVERFLOW.
13683         (exp10_test): Expect overflow exceptions.
13684         (exp2_test): Likewise.
13685         (expm1_test): Likewise.
13686         (nextafter_test): Likewise.
13687         (pow_test): Likewise.
13688         (scalbn_test): Likewise.
13689         (scalbln_test): Likewise.
13691 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
13693         * sysdeps/x86_64/bits/atomic.h
13694         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
13695         64bit integer.
13696         (atomic_exchange_acq): Likewise.
13697         (__arch_exchange_and_add_body): Likewise.
13698         (__arch_add_body): Likewise.
13699         (atomic_add_negative): Likewise.
13700         (atomic_add_zero): Likewise.
13702 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
13704         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
13705         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
13707 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
13709         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
13710         Check __x86_64__ instead of __WORDSIZE.
13712 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
13714         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
13716 2012-03-19  David S. Miller  <davem@davemloft.net>
13718         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13720         * sysdeps/sparc/fpu/fenv_private.h: New file.
13721         * sysdeps/sparc/fpu/math_private.h: Use it.
13722         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
13723         Remove.
13724         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
13725         (libc_feholdexcept_setroundl): Remove.
13726         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
13727         Remove.
13728         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
13729         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
13731 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
13733         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
13734         int64_t instead of long int.
13735         (INSERT_WORDS64): Likwise.
13737 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
13739         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
13740         _Unwind_GetCFA return to _Unwind_Ptr first.
13742 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
13744         [BZ #13629]
13745         * math/s_clog.c: Include <float.h>.
13746         (__clog): Scale large or subnormal inputs.
13747         * math/s_clogf.c: Likewise.
13748         * math/s_clogl.c: Likewise.
13749         * math/s_clog10.c: Include <float.h>.
13750         (M_LOG10_2): Define.
13751         (__clog10): Scale large or subnormal inputs.
13752         * math/s_clog10f.c: Likewise.
13753         * math/s_clog10l.c: Likewise.
13754         * math/libm-test.inc (clog_test): Add more tests.
13755         (clog10_test): Likewise.
13756         * sysdeps/i386/fpu/libm-test-ulps: Update.
13757         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13759         [BZ #11451]
13760         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
13761         x and y.
13762         * math/libm-test.inc (atan2_test): Add another test.
13764         * Makerules (common-objdir-compile): Remove.
13765         * sysdeps/unix/Makefile (config-generated): Do not add
13766         $(unix-generated) to variable.
13767         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
13768         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
13769         Remove rule.
13770         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
13771         Likewise.
13772         [generic bits/local_lim.h] (before-compile): Do not append to
13773         variable.
13774         [generic bits/local_lim.h] (common-generated): Likewise.
13775         [generic sys/param.h] (before-compile): Do not append to variable.
13776         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
13777         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
13778         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
13779         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
13780         include.
13781         [generic sys/param.h] (sys/param.h-includes): Remove variable.
13782         [generic sys/param.h] (sys/param.h-includes): Remove rule.
13783         [generic sys/param.h] ($(addprefix
13784         $(common-objpfx),$(sys/param.h-includes))): Likewise.
13785         [generic sys/param.h] (common-generated): Do not append to
13786         variable.
13787         [generic sys/param.h] (sysdep_headers): Likewise.
13788         [generic bits/errno.h] (before-compile): Do not append to
13789         variable.
13790         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
13791         rule.
13792         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
13793         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
13794         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
13795         [generic bits/errno.h] (common-generated): Do not append to
13796         variable.
13797         [generic bits/ioctls.h] (before-compile): Do not append to
13798         variable.
13799         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
13800         rule.
13801         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
13802         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
13803         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
13804         rule.
13805         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
13806         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
13807         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
13808         [generic bits/ioctls.h] (common-generated): Do not append to
13809         variable.
13810         [generic sys/syscall.h] (syscall.h): Remove variable.
13811         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
13812         rule.
13813         [generic sys/syscall.h] (before-compile): Do not append to
13814         variable.
13815         [generic sys/syscall.h] (common-generated): Likewise.
13816         * sysdeps/unix/errnos-tmpl.c: Remove file.
13817         * sysdeps/unix/errnos.awk: Likewise.
13818         * sysdeps/unix/ioctls-tmpl.c: Likewise.
13819         * sysdeps/unix/ioctls.awk: Likewise.
13820         * sysdeps/unix/mk-local_lim.c: Likewise.
13821         * sysdeps/unix/snarf-ioctls: Likewise.
13823 2012-03-19  Richard Henderson  <rth@twiddle.net>
13825         * sysdeps/i386/fpu/fenv_private.h: New file.
13826         * sysdeps/i386/fpu/math_private.h: Use it.
13827         (math_opt_barrier, math_force_eval): Remove.
13828         (libc_feholdexcept_setround_53bit): Remove.
13829         (libc_feupdateenv_53bit): Remove.
13830         * sysdeps/x86_64/fpu/math_private.h: Likewise.
13831         (math_opt_barrier, math_force_eval): Remove.
13832         (libc_feholdexcept): Remove.
13833         (libc_feholdexcept_setround): Remove.
13834         (libc_fetestexcept, libc_fesetenv): Remove.
13835         (libc_feupdateenv_test): Remove.
13836         (libc_feupdateenv, libc_feholdsetround): Remove.
13837         (libc_feresetround): Remove.
13839         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
13840         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
13842         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
13843         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
13844         (libc_feupdateenv_testl): New.
13845         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
13846         (libc_feupdateenv_testf): New.
13847         (libc_feupdateenv): Use libc_feupdateenv_test.
13848         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
13849         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
13851         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
13852         (libc_feholdsetroundf, libc_feholdsetroundl): New.
13853         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
13854         (libc_feresetround_noex): New.
13855         (libc_feresetround_noexf): New.
13856         (libc_feresetround_noexl): New.
13857         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
13858         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
13859         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
13860         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
13861         SET_RESTORE_ROUND.
13862         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
13863         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
13864         (__cos): Likewise.
13865         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
13866         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
13867         SET_RESTORE_ROUND_NOEX.
13868         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
13869         SET_RESTORE_ROUND_NOEXF.
13870         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
13871         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
13872         (libc_feholdsetroundf): New.
13873         (libc_feresetround, libc_feresetroundf): New.
13875         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
13876         (libc_feholdexcept_setround_53bit): Convert from macro to function.
13877         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
13879         * sysdeps/generic/math_private.h: Include <fenv.h>.
13880         (default_libc_feholdexcept): New.
13881         (default_libc_feholdexcept_setround): New.
13882         (default_libc_fesetenv, default_libc_feupdateenv): New.
13883         (libc_feholdexcept): Only define if undefined.
13884         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
13885         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
13886         (libc_feholdexcept_setroundl): Likewise.
13887         (libc_feholdexcept_setround_53bit): Likewise.
13888         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
13889         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
13890         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
13891         (libc_feupdateenv_53bit): Likewise.
13892         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
13893         (libc_feholdexcept): Convert from macro to inline function.
13894         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
13895         (libc_fesetenv, libc_feupdateenv): Likewise.
13897         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
13898         not previously defined.
13899         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
13900         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
13901         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
13902         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
13903         * sysdeps/ieee754/flt-32/math_private.h: New file.
13904         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
13905         math_private.h below SET_FLOAT_WORD.
13906         (__isnan, __isinf_ns, __finite): Remove.
13907         (__isnanf, __isinf_nsf, __finitef): Remove.
13909 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
13911         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13913 2012-03-17  David S. Miller  <davem@davemloft.net>
13915         [BZ #6471]
13916         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
13917         for 2.16.
13919 2012-03-16  David S. Miller  <davem@davemloft.net>
13921         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
13922         warnings.
13924         [BZ #6471]
13925         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
13926         properly.
13927         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
13928         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
13929         sysdep_routines when subdir is sysvipc.
13930         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
13931         __getshmlba helper.
13933         * sysdeps/sparc/fpu/libm-test/ulps: Update.
13935 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
13937         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
13938         [__LP64__].
13940 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
13942         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
13943         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
13944         (__lround): Renamed to ...
13945         (__llround): This.  Replace long int with long long int.
13946         Define lround functions as aliases of llround functions.
13947         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
13949 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
13951         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
13952         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
13953         adresses to uintptr_t.  Replace "long int" and "unsigned long
13954         int" with "greg_t" on va_arg.
13956 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
13958         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
13959         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
13961         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
13962         Move e_machine check before EI_CLASS check.  Handle x32
13963         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
13964         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
13965         SKIP_EM_IA_64 and include
13966         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
13968         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
13969         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
13970         (add_system_dir): New macro.
13972         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
13973         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
13975 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
13977         [BZ #2551]
13978         [BZ #2552]
13979         [BZ #2553]
13980         [BZ #2554]
13981         [BZ #2562]
13982         [BZ #2563]
13983         [BZ #2565]
13984         [BZ #2566]
13985         [BZ #2576]
13986         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
13987         (y0): Likewise.
13988         * math/w_j0f.c (j0f): Likewise.
13989         (y0f): Likewise.
13990         * math/w_j0l.c (__j0l): Likewise.
13991         (__y0l): Likewise.
13992         * math/w_j1.c (j1): Likewise.
13993         (y1): Likewise.
13994         * math/w_j1f.c (j1f): Likewise.
13995         (y1f): Likewise.
13996         * math/w_j1l.c (__j1l): Likewise.
13997         (__y1l): Likewise.
13998         * math/w_jn.c (jn): Likewise.
13999         (yn): Likewise.
14000         * math/w_jnf.c (jnf): Likewise.
14001         (ynf): Likewise.
14002         * math/w_jnl.c (__jnl): Likewise.
14003         (__ynl): Likewise.
14004         * math/libm-test.inc (j0_test): Add more tests.
14005         (j1_test): Likewise.
14006         (jn_test): Likewise.  Add trailing semicolon to existing test.
14007         (y0_test): Likewise.
14008         (y1_test): Likewise.
14009         * sysdeps/i386/fpu/libm-test-ulps: Update.
14010         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14012         [BZ #13851]
14013         [BZ #13854]
14014         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
14015         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
14016         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
14017         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
14018         (__tanl): Set errno for infinite argument.
14019         * sysdeps/i386/fpu/mptan.c: Remove.
14020         * sysdeps/i386/fpu/s_tan.S: Likewise.
14021         * sysdeps/i386/fpu/s_tanl.S: Likewise.
14022         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
14023         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
14024         * math/libm-test.inc (tan_test): Add more tests and enable more
14025         tests for double and long double.
14026         * sysdeps/i386/fpu/libm-test-ulps: Update.
14027         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14029 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
14031         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
14032         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
14034 2012-03-16  Roland McGrath  <roland@hack.frob.com>
14036         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
14037         * configure.in: Use it for both main tree and add-ons.
14038         * configure: Regenerated.
14040 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
14042         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
14044 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
14046         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
14047         in comment.
14049         [BZ #13851]
14050         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
14051         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
14052         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
14053         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
14054         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
14055         infinite argument.
14056         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
14057         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
14058         != 0 for prec == 2.
14059         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
14060         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
14061         * sysdeps/i386/fpu/s_cosl.S: Likewise.
14062         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
14063         * sysdeps/i386/fpu/s_sinl.S: Likewise.
14064         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
14065         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
14066         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
14067         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
14068         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
14069         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
14070         * math/libm-test.inc (cos_test): Add more tests and enable more
14071         tests for long double.
14072         (sin_test): Likewise.
14073         (sincos_test): Likewise.
14074         * sysdeps/i386/fpu/libm-test-ulps: Update.
14075         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14077 2012-03-16  David S. Miller  <davem@davemloft.net>
14079         * sysdeps/sparc/fpu/math_private.h: New file.
14081 2012-03-15  David S. Miller  <davem@davemloft.net>
14083         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
14084         file.
14085         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
14086         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
14087         file.
14088         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
14089         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
14090         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
14091         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
14092         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
14093         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
14094         sysdep routines.
14095         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
14097         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
14098         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
14100         * sysdeps/sparc/sparc-ifunc.h: New file.
14101         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
14102         sparc-ifunc.h
14103         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
14104         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
14105         Likewise.
14106         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
14107         Likewise.
14108         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
14109         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
14110         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14111         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
14112         Likewise.
14113         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
14114         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
14115         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
14116         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
14117         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
14118         Likewise.
14119         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
14120         Likewise.
14121         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
14122         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
14123         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
14124         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
14125         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
14126         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
14127         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
14128         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
14129         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
14130         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
14131         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
14132         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
14133         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
14134         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
14135         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
14136         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
14137         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
14138         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
14139         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
14140         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
14141         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
14142         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
14143         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
14144         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
14146 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
14148         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
14149         scaling.
14150         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14152 2012-03-15  Andreas Jaeger  <aj@suse.de>
14154         [BZ #13852]
14155         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
14156         ieee754/flt-32 implementation for sin, cos and sincos.
14157         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
14158         * sysdeps/i386/fpu/s_cosf.S: Likewise.
14159         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
14160         * sysdeps/i386/fpu/s_sinf.S: Likewise.
14161         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
14162         ieee754/flt-32 implementation for tan.
14164         * math/libm-test.inc (cos_test): Enable some large input tests for
14165         float as well
14166         (sin_test): Likewise.
14167         (sincos_test): Likewise.
14168         (tan_test): Add tests for large input.
14170         * sysdeps/i386/fpu/libm-test-ulps: Update.
14172 2012-03-15  Andreas Jaeger  <aj@suse.de>
14174         [BZ #13658]
14175         * math/libm-test.inc (cos_test): Add more test cases.
14176         (sin_test): Likewise.
14177         (sincos_test): Likewise.
14179 2012-03-15  Andreas Jaeger  <aj@suse.de>
14181         [BZ #13837]
14182         * math/libm-test.inc (cos_test): Add a test case for large input
14183         value.
14184         (sin_test): Likewise.
14185         (sincos_test): Likewise.
14187 2012-03-15  Andreas Jaeger  <aj@suse.de>,
14188         Joseph Myers  <joseph@codesourcery.com>
14190         [BZ #13658]
14191         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
14192         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
14193         * sysdeps/i386/fpu/branred.c: Likewise.
14194         * sysdeps/i386/fpu/dosincos.c: Likewise.
14195         * sysdeps/i386/fpu/mpa.c: Likewise.
14196         * sysdeps/i386/fpu/s_cos.S: Likewise.
14197         * sysdeps/i386/fpu/s_sin.S: Likewise.
14198         * sysdeps/i386/fpu/s_sincos.S: Likewise.
14199         * sysdeps/i386/fpu/sincos32.c: Likewise.
14201         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
14202         Define.
14203         (libc_feupdateenv_53bit): Define.
14204         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
14205         Define.
14206         (libc_feupdateenv_53bit): Define.
14208         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
14209         53 bit (without extend i386 double precision).
14211         * math/libm-test.inc (sincos_test): Add tests for large input.
14212         (sin): Likewise.
14213         (cos): Likewise.
14215         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
14217 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
14219         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14221 2012-03-15  David S. Miller  <davem@davemloft.net>
14223         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
14224         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
14225         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
14226         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
14227         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
14228         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
14229         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
14230         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
14231         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
14232         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
14233         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
14234         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
14235         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
14236         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
14237         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
14238         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
14239         file.
14240         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
14241         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
14242         file.
14243         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
14244         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
14245         file.
14246         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
14247         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
14248         file.
14249         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
14250         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
14251         fmin/fmax sysdep routines.
14252         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
14254 2012-03-14  David S. Miller  <davem@davemloft.net>
14256         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
14257         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
14258         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
14259         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
14260         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
14261         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
14262         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
14263         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
14264         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
14265         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
14266         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
14267         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
14268         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
14269         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
14270         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
14271         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
14272         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
14273         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
14274         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
14275         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
14276         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
14277         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
14278         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
14279         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
14280         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
14281         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
14282         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
14283         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
14284         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
14285         routines.
14286         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
14287         file.
14288         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
14289         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
14290         file.
14291         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
14292         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
14293         file.
14294         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
14295         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
14296         file.
14297         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
14298         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
14299         file.
14300         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
14301         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
14302         file.
14303         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
14304         file.
14305         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
14306         file.
14307         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
14308         file.
14309         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
14310         New file.
14311         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
14312         file.
14313         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
14314         file.
14315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
14316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
14317         file.
14318         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
14319         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
14320         file.
14321         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
14322         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
14323         file.
14324         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
14325         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
14326         VIS3 routines.
14328         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
14329         New file.
14331         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14333         * sysdeps/sparc/configure.in: New file.
14334         * sysdeps/sparc/configure: Generate.
14335         * configure.in (libc_cv_sparc_as_vis3): Substitute.
14336         * configure: Regenerate.
14337         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
14338         * config.make.in (have-as-vis3): New.
14339         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
14340         available use -Av9d instead of -Av9a.
14341         * sysdeps/sparc/sparc64/Makefile: Likewise.
14342         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
14343         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
14344         New file.
14345         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
14346         file.
14347         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
14348         New file.
14349         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
14350         file.
14351         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
14352         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
14353         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
14354         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
14355         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
14357         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
14358         fzeros/fnegs to load 0x80000000 into a float register instead of
14359         using the stack.
14360         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
14362 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
14364         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14365         bits/syscall.h.
14366         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
14367         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
14368         ($(inst_includedir)/bits/syscall.h): Remove rule.
14369         ($(objpfx)bits/syscall.d): Include instead of
14370         $(objpfx)syscall-list.d.
14371         (generated): Change syscall-list.h and syscall-list.d to
14372         bits/syscall.h and bits/syscall.d.
14374 2012-03-14  Roland McGrath  <roland@hack.frob.com>
14376         [BZ #13846]
14377         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
14379 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
14381         [BZ #13841]
14382         * math/s_csqrt.c: Include <float.h>.
14383         (__csqrt): Scale large or subnormal inputs.
14384         * math/s_csqrtf.c: Likewise.
14385         * math/s_csqrtl.c: Likewise.
14386         * math/libm-test.inc (csqrt_test): Add more tests.
14387         * sysdeps/i386/fpu/libm-test-ulps: Update.
14388         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14390         [BZ #13840]
14391         * math/libm-test.inc (hypot_test): Add more tests.
14393 2012-03-13  David S. Miller  <davem@davemloft.net>
14395         [BZ #13840]
14396         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
14397         double-precision for the calculation instead of scaling.
14399 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
14401         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
14402         manipulate bits before adding and subtracting TWO52[sx].
14403         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
14404         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
14405         Likewise.
14406         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
14408 2012-03-13  David S. Miller  <davem@davemloft.net>
14410         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
14411         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
14412         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
14413         rtld-global-offsets.h
14414         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14416         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
14417         large parameters.
14419         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
14421         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
14422         'err' in the ifdef scope in which it is actually used.
14424         * nss/nss_db/db-init.c: Include string.h
14426 2012-03-12  David S. Miller  <davem@davemloft.net>
14428         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
14429         masking out of the most significant byte of random value used.
14430         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14431         Fix coding style in previous change.
14433         * sysdeps/unix/sysv/linux/kernel-features.h
14434         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
14435         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
14436         expression.
14437         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
14438         later.
14440 2012-03-11  David S. Miller  <davem@davemloft.net>
14442         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
14443         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
14444         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
14445         for 'resultvar' otherwise things get truncated on 64-bit.
14447         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14448         Fix masking out of the most significant byte of random value used.
14450         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14452 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
14454         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14456 2012-03-09  David S. Miller  <davem@davemloft.net>
14458         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
14459         variables with appropriate CPP guards.
14460         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
14461         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
14462         on resulting framesize and the management of the outregs buffer for pltexit.
14463         Preserve floating point return values across _dl_call_pltexit call.
14464         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
14465         framesize and the management of the outregs buffer for pltexit.
14466         Preserve floating point return values across _dl_call_pltexit
14467         call.
14468         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
14469         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
14470         (print_exit): Fix format string for return register value.
14472 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
14474         * sunrpc/Makefile (others): Add rpcgen.
14475         ($(objpfx)rpcgen): Remove special build rule and dependency on
14476         libc.
14477         * sunrpc/rpcgen.c: New file.
14479 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
14481         [BZ #13673]
14482         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
14483         * stdio-common/bug-vfprintf-nargs.c: Likewise.
14484         * sysdeps/i386/crti.S: Likewise.
14485         * sysdeps/i386/crtn.S: Likewise.
14486         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
14487         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
14488         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
14489         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
14490         * sysdeps/sh/crti.S: Likewise.
14491         * sysdeps/sh/crtn.S: Likewise.
14492         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
14494         [BZ #13673]
14495         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
14496         with URL.
14497         * locale/programs/locfile-kw.gperf: Likewise.
14498         * locale/programs/charmap-kw.h: Regenerated.
14499         * locale/programs/locfile-kw.h: Likewise.
14501         [BZ #13673]
14502         * intl/plural.y: Replace FSF snail mail address with URL.
14503         * intl/plural.c: Regenerated.
14505 2012-03-09  Richard Henderson  <rth@twiddle.net>
14507         * include/math_private.h: Remove file.
14508         * math/math_private.h: Move file ...
14509         * sysdeps/generic/math_private.h: ... here.
14511         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
14512         * sysdeps/powerpc/fpu/math_private.h: Likewise.
14513         * sysdeps/x86_64/fpu/math_private.h: Likewise.
14515         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
14516         and <math_private.h>.
14517         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
14518         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
14519         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
14520         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
14521         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
14522         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
14523         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14524         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14525         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14526         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14527         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14528         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14529         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14530         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14531         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14532         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14533         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14534         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14535         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14536         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14537         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14538         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14539         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14540         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14541         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
14542         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14543         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14544         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14545         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14546         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14547         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14548         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14549         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
14550         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14551         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14552         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14553         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14554         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14555         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14556         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14557         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
14558         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14559         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
14560         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
14561         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
14562         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14563         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
14564         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
14565         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14566         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14567         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14568         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
14569         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
14570         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14571         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
14572         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14573         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
14574         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14575         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
14576         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
14577         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14578         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14579         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14580         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14581         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
14582         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14583         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14584         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14585         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
14586         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
14587         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
14588         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14589         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
14590         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14591         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
14592         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
14593         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
14594         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14595         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
14596         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
14597         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
14598         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
14599         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
14600         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
14601         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14602         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
14603         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
14604         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
14605         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
14606         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14607         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14608         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
14609         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14610         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14611         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
14612         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
14613         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14614         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14615         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14616         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14617         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
14618         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
14619         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
14620         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
14621         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
14622         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
14623         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14624         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
14625         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14626         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14627         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14628         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14629         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14630         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14631         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
14632         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14633         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
14634         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
14635         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14636         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14637         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
14638         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
14639         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14640         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
14641         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
14642         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
14643         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
14644         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
14645         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
14646         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
14647         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
14648         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14649         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14650         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
14651         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
14652         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
14653         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
14654         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
14655         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
14656         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
14657         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14658         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
14659         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
14660         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
14661         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
14662         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
14663         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
14664         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
14665         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
14666         * sysdeps/ieee754/k_standard.c: Likewise.
14667         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
14668         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14669         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14670         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14671         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14672         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14673         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
14674         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14675         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14676         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14677         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14678         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14679         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14680         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14681         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14682         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14683         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
14684         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14685         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14686         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
14687         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
14688         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
14689         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14690         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
14691         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14692         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
14693         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
14694         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
14695         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
14696         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14697         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14698         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
14699         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
14700         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
14701         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
14702         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
14703         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
14704         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
14705         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
14706         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
14707         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
14708         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
14709         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14710         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
14711         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
14712         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
14713         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
14714         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
14715         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
14716         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14717         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14718         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
14719         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
14720         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
14721         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14722         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14723         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
14724         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
14725         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
14726         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
14727         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14728         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
14729         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
14730         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
14731         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14732         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14733         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
14734         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14735         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
14736         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
14737         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14738         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14739         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
14740         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
14741         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
14742         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14743         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
14744         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
14745         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14746         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
14747         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
14748         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
14749         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
14750         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
14751         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
14752         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
14753         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
14754         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
14755         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
14756         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
14757         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
14758         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
14759         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
14760         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
14761         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
14762         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
14763         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
14764         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
14765         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
14766         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
14767         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
14768         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
14769         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14770         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
14771         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
14772         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
14773         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
14774         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
14775         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
14776         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
14777         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
14778         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
14779         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
14780         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14781         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
14782         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14783         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
14784         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14785         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14786         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14787         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14788         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
14789         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14790         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14791         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14792         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
14793         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14794         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
14795         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
14796         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14797         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14798         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14799         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14800         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
14801         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
14802         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
14803         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
14804         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
14805         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14806         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
14807         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
14808         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14809         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
14810         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
14811         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
14812         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14813         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14814         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
14815         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
14816         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
14817         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14818         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
14819         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
14820         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14821         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
14822         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
14823         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
14824         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
14825         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
14826         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
14827         * sysdeps/ieee754/s_lib_version.c: Likewise.
14828         * sysdeps/ieee754/s_matherr.c: Likewise.
14829         * sysdeps/ieee754/s_signgam.c: Likewise.
14830         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14831         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14832         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
14833         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
14834         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
14835         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
14836         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
14837         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
14838         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
14839         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
14840         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
14841         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
14842         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
14843         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
14844         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
14845         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
14846         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14847         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
14848         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14849         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14850         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14852 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
14854         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
14855         * sunrpc/rpc_main.c: Likewise.
14856         * sunrpc/rpc_svcout.c: Likewise.
14858 2012-03-09  David S. Miller  <davem@davemloft.net>
14860         * include/math_private.h: New file.
14862 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
14864         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
14865         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
14866         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
14867         from <bits/socket_type.h>.
14868         (enum __socket_type): Don't define here.
14869         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
14870         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14871         bits/socket_type.h.
14873         [BZ #13566]
14874         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
14875         checking __USE_GNU.
14877         * Makerules ($(inst_includedir)/%.h): New rule.
14878         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
14879         (install-others): Remove variable setting.
14880         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
14882 2012-03-08  Richard Henderson  <rth@twiddle.net>
14884         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
14885         from macro to inline function; merge with the
14886         !__LIBC_INTERNAL_MATH_INLINES version.
14887         (__ieee754_sqrtf): Likewise.
14889         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
14890         to inline function.
14891         (__rintf, __floor, __floorf): Likewise.
14893         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
14894         macro to inline function.
14895         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
14897         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
14898         not <math/math_private.h>.
14900 2012-03-08  David S. Miller  <davem@davemloft.net>
14902         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
14903         copyright year.
14904         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
14906 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
14908         * resolv/gai_misc.c (handle_requests): Fix struct timespec
14909         normalization.
14910         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
14911         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
14913 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
14915         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
14916         be defined individually, they must be defined as a block.  Define
14917         S for printing a string instead of hidint the different by using a
14918         macro for adding the 'l'.
14919         * stdio-common/tst-fphex-wide.c: Adjust.
14921 2012-03-07  Marek Polacek  <polacek@redhat.com>
14923         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
14925 2012-03-08  Marek Polacek  <polacek@redhat.com>
14927         [BZ #13806]
14928         * stdio-common/Makefile (tests): Add tst-fphex-wide.
14929         * stdio-common/tst-fphex.c: Define a few macros to make the
14930         test reusable.  Use them.
14931         * stdio-common/tst-fphex-wide.c: New file.
14933 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
14935         [BZ #6911]
14936         * manual/macros.texi (gnusystems): New macro.
14937         (nongnusystems): Likewise.
14938         (gnulinuxhurdsystems): Likewise.
14939         (gnuhurdsystems): Likewise..
14940         (gnulinuxsystems): Likewise.
14941         * manual/charset.texi: Use new macros or @theglibc{} to refer to
14942         variants of the GNU system, not "GNU system".
14943         * manual/conf.texi: Likewise.
14944         * manual/errno.texi: Likewise.  Update example of errno macro
14945         expansion.
14946         * manual/filesys.texi: Likewise.
14947         (getumask): Document as specific to GNU/Hurd.
14948         * manual/install.texi: Likewise.  Reword some references to
14949         GNU/Linux.
14950         * manual/intro.texi: Likewise.
14951         * manual/io.texi: Likewise.
14952         (File Name Portability): Detail which constraints are inapplicable
14953         to all GNU systems and which are only inapplicable to GNU/Hurd.
14954         * manual/job.texi: Likewise.
14955         * manual/llio.texi: Likewise.
14956         (O_NOCTTY): Document as present on GNU/Linux.
14957         * manual/maint.texi: Likewise.
14958         * manual/memory.texi: Likewise.
14959         * manual/pattern.texi: Likewise.
14960         * manual/pipe.texi: Likewise.
14961         * manual/process.texi: Likewise.
14962         * manual/resource.texi: Likewise.
14963         (RUSAGE_CHILDREN): Remove statement about specifying a particular
14964         child on GNU/Hurd.
14965         * manual/setjmp.texi: Likewise.
14966         * manual/signal.texi: Likewise.
14967         * manual/startup.texi: Likewise.
14968         * manual/stdio.texi: Likewise.
14969         * manual/terminal.texi: Likewise.
14970         (ONLCR): Document as POSIX.
14971         (OXTABS): Document availability on GNU/Linux as XTABS.
14972         (ONOEOT): Document availability separately from other bits.
14973         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
14974         * manual/time.texi: Likewise.
14975         * manual/users.texi: Likewise.
14976         * INSTALL: Regenerated.
14977         * sysdeps/gnu/errlist.c: Regenerated.
14979         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
14980         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
14981         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
14982         puts.
14983         * configure: Regenerated.
14985 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
14987         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
14988         default includes instead of AC_HEADER_CHECK.
14989         * sysdeps/i386/configure: Regenerated.
14991         [BZ #10716]
14992         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
14993         * math/s_cacoshf.c (__cacoshf): Likewise.
14994         * math/s_cacoshl.c (__cacoshl): Likewise.
14995         * math/s_casinh.c (__casinh): Set signs of result from argument.
14996         * math/s_casinhf.c (__casinhf): Likewise.
14997         * math/s_casinhl.c (__casinhl): Likewise.
14998         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
14999         (casinh_test): Add more tests.
15000         * sysdeps/i386/fpu/libm-test-ulps: Update.
15001         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15003 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
15005         * po/zh_TW.po: Update from translation team.
15007         * login/Makefile (distribute): Remove variable.
15008         * catgets/Makefile: Likewise.
15009         * mach/Makefile: Likewise.
15010         * malloc/Makefile: Likewise.
15011         * misc/Makefile: Likewise.
15012         * iconv/Makefile: Likewise.
15013         * nscd/Makefile: Likewise.
15014         * hurd/Makefile: Likewise.
15015         * manual/Makefile: Likewise.
15016         * locale/Makefile: Likewise.
15017         * intl/Makefile: Likewise.
15018         * conform/Makefile: Likewise.
15019         * nss/Makefile: Likewise.
15020         * time/Makefile: Likewise.
15021         * soft-fp/Makefile: Likewise.
15022         * dirent/Makefile: Likewise.
15023         * gmon/Makefile: Likewise.
15024         * po/Makefile: Likewise.
15025         * rt/Makefile: Likewise.
15026         * socket/Makefile: Likewise.
15027         * math/Makefile: Likewise.
15028         * signal/Makefile: Likewise.
15029         * debug/Makefile: Likewise.
15030         * elf/Makefile: Likewise.
15031         * timezone/Makefile: Likewise.
15032         * stdlib/Makefile: Likewise.
15033         * iconvdata/Makefile: Likewise.
15034         * sunrpc/Makefile: Likewise.
15035         * io/Makefile: Likewise.
15036         * argp/Makefile: Likewise.
15037         * inet/Makefile: Likewise.
15038         * hesiod/Makefile: Likewise.
15039         * grp/Makefile: Likewise.
15040         * csu/Makefile: Likewise.
15041         * wctype/Makefile: Likewise.
15042         * crypt/Makefile: Likewise.
15043         * libio/Makefile: Likewise.
15044         * string/Makefile: Likewise.
15045         * nis/Makefile: Likewise.
15046         * resolv/Makefile: Likewise.
15047         * stdio-common/Makefile: Likewise.
15048         * wcsmbs/Makefile: Likewise.
15049         * dlfcn/Makefile: Likewise.
15050         * posix/Makefile: Likewise.
15052         [BZ #6959]
15053         * timezone/Makefile: Don't install timezone files, just the programs
15054         and scripts.
15056 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
15058         * nss/databases.def: Add missing gshadow entry.
15060         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
15062 2012-03-06  Marek Polacek  <polacek@redhat.com>
15064         [BZ #13726]
15065         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
15066         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
15067         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
15068         * stdio-common/tst-long-dbl-fphex.c: New file.
15070 2012-03-06  David S. Miller  <davem@davemloft.net>
15072         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15073         (set_obp_int): New function.
15074         (get_obp_int): New function.
15075         (__get_clockfreq_via_dev_openprom): Likewise.
15076         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
15077         Avoid unused variable warnings on 'val' and use builtin_expect.
15078         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
15079         __builtin_expect.
15080         (INLINE_CLONE_SYSCALL): Likewise.
15082 2012-03-05  David S. Miller  <davem@davemloft.net>
15084         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15086 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
15088         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15090         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
15091         only for |x| >= 40.
15092         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15094 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
15096         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
15097         Replace gettimeofday with __vdso_gettimeofday.
15099         * sysdeps/unix/sysv/linux/x86_64/init-first.c
15100         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
15101         __vdso_clock_gettime and __vdso_getcpu.
15103         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
15104         time with __vdso_time.
15106 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
15108         * manual/lang.texi (size_t): Note types to which size_t may be
15109         equivalent with the GNU C Library, but do not describe when
15110         differences between them are significant.
15112 2012-03-05  Andreas Jaeger  <aj@suse.de>
15114         * sysdeps/i386/fpu/libm-test-ulps: Update.
15116 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
15118         [BZ #3976]
15119         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
15120         (__ieee754_pow): Save and restore rounding mode and use
15121         round-to-nearest for main computations.
15122         * math/libm-test.inc (pow_test_tonearest): New function.
15123         (pow_test_towardzero): Likewise.
15124         (pow_test_downward): Likewise.
15125         (pow_test_upward): Likewise.
15126         (main): Call the new functions.
15127         * sysdeps/i386/fpu/libm-test-ulps: Update.
15128         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15130         [BZ #3976]
15131         * math/libm-test.inc (cosh_test_tonearest): New function.
15132         (cosh_test_towardzero): Likewise.
15133         (cosh_test_downward): Likewise.
15134         (cosh_test_upward): Likewise.
15135         (sinh_test_tonearest): Likewise.
15136         (sinh_test_towardzero): Likewise.
15137         (sinh_test_downward): Likewise.
15138         (sinh_test_upward): Likewise.
15139         (main): Call the new functions.
15140         * sysdeps/i386/fpu/libm-test-ulps: Update.
15141         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15143 2012-03-05  Tom de Vries  <tom@codesourcery.com>
15145         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
15146         default stack guard is set in last bytes.
15147         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
15149 2012-03-05  Kees Cook  <keescook@chromium.org>
15151         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
15153         [BZ #13656]
15154         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
15155         possibly allocate from heap instead of stack.
15156         * stdio-common/bug-vfprintf-nargs.c: New file.
15157         * stdio-common/Makefile (tests): Add nargs overflow test.
15159 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
15161         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15163 2012-03-03  Marek Polacek  <polacek@redhat.com>
15165         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
15166         * math/math_private.h: Likewise.
15167         * stdlib/tst-strtod.c: Likewise.
15168         * sysdeps/i386/i486/bits/atomic.h: Likewise.
15169         * sysdeps/x86_64/bits/atomic.h: Likewise.
15171 2012-03-02  David S. Miller  <davem@davemloft.net>
15173         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
15174         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
15175         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
15176         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
15177         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
15178         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
15179         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
15180         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
15182 2012-03-02  Roland McGrath  <roland@hack.frob.com>
15184         [BZ #13792]
15185         * manual/examples/README: New file, says the example source files
15186         can be used under GPL>=2.
15187         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
15188         line containing just "*/".
15189         * manual/examples/add.c: Add copyright header (GPL>=2).
15190         * manual/examples/argp-ex1.c: Likewise.
15191         * manual/examples/argp-ex2.c: Likewise.
15192         * manual/examples/argp-ex3.c: Likewise.
15193         * manual/examples/argp-ex4.c: Likewise.
15194         * manual/examples/atexit.c: Likewise.
15195         * manual/examples/db.c: Likewise.
15196         * manual/examples/dir.c: Likewise.
15197         * manual/examples/dir2.c: Likewise.
15198         * manual/examples/execinfo.c: Likewise.
15199         * manual/examples/filecli.c: Likewise.
15200         * manual/examples/filesrv.c: Likewise.
15201         * manual/examples/fmtmsgexpl.c: Likewise.
15202         * manual/examples/genpass.c: Likewise.
15203         * manual/examples/inetcli.c: Likewise.
15204         * manual/examples/inetsrv.c: Likewise.
15205         * manual/examples/isockad.c: Likewise.
15206         * manual/examples/longopt.c: Likewise.
15207         * manual/examples/memopen.c: Likewise.
15208         * manual/examples/memstrm.c: Likewise.
15209         * manual/examples/mkfsock.c: Likewise.
15210         * manual/examples/mkisock.c: Likewise.
15211         * manual/examples/mygetpass.c: Likewise.
15212         * manual/examples/pipe.c: Likewise.
15213         * manual/examples/popen.c: Likewise.
15214         * manual/examples/rprintf.c: Likewise.
15215         * manual/examples/search.c: Likewise.
15216         * manual/examples/select.c: Likewise.
15217         * manual/examples/setjmp.c: Likewise.
15218         * manual/examples/sigh1.c: Likewise.
15219         * manual/examples/sigusr.c: Likewise.
15220         * manual/examples/stpcpy.c: Likewise.
15221         * manual/examples/strdupa.c: Likewise.
15222         * manual/examples/strftim.c: Likewise.
15223         * manual/examples/strncat.c: Likewise.
15224         * manual/examples/subopt.c: Likewise.
15225         * manual/examples/swapcontext.c: Likewise.
15226         * manual/examples/termios.c: Likewise.
15227         * manual/examples/testopt.c: Likewise.
15228         * manual/examples/testpass.c: Likewise.
15229         * manual/examples/timeval_subtract.c: Likewise.
15231         [BZ #13792]
15232         * manual/time.texi (Elapsed Time): Move timeval_subtract example
15233         function to ...
15234         * manual/timeval_subtract.c.texi: ... here, new file.
15236 2012-03-02  David S. Miller  <davem@davemloft.net>
15238         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
15240 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
15242         [BZ #3976]
15243         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
15244         (__sin): Save and restore rounding mode and use round-to-nearest
15245         for all computations.
15246         (__cos): Save and restore rounding mode and use round-to-nearest
15247         for all computations.
15248         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
15249         <fenv.h>.
15250         (tan): Save and restore rounding mode and use round-to-nearest for
15251         all computations.
15252         * math/libm-test.inc (cos_test_tonearest): New function.
15253         (cos_test_towardzero): Likewise.
15254         (cos_test_downward): Likewise.
15255         (cos_test_upward): Likewise.
15256         (sin_test_tonearest): Likewise.
15257         (sin_test_towardzero): Likewise.
15258         (sin_test_downward): Likewise.
15259         (sin_test_upward): Likewise.
15260         (tan_test_tonearest): Likewise.
15261         (tan_test_towardzero): Likewise.
15262         (tan_test_downward): Likewise.
15263         (tan_test_upward): Likewise.
15264         (main): Call the new functions.
15265         * sysdeps/i386/fpu/libm-test-ulps: Update.
15266         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15268         [BZ #10135]
15269         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
15270         small n, then large n, before computing and testing k+n.
15271         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
15272         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
15273         Likewise.
15274         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
15275         Likewise.
15276         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
15277         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
15278         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
15279         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
15280         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
15281         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
15282         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
15283         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
15284         * math/libm-test.inc (scalbn_test): Add more tests.
15285         (scalbln_test): Likewise.
15287         * manual/filesys.texi (mode_t): Describe constraints on size and
15288         signedness, not exact equivalence to a particular type.
15289         (ino_t): Likewise.
15290         (ino64_t): Likewise.
15291         (dev_t): Likewise.
15292         (nlink_t): Likewise.
15293         (blkcnt_t): Likewise.
15294         (blkcnt64_t): Likewise.
15295         * manual/llio.texi (off_t): Likewise.
15297         [BZ #3976]
15298         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
15299         (__ieee754_exp): Save and restore rounding mode and use
15300         round-to-nearest for all computations.
15301         * math/libm-test.inc (exp_test_tonearest): New function.
15302         (exp_test_towardzero): Likewise.
15303         (exp_test_downward): Likewise.
15304         (exp_test_upward): Likewise.
15305         (main): Call the new functions.
15306         * sysdeps/i386/fpu/libm-test-ulps: Update.
15307         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15309 2012-03-01  Chris Demetriou  <cgd@google.com>
15311         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
15312         have predictable order.
15314 2012-03-01  David S. Miller  <davem@davemloft.net>
15316         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
15318         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
15319         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
15320         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
15321         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
15323         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
15324         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
15325         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
15326         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
15327         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
15328         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
15329         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
15330         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
15331         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
15333         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15335         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
15336         * sysdeps/sparc/fpu/libm-test-ulps: to here.
15337         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
15339         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
15340         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
15341         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
15342         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
15343         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
15344         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
15345         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
15346         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
15347         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
15348         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
15349         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
15350         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15351         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
15352         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
15353         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15354         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15355         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
15356         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
15357         * sysdeps/sparc/elf/configure: Regenerated.
15359 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
15361         * configure.in (AS, LD): Require binutils 2.20 or later.
15362         * configure: Regenerated.
15363         * manual/install.texi (Tools for Compilation): Give binutils 2.20
15364         as required minimum version.
15365         * INSTALL: Regenerated.
15367         [BZ #2541]
15368         [BZ #4108]
15369         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
15370         before squaring exponent.
15371         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
15372         bottom long double and 27 bits of top long double before squaring
15373         exponent.
15374         * math/libm-test.inc (erfc_test): Add more tests.
15375         * sysdeps/i386/fpu/libm-test-ulps: Update.
15376         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15377         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15379 2012-03-01  Kai Tietz  <ktietz@redhat.com>
15381         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
15382         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
15383         containing bit-fields.
15384         * soft-fp/extended.h (_FP_UNION_E): Likewise.
15385         * soft-fp/single.h (_FP_UNION_S): Likewise.
15386         * soft-fp/double.h (_FP_UNION_D): Likewise.
15388 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
15390         [BZ #13786]
15391         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
15392         not include ../strcmp.S.
15393         [USE_AS_STRNCASECMP_L]: Likewise.
15394         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
15395         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
15396         * sysdeps/i386/i686/multiarch/strncase_l-c.c
15397         (__strncasecmp_l_ia32): Define as alias to
15398         __strncasecmp_l_nonascii.
15400         [BZ #5794]
15401         * math/libm-test.inc (expm1_test): Add test for bug 5794.
15402         * sysdeps/i386/fpu/libm-test-ulps: Update.
15403         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15405         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
15406         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15408 2012-02-29  Jeff Law  <law@redhat.com>
15410         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
15411         out of bounds read.
15413 2012-02-29  Marek Polacek  <polacek@redhat.com>
15415         [BZ #13706]
15416         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
15417         * elf/Makefile: Add rules to run tst-unused-dep.out.
15419 2012-02-28  David S. Miller  <davem@davemloft.net>
15421         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
15422         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
15423         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
15424         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
15425         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
15426         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
15428 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
15430         * math/libm-test.inc (llround_test): Move one test from
15431         lround_test.  Use TEST_f_L in moved test.
15432         (lround_test): Move misplaced test to llround_test.  Add testcase
15433         from bug 2561.
15435 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
15437         * sysdeps/x86_64/fpu/e_expf.S: New file.
15438         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
15440 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
15442         [BZ #13637]
15443         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
15444         of remain_len that may cause incomplete multi-byte character and
15445         false match.
15446         * posix/bug-regex33.c: New file.
15447         * posix/Makefile (tests): Add bug-regex33.
15449 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
15451         * manual/macros.texi: New file.
15452         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
15453         * manual/libc.texinfo: Include macros.texi.
15454         * manual/creatute.texi: Likewise.
15455         * manual/install.texi: Likewise.
15456         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
15457         @glibcadj{} in references to the GNU C Library.
15458         * manual/charset.texi: Likewise.
15459         * manual/conf.texi: Likewise.
15460         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
15461         when not using those macros.
15462         * manual/creature.texi: Likewise.
15463         * manual/crypt.texi: Likewise.
15464         * manual/errno.texi: Likewise.
15465         * manual/filesys.texi: Likewise.
15466         * manual/header.texi: Likewise.
15467         * manual/install.texi: Likewise.
15468         * manual/intro.texi: Likewise.
15469         * manual/io.texi: Likewise.
15470         * manual/job.texi: Likewise.
15471         * manual/lang.texi: Likewise.
15472         * manual/libc.texiinfo: Likewise.
15473         * manual/llio.texi: Likewise.
15474         * manual/locale.texi: Likewise.
15475         * manual/maint.texi: Likewise.
15476         * manual/math.texi: Likewise.
15477         * manual/memory.texi: Likewise.
15478         * manual/message.texi: Likewise.
15479         * manual/nss.texi: Likewise.
15480         * manual/pattern.texi: Likewise.
15481         * manual/process.texi: Likewise.
15482         * manual/resource.texi: Likewise.
15483         * manual/search.texi: Likewise.
15484         * manual/setjmp.texi: Likewise.
15485         * manual/signal.texi: Likewise.
15486         * manual/socket.texi: Likewise.
15487         * manual/startup.texi: Likewise.
15488         * manual/stdio.texi: Likewise.
15489         * manual/string.texi: Likewise.
15490         * manual/sysinfo.texi: Likewise.
15491         * manual/syslog.texi: Likewise.
15492         * manual/terminal.texi: Likewise.
15493         * manual/time.texi: Likewise.
15494         * manual/users.texi: Likewise.
15495         * INSTALL: Regenerated.
15496         * NOTES: Regenerated.
15497         * sysdeps/gnu/errlist.c: Regenerated.
15499 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
15501         * include/dirent.h: Include <dirstream.h> before
15502         <dirent/dirent.h>.
15504 2012-02-28  David S. Miller  <davem@davemloft.net>
15506         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
15507         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
15508         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
15509         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
15511 2012-02-27  David S. Miller  <davem@davemloft.net>
15513         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
15514         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
15515         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
15516         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
15518         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
15519         frame pointer instead of stack pointer relative arg slot.
15520         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
15521         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
15522         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
15524 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
15526         [BZ #3992]
15527         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
15529 2012-02-27  David S. Miller  <davem@davemloft.net>
15531         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
15532         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
15533         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
15534         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
15535         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
15536         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
15537         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
15538         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
15540 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
15542         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
15543         later.  Allow versions 5-9.
15544         * configure: Regenerated.
15545         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
15546         required minimum version and 4.6 as recommended version.  Do not
15547         mention bugs in GCC 2.7 and 2.8.
15548         * INSTALL: Regenerated.
15550 2012-02-27  David S. Miller  <davem@davemloft.net>
15552         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
15553         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
15554         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
15555         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
15556         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
15557         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
15558         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
15559         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
15561         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
15562         manipulate bits before adding and subtracting TWO112[sx].
15563         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
15565 2012-02-27  Roland McGrath  <roland@hack.frob.com>
15567         [BZ #13775]
15568         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
15569         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
15570         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
15571         being in POSIX, because they are in 1003.1-2008.
15573         * rt/tst-aio.c: Include <fcntl.h>.
15574         * rt/tst-aio7.c: Likewise.
15575         * rt/tst-aio64.c: Likewise.
15577         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
15579 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
15581         * manual/install.texi (--with-headers): Describe headers as
15582         interface headers, not private headers.
15583         (Specific advice for GNU/Linux systems): Describe use of headers
15584         from "make headers_install", not private headers from older
15585         kernels.
15586         * INSTALL: Regenerated.
15587         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
15588         Change to 2.6.19.
15589         * sysdeps/unix/sysv/linux/configure: Regenerated.
15591         * manual/llio.texi (fclean): Remove documentation.
15593         * manual/Makefile (libc-texi-generated): New variable.  Include
15594         version.texi.
15595         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
15596         $(libc-texi-generated), not duplicated list of files.
15597         (version.texi, stamp-version): New rules.
15598         (realclean): Remove $(libc-texi-generated), not individual files
15599         from that list.  Do not remove dir-add.texinfo.
15600         * manual/libc.texinfo: Comment out uses of edition numbers and
15601         references to printed manual.  Remove last-updated dates.
15602         (EDITION): Comment out.
15603         (ISBN): Likewise.
15604         (VERSION, UPDATED): Remove.
15605         (version.texi): Include.
15607 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
15609         * sysdeps/posix/spawni.c: Include <signal.h>.
15610         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
15611         * sysdeps/pthread/aio_fsync.c: Likewise.
15613 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
15615         * conform/Makefile (tests): Run only when not cross-compiling and
15616         when fast-check is not defined.
15618         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
15619         * conform/data/limits.h-data: Fixes for POSIX2008.
15620         * conform/run-conformtest.sh: Run all tests.
15621         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
15622         headers.
15623         * include/bits/dlfcn.h: Likewise.
15624         * include/langinfo.h: Likewise.
15625         * include/monetary.h: Likewise.
15626         * include/sys/poll.h: Likewise.
15628         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
15629         for __USE_GNU.
15630         * posix/spawn.h: Define __need_sigset_t.
15631         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
15632         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
15633         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
15634         to get sigevent_t only.
15635         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
15636         only for __USE_GNU.
15637         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15638         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
15639         process_vm_writev only for __USE_GNU.
15640         * termios/termios.h: Declare tcgetsid also for POSIX2008.
15642         * conform/Makefile: For now ignore errors from run-conformtest.
15643         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
15644         POSIX to avoid namespace pollution.  Don't prepend headers.
15645         * conform/data/aio.h-data: Fixes for POSIX testing.
15646         * conform/data/fcntl.h-data: Likewise.
15647         * conform/data/glob.h-data: Likewise.
15648         * conform/data/grp.h-data: Likewise.
15649         * conform/data/pthread.h-data: Likewise.
15650         * conform/data/pwd.h-data: Likewise.
15651         * conform/data/signal.h-data: Likewise.
15652         * conform/data/spawn.h-data: Likewise.
15653         * conform/data/stdio.h-data: Likewise.
15654         * conform/data/stdlib.h-data: Likewise.
15655         * conform/data/stropts.h-data: Likewise.
15656         * conform/data/sys/mman.h-data: Likewise.
15657         * conform/data/sys/stat.h-data: Likewise.
15658         * conform/data/sys/types.h-data: Likewise.
15659         * conform/data/sys/wait.h-data: Likewise.
15660         * conform/data/time.h-data: Likewise.
15661         * conform/data/unistd.h-data: Likewise.
15662         * conform/data/utime.h-data: Likewise.
15664         * io/sys/stat.h: fchmod was always in POSIX.
15665         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
15666         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
15667         * rt/aio.h: Define __need_timespec before including <time.h>.
15668         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
15669         struct.  Add forward declaration of pthread_attr_t and use it in
15670         sigevent.
15671         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
15672         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15673         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
15674         always remove CLK_TCK definition.
15676 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
15678         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
15680 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
15682         * conform/run-conformtest.sh: New file.
15683         * conform/Makefile: Run run-conformtest for tests.
15684         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
15685         support.
15687         * conform/data/uchar.h-data: New file.
15688         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
15689         * conform/data/arpa/inet.h-data: Likewise.
15690         * conform/data/assert.h-data: Likewise.
15691         * conform/data/complex.h-data: Likewise.
15692         * conform/data/cpio.h-data: Likewise.
15693         * conform/data/ctype.h-data: Likewise.
15694         * conform/data/dirent.h-data: Likewise.
15695         * conform/data/dlfcn.h-data: Likewise.
15696         * conform/data/errno.h-data: Likewise.
15697         * conform/data/fcntl.h-data: Likewise.
15698         * conform/data/float.h-data: Likewise.
15699         * conform/data/fmtmsg.h-data: Likewise.
15700         * conform/data/fnmatch.h-data: Likewise.
15701         * conform/data/ftw.h-data: Likewise.
15702         * conform/data/glob.h-data: Likewise.
15703         * conform/data/grp.h-data: Likewise.
15704         * conform/data/iconv.h-data: Likewise.
15705         * conform/data/inttypes.h-data: Likewise.
15706         * conform/data/langinfo.h-data: Likewise.
15707         * conform/data/libgen.h-data: Likewise.
15708         * conform/data/limits.h-data: Likewise.
15709         * conform/data/locale.h-data: Likewise.
15710         * conform/data/math.h-data: Likewise.
15711         * conform/data/monetary.h-data: Likewise.
15712         * conform/data/mqueue.h-data: Likewise.
15713         * conform/data/ndbm.h-data: Likewise.
15714         * conform/data/net/if.h-data: Likewise.
15715         * conform/data/netdb.h-data: Likewise.
15716         * conform/data/netinet/in.h-data: Likewise.
15717         * conform/data/nl_types.h-data: Likewise.
15718         * conform/data/poll.h-data: Likewise.
15719         * conform/data/pthread.h-data: Likewise.
15720         * conform/data/pwd.h-data: Likewise.
15721         * conform/data/regex.h-data: Likewise.
15722         * conform/data/sched.h-data: Likewise.
15723         * conform/data/search.h-data: Likewise.
15724         * conform/data/semaphore.h-data: Likewise.
15725         * conform/data/setjmp.h-data: Likewise.
15726         * conform/data/signal.h-data: Likewise.
15727         * conform/data/spawn.h-data: Likewise.
15728         * conform/data/stdarg.h-data: Likewise.
15729         * conform/data/stdio.h-data: Likewise.
15730         * conform/data/stdlib.h-data: Likewise.
15731         * conform/data/string.h-data: Likewise.
15732         * conform/data/strings.h-data: Likewise.
15733         * conform/data/stropts.h-data: Likewise.
15734         * conform/data/sys/ipc.h-data: Likewise.
15735         * conform/data/sys/mman.h-data: Likewise.
15736         * conform/data/sys/msg.h-data: Likewise.
15737         * conform/data/sys/resource.h-data: Likewise.
15738         * conform/data/sys/select.h-data: Likewise.
15739         * conform/data/sys/sem.h-data: Likewise.
15740         * conform/data/sys/shm.h-data: Likewise.
15741         * conform/data/sys/socket.h-data: Likewise.
15742         * conform/data/sys/stat.h-data: Likewise.
15743         * conform/data/sys/statvfs.h-data: Likewise.
15744         * conform/data/sys/time.h-data: Likewise.
15745         * conform/data/sys/timeb.h-data: Likewise.
15746         * conform/data/sys/times.h-data: Likewise.
15747         * conform/data/sys/types.h-data: Likewise.
15748         * conform/data/sys/uio.h-data: Likewise.
15749         * conform/data/sys/un.h-data: Likewise.
15750         * conform/data/sys/utsname.h-data: Likewise.
15751         * conform/data/sys/wait.h-data: Likewise.
15752         * conform/data/syslog.h-data: Likewise.
15753         * conform/data/tar.h-data: Likewise.
15754         * conform/data/termios.h-data: Likewise.
15755         * conform/data/utime.h-data: Likewise.
15756         * conform/data/utmpx.h-data: Likewise.
15757         * conform/data/varargs.h-data: Likewise.
15758         * conform/data/wchar.h-data: Likewise.
15759         * conform/data/wctype.h-data: Likewise.
15760         * conform/data/wordexp.h-data: Likewise.
15762         * include/stropts.h: New file.
15763         * include/uchar.h: New file.
15764         * include/aio.h: Changes to allow conformtest.pl to use the headers.
15765         * include/assert.h: Likewise.
15766         * include/ctype.h: Likewise.
15767         * include/dirent.h: Likewise.
15768         * include/dlfcn.h: Likewise.
15769         * include/fcntl.h: Likewise.
15770         * include/fnmatch.h: Likewise.
15771         * include/glob.h: Likewise.
15772         * include/grp.h: Likewise.
15773         * include/libio.h: Likewise.
15774         * include/locale.h: Likewise.
15775         * include/math.h: Likewise.
15776         * include/net/if.h: Likewise.
15777         * include/netdb.h: Likewise.
15778         * include/netinet/in.h: Likewise.
15779         * include/pthread.h: Likewise.
15780         * include/pwd.h: Likewise.
15781         * include/regex.h: Likewise.
15782         * include/sched.h: Likewise.
15783         * include/search.h: Likewise.
15784         * include/setjmp.h: Likewise.
15785         * include/signal.h: Likewise.
15786         * include/stdio.h: Likewise.
15787         * include/stdlib.h: Likewise.
15788         * include/string.h: Likewise.
15789         * include/sys/cdefs.h: Likewise.
15790         * include/sys/mman.h: Likewise.
15791         * include/sys/msg.h: Likewise.
15792         * include/sys/resource.h: Likewise.
15793         * include/sys/select.h: Likewise.
15794         * include/sys/socket.h: Likewise.
15795         * include/sys/stat.h: Likewise.
15796         * include/sys/statvfs.h: Likewise.
15797         * include/sys/time.h: Likewise.
15798         * include/sys/times.h: Likewise.
15799         * include/sys/uio.h: Likewise.
15800         * include/sys/utsname.h: Likewise.
15801         * include/sys/wait.h: Likewise.
15802         * include/termios.h: Likewise.
15803         * include/time.h: Likewise.
15804         * include/ulimit.h: Likewise.
15805         * include/unistd.h: Likewise.
15806         * include/utime.h: Likewise.
15807         * include/wchar.h: Likewise.
15808         * include/wctype.h: Likewise.
15809         * include/wordexp.h: Likewise.
15811         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
15813         * time/time.h: TIME_UTC must be a macro.
15814         Make timespec_get available for ISO C11 only as well.
15816 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
15818         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
15819         Reported by Peng Haitao <penght@cn.fujitsu.com>.
15821 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
15823         * configure.in: Use -o not -a in test for unsupported multi-arch.
15825 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
15827         * manual/texinfo.tex: Update to version 2012-01-19.16.
15829 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
15831         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
15833 2012-02-24  Roland McGrath  <roland@hack.frob.com>
15835         [BZ #13738]
15836         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
15837         * manual/fdl-1.3.texi: New file.
15838         * manual/fdl-1.1.texi: File removed.
15840         [BZ #13738]
15841         * manual/libc.texinfo (FDL_VERSION): New @set.
15842         Use it for mention of FDL in cover text.
15843         (Documentation License): Use it in @include file name.
15845 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
15846             Roland McGrath  <roland@hack.frob.com>
15848         [BZ #5461]
15849         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
15850         not LONG_LONG_MAX and LONG_LONG_MIN.
15851         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
15852         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
15853         name.
15854         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
15856 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
15858         [BZ #2547]
15859         [BZ #11365]
15860         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
15861         manipulate bits before adding and subtracting TWO23[sx].
15862         * math/libm-test.inc (nearbyint_test): Add more tests.
15864 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
15866         [BZ #2548]
15867         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
15868         bits before adding and subtracting TWO23[sx].
15869         * math/libm-test.inc (rint_test): Add more tests.
15870         (rint_test_tonearest): Likewise.
15871         (rint_test_towardzero): Likewise.
15872         (rint_test_downward): Likewise.
15873         (rint_test_upward: Likewise.
15875 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
15877         [BZ #10110]
15878         * include/stdc-predef.h: New file.  Extracted from features.h.
15879         * include/features.h: Include stdc-predef.h.
15880         * Makefile (headers): Add stdc-predef.h.
15881         * CONFORMANCE (Compiler limitations): Update.
15883 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
15885         * manual/libc.texinfo (VERSION, UPDATED): Revert.
15887 2012-02-21  David S. Miller  <davem@davemloft.net>
15889         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
15890         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
15892 2012-02-20  David S. Miller  <davem@davemloft.net>
15894         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
15895         using a normal save/restore sequence, rather than allocating a
15896         dummy stack frame just to store a frame pointer and restore.
15897         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15899 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
15901         * manual/install.texi: Fix stray word in line-wrapped comment.
15903 2012-02-20  David S. Miller  <davem@davemloft.net>
15905         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
15906         both binutils and gcc support GOTDATA.
15908         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
15909         "rd %pc" in the PIC register setup sequences.
15911         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
15912         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
15913         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
15914         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
15915         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
15916         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
15917         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15918         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15919         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
15920         (SYSCALL_ERROR_HANDLER): Likewise.
15921         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
15922         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15923         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
15924         (SYSCALL_ERROR_HANDLER): Likewise.
15926         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
15927         (HAVE_GCC_GOTDATA): New.
15928         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
15929         relocation support in both binutils and gcc.
15930         * sysdeps/sparc/elf/configure: Regenerate.
15932         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
15933         * sysdeps/sparc/sparc32/elf/configure: Delete.
15934         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
15935         * sysdeps/sparc/sparc64/elf/configure: Delete.
15936         * sysdeps/sparc/elf/configure.in: New file.
15937         * sysdeps/sparc/elf/configure: Generate.
15939         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
15940         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
15941         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
15942         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
15943         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
15945 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
15947         * manual/install.texi: Do not mention specific glibc version
15948         numbers.
15949         * manual/libc.texinfo (VERSION, UPDATED): Update.
15950         (@copying): Use @copyright{} and range of years.
15952 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
15954         [BZ #13695]
15955         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
15956         [crti.S not in sysdirs] (generated): Do not append.
15957         [crti.S not in sysdirs] (omit-deps): Likewise.
15958         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
15959         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
15960         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
15961         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
15962         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
15963         Likewise.
15964         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
15965         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
15966         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
15967         * csu/defs.awk: Remove file.
15968         * sysdeps/generic/initfini.c: Likewise.
15969         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
15970         variable.
15971         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
15972         Likewise.
15974 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
15976         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
15977         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
15978         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
15979         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
15980         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15981         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
15982         <bits/epoll.h>.
15983         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
15984         (__EPOLL_PACKED): Define to empty if not defined by
15985         <bits/epoll.h>.
15986         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
15987         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15988         bits/epoll.h.
15990 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
15992         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
15993         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
15994         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
15995         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
15996         <bits/timerfd.h>.
15997         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
15998         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15999         bits/timerfd.h.
16001 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
16003         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
16004         in C locale.
16005         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16006         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16007         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
16008         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16010 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
16012         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16013         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
16015 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
16017         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
16018         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
16019         defined.
16020         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
16021         Likewise.
16022         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
16023         entry for 2.16.
16025 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
16027         * math/w_acos.c: Use non-signaling floating-point comparisons.
16028         * math/w_acosf.c: Likewise.
16029         * math/w_acosh.c: Likewise.
16030         * math/w_acoshf.c: Likewise.
16031         * math/w_acoshl.c: Likewise.
16032         * math/w_acosl.c: Likewise.
16033         * math/w_asin.c: Likewise.
16034         * math/w_asinf.c: Likewise.
16035         * math/w_asinl.c: Likewise.
16036         * math/w_atanh.c: Likewise.
16037         * math/w_atanhf.c: Likewise.
16038         * math/w_atanhl.c: Likewise.
16039         * math/w_exp2.c: Likewise.
16040         * math/w_exp2f.c: Likewise.
16041         * math/w_exp2l.c: Likewise.
16042         * math/w_j0.c: Likewise.
16043         * math/w_j0f.c: Likewise.
16044         * math/w_j0l.c: Likewise.
16045         * math/w_j1.c: Likewise.
16046         * math/w_j1f.c: Likewise.
16047         * math/w_j1l.c: Likewise.
16048         * math/w_jn.c: Likewise.
16049         * math/w_jnf.c: Likewise.
16050         * math/w_log.c: Likewise.
16051         * math/w_log10.c: Likewise.
16052         * math/w_log10f.c: Likewise.
16053         * math/w_log10l.c: Likewise.
16054         * math/w_log2.c: Likewise.
16055         * math/w_log2f.c: Likewise.
16056         * math/w_log2l.c: Likewise.
16057         * math/w_logf.c: Likewise.
16058         * math/w_logl.c: Likewise.
16059         * math/w_sqrt.c: Likewise.
16060         * math/w_sqrtf.c: Likewise.
16061         * math/w_sqrtl.c: Likewise.
16062         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
16063         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
16064         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16065         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
16066         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
16068 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
16070         [BZ #9739]
16071         * manual/string.texi (strnlen): Use correct parameter name in
16072         equivalent expression.
16074 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
16076         [BZ #11174]
16077         * manual/users.texi (seteuid): Consistently use neweuid for
16078         argument name.
16080 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
16082         [BZ #13704]
16083         * manual/nss.texi (Services in the NSS configuration): Correct
16084         list of services in example configuration file.
16086 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
16088         [BZ #11322]
16089         * manual/arith.texi: Remove statements about negative zero
16090         behaving identically to zero.
16092 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
16094         [BZ #5993]
16095         * manual/install.texi: Do not document upgrading from libc5.
16097 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
16099         [BZ #4596]
16100         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
16102 2012-02-18  David S. Miller  <davem@davemloft.net>
16104         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
16105         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
16106         %o7 across the call.
16107         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
16108         instead.
16109         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
16110         SETUP_PIC_REG_LEAF.
16111         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16112         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
16113         * sysdeps/sparc/crtn.S: Likewise.
16115 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
16117         * aout/Makefile: Remove.
16119 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
16121         [BZ #13058]
16122         * manual/examples/argp-ex1.c (main): Format definition in GNU
16123         style.
16124         * manual/examples/argp-ex2.c (main): Likewise.
16125         * manual/examples/argp-ex3.c (main): Likewise.
16126         * manual/examples/argp-ex4.c (main): Likewise.
16127         * manual/examples/longopt.c (main): Use new-style prototype
16128         definition.
16129         * manual/examples/strncat.c (main): Specify return type and use
16130         (void) for arguments.
16131         * manual/examples/subopt.c (main): Use char **argv argument.
16133 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
16135         [BZ #5077]
16136         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
16137         rounding modes.
16139 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
16141         [BZ #6907]
16142         * manual/string.texi (strchr): Change when strchrnul is
16143         recommended.
16145 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
16147         [BZ #174]
16148         * manual/locale.texi (setlocale): Document LOCPATH.
16150 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
16152         [BZ #10210]
16153         * manual/process.texi (execle): Move @dots{} before last argument.
16155 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
16157         [BZ #12047]
16158         * manual/charset.texi (Generic Charset Conversion): Fix typo
16159         (LC_TYPE -> LC_CTYPE).
16161 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
16163         [BZ #5805]
16164         * manual/arith.texi (scalbn): Use @var{} on parameter names.
16165         (scalbnf): Likewise.
16166         (scalbnl): Likewise.
16167         (scalbln): Likewise.
16168         (scalblnf): Likewise.
16169         (scalblnl): Likewise.
16170         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
16171         (vwarnx): Likewise.
16172         (verr): Likewise.
16173         (verrx): Likewise.
16174         * manual/filesys.texi (telldir): Use braces around return type.
16175         * manual/llio.texi (mmap): Add space after comma.
16176         (mmap64): Likewise.
16177         * manual/math.texi (jn): Use @var{} on parameter names.
16178         (jnf): Likewise.
16179         (jnl): Likewise.
16180         (yn): Likewise.
16181         (ynf): Likewise.
16182         (ynl): Likewise.
16183         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
16184         line.
16185         * manual/resource.texi (ulimit): Use @dots{} instead of literal
16186         "...".
16187         (sched_get_priority_min): Remove semicolon on @deftypefun line.
16188         (sched_get_priority_max): Likewise.
16189         * manual/signal.texi (sigvec): Add space after comma.
16190         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
16191         names.
16192         (if_indextoname): Likewise.
16193         (if_freenameindex): Likewise.
16194         (sendto): Use ',' instead of '.' in prototype.
16195         * manual/startup.texi (syscall): Use @dots{} instead of literal
16196         "...".
16197         * manual/stdio.texi (__fpending): Separate initial words of
16198         paragraph from @deftypefun line.
16199         * manual/syslog.texi (syslog): Use @dots{} instead of literal
16200         "...".
16201         (vsyslog): Use @var{} on parameter names.
16202         * manual/terminal.texi (stty): Use @var{} on parameter names.
16203         * manual/users.texi (getutmp): Use @var{} on parameter names.
16204         (getutmpx): Likewise.
16206 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
16208         [BZ #6884]
16209         * manual/stdio.texi (fopen): Fix typos in description of
16210         ",ccs=STRING".
16212 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
16214         [BZ #4026]
16215         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
16216         get clock_id definition.
16218 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
16220         [BZ #4822]
16221         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
16222         (madvise): Cast every argument to void on its own.
16224 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
16226         [BZ #9902]
16227         * manual/startup.texi (Exit Status): Fix typo.
16229 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
16231         [BZ #10140]
16232         * manual/examples/argp-ex1.c: Include <stdlib.h>.
16233         * manual/examples/argp-ex2.c: Likewise.
16234         * manual/examples/argp-ex3.c: Likewise.
16236 2012-02-16  Richard Henderson  <rth@redhat.com>
16238         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
16239         * sysdeps/s390/s390-32/initfini.c: Remove.
16240         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
16241         * sysdeps/s390/s390-64/initfini.c: Remove.
16243 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16245         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
16246         compiler output for sysdeps/generic/initfini.c.
16247         * sysdeps/sh/elf/initfini.c: Remove file.
16249 2012-02-16  David S. Miller  <davem@davemloft.net>
16251         [BZ #11494]
16252         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
16254         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
16255         * sysdeps/sparc/crti.S: New file.
16256         * sysdeps/sparc/crtn.S: New file.
16257         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
16258         * sysdeps/sparc/sparc64/Makefile: Likewise.
16260 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
16262         [BZ #3335]
16263         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
16265 2012-02-15  Roland McGrath  <roland@hack.frob.com>
16267         [BZ #4822]
16268         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
16270         * mach/devstream.c (cookie_io_functions_t): Macro removed.
16271         (write, read, close): Likewise.
16272         Patch by Aurelien Jarno <aurelien@aurel32.net>.
16274 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
16276         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
16277         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
16278         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
16279         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
16280         <bits/signalfd.h>.
16281         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
16282         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16283         bits/signalfd.h.
16285 2012-02-14  Marek Polacek  <polacek@redhat.com>
16287         * sysdeps/x86_64/crti.S: New file.
16288         * sysdeps/x86_64/crtn.S: New file.
16289         * sysdeps/x86_64/elf/initfini.c: Remove file.
16291 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
16293         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
16294         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
16295         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
16296         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
16297         <bits/inotify.h>.
16298         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
16299         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16300         bits/inotify.h.
16302 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
16304         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
16305         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
16306         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
16307         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
16308         <bits/eventfd.h>.
16309         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
16310         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16311         bits/eventfd.h.
16313 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
16315         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
16316         __feraiseexcept instead of feraiseexcept.
16318         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
16319         nanosleep invocations.
16320         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
16321         strings, and add error checking for a nanosleep invocations.
16323 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
16325         Replace FSF snail mail address with URLs, as per GNU coding standards.
16326         Most of the snail mail addresses were wrong anyway, and omitting
16327         them makes the source code easier to maintain.  Almost all of the
16328         changes are to license notices and to locale LC_IDENTIFICATION
16329         addresses, except for this one:
16330         * manual/libc.texinfo: In "Published by", give the FSF's URL,
16331         not its snail mail address.
16333 2012-02-09  Richard Henderson  <rth@twiddle.net>
16335         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
16336         of kernel-features.h.
16338         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
16340 2012-02-08  Marek Polacek  <polacek@redhat.com>
16342         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
16343         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
16344         * sysdeps/gnu/_G_config.h: Likewise.
16345         * sysdeps/generic/_G_config.h: Likewise.
16347 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
16349         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
16350         tests.
16351         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16353         * sysdeps/powerpc/powerpc32/crti.S: New file.
16354         * sysdeps/powerpc/powerpc32/crtn.S: New file.
16355         * sysdeps/powerpc/powerpc64/crti.S: New file.
16356         * sysdeps/powerpc/powerpc64/crtn.S: New file.
16358         * Makeconfig (have-initfini): Don't set.
16359         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
16360         * configure.in (nopic_initfini): Don't substitute.
16361         * config.h.in (HAVE_INITFINI): Don't #undef.
16362         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
16363         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
16365 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
16367         Support crti.S and crtn.S provided directly by architectures.
16368         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
16369         [crti.S in sysdirs] (omit-deps): Likewise.
16370         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
16371         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
16372         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
16373         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
16374         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
16375         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
16376         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
16377         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
16378         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
16379         compiler output for sysdeps/generic/initfini.c.
16380         * sysdeps/i386/elf/Makefile: Remove file.
16381         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
16383 2012-02-07  Marek Polacek  <polacek@redhat.com>
16385         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
16386         * sysdeps/gnu/_G_config.h: Likewise.
16387         * sysdeps/mach/hurd/_G_config.h: Likewise.
16389 2012-02-07  Marek Polacek  <polacek@redhat.com>
16391         * math/Makefile (tests): Add tst-CMPLX2.
16392         * math/tst-CMPLX2.c: New file.
16394 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
16396         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16398         * math/libm-test.inc (jn_test): Add missing L suffix.
16400 2012-02-06  Marek Polacek  <polacek@redhat.com>
16402         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
16403         * sysdeps/i386/fpu/e_powf.S: Likewise.
16404         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
16405         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
16406         * sysdeps/i386/fpu/e_acosh.S: Likewise.
16407         * sysdeps/i386/fpu/e_pow.S: Likewise.
16408         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
16409         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
16410         * sysdeps/i386/fpu/s_expm1.S: Likewise.
16411         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
16412         * sysdeps/i386/fpu/e_log2.S: Likewise.
16413         * sysdeps/i386/fpu/e_log2l.S: Likewise.
16414         * sysdeps/i386/fpu/e_scalb.S: Likewise.
16415         * sysdeps/i386/fpu/e_powl.S: Likewise.
16416         * sysdeps/i386/fpu/s_log1p.S: Likewise.
16417         * sysdeps/i386/fpu/e_log10f.S: Likewise.
16418         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
16419         * sysdeps/i386/fpu/e_logl.S: Likewise.
16420         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
16421         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
16422         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
16423         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
16424         * sysdeps/i386/fpu/e_log2f.S: Likewise.
16425         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
16426         * sysdeps/i386/fpu/e_log.S: Likewise.
16427         * sysdeps/i386/fpu/s_cexp.S: Likewise.
16428         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
16429         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
16430         * sysdeps/i386/fpu/e_logf.S: Likewise.
16431         * sysdeps/i386/fpu/e_log10l.S: Likewise.
16432         * sysdeps/i386/fpu/e_atanh.S: Likewise.
16433         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
16434         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
16435         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
16436         * sysdeps/i386/fpu/e_log10.S: Likewise.
16437         * sysdeps/i386/fpu/s_frexp.S: Likewise.
16438         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
16439         * sysdeps/i386/fpu/s_asinh.S: Likewise.
16440         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
16441         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
16442         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
16443         * sysdeps/i386/asm-syntax.h: Likewise.
16444         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
16445         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16446         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
16447         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
16448         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
16449         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
16450         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
16451         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
16452         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
16453         * sysdeps/powerpc/sysdep.h: Likewise.
16454         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
16455         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16457 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
16459         [BZ #411]
16460         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
16462 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
16464         * sysdeps/i386/sysdep.h: Include <features.h>.
16465         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
16466         version.
16468 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
16470         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
16471         Define.
16472         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
16473         LOAD_PIC_REG_STR.
16475 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
16477         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
16478         (SETUP_PIC_REG): Use GET_PC_THUNK.
16479         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
16480         macro.
16482 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
16484         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
16485         for non-PIC compilation.
16486         (SETUP_PIC_REG): Add .p2align directive.
16487         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
16488         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
16489         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
16490         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
16491         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
16492         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
16493         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
16494         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
16495         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
16496         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
16497         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
16498         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
16499         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
16500         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
16501         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
16502         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16503         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16504         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
16505         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
16506         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
16507         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16508         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16509         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
16510         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
16511         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16512         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
16513         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16514         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16515         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
16516         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
16517         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
16518         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16519         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
16520         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
16521         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
16522         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
16523         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
16524         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
16525         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
16526         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
16527         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
16529 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
16531         * math/tst-CMPLX.c: Include <stdio.h>.
16533 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
16535         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
16536         float.
16537         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
16538         * sysdeps/sparc/bits/mathdef.h: Likewise.
16540 2012-01-31  Marek Polacek  <polacek@redhat.com>
16542         * libio/libio.h: Don't define _PARAMS.
16543         * locale/programs/config.h: Don't define PARAMS.
16544         * stdlib/strtol_l.c: Likewise.
16545         (__strtol_l): Remove PARAMS from the prototype.
16547 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
16549         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
16550         names.  Just use the correct names.  Remove unnecessary wrapper
16551         functions.
16552         * malloc/arena.c: Likewise.
16553         * malloc/hooks.c: Likewise.
16555         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
16556         ARENA_TEST says not to.  Simplify test for creation of a new arena.
16557         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
16559 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
16561         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
16562         into tail calls.
16563         (update_get_addr): New function.
16564         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
16565         GET_ADDR_MODULE parameter.
16567 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
16569         * crypt/cert.c: Remove __STDC__ conditionals.
16570         * crypt/crypt-entry.c: Likewise.
16571         * crypt/crypt_util.c: Likewise.
16572         * libio/filedoalloc.c: Likewise.
16573         * libio/fileops.c: Likewise.
16574         * libio/genops.c: Likewise.
16575         * libio/iofclose.c: Likewise.
16576         * libio/iofdopen.c: Likewise.
16577         * libio/iofopen.c: Likewise.
16578         * libio/iofopen64.c: Likewise.
16579         * libio/iogetdelim.c: Likewise.
16580         * libio/iopopen.c: Likewise.
16581         * libio/obprintf.c: Likewise.
16582         * libio/oldfileops.c: Likewise.
16583         * libio/oldiofclose.c: Likewise.
16584         * libio/oldiofdopen.c: Likewise.
16585         * libio/oldiofopen.c: Likewise.
16586         * libio/oldiopopen.c: Likewise.
16587         * libio/wfiledoalloc.c: Likewise.
16588         * libio/wgenops.c: Likewise.
16589         * locale/programs/xmalloc.c: Likewise.
16590         * misc/syslog.c: Likewise.
16591         * stdio-common/xbug.c: Likewise.
16592         * string/memchr.c: Likewise.
16593         * string/memcmp.c: Likewise.
16594         * string/memrchr.c: Likewise.
16595         * string/rawmemchr.c: Likewise.
16596         * sysdeps/posix/getcwd.c: Likewise.
16597         * time/strftime_l.c: Likewise.
16599 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
16601         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
16602         * config.make.in (config-cflags-sse2avx): Define.
16603         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
16604         Fix typo.
16606 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
16608         * scripts/config.guess: Update from upstream config git repository.
16609         * scripts/config.sub: Likewise.
16611 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
16613         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
16614         (EM_NUM): Update.
16615         (R_TILEPRO_*, R_TILEGX_*): New macros.
16617         * scripts/firstversions.awk: Fix bug in version range handling.
16619         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
16621         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
16623         * include/sys/epoll.h: New file.
16624         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
16625         libc_hidden_def.
16627 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
16629         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
16630         Avoid unnecessary __WORDSIZE == 64 test.
16631         (fmaxf): Use VEX format if possible.
16632         (fmax): Likewise.
16633         (fminf): Likewise.
16634         (fmin): Likewise.
16636         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
16637         * math/math_private.h: Remove libc_fegetround* and
16638         libc_fesetround*.
16639         * sysdeps/i386/configure.in: Check for -msse2avx.
16640         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
16641         also if SSE2AVX is defined.
16642         Remove libc_fegetround* and libc_fesetround*.
16643         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
16644         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
16645         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
16646         of HAS_YMM_USABLE.
16647         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16648         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16649         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16650         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16651         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16653         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
16655 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16657         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
16658         size is not set.
16659         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
16661 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
16663         [BZ #13618]
16664         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
16665         relocation.
16666         * Makeconfig (libm): Define.
16667         * elf/Makefile: Add rules to build and run tst-relsort1.
16668         * elf/tst-relsort1.c: New file.
16669         * elf/tst-relsort1mod1.c: New file.
16670         * elf/tst-relsort1mod2.c: New file.
16672 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
16674         * math/s_ldexp.c: Remove __STDC__ conditionals.
16675         * math/s_ldexpf.c: Likewise.
16676         * math/s_ldexpl.c: Likewise.
16677         * math/s_nextafter.c: Likewise.
16678         * math/s_nexttowardf.c: Likewise.
16679         * math/s_significand.c: Likewise.
16680         * math/s_significandf.c: Likewise.
16681         * math/s_significandl.c: Likewise.
16682         * math/w_jnl.c: Likewise.
16683         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
16684         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
16685         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
16686         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
16687         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
16688         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16689         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
16690         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
16691         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16692         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
16693         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
16694         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16695         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
16696         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
16697         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16698         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
16699         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16700         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16701         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16702         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
16703         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
16704         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16705         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16706         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16707         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16708         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16709         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16710         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16711         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
16712         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16713         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16714         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
16715         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16716         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
16717         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
16718         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16719         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
16720         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
16721         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
16722         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
16723         * sysdeps/ieee754/k_standard.c: Likewise.
16724         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16725         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16726         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
16727         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
16728         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
16729         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
16730         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16731         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
16732         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
16733         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
16734         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
16735         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
16736         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
16737         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
16738         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
16739         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
16740         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
16741         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16742         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16743         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
16744         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16745         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16746         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
16747         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
16748         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16749         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
16750         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
16751         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16752         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16753         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
16754         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
16755         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
16756         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
16757         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
16758         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
16759         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
16760         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
16761         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
16762         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
16763         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
16764         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
16765         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
16766         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
16767         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
16768         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
16769         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
16770         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
16771         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16772         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
16773         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
16774         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
16775         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
16776         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16777         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
16778         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
16779         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
16780         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
16781         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
16782         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
16783         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
16784         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
16785         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
16786         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
16787         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16788         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
16789         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
16790         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
16791         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
16792         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
16793         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
16794         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
16795         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
16796         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
16797         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
16798         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
16799         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16800         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
16801         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
16802         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
16803         * sysdeps/ieee754/s_matherr.c: Likewise.
16804         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
16805         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
16806         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16807         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16809 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
16811         * crypt/md5.h: Remove __STDC__ conditionals.
16812         * libio/libioP.h: Likewise.
16813         * locale/programs/config.h: Likewise.
16814         * sysdeps/generic/sysdep.h: Likewise.
16815         * sysdeps/i386/asm-syntax.h: Likewise.
16816         * sysdeps/s390/asm-syntax.h: Likewise.
16817         * sysdeps/unix/sysdep.h: Likewise.
16818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
16819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16821 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
16823         * libio/libio.h: Remove __STDC__ conditionals.
16824         * malloc/obstack.h: Likewise.
16825         * math/complex.h: Likewise.
16826         * math/math.h: Likewise.
16827         * sysdeps/generic/_G_config.h: Likewise.
16828         * sysdeps/gnu/_G_config.h: Likewise.
16829         * sysdeps/mach/hurd/_G_config.h: Likewise.
16830         * sysdeps/powerpc/bits/mathdef.h: Likewise.
16831         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
16832         * sysdeps/sparc/bits/mathdef.h: Likewise.
16834 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
16836         [BZ #13583]
16837         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
16838         Clean up HAS_* macros.
16839         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
16840         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
16841         possible.
16842         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
16843         HAS_AVX.
16844         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16845         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16846         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16847         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16848         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16850 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
16852         * elf/tst-unique3.cc (gets): Remove declaration.
16853         * elf/tst-unique3lib.cc (gets): Likewise.
16854         * elf/tst-unique3lib2.cc (gets): Likewise.
16855         * elf/tst-unique4.cc (gets): Likewise.
16857 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
16859         * include/stdio.h: Add C++ protection.  Add gets declarations and
16860         definitions.
16861         * debug/tst-chk1.c: Don't declare gets here.
16862         * stdio-common/tst-gets.c: Likewise.
16864 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
16866         * posix/glob: Remove directory.
16868 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
16870         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
16872 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
16874         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
16875         of the non-standard EPFNOSUPPORT.
16877 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16879         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
16880         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
16881         ANYWHERE set to 1 only on KERN_NO_SPACE error.
16883 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
16885         * wcsmbs/uchar.h: Test __STDC_VERSION__.
16887 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
16889         * nscd/aicache.c (addhstaiX): Do not cache negative results of
16890         transient errors.
16891         * nscd/grpcache.c (cache_addgr): Likewise.
16892         * nscd/hstcache.c (cache_addhst): Likewise.
16893         * nscd/initgrcache.c (addinitgroupsX): Likewise.
16894         * nscd/pwdcache.c (cache_addpw): Likewise.
16895         * nscd/servicescache.c (cache_addserv): Likewise.
16897 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
16899         * malloc/malloc.c: Various cleanups.
16900         * malloc/hooks.c: Likewise.
16902         * stdlib/Makefile (tests): Add bug-fmtmsg1.
16903         * stdlib/bug-fmtmsg1.c: New file.
16905         * stdlib/fmtmsg.c (init): Add missing unlock.
16906         Patch by Peng Haitao <penght@cn.fujitsu.com>.
16908 2012-01-12  Marek Polacek  <polacek@redhat.com>
16910         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
16911         and _GNU_SOURCE.
16913 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
16915         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
16916         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
16917         macro to ensure uniqueness of label name.
16918         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
16919         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
16921 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
16923         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
16925         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
16926         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
16927         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
16928         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
16930 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
16932         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
16934         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
16935         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
16936         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
16938         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
16940         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
16941         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
16942         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
16943         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
16945         * math/bits/math-finite.h: Add ldexp support.
16947 2012-01-10  Marek Polacek  <polacek@redhat.com>
16949         * locale/programs/localedef.h (show_archive_content): Add noreturn
16950         attribute.
16952 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
16954         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
16956 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
16958         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
16960         * io/Makefile (headers): Add bits/poll2.h.
16962 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
16964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
16965         typo #include statement.
16967 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
16969         * include/sys/cdefs.h: Define __attribute_alloc_size.
16970         * catgets/gencat.c: Add alloc_size attribute and apply consistently
16971         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
16972         * elf/pldd.c: Likewise.
16973         * iconv/iconv_charmap.c: Likewise.
16974         * iconv/iconvconfig.c: Likewise.
16975         * iconv/strtab.c: Likewise.
16976         * locale/programs/locale.c: Likewise.
16977         * locale/programs/localedef.h: Likewise.
16978         * locale/programs/simple-hash.c: Likewise.
16979         * nscd/nscd.h: Likewise.
16980         * nss/makedb.c: Likewise.
16981         * sysdeps/generic/ldconfig.h: Likewise.
16982         * locale/programs/localedef.c: Remove xmalloc prototype.
16983         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
16985 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
16987         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
16988         appropriate.
16990 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
16992         * math/Makefile (tests): Add tst-CMPLX.
16993         * math/tst-CMPLX.c: New file.
16995         * math/complex.h (CMPLXL): Fix typo.
16997         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
16998         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
16999         GLIBC_2.16.
17000         * debug/tst-chk1.c: Add poll and ppoll tests.
17001         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
17002         * include/sys/poll.h: Add hidden proto for ppoll.
17003         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
17004         * sysdeps/mach/hurd/ppoll.c: Likewise.
17005         * io/ppoll.c: Likewise.
17006         * debug/poll_chk.c: New file.
17007         * debug/ppoll_chk.c: New file.
17008         * include/bits/poll2.h: New file.
17009         * io/bits/poll2.h: New file.
17011         [BZ #1350]
17012         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
17014         * configure.in: static is always set to yes.  Remove.
17015         * config.make.in: Don't set build-static.
17016         * Makeconfig: Remove use of build-static.
17017         * dlfcn/Makefile: Likewise.
17018         * elf/Makefile: Likewise.
17019         * math/Makefile: Likewise.
17020         * misc/Makefile: Likewise.
17021         * nptl/Makefile: Likewise.
17022         * sysdeps/mach/hurd/Makefile: Likewise.
17024         * configure.in: PWD_P is not used anymore.
17025         * config.make.in: Remove PWD_P entry.
17027         * configure.in: Remove last remnants of RANLIB.
17028         No need to check for signed size_t anymore.
17029         Don't set libc_commonpagesize and libc_relro_required here for Alpha
17030         and IA-64.
17031         Remove __builtin_expect test because we require at least gcc 3.4.
17032         * aclocal.m4: Likewise.
17034         * wcsmbs/mbrtoc16.c: Implement using towc function.
17035         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
17036         * wcsmbs/wcsmbsload.c: Likewise.
17037         * iconv/gconv_simple.c: Likewise.
17038         * iconv/gconv_int.h: Likewise.
17039         * iconv/gconv_builtin.h: Likewise.
17040         * iconv/iconv_prog.c: Remove CHAR16 handling.
17042         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
17044         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
17046         * configure.in: Remove --with-elf and --enable-bounded options.
17047         Dont set base_machine for ia64.  More non-ELF conditions removed.
17048         Remove testing and setting of leading underscore information.
17049         * config.make.in (build-bounded): Set to no.
17050         * config.h.in: Remove NO_UNDERSCORES entry.
17051         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
17052         them.
17053         * csu/start.c: Remove !NO_UNDERSCORE code.
17054         * locale/localeinfo.h: Likewise.
17055         * sysdeps/generic/machine-gmon.h: Likewise.
17056         * sysdeps/generic/sysdep.h: Likewise.
17057         * sysdeps/i386/sysdep.h: Likewise.
17058         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
17059         * sysdeps/mach/sysdep.h: Likewise.
17060         * sysdeps/s390/s390-32/sysdep.h: Likewise.
17061         * sysdeps/s390/s390-64/sysdep.h: Likewise.
17062         * sysdeps/sh/sysdep.h: Likewise.
17063         * sysdeps/sparc/sparc32/alloca.S: Likewise.
17064         * sysdeps/unix/i386/sysdep.S: Likewise.
17065         * sysdeps/unix/sparc/start.c: Likewise.
17066         * sysdeps/unix/sparc/sysdep.S: Likewise.
17067         * sysdeps/unix/sparc/sysdep.h: Likewise.
17068         * sysdeps/unix/start.c: Likewise.
17069         * sysdeps/unix/x86_64/sysdep.S: Likewise.
17070         * sysdeps/x86_64/sysdep.h: Likewise.
17072 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
17074         [BZ #13553]
17075         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
17076         for non-gcc.
17077         * argp/argp-fmtstream.h: Use const instead __const.
17078         * argp/argp.h: Likewise.
17079         * assert/assert.h: Likewise.
17080         * bits/fenv.h: Likewise.
17081         * bits/sched.h: Likewise.
17082         * bits/sigset.h: Likewise.
17083         * bits/sigthread.h: Likewise.
17084         * catgets/nl_types.h: Likewise.
17085         * conform/data/pthread.h-data: Likewise.
17086         * crypt/crypt-private.h: Likewise.
17087         * crypt/crypt.h: Likewise.
17088         * crypt/crypt_util.c: Likewise.
17089         * ctype/ctype.h: Likewise.
17090         * debug/execinfo.h: Likewise.
17091         * debug/mbsnrtowcs_chk.c: Likewise.
17092         * debug/mbsrtowcs_chk.c: Likewise.
17093         * debug/wcsnrtombs_chk.c: Likewise.
17094         * debug/wcsrtombs_chk.c: Likewise.
17095         * debug/wcstombs_chk.c: Likewise.
17096         * dirent/dirent.h: Likewise.
17097         * dlfcn/dlfcn.h: Likewise.
17098         * elf/neededtest4.c: Likewise.
17099         * grp/grp.h: Likewise.
17100         * gshadow/gshadow.h: Likewise.
17101         * iconv/gconv.h: Likewise.
17102         * iconv/gconv_int.h: Likewise.
17103         * iconv/gconv_simple.c: Likewise.
17104         * iconv/iconv.h: Likewise.
17105         * iconv/loop.c: Likewise.
17106         * iconv/skeleton.c: Likewise.
17107         * include/aio.h: Likewise.
17108         * include/aliases.h: Likewise.
17109         * include/argz.h: Likewise.
17110         * include/arpa/inet.h: Likewise.
17111         * include/assert.h: Likewise.
17112         * include/dirent.h: Likewise.
17113         * include/dlfcn.h: Likewise.
17114         * include/execinfo.h: Likewise.
17115         * include/fcntl.h: Likewise.
17116         * include/fenv.h: Likewise.
17117         * include/glob.h: Likewise.
17118         * include/grp.h: Likewise.
17119         * include/libintl.h: Likewise.
17120         * include/mntent.h: Likewise.
17121         * include/netdb.h: Likewise.
17122         * include/pwd.h: Likewise.
17123         * include/rpc/netdb.h: Likewise.
17124         * include/sched.h: Likewise.
17125         * include/search.h: Likewise.
17126         * include/shadow.h: Likewise.
17127         * include/signal.h: Likewise.
17128         * include/stdio.h: Likewise.
17129         * include/stdlib.h: Likewise.
17130         * include/string.h: Likewise.
17131         * include/sys/socket.h: Likewise.
17132         * include/sys/stat.h: Likewise.
17133         * include/sys/statfs.h: Likewise.
17134         * include/sys/statvfs.h: Likewise.
17135         * include/sys/syslog.h: Likewise.
17136         * include/sys/time.h: Likewise.
17137         * include/sys/uio.h: Likewise.
17138         * include/time.h: Likewise.
17139         * include/unistd.h: Likewise.
17140         * include/utmp.h: Likewise.
17141         * include/wchar.h: Likewise.
17142         * include/wctype.h: Likewise.
17143         * inet/aliases.h: Likewise.
17144         * inet/arpa/inet.h: Likewise.
17145         * inet/netinet/ether.h: Likewise.
17146         * inet/netinet/in.h: Likewise.
17147         * intl/libintl.h: Likewise.
17148         * io/bits/fcntl2.h: Likewise.
17149         * io/fcntl.h: Likewise.
17150         * io/ftw.h: Likewise.
17151         * io/sys/poll.h: Likewise.
17152         * io/sys/stat.h: Likewise.
17153         * io/sys/statfs.h: Likewise.
17154         * io/sys/statvfs.h: Likewise.
17155         * io/utime.h: Likewise.
17156         * libio/bits/stdio.h: Likewise.
17157         * libio/bits/stdio2.h: Likewise.
17158         * libio/libio.h: Likewise.
17159         * libio/libioP.h: Likewise.
17160         * libio/stdio.h: Likewise.
17161         * locale/lc-ctype.c: Likewise.
17162         * locale/locale.h: Likewise.
17163         * login/utmp.h: Likewise.
17164         * malloc/arena.c: Likewise.
17165         * malloc/malloc.c: Likewise.
17166         * malloc/malloc.h: Likewise.
17167         * malloc/mcheck.c: Likewise.
17168         * malloc/mtrace.c: Likewise.
17169         * math/bits/mathcalls.h: Likewise.
17170         * math/fenv.h: Likewise.
17171         * math/math_private.h: Likewise.
17172         * misc/bits/error.h: Likewise.
17173         * misc/bits/syslog.h: Likewise.
17174         * misc/err.h: Likewise.
17175         * misc/error.h: Likewise.
17176         * misc/fstab.h: Likewise.
17177         * misc/mntent.h: Likewise.
17178         * misc/regexp.h: Likewise.
17179         * misc/search.h: Likewise.
17180         * misc/sgtty.h: Likewise.
17181         * misc/sys/mman.h: Likewise.
17182         * misc/sys/syslog.h: Likewise.
17183         * misc/sys/uio.h: Likewise.
17184         * misc/sys/xattr.h: Likewise.
17185         * misc/ttyent.h: Likewise.
17186         * nis/rpcsvc/ypclnt.h: Likewise.
17187         * nss/nss.h: Likewise.
17188         * posix/bits/unistd.h: Likewise.
17189         * posix/fnmatch.h: Likewise.
17190         * posix/glob.h: Likewise.
17191         * posix/sched.h: Likewise.
17192         * posix/spawn.h: Likewise.
17193         * posix/sys/wait.h: Likewise.
17194         * posix/unistd.h: Likewise.
17195         * posix/wordexp.h: Likewise.
17196         * pwd/pwd.h: Likewise.
17197         * resolv/netdb.h: Likewise.
17198         * resource/sys/resource.h: Likewise.
17199         * rt/aio.h: Likewise.
17200         * rt/bits/mqueue2.h: Likewise.
17201         * rt/mqueue.h: Likewise.
17202         * shadow/shadow.h: Likewise.
17203         * signal/signal.h: Likewise.
17204         * socket/send.c: Likewise.
17205         * socket/sendto.c: Likewise.
17206         * socket/sys/socket.h: Likewise.
17207         * stdio-common/printf.h: Likewise.
17208         * stdlib/bits/stdlib.h: Likewise.
17209         * stdlib/fmtmsg.h: Likewise.
17210         * stdlib/monetary.h: Likewise.
17211         * stdlib/stdlib.h: Likewise.
17212         * stdlib/ucontext.h: Likewise.
17213         * streams/stropts.h: Likewise.
17214         * string/argz.h: Likewise.
17215         * string/bits/string2.h: Likewise.
17216         * string/string.h: Likewise.
17217         * string/strings.h: Likewise.
17218         * sunrpc/rpc/auth.h: Likewise.
17219         * sunrpc/rpc/auth_des.h: Likewise.
17220         * sunrpc/rpc/clnt.h: Likewise.
17221         * sunrpc/rpc/netdb.h: Likewise.
17222         * sunrpc/rpc/pmap_clnt.h: Likewise.
17223         * sunrpc/rpc/xdr.h: Likewise.
17224         * sysdeps/generic/inttypes.h: Likewise.
17225         * sysdeps/generic/net/if.h: Likewise.
17226         * sysdeps/generic/sys/swap.h: Likewise.
17227         * sysdeps/gnu/net/if.h: Likewise.
17228         * sysdeps/gnu/utmpx.h: Likewise.
17229         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
17230         * sysdeps/i386/i486/bits/string.h: Likewise.
17231         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
17232         * sysdeps/s390/bits/string.h: Likewise.
17233         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
17234         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
17235         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
17236         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
17237         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
17238         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
17239         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
17240         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
17241         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
17242         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
17243         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
17244         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
17245         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
17246         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
17247         * sysdeps/unix/sysv/linux/readv.c: Likewise.
17248         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
17249         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
17250         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17251         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
17252         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
17253         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
17254         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
17255         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
17256         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
17257         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
17258         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
17259         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
17260         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
17261         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
17262         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
17263         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
17264         * sysvipc/sys/ipc.h: Likewise.
17265         * sysvipc/sys/msg.h: Likewise.
17266         * sysvipc/sys/sem.h: Likewise.
17267         * sysvipc/sys/shm.h: Likewise.
17268         * termios/termios.h: Likewise.
17269         * time/sys/time.h: Likewise.
17270         * time/time.h: Likewise.
17271         * wcsmbs/bits/wchar2.h: Likewise.
17272         * wcsmbs/uchar.h: Likewise.
17273         * wcsmbs/wchar.h: Likewise.
17274         * wctype/wctype.h: Likewise.
17276         [BZ #13551]
17277         * Makeconfig: Remove all but ELF support including AIX support.
17278         * Makerules: Likewise.
17279         * config.h.in: Likewise.
17280         * config.make.in: Likewise.
17281         * configure: Likewise.
17282         * configure.in: Likewise.
17283         * csu/Makefile: Likewise.
17284         * csu/version.c: Likewise.
17285         * debug/Makefile: Likewise.
17286         * dlfcn/Makefile: Likewise.
17287         * elf/Makefile: Likewise.
17288         * extra-lib.mk: Likewise.
17289         * iconv/Makefile: Likewise.
17290         * include/libc-symbols.h: Likewise.
17291         * include/shlib-compat.h: Likewise.
17292         * resolv/Makefile: Likewise.
17293         * resolv/res_libc.c: Likewise.
17294         * rt/Makefile: Likewise.
17295         * sysdeps/i386/asm-syntax.h: Likewise.
17296         * sysdeps/i386/sysdep.h: Likewise.
17297         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
17298         * sysdeps/mach/sysdep.h: Likewise.
17299         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
17300         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
17301         * sysdeps/s390/asm-syntax.h: Likewise.
17302         * sysdeps/s390/s390-32/sysdep.h: Likewise.
17303         * sysdeps/s390/s390-64/sysdep.h: Likewise.
17304         * sysdeps/sh/sysdep.h: Likewise.
17305         * sysdeps/unix/sparc/sysdep.h: Likewise.
17306         * sysdeps/wordsize-32/divdi3.c: Likewise.
17307         * sysdeps/x86_64/sysdep.h: Likewise.
17309         * argp/Versions: Remove _argp_unlock_xxx.
17311         [BZ #13559]
17312         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
17313         * abilist/libBrokenLocale.abilist: Likewise.
17314         * abilist/libanl.abilist: Likewise.
17315         * abilist/libc.abilist: Likewise.
17316         * abilist/libcrypt.abilist: Likewise.
17317         * abilist/libdl.abilist: Likewise.
17318         * abilist/libm.abilist: Likewise.
17319         * abilist/libnsl.abilist: Likewise.
17320         * abilist/libpthread.abilist: Likewise.
17321         * abilist/libresolv.abilist: Likewise.
17322         * abilist/librt.abilist: Likewise.
17323         * abilist/libthread_db.abilist: Likewise.
17324         * abilist/libutil.abilist: Likewise.
17325         * abilist/libnss_db.abilist: New file.
17327         * scripts/abilist.awk: Add support for indirect functions.
17329         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
17331         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
17333         * shlib-versions: Remove entries for ports architectures.
17335         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
17336         files in ports.
17337         * elf/stackguard-macros.h: Remove support for IA-64.
17338         * elf/tst-auditmod1.c: Likewise.
17339         * sysdeps/generic/ldsodefs.h: Likewise.
17341         * sysdeps/unix/sysv/linux/configure.in: Ports should define
17342         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
17343         configure files.
17345         [BZ #13552]
17346         * configure.in: Remove --enable-omitfp support.
17347         * FAQ.in: Adjust.
17348         * config.make.in: Likewise.
17349         * Makeconfig: Likewise.
17350         * manual/install.texi: Likewise.
17352         In case anyone cares, the IA-64 architecture could move to ports.
17353         * sysdeps/ia64/*: Removed.
17354         * sysdeps/unix/sysv/linux/ia64/*: Removed.
17355         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
17357         [BZ #13555]
17358         * configure.in: Remove entries for unsupported architectures.
17360         [BZ #13533]
17361         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
17362         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
17363         routines.
17364         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
17365         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
17366         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
17367         fall back to using wcrtomb.
17368         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
17369         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
17370         renaming.
17371         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
17372         * wcsmbs/tst-c16c32-1.c: New file.
17374         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
17375         local variable.
17377         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
17379         * elf/tst-unique3.cc: Add explicit declaration of gets.
17380         * elf/tst-unique3lib.cc: Likewise.
17381         * elf/tst-unique3lib2.cc: Likewise.
17382         * elf/tst-unique4.cc: Likewise.
17384         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
17386 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
17388         [BZ #13566]
17389         * assert/assert.h (static_assert): Don't define for C++.
17390         * libio/stdio.h (gets): Do declare for C++ <= C++11.
17391         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
17393 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
17395         * iconv/loop.c (single loop): Fix assertion in storing of
17396         remaining bytes.
17398         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
17400 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
17402         * posix/getconf.c: Update copyright year.
17403         * nss/getent.c: Likewise.
17404         * nss/makedb.c: Likewise.
17405         * iconv/iconvconfig.c: Likewise.
17406         * iconv/iconv_prog.c: Likewise.
17407         * elf/ldconfig.c: Likewise.
17408         * elf/pldd.c: Likewise.
17409         * elf/sotruss.ksh: Likewise.
17410         * catgets/gencat.c: Likewise.
17411         * csu/version.c: Likewise.
17412         * elf/ldd.bash.in: Likewise.
17413         * elf/sprof.c (print_version): Likewise.
17414         * locale/programs/locale.c: Likewise.
17415         * locale/programs/localedef.c: Likewise.
17416         * login/programs/pt_chown.c: Likewise.
17417         * nscd/nscd.c (print_version): Likewise.
17418         * debug/xtrace.sh: Likewise.
17419         * malloc/memusage.sh: Likewise.
17420         * malloc/mtrace.pl: Likewise.
17421         * debug/catchsegv.sh: Likewise.
17423 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
17425         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
17426         pure attribute.
17428 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
17430         [BZ #13533]
17431         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
17432         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
17433         transformations.
17434         * iconv/gconv_int.h: Likewise.
17435         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
17436         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
17437         from libc for GLIBC_2.16.
17438         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
17439         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
17440         * wcsmbs/uchar.h: Really define mbstate_t.
17441         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
17442         * wcsmbs/c16rtomb.c: New file.
17443         * wcsmbs/mbrtoc16.c: New file.
17444         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
17445         for C/POSIX locale.
17446         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
17447         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
17449         * wcsmbs/wchar.h: Add missing __restrict.
17451 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
17453         [BZ #13532]
17454         * time/Makefile (routines): Add timespec_get.
17455         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
17456         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
17457         timespec for ISO C11.
17458         * time/timespec_get.c: New file.
17459         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
17460         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
17462         [BZ #13531]
17463         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
17464         * stdlib/stdlib.h: Declare aligned_alloc.
17465         * Versions.def: Add GLIBC_2.16 for libc.
17466         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
17468         [BZ 13527]
17469         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
17470         ISO C11.
17472         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
17473         code.
17475         [BZ #13528]
17476         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
17478         [BZ #13529]
17479         * assert/assert.h (static_assert): Define.
17481         * version.h: Update for 2.16 development version.
17483         [BZ #13526]
17484         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
17485         _ISOC11_SOURCE.
17487         * version.h (RELEASE): Bump for 2.15 release.
17488         * include/features.h (__GLIBC_MINOR__): Bump to 15.
17490         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
17491         Patch by Marek Polacek <mpolacek@redhat.com>.
17493         * bits/byteswap.h: Protect long long constants with __extension__.
17494         * sysdeps/i386/bits/byteswap.h: Likewise.
17495         * sysdeps/ia64/bits/byteswap.h: Likewise.
17496         * sysdeps/s390/bits/byteswap.h: Likewise.
17497         * sysdeps/x86_64/bits/byteswap.h: Likewise.
17499 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17501         [BZ #13540]
17502         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
17503         destination buffer.
17504         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
17506 2011-12-23  Marek Polacek  <polacek@redhat.com>
17508         * elf/dl-addr.c (determine_info): Add inline keyword.
17509         * elf/tst-auditmod4b.c (check_avx): Likewise.
17510         * elf/tst-auditmod6b.c (check_avx): Likewise.
17511         * elf/tst-auditmod6c.c (check_avx): Likewise.
17512         * elf/tst-auditmod7b.c (check_avx): Likewise.
17514 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
17516         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
17517         !__SSE_MATH__.
17519 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17521         [BZ #13540]
17522         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
17523         processing for last bytes.
17525 2011-08-06  Bruno Haible  <bruno@clisp.org>
17527         [BZ #13061]
17528         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
17529         U+0385, not to U+1FEE.
17531         [BZ #13062]
17532         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
17533         entry for U+00A5 U+0301.
17535 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
17537         [BZ #13166]
17538         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
17539         buffer for the output is too small.
17541         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
17542         optimization.
17544         [BZ #13185]
17545         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
17546         SSE flags if possible.
17548 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17550         [BZ #13540]
17551         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
17552         processing for last bytes.
17554 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
17556         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
17557         (syscall-list-default-options, syscall-list-default-condition)
17558         (syscall-list-includes): Define.
17559         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
17560         list of ABIs and options and #if conditions for each ABI.  Do not
17561         handle common syscalls between ABIs specially.
17562         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
17563         Remove.
17564         (syscall-list-variants, syscall-list-32bit-options)
17565         (syscall-list-32bit-condition, syscall-list-64bit-options)
17566         (syscall-list-64bit-condition): Define.
17567         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
17568         (syscall-list-variants, syscall-list-32bit-options)
17569         (syscall-list-32bit-condition, syscall-list-64bit-options)
17570         (syscall-list-64bit-condition): Define.
17571         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
17572         Remove.
17573         (syscall-list-variants, syscall-list-32bit-options)
17574         (syscall-list-32bit-condition, syscall-list-64bit-options)
17575         (syscall-list-64bit-condition): Define.
17576         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
17577         Remove.
17578         (syscall-list-variants, syscall-list-32bit-options)
17579         (syscall-list-32bit-condition, syscall-list-64bit-options)
17580         (syscall-list-64bit-condition): Define.
17582 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
17584         * locale/iso-639.def: Add brx entry.
17586         [BZ #13328]
17587         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
17588         Proposed by Mariusz_Cukr <marcukr@op.pl>.
17590         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
17591         __feraiseexcept_renamed.
17593 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
17595         [BZ #13538]
17596         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
17597         EPOLLET with unsigned values.
17598         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
17599         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
17601         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
17602         to large cancellation.
17603         * math/s_cacoshf.c: Likewise.
17604         * math/s_cacoshl.c: Likewise.
17606 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
17608         [BZ #13305]
17609         [BZ #12786]
17610         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
17611         * math/s_cacoshf.c: Likewise.
17612         * math/s_cacoshl.c: Likewise.
17614 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
17616         [BZ #13439]
17617         * iconv/gconv.h: Define __GCONV_SWAP.
17618         * iconvdata/unicode.c: The swap bit must be stored in __flags.
17619         * iconvdata/utf-16.c: Likewise.
17620         * iconvdata/utf-32.c: Likewise.
17622 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
17624         [BZ #13524]
17625         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
17626         numerator after shifting it by one limb.
17628 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
17630         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
17631         under [__USE_EXTERN_INLINES].
17633 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
17635         [BZ #13446]
17636         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
17638 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17640         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
17641         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
17642         optimized code.
17643         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
17644         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
17645         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
17646         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
17647         for strncasecmp/strncasecmp_l compilation.
17648         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
17649         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
17651 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
17653         [BZ #13484]
17654         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
17655         of __asm__.
17657 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
17659         [BZ #13506]
17660         * time/tzfile.c (__tzfile_read): Check values from file header.
17662 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
17664         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
17665         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
17666         * powerpc/powerpc32/dl-start.S: Likewise.
17667         * powerpc/powerpc32/elf/start.S: Likewise.
17668         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
17669         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
17670         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
17671         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
17672         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
17673         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
17674         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
17675         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
17676         * powerpc/powerpc32/fpu/s_round.S: Likewise.
17677         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
17678         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
17679         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
17680         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
17681         * powerpc/powerpc32/memset.S: Likewise.
17682         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
17683         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
17684         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
17685         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
17686         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
17687         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
17688         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
17689         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
17690         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
17691         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
17692         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
17693         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
17694         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
17696 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17698         * math/libm-test.inc: Added more nearbyint tests.
17699         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
17700         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
17701         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
17702         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
17704 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
17706         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
17707         FD_CLOEXEC.
17709 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17711         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
17712         Add wcscpy-ssse3 wcscpy-c.
17713         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
17714         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
17715         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
17716         * sysdeps/x86_64/wcschr.S: New file.
17717         * sysdeps/x86_64/wcsrchr.S: New file.
17718         * string/test-strcmp.c: Remove checking of wcscmp function for
17719         wrong alignments.
17720         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
17721         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
17722         wcsrchr-sse2 wcsrchr-c.
17723         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
17724         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
17725         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
17726         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
17727         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
17728         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
17729         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
17730         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
17731         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
17732         * wcsmbc/wcschr.c (WCSCHR): New macro.
17734 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17736         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
17737         * wcsmbs/test-wcsrchr.c: New file.
17738         * string/test-strrchr.c: Add wcsrchr support.
17739         (WIDE): New macro.
17740         * wcsmbs/test-wcscpy.c: New file.
17741         * string/test-strcpy.c: Add wcscpy support.
17742         (WIDE): New macro.
17744 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
17746         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
17747         the inner loop.
17749 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
17751         [BZ #13472]
17752         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
17754 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
17756         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
17757         Minor optimizations.
17759         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
17760         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
17761         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
17763 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
17765         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
17766         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
17767         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
17768         for gcc to avoid warnings.
17769         * inet/Makefile (tests): Add tst-checks.
17770         * inet/tst-checks.c: New file.
17772         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
17773         warning.
17775         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
17776         __wmemcmp_sse2.
17778         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
17779         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
17781         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
17783 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
17785         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
17786         problem.
17788         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
17790 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
17792         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
17793         conditional on GCC version.
17794         (__arch_compare_and_exchange_val_8_acq)
17795         (__arch_compare_and_exchange_val_16_acq)
17796         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
17797         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
17798         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
17800 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
17802         * sysdeps/sh/backtrace.c: New file.
17804 2011-12-02  Andreas Schwab  <schwab@redhat.com>
17806         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
17807         parenthesis.
17809 2011-12-01  Andreas Schwab  <schwab@redhat.com>
17811         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
17812         falling back to utime.
17814 2011-11-30  Andreas Schwab  <schwab@redhat.com>
17816         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
17817         expectations for float.
17819 2011-11-29  Andreas Schwab  <schwab@redhat.com>
17821         * locale/weight.h (findidx): Add parameter len.
17822         * locale/weightwc.h (findidx): Likewise.
17823         * posix/fnmatch_loop.c (FCT): Adjust caller.
17824         * posix/regcomp.c (build_equiv_class): Likewise.
17825         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
17826         * posix/regexec.c (check_node_accept_bytes): Likewise.
17827         * string/strcoll_l.c (STRCOLL): Likewise.
17828         * string/strxfrm_l.c (STRXFRM): Likewise.
17830 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
17832         * Makefile.in: Remove CVSOPT handling.
17833         * configure.in: Remove use of AC_REVISION.
17834         * iconvdata/Makefile (distribute): No need to filter out CVS.
17835         * scripts/list-sources.sh: Remove CVS, subversion and monotone
17836         handling.
17838 2011-11-16  Andreas Schwab  <schwab@redhat.com>
17840         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
17841         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
17842         [USE_AS_STRNCASECMP_L]: Likewise.
17843         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
17844         NO_TLS_DIRECT_SEG_REFS.
17845         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
17846         Fix argument offsets for non-PIC.
17847         [USE_AS_STRNCASECMP_L]: Likewise.
17848         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
17849         NO_TLS_DIRECT_SEG_REFS.
17851 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
17853         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
17854         O_CLOEXEC.
17855         * locale/loadlocale.c (_nl_load_locale): Likewise.
17857 2011-11-15  Andreas Schwab  <schwab@redhat.com>
17859         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
17860         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
17861         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
17862         (SYSCALL_GETTIME): Set errno on error.
17864         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
17865         count references to noai6ai_cached.
17867 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
17869         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
17871         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
17872         FD_CLOEXEC for /proc/self/maps.
17874         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
17875         FD_CLOEXEC for /proc/meminfo.
17877         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
17878         gai.conf.
17880         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
17881         FD_CLOEXEC for given file.
17883         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
17885         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
17886         FD_CLOEXEC for /etc/hosts.
17887         (_gethtent): Likewise.
17889         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
17891         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
17892         cancellation and set FD_CLOEXEC for /etc/netgroup.
17894         * nss/nss_files/files-key.c (search): Don't allow cancellation when
17895         reading /etc/publickey.
17897         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
17898         allow cancellation when reading /etc/group.
17900         * nss/nss_files/files-alias.c (internal_setent): Don't allow
17901         cancellation.
17902         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
17904         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
17905         when using data file.
17907         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
17909         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
17910         (write_nis_obj): Use "c" and "e" in fopen.
17912         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
17914         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
17916         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
17918         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
17920         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
17921         locale.alias.
17923         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
17925         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
17927         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
17929         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
17930         file parsing and set FD_CLOEXEC.
17932 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
17934         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
17936 2011-11-14  Andreas Schwab  <schwab@redhat.com>
17938         * malloc/arena.c (arena_get2): Don't call reused_arena when
17939         _int_new_arena failed.
17941 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
17943         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
17944         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
17945         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
17946         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17947         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17948         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
17949         to compile strcasecmp and strncasecmp.
17950         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
17951         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
17953         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
17955 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
17957         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
17958         locale-defines.sym to gen-as-const-headers.
17959         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
17960         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
17961         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
17962         to compile strcasecmp and strncasecmp.
17963         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
17964         strcasecmp_l and strncasecmp_l.
17965         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
17966         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
17967         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
17968         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
17969         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
17970         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
17971         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
17972         * sysdeps/i386/i686/multiarch/strncase.S: New file.
17973         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
17974         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
17975         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
17977 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
17979         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
17980         result of SYSDEP_GETTIME_CPU to retval.
17981         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
17982         parameter list to macro.  Remove trailing semicolon.  Adjust users.
17984         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
17985         variable.
17987         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
17988         mantissa words.
17989         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
17991         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
17992         from unused variable.
17994         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
17995         DWARF definitions.
17996         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
17997         for assembling.
17999         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
18000         over namespaces.
18002         * sunrpc/rpc_prot.c (rejected): Fix case value.
18004         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
18005         unsigned long long int to avoid warnings in shift.
18007         * posix/regex_internal.c (re_string_reconstruct): Actually use result
18008         of use of trans.
18009         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
18010         variable tmp.
18012         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
18013         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
18014         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
18016         * nis/nis_table.c (nis_list): Use variable of correct type for
18017         result of __follow_path call.
18019 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18021         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
18022         of math functions ceil, trunc, floor, round, and sqrt, when
18023         avaliable on the platform.
18024         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
18025         name clash.
18026         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18027         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
18028         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
18030 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
18032         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
18033         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
18035 2011-11-11  Roland McGrath  <roland@hack.frob.com>
18037         * include/unistd.h: Fix __readlink return type.
18038         Reported by Chris Metcalf <cmetcalf@tilera.com>.
18040 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
18042         * stdlib/ucontext.h: Undo last change for makecontext.
18044 2011-11-11  Andreas Schwab  <schwab@redhat.com>
18046         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
18048         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
18049         * setjmp/setjmp.h: Mark functions as non-leaf.
18050         * setjmp/bits/setjmp2.h: Likewise.
18051         * stdlib/ucontext.h: Likewise.
18053 2011-11-10  Andreas Schwab  <schwab@redhat.com>
18055         * malloc/arena.c (_int_new_arena): Don't increment narenas.
18056         (reused_arena): Don't check arena limit.
18057         (arena_get2): Atomically check arena limit.
18059 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
18061         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
18062         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
18064         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
18065         instructions.
18067 2011-11-07  Andreas Schwab  <schwab@redhat.com>
18069         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
18070         handler when locking.
18072         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
18073         Fix size of allocated buffer.
18075 2011-11-04  Andreas Schwab  <schwab@redhat.com>
18077         [BZ #10103]
18078         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
18079         declarations for long double functions.
18080         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
18082         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
18084 2011-11-03  Andreas Schwab  <schwab@redhat.com>
18086         * nscd/nscd.c (main): Don't start AVC thread until credentials are
18087         installed.
18089         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
18090         is disabled.
18092 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18094         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
18096 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
18098         * include/alloca.h (stackinfo_alloca_round): Define.
18099         (extend_alloca): Use it.
18100         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
18101         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
18102         here.
18104         * scripts/check-local-headers.sh: Ignore libaudit.h.
18106         * nscd/Makefile (extra-objs): Make recursively expanded.
18108 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
18110         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
18111         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
18113         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
18114         * posix/tst-rfc3484-2.c: Likewise.
18115         * posix/tst-rfc3484-3.c: Likewise.
18117         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
18118         process_vm_writev.
18119         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
18120         process_vm_writev.
18121         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
18122         process_vm_writev from libc using GLIBC_2.15 version.
18124         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
18126 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
18128         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
18129         stack usage.
18131 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
18133         [BZ #13367]
18134         * nss/getent.c (initgroups_keys): Show error message in case no group
18135         names are given.
18137         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
18138         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
18139         __bump_nl_timestamp.
18140         * nscd/connections (nscd_init): When host database is served open
18141         netlink socket and request notification about configuration changes.
18142         (main_loop_poll): Track netlink file descriptor and bump timestamp
18143         in case data becomes available.
18144         (main_loop_epoll): Likewise.
18145         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
18146         (database_pers_head): Add extra_data fileds.
18147         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
18148         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
18149         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
18150         Adjust caller.
18151         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
18152         in6ai data, call __free_in6ai.
18153         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
18154         Add -DHAVE_NETLINK.
18155         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
18156         interface information.  Reuse previous data if netlink timestamp
18157         is not changed.
18158         (__bump_nl_timestamp): New function.
18159         (__free_in6ai): New function.
18161 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
18163         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
18164         close_not_cancel_no_status here.
18165         (__check_pf): Reorganize code a bit to not call close twice if OOM.
18167 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
18169         [BZ #13276]
18170         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
18171         return value.
18173         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
18174         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
18175         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
18177 2011-07-03  Andreas Jaeger  <aj@suse.de>
18179         [BZ #10709]
18180         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
18181         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
18182         * math/libm-test.inc (sin_test): Add test case.
18184 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
18186         [BZ #13337]
18187         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
18188         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
18190         * elf/chroot_canon.c (chroot_canon): Cleanups.
18192         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
18194         [BZ #13335]
18195         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
18196         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
18198         * string/test-strchr.c: Make usable for strchrnul testing.
18199         * string/test-strchrnul.c: New file.
18200         * string/Makefile (strop-tests): Add strchrnul.
18202         * po/it.po: Update from translation team.
18203         * po/es.po: Likewise.
18205 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
18207         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
18208         the three constants needed as parameters.  Drop the others.
18209         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
18210         __m128i_strloadu_tolower.
18211         Create and initialize variable zero and use it in all the places
18212         where _mm_setzero_si128 was used.
18214         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
18215         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
18216         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
18217         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
18218         anymore.
18219         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
18220         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
18221         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
18222         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
18223         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
18224         __mpranred, __mptan.
18225         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
18226         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
18227         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
18228         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
18229         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
18230         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
18231         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
18232         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
18233         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
18235 2011-10-28  Andreas Schwab  <schwab@redhat.com>
18237         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
18238         redefine if SHARED.
18239         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
18241         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
18242         wide char related routines to wcsmbs subdir.
18244 2011-10-27  Andreas Schwab  <schwab@redhat.com>
18246         [BZ #13344]
18247         * misc/sys/cdefs.h (__THROWNL): Define.
18248         * posix/unistd.h: Use __THREADNL instead of __THREAD
18249         for memory synchronization functions.
18251 2011-10-26  Roland McGrath  <roland@hack.frob.com>
18253         [BZ #13349]
18254         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
18255         doesn't exist.
18256         * manual/stdio.texi (Obstack Streams): Node removed.
18258 2011-10-26  Andreas Schwab  <schwab@redhat.com>
18260         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
18261         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18262         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18264         * math/math_private.h (math_force_eval): Allow non-addressable
18265         arguments.
18266         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
18268 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
18270         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
18271         file is not needed.
18273         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
18274         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
18275         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18276         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18277         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18278         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18279         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
18280         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
18281         Add AVX variants.
18282         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
18283         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
18284         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
18285         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
18286         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
18287         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
18288         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
18289         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
18290         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
18291         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
18292         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
18293         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
18294         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
18295         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
18296         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
18297         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
18298         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
18299         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
18300         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
18302         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
18303         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
18305         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
18306         place.  Use VEX encoding when compiling for AVX.
18308 2011-10-25  Andreas Schwab  <schwab@redhat.com>
18310         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
18311         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18313         * string/test-strchr.c (do_test): Don't generate NUL bytes.
18315 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
18317         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
18318         useless if() expression.
18319         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18320         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18321         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18322         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18323         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18324         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18325         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18326         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18327         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18328         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18329         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18330         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18331         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
18332         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18333         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
18334         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18335         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18336         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18337         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
18339         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
18341 2011-10-25  Andreas Schwab  <schwab@redhat.com>
18343         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
18344         condition.
18345         * elf/dl-fini.c (_dl_sort_fini): Likewise.
18347 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
18349         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
18350         .text section.  Avoid duplicate constants.
18351         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
18352         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18353         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18354         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18355         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18356         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18357         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18358         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18359         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
18360         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
18361         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
18362         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
18363         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
18364         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
18365         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
18366         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
18367         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
18368         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
18369         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18370         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18371         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18372         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18373         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18374         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
18375         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
18376         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
18377         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
18378         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
18379         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
18380         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
18381         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
18382         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
18383         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
18384         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
18385         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
18386         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
18387         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
18388         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
18389         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
18390         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
18391         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
18392         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
18393         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
18394         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
18395         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
18397 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
18399         * sysdeps/x86_64/dla.h: Move to ...
18400         * sysdeps/x86_64/fpu/dla.h: ...here.
18401         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
18402         situations.  Use __builtin_fma only for gcc 4.6 and up.
18404         * config.make.in: Add have-mfma4 entry.
18405         * configure.in: Substitute libc_cv_cc_fma4.
18406         * math/Makefile (dbl-only-routines): Add sincostab.
18407         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
18408         Use __sincostab not sincos.
18409         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
18410         name is a macro.
18411         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18412         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18413         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18414         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
18415         using __copysign.
18416         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
18417         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
18418         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
18419         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
18420         and __inv.
18421         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
18422         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
18423         __copysign.
18424         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
18425         define aliases when function name is a macro.
18426         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
18427         sysdeps/ieee754/dbl-64/sincos.tbl.
18428         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
18429         fma4-enabled routines.
18430         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
18431         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
18432         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
18433         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
18434         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
18435         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
18436         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
18437         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
18438         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
18439         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
18440         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
18441         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
18442         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
18443         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
18444         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
18445         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
18446         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
18447         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
18448         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
18449         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
18450         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
18451         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
18452         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
18453         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
18454         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
18455         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
18456         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
18457         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
18458         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
18459         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
18461         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
18462         rename.
18463         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18464         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18465         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18466         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18467         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18468         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18469         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18470         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18472 2011-10-24  Andreas Schwab  <schwab@redhat.com>
18474         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
18476 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
18478         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
18480         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
18481         prediction.
18482         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
18484         * string/strnlen.c: Don't define STRNLEN, reverse logic.
18485         Remove unused variable magic_bits.
18486         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
18488         * string/strnlen.c: Define and use STRNLEN macro.
18489         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
18490         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
18491         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
18492         * wcsmbs/wcslen.c: Define and use WCSLEN.
18493         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
18494         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
18495         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
18496         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
18497         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
18498         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
18499         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
18501 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18503         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18504         strnlen-sse2-no-bsf.
18505         Rename strlen-no-bsf to strlen-sse2-no-bsf.
18506         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
18507         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
18508         Add strnlen support.
18509         (USE_AS_STRNLEN): New macro.
18510         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
18511         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
18512         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
18513         * sysdeps/x86_64/wcslen.S: New file.
18515 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
18517         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
18518         XMM-moves are used for copying on small sizes.
18520 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18522         * wcsmbs/Makefile (strop-tests): Add wcschr.
18523         * wcsmbs/test-wcschr.c: New file.
18524         * string/test-strchr.c: Update.
18525         Add wcschr support.
18526         (WIDE): New macro.
18528 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18530         * wcsmbs/Makefile (strop-tests): Add wcslen.
18531         * wcsmbs/test-wcslen.c: New file.
18532         * string/test-strlen.c: Update.
18533         Add wcslen support.
18534         (WIDE): New macro.
18536 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
18538         * po/it.po: Update from translation team.
18540 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18542         * sysdeps/x86_64/wcscmp.S: Update.
18543         Fix wrong comparison semantics.
18544         wcscmp shall use signed comparison not unsigned.
18545         Don't use substraction to avoid overflow bug.
18546         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
18547         * wcsmbc/wcscmp.c: Likewise.
18548         * string/test-strcmp.c: Likewise.
18549         Add new tests to check cases with negative values.
18551 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
18553         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
18554         * sysdeps/x86_64/dla.h: ...here.  New file.
18555         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
18556         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18557         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18558         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18559         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18560         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18561         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18562         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18563         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18565 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
18567         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
18568         __ynl_finite aliases.
18570 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
18572         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18574         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
18575         define DLA_FMA.
18576         [DLA_FMA] (EMULV): Use DLA_FMA.
18577         [DLA_FMA] (MUL12): Use EMULV.
18578         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
18579         that are not needed.
18580         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18581         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18582         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18583         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18584         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18585         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18586         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18588 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
18590         * math/s_nan.c: Undef __nan.
18591         * math/s_nanf.c: Undef __nanf.
18592         * math/s_nanl.c: Undef __nanl.
18593         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
18594         "math_private.h".
18596 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
18598         * math/s_catan.c: Add branch predictions.
18599         * math/s_catanf.c: Likewise.
18600         * math/s_catanh.c: Likewise.
18601         * math/s_catanhf.c: Likewise.
18602         * math/s_catanhl.c: Likewise.
18603         * math/s_catanl.c: Likewise.
18604         * math/s_cexp.c: Likewise.
18605         * math/s_cexpf.c: Likewise.
18606         * math/s_cexpl.c: Likewise.
18607         * math/s_clog.c: Likewise.
18608         * math/s_clog10.c: Likewise.
18609         * math/s_clog10f.c: Likewise.
18610         * math/s_clog10l.c: Likewise.
18611         * math/s_clogf.c: Likewise.
18612         * math/s_clogl.c: Likewise.
18613         * math/s_csqrt.c: Likewise.
18614         * math/s_csqrtf.c: Likewise.
18615         * math/s_csqrtl.c: Likewise.
18616         * math/s_ctanf.c: Likewise.
18617         * math/s_ctanh.c: Likewise.
18618         * math/s_ctanhf.c: Likewise.
18619         * math/s_ctanhl.c: Likewise.
18620         * math/s_ctanl.c: Likewise.
18622         * math/math_private.h: Define __nan, __nanf, __nanl.
18623         * math/s_cacosh.c: Include <math_private.h>.
18624         * math/s_cacoshl.c: Likewise.
18625         * math/s_casinh.c: Likewise.
18626         * math/s_casinhf.c: Likewise.
18627         * math/s_casinhl.c: Likewise.
18628         * math/s_ccos.c: Rely entire on ccosh.
18629         * math/s_ccosf.c: Rely entire on ccoshf.
18630         * math/s_ccosl.c: Rely entirely on ccoshl.
18631         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
18632         Remove tests for FE_INVALID.
18633         * math/s_ccoshf.c: Likewise.
18634         * math/s_ccoshl.c: Likewise.
18635         * math/s_csin.c: Likewise.
18636         * math/s_csinf.c: Likewise.
18637         * math/s_csinh.c Likewise.
18638         * math/s_csinhf.c: Likewise.
18639         * math/s_csinhl.c: Likewise.
18640         * math/s_csinl.c: Likewise.
18641         * math/s_ctan.c: Likewise.
18642         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
18643         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
18644         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
18646 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
18648         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
18649         compilation problems.
18651         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
18652         __builtin_expect.
18654 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
18656         * sysdeps/i386/configure.in: Test for -mfma4 option.
18657         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
18658         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
18659         COMMON_CPUID_INDEX_80000001.
18660         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
18661         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
18662         use it if FMA3 is not supported.
18663         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
18665         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
18666         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
18668 2011-10-20  Andreas Schwab  <schwab@redhat.com>
18670         [BZ #12892]
18671         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
18672         it would create a cycle with a link time dependency.
18674 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
18676         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
18677         instruction.
18678         * string/Makefile (strop-tests): Add rawmemchr.
18679         * string/test-rawmemchr.c: New file.
18681         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
18682         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
18683         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
18684         when compiling str{,n}casecmp and when AVX is available.  Hook up
18685         new optimized code in initializers.
18687 2011-10-19  Andreas Schwab  <schwab@redhat.com>
18689         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
18690         __feraiseexcept instead of feraiseexcept.
18692 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
18694         * math/math_private.h: Define defaults for libc_fetestexcept and
18695         libc_feupdateenv.
18696         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
18697         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
18698         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
18699         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
18700         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
18701         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
18702         libc_fetestexcept and libc_feupdateenv.
18704         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
18705         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
18706         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
18707         * sysdeps/x86_64/fpu/math_private.h: Define special version of
18708         libc_feholdexcept_setround.
18710         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
18711         Add s_nearbyint-c and s_nearbyintf-c.
18712         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
18713         nearbyintf inlines.
18714         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
18715         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
18716         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
18717         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
18719         * math/math_private.h: Define defaults for libc_fegetround,
18720         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
18721         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
18722         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
18723         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
18724         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
18725         standard functions.
18726         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18727         Remove comments and hacks for old compiler versions.
18728         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
18729         libc_fegetround, libc_fesetround, libc_feholdexcept, and
18730         libc_feholdexceptl.
18732 2011-10-18  Andreas Schwab  <schwab@redhat.com>
18734         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
18735         (__feraiseexcept_renamed): Add __NTH.
18736         (feraiseexcept): Add __NTH.  Rename local variables to fix
18737         namespace violations.
18739 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
18741         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
18743         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
18745         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
18746         recently added interfaces.
18747         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
18749         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
18750         about macro parameter expansion.
18752         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
18753         __NO_MATH_INLINES is defined.  Cleanups.
18755         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
18756         and __floorf is target has SSE4.1.
18757         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
18758         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
18759         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
18760         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
18762         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
18763         name.
18764         (floorf): Likewise.
18766         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
18768 2011-10-17  Andreas Schwab  <schwab@redhat.com>
18770         * misc/sys/cdefs.h: Fix last change.
18772         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
18773         database lookup.
18775 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
18777         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
18779         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
18780         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18781         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18782         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18783         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18784         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
18785         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18786         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18787         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
18788         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
18789         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
18790         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
18791         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
18792         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
18793         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
18794         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
18795         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
18796         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
18797         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
18798         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
18799         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
18800         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
18802         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
18803         ceil, ceilf, floor, floorf.
18805         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
18806         Perform IRELATIVE relocations last.
18808         * elf/do-rel.h: Add another parameter nrelative, replacing the
18809         local variable with the same name.  Change name of the function
18810         to end in Rel or Rela (uppercase).
18811         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
18812         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
18813         elf_dynamic_do_##reloc function.
18815 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
18817         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
18818         is sufficient, at least on modern CPUs.
18820         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
18822         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
18823         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
18825         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
18826         __expl_finite.
18827         * math/bits/math-finite.h: Add entries for exp.
18828         * math/e_expl.c: Add __*_finite alias.
18829         * sysdeps/i386/fpu/e_exp.S: Likewise.
18830         * sysdeps/i386/fpu/e_expf.S: Likewise.
18831         * sysdeps/i386/fpu/e_expl.c: Likewise.
18832         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18833         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
18834         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18835         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18836         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
18837         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
18838         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
18840         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
18841         is sufficient, at least on modern CPUs.
18843         * ctype/ctype-info.c (__ctype_init): Define.
18844         * include/ctype.h (__ctype_init): Declare.
18845         (__ctype_b_loc): The variable is always initialized.
18846         (__ctype_toupper_loc): Likewise.
18847         (__ctype_tolower_loc): Likewise.
18848         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
18849         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
18851 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
18853         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
18855         * configure.in: Also look in $cxxmachine/include for C++ system
18856         headers.
18858 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18860         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
18861         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
18862         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
18863         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
18864         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
18865         (USE_AS_WMEMCMP): New macro.
18866         Fixing indents.
18867         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
18868         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
18869         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
18870         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
18871         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18872         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
18873         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
18874         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
18875         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
18876         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
18877         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
18878         (USE_AS_WMEMCMP): New macro.
18879         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
18880         * sysdeps/string/test-memcmp.c: Update.
18881         Fix simple_wmemcmp.
18882         Add new tests.
18883         * wcsmbs/wmemcmp.c: Update.
18884         (WMEMCMP): New macro.
18885         Fix overflow bug.
18887 2011-10-12  Andreas Jaeger  <aj@suse.de>
18889         [BZ #13268]
18890         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
18892 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
18894         * libio/iofwide.c (do_length): Avoid warning.
18896         * ctype/ctype.h (__isctype_f): Add missing __THROW.
18898 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
18900         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
18902         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
18903         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
18904         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
18905         * sysdeps/i386/i686/fpu/e_log.S: New file.
18906         * sysdeps/i386/i686/fpu/e_logf.S: New file.
18907         * sysdeps/i386/i686/fpu/e_logl.S: New file.
18909         * ctype/ctype.h: Add support for inlined isXXX functions when
18910         compiling C++ code.
18912 2011-10-14  Andreas Schwab  <schwab@redhat.com>
18914         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18916         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
18918 2011-10-13  Roland McGrath  <roland@hack.frob.com>
18920         [BZ #13291]
18921         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
18923 2011-10-13  Andreas Schwab  <schwab@redhat.com>
18925         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
18926         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
18927         feraiseexcept.
18929         * sysdeps/x86_64/memrchr.S: Check for zero size.
18931         * string/stratcliff.c: Add memrchr tests.
18933 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18935         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18936         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
18937         rawmemchr-sse2 rawmemchr-sse2-bsf.
18938         * sysdeps/i386/i686/multiarch/memchr.S: New file.
18939         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
18940         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
18941         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
18942         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
18943         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
18944         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
18945         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
18946         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
18947         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
18948         * string/memrchr.c (MEMRCHR): New macro.
18950 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
18952         Add integration with gcc's -ffinite-math-only and optimize wrapper
18953         functions in libm.
18954         * Versions.def: Define GLIBC_2.15 version for libm.
18955         * math/Makefile (headers): Add bits/math-finite.h.
18956         * math/bits/math-finite.h: New file.
18957         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
18958         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
18959         * math/e_acoshl.c: Add __*_finite alias.
18960         * math/e_acosl.c: Likewise.
18961         * math/e_asinl.c: Likewise.
18962         * math/e_atan2l.c: Likewise.
18963         * math/e_atanhl.c: Likewise.
18964         * math/e_coshl.c: Likewise.
18965         * math/e_exp10.c: Likewise.
18966         * math/e_exp10f.c: Likewise.
18967         * math/e_exp10l.c: Likewise.
18968         * math/e_exp2l.c: Likewise.
18969         * math/e_fmodl.c: Likewise.
18970         * math/e_gammal_r.c: Likewise.
18971         * math/e_hypotl.c: Likewise.
18972         * math/e_j0l.c: Likewise.
18973         * math/e_j1l.c: Likewise.
18974         * math/e_jnl.c: Likewise.
18975         * math/e_lgammal_r.c: Likewise.
18976         * math/e_log10l.c: Likewise.
18977         * math/e_log2l.c: Likewise.
18978         * math/e_logl.c: Likewise.
18979         * math/e_powl.c: Likewise.
18980         * math/e_sinhl.c: Likewise.
18981         * math/e_sqrtl.c: Likewise.
18982         * math/e_scalb.c: Completely rewritten and optimized.
18983         * math/e_scalbf.c: Likewise.
18984         * math/e_scalbl.c: Likewise.
18985         * math/w_acos.c: Likewise.
18986         * math/w_acosf.c: Likewise.
18987         * math/w_acosl.c: Likewise.
18988         * math/w_acosh.c: Likewise.
18989         * math/w_acoshf.c: Likewise.
18990         * math/w_acoshl.c: Likewise.
18991         * math/w_asin.c: Likewise.
18992         * math/w_asinf.c: Likewise.
18993         * math/w_asinl.c: Likewise.
18994         * math/w_atan2.c: Likewise.
18995         * math/w_atan2f.c: Likewise.
18996         * math/w_atan2l.c: Likewise.
18997         * math/w_atanh.c: Likewise.
18998         * math/w_atanhf.c: Likewise.
18999         * math/w_atanhl.c: Likewise.
19000         * math/w_exp10.c: Likewise.
19001         * math/w_exp10f.c: Likewise.
19002         * math/w_exp10l.c: Likewise.
19003         * math/w_fmod.c: Likewise.
19004         * math/w_fmodf.c: Likewise.
19005         * math/w_fmodl.c: Likewise.
19006         * math/w_j0.c: Likewise.
19007         * math/w_j0f.c: Likewise.
19008         * math/w_j0l.c: Likewise.
19009         * math/w_j1.c: Likewise.
19010         * math/w_j1f.c: Likewise.
19011         * math/w_j1l.c: Likewise.
19012         * math/w_jn.c: Likewise.
19013         * math/w_jnf.c: Likewise.
19014         * math/w_log.c: Likewise.
19015         * math/w_logf.c: Likewise.
19016         * math/w_logl.c: Likewise.
19017         * math/w_log10.c: Likewise.
19018         * math/w_log10f.c: Likewise.
19019         * math/w_log10l.c: Likewise.
19020         * math/w_log2.c: Likewise.
19021         * math/w_log2f.c: Likewise.
19022         * math/w_log2l.c: Likewise.
19023         * math/w_pow.c: Likewise.
19024         * math/w_powf.c: Likewise.
19025         * math/w_powl.c: Likewise.
19026         * math/w_remainder.c: Likewise.
19027         * math/w_remainderf.c: Likewise.
19028         * math/w_remainderl.c: Likewise.
19029         * math/w_scalb.c: Likewise.
19030         * math/w_scalbf.c: Likewise.
19031         * math/w_scalbl.c: Likewise.
19032         * math/w_sqrt.c: Likewise.
19033         * math/w_sqrtf.c: Likewise.
19034         * math/w_sqrtl.c: Likewise.
19035         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
19036         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
19037         used.
19038         * math/math_private.h: Declare __kernel_standard_f.
19039         * math/w_cosh.c: Remove cruft and optimize a bit.
19040         * math/w_coshf.c: Likewise.
19041         * math/w_coshl.c: Likewise.
19042         * math/w_exp2.c: Likewise.
19043         * math/w_exp2f.c: Likewise.
19044         * math/w_exp2l.c: Likewise.
19045         * math/w_hypot.c: Likewise.
19046         * math/w_hypotf.c: Likewise.
19047         * math/w_hypotl.c: Likewise.
19048         * math/w_lgamma.c: Likewise.
19049         * math/w_lgamma_r.c: Likewise.
19050         * math/w_lgammaf.c: Likewise.
19051         * math/w_lgammaf_r.c: Likewise.
19052         * math/w_lgammal.c: Likewise.
19053         * math/w_lgammal_r.c: Likewise.
19054         * math/w_sinh.c: Likewise.
19055         * math/w_sinhf.c: Likewise.
19056         * math/w_sinhl.c: Likewise.
19057         * math/w_tgamma.c: Likewise.
19058         * math/w_tgammaf.c: Likewise.
19059         * math/w_tgammal.c: Likewise.
19060         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
19061         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19062         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
19063         Minor optimizations.  Pretty printing.  Remove cruft.
19064         * sysdeps/i386/fpu/e_acosf.S: Likewise.
19065         * sysdeps/i386/fpu/e_acosh.S: Likewise.
19066         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19067         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19068         * sysdeps/i386/fpu/e_acosl.c: Likewise.
19069         * sysdeps/i386/fpu/e_asin.S: Likewise.
19070         * sysdeps/i386/fpu/e_asinf.S: Likewise.
19071         * sysdeps/i386/fpu/e_atan2.S: Likewise.
19072         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
19073         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
19074         * sysdeps/i386/fpu/e_atanh.S: Likewise.
19075         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19076         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19077         * sysdeps/i386/fpu/e_exp10.S: Likewise.
19078         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
19079         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
19080         * sysdeps/i386/fpu/e_exp2.S: Likewise.
19081         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
19082         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
19083         * sysdeps/i386/fpu/e_fmod.S: Likewise.
19084         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
19085         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
19086         * sysdeps/i386/fpu/e_hypot.S: Likewise.
19087         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
19088         * sysdeps/i386/fpu/e_log.S: Likewise.
19089         * sysdeps/i386/fpu/e_log10.S: Likewise.
19090         * sysdeps/i386/fpu/e_log10f.S: Likewise.
19091         * sysdeps/i386/fpu/e_log10l.S: Likewise.
19092         * sysdeps/i386/fpu/e_log2.S: Likewise.
19093         * sysdeps/i386/fpu/e_log2f.S: Likewise.
19094         * sysdeps/i386/fpu/e_log2l.S: Likewise.
19095         * sysdeps/i386/fpu/e_logf.S: Likewise.
19096         * sysdeps/i386/fpu/e_logl.S: Likewise.
19097         * sysdeps/i386/fpu/e_pow.S: Likewise.
19098         * sysdeps/i386/fpu/e_powf.S: Likewise.
19099         * sysdeps/i386/fpu/e_powl.S: Likewise.
19100         * sysdeps/i386/fpu/e_remainder.S: Likewise.
19101         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
19102         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
19103         * sysdeps/i386/fpu/e_scalb.S: Likewise.
19104         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19105         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19106         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
19107         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
19108         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
19109         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
19110         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19111         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19112         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
19113         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19114         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
19115         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
19116         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
19117         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19118         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19119         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
19120         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
19121         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19122         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
19123         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
19124         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19125         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19126         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
19127         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19128         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19129         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
19130         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
19131         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
19132         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
19133         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
19134         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
19135         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
19136         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
19137         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
19138         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
19139         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
19140         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
19141         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19142         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
19143         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
19144         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
19145         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
19146         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
19147         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
19148         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
19149         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
19150         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
19151         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
19152         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
19153         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
19154         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
19155         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
19156         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
19157         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
19158         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
19159         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
19160         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
19161         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
19162         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19163         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
19164         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
19165         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
19166         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
19167         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
19168         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
19169         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
19170         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
19171         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19172         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19173         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
19174         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
19175         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
19176         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
19177         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
19178         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
19179         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
19180         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
19181         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
19182         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
19183         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
19184         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19185         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
19186         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
19187         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
19188         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
19189         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
19190         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
19191         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
19192         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
19193         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
19194         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
19195         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19196         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
19197         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
19198         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
19199         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
19200         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19201         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19202         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
19203         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19204         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
19205         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
19206         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
19207         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
19208         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
19209         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
19210         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
19211         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
19212         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
19213         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19214         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19215         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19216         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19217         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
19218         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19219         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
19220         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
19221         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
19222         (__isnanf): Likewise.
19223         (__isinf_ns): Likewise.
19224         (__isinf_nsf): Likewise.
19225         (__finite): Likewise.
19226         (__finitef): Likewise.
19227         (__ieee754_sqrt): Define as macro.
19228         (__ieee754_sqrtf): Define as macro.
19229         (__ieee754_sqrtl): Define as macro.
19230         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
19231         inlined copy.
19232         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
19233         __FINITE_MATH_ONLY__ consistent.
19234         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
19236 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
19238         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
19239         of rawmemchr.
19241         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
19243 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
19245         * po/ja.po: Update from translation team.
19247 2011-10-08  Roland McGrath  <roland@hack.frob.com>
19249         * locale/programs/locarchive.c (prepare_address_space): New function.
19250         (create_archive, enlarge_archive, open_archive): Use it.
19252         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
19253         inside [SHARED], where it is used.
19255         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
19257         * nss/getent.c (netgroup_keys): Remove unused variable.
19258         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
19260 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
19262         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
19263         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
19264         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
19265         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
19266         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
19267         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
19268         * math/Makefile (libm-calls): Add s_isinf_ns.
19269         * math/divtc3.c: Use __isinf_nsl instead of isinf.
19270         * math/multc3.c: Likewise.
19271         * math/s_casin.c: Likewise.
19272         * math/s_casinf.c: Likewise.
19273         * math/s_casinl.c: Likewise.
19274         * math/s_ccos.c: Likewise.
19275         * math/s_ccosf.c: Likewise.
19276         * math/s_ccosl.c: Likewise.
19277         * math/s_ctan.c: Likewise.
19278         * math/s_ctanf.c: Likewise.
19279         * math/s_ctanh.c: Likewise.
19280         * math/s_ctanhf.c: Likewise.
19281         * math/s_ctanhl.c: Likewise.
19282         * math/s_ctanl.c: Likewise.
19283         * math/w_fmod.c: Likewise.
19284         * math/w_fmodf.c: Likewise.
19285         * math/w_fmodl.c: Likewise.
19286         * math/w_remainder.c: Likewise.
19287         * math/w_remainderf.c: Likewise.
19288         * math/w_remainderl.c: Likewise.
19289         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
19290         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
19291         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
19292         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
19293         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
19294         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
19295         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
19296         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
19298         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
19299         of the number.
19300         * stdio-common/printf_fphex.c: Likewise.
19301         * stdio-common/printf_size.c: Likewise.
19303         * math/e_exp10.c: Include math_private.h using <...> not "...".
19304         * math/e_exp10f.c: Likewise.
19305         * math/e_exp10l.c: Likewise.
19306         * math/e_exp2l.c: Likewise.
19307         * math/e_j0l.c: Likewise.
19308         * math/e_j1l.c: Likewise.
19309         * math/e_jnl.c: Likewise.
19310         * math/e_lgammal_r.c: Likewise.
19311         * math/e_rem_pio2l.c: Likewise.
19312         * math/e_scalb.c: Likewise.
19313         * math/e_scalbf.c: Likewise.
19314         * math/e_scalbl.c: Likewise.
19315         * math/k_cosl.c: Likewise.
19316         * math/k_sinl.c: Likewise.
19317         * math/k_tanl.c: Likewise.
19318         * math/s_cacoshf.c: Likewise.
19319         * math/s_catan.c: Likewise.
19320         * math/s_catanf.c: Likewise.
19321         * math/s_catanh.c: Likewise.
19322         * math/s_catanhf.c: Likewise.
19323         * math/s_catanhl.c: Likewise.
19324         * math/s_catanl.c: Likewise.
19325         * math/s_ccosh.c: Likewise.
19326         * math/s_ccoshf.c: Likewise.
19327         * math/s_ccoshl.c: Likewise.
19328         * math/s_cexp.c: Likewise.
19329         * math/s_cexpf.c: Likewise.
19330         * math/s_cexpl.c: Likewise.
19331         * math/s_clog.c: Likewise.
19332         * math/s_clog10.c: Likewise.
19333         * math/s_clog10f.c: Likewise.
19334         * math/s_clog10l.c: Likewise.
19335         * math/s_clogf.c: Likewise.
19336         * math/s_clogl.c: Likewise.
19337         * math/s_csin.c: Likewise.
19338         * math/s_csinf.c: Likewise.
19339         * math/s_csinh.c: Likewise.
19340         * math/s_csinhf.c: Likewise.
19341         * math/s_csinhl.c: Likewise.
19342         * math/s_csinl.c: Likewise.
19343         * math/s_csqrt.c: Likewise.
19344         * math/s_csqrtf.c: Likewise.
19345         * math/s_csqrtl.c: Likewise.
19346         * math/s_ctan.c: Likewise.
19347         * math/s_ctanf.c: Likewise.
19348         * math/s_ctanh.c: Likewise.
19349         * math/s_ctanhf.c: Likewise.
19350         * math/s_ctanhl.c: Likewise.
19351         * math/s_ctanl.c: Likewise.
19352         * math/s_ldexp.c: Likewise.
19353         * math/s_ldexpf.c: Likewise.
19354         * math/s_ldexpl.c: Likewise.
19355         * math/s_significand.c: Likewise.
19356         * math/s_significandf.c: Likewise.
19357         * math/s_significandl.c: Likewise.
19358         * math/w_acos.c: Likewise.
19359         * math/w_acosf.c: Likewise.
19360         * math/w_acosh.c: Likewise.
19361         * math/w_acoshf.c: Likewise.
19362         * math/w_acoshl.c: Likewise.
19363         * math/w_acosl.c: Likewise.
19364         * math/w_asin.c: Likewise.
19365         * math/w_asinf.c: Likewise.
19366         * math/w_asinl.c: Likewise.
19367         * math/w_atan2.c: Likewise.
19368         * math/w_atan2f.c: Likewise.
19369         * math/w_atan2l.c: Likewise.
19370         * math/w_atanh.c: Likewise.
19371         * math/w_atanhf.c: Likewise.
19372         * math/w_atanhl.c: Likewise.
19373         * math/w_cosh.c: Likewise.
19374         * math/w_coshf.c: Likewise.
19375         * math/w_coshl.c: Likewise.
19376         * math/w_dremf.c: Likewise.
19377         * math/w_exp10.c: Likewise.
19378         * math/w_exp10f.c: Likewise.
19379         * math/w_exp10l.c: Likewise.
19380         * math/w_exp2.c: Likewise.
19381         * math/w_exp2f.c: Likewise.
19382         * math/w_fmod.c: Likewise.
19383         * math/w_fmodf.c: Likewise.
19384         * math/w_fmodl.c: Likewise.
19385         * math/w_hypot.c: Likewise.
19386         * math/w_hypotf.c: Likewise.
19387         * math/w_hypotl.c: Likewise.
19388         * math/w_j0.c: Likewise.
19389         * math/w_j0f.c: Likewise.
19390         * math/w_j0l.c: Likewise.
19391         * math/w_j1.c: Likewise.
19392         * math/w_j1f.c: Likewise.
19393         * math/w_j1l.c: Likewise.
19394         * math/w_jn.c: Likewise.
19395         * math/w_jnf.c: Likewise.
19396         * math/w_jnl.c: Likewise.
19397         * math/w_lgamma.c: Likewise.
19398         * math/w_lgamma_r.c: Likewise.
19399         * math/w_lgammaf.c: Likewise.
19400         * math/w_lgammaf_r.c: Likewise.
19401         * math/w_lgammal.c: Likewise.
19402         * math/w_lgammal_r.c: Likewise.
19403         * math/w_log.c: Likewise.
19404         * math/w_log10.c: Likewise.
19405         * math/w_log10f.c: Likewise.
19406         * math/w_log10l.c: Likewise.
19407         * math/w_log2.c: Likewise.
19408         * math/w_log2f.c: Likewise.
19409         * math/w_log2l.c: Likewise.
19410         * math/w_logf.c: Likewise.
19411         * math/w_logl.c: Likewise.
19412         * math/w_pow.c: Likewise.
19413         * math/w_powf.c: Likewise.
19414         * math/w_powl.c: Likewise.
19415         * math/w_remainder.c: Likewise.
19416         * math/w_remainderf.c: Likewise.
19417         * math/w_remainderl.c: Likewise.
19418         * math/w_scalb.c: Likewise.
19419         * math/w_scalbf.c: Likewise.
19420         * math/w_scalbl.c: Likewise.
19421         * math/w_sinh.c: Likewise.
19422         * math/w_sinhf.c: Likewise.
19423         * math/w_sinhl.c: Likewise.
19424         * math/w_sqrt.c: Likewise.
19425         * math/w_sqrtf.c: Likewise.
19426         * math/w_sqrtl.c: Likewise.
19427         * math/w_tgamma.c: Likewise.
19428         * math/w_tgammaf.c: Likewise.
19429         * math/w_tgammal.c: Likewise.
19431         * po/ja.po: Update from translation team.
19433 2011-09-29  Andreas Jaeger  <aj@suse.de>
19435         [BZ #13179]
19436         * sunrpc/netname.c (netname2host): Fix logic.
19438         [BZ #6779]
19439         [BZ #6783]
19440         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
19441         correctly.
19442         * math/w_remainder.c (__remainder): Likewise.
19443         * math/w_remainderf.c (__remainderf): Likewise.
19444         * math/libm-test.inc (remainder_test): Add test cases.
19446 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19448         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
19449         sdiv_qrnnd.
19451 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
19453         * string/test-memcmp.c: Avoid unncessary #defines.
19454         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
19456 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19458         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
19459         Use new sse2 version for core i3 - i7 as it's faster
19460         than sse42 version.
19461         (bit_Prefer_PMINUB_for_stringop): New.
19462         * sysdeps/x86_64/rawmemchr.S: Update.
19463         Replace with faster SSE2 version.
19464         * sysdeps/x86_64/memrchr.S: New file.
19465         * sysdeps/x86_64/memchr.S: Update.
19466         Replace with faster SSE2 version.
19468 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
19470         * elf/dl-load.c (lose): Add cast to avoid warning.
19472 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
19474         * po/ca.po: Update from translation team.
19476         * inet/getnetgrent_r.c: Hook up nscd.
19477         * nscd/Makefile (routines): Add nscd_netgroup.
19478         (nscd-modules): Add netgroupcache.
19479         (CFLAGS-netgroupcache.c): Define.
19480         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
19481         (cache_search): Add const to second parameter.
19482         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
19483         INNETGR.
19484         (dbs): Add netgrdb entry.
19485         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
19486         (verify_persistent_db): Handle netgrdb.
19487         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
19488         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
19489         GETFDNETGR.
19490         (netgroup_response_header): Define.
19491         (innetgroup_response_header): Define.
19492         (datahead): Add netgroup_response_header and innetgroup_response_header
19493         elements.
19494         * nscd/nscd.conf: Add entries for netgroup cache.
19495         * nscd/nscd.h (dbtype): Add netgrdb.
19496         (_PATH_NSCD_NETGROUP_DB): Define.
19497         (netgroup_iov_disabled): Declare.
19498         (xmalloc, xcalloc, xrealloc): Move declarations here.
19499         (cache_search): Adjust prototype.
19500         Add netgroup-related prototypes.
19501         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
19502         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
19503         (__nscd_innetgr): Declare.
19504         * nscd/selinux.c (perms): Use access_vector_t as element type and
19505         add netgroup-related initializers.
19506         * nscd/netgroupcache.c: New file.
19507         * nscd/nscd_netgroup.c: New file.
19508         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
19509         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
19510         For four parameters use innetgr.
19511         * nss/nss_files/files-init.c: Add definition and callback for netgr.
19512         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
19513         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
19514         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
19516         * nscd/connections.c (register_traced_file): Don't register file
19517         for disabled databases.
19519 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
19521         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
19523         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
19524         from tree and freeing node.
19526 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
19528         * nss/nsswitch.c (__nss_database_lookup): Handle
19529         nss_parse_service_list out of memory case.
19531 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
19533         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
19534         out of memory case.
19536 2011-10-04  Andreas Schwab  <schwab@redhat.com>
19538         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
19539         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
19540         pass it down.
19541         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
19542         elf_machine_rela, elf_machine_lazy_rel.
19543         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
19544         (ELF_DYNAMIC_DO_REL): Likewise.
19545         (ELF_DYNAMIC_DO_RELA): Likewise.
19546         (ELF_DYNAMIC_RELOCATE): Likewise.
19547         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
19548         to ELF_DYNAMIC_DO_REL.
19549         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
19550         (dl_main): In trace mode always set __RTLD_NOIFUNC.
19551         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
19552         elf_machine_rela.
19553         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
19554         skip_ifunc, don't call ifunc function if non-zero.
19555         (elf_machine_rela): Likewise.
19556         (elf_machine_lazy_rel): Likewise.
19557         (elf_machine_lazy_rela): Likewise.
19558         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
19559         (elf_machine_lazy_rel): Likewise.
19560         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
19561         Likewise.
19562         (elf_machine_lazy_rel): Likewise.
19563         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19564         Likewise.
19565         (elf_machine_lazy_rel): Likewise.
19566         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
19567         (elf_machine_lazy_rel): Likewise.
19568         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
19569         (elf_machine_lazy_rel): Likewise.
19570         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19571         (elf_machine_lazy_rel): Likewise.
19572         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
19573         (elf_machine_lazy_rel): Likewise.
19574         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
19575         (elf_machine_lazy_rel): Likewise.
19576         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19577         (elf_machine_lazy_rel): Likewise.
19579 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
19581         * nss/nss_files/files-init.c (_nss_files_init): Use static
19582         initialization for all the *_traced_file variables.
19584 2011-09-28  Andreas Schwab  <schwab@redhat.com>
19586         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19588 2011-09-27  Roland McGrath  <roland@hack.frob.com>
19590         [BZ #13226]
19591         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
19593 2011-09-27  Andreas Schwab  <schwab@redhat.com>
19595         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
19596         Reread the line before reparsing it.
19598 2011-09-26  Andreas Schwab  <schwab@redhat.com>
19600         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
19602 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
19603             Maxim Kuvyrkov  <maxim@codesourcery.com>
19604             Joseph Myers  <joseph@codesourcery.com>
19606         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
19607         if needed for __stack_chk_guard.
19609 2011-09-19  Roland McGrath  <roland@hack.frob.com>
19611         * sysdeps/posix/spawni.c (script_execute): Always define it.
19612         It will be optimized away if unused.
19613         (maybe_script_execute): New function.
19614         (__spawni): Call it.
19616         * Makerules: Don't include tls.make.
19617         (config-tls): Always set to thread.
19618         * tls.make.c: File removed.
19620 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
19622         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
19623         * config.make.in (CPPFLAGS-config): New substituted variable.
19625 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
19627         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
19629         [BZ #13192]
19630         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
19631         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
19633 2011-09-15  Roland McGrath  <roland@hack.frob.com>
19635         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
19636         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
19637         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
19638         (CALL_FAIL): Likewise.
19639         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
19640         (CALL_FAIL): Macro removed.
19641         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
19643 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
19645         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
19646         for __FINITE_MATH_ONLY__ == 1.
19648 2011-09-15  Andreas Schwab  <schwab@redhat.com>
19650         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
19651         __ieee754_sqrt instead of sqrt.
19652         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
19653         __ieee754_sqrtf instead of sqrtf.
19654         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
19655         __floorf instead of floorf.
19656         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
19657         __floorf, __truncf instead of floorf, truncf.
19659 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
19661         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
19663         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
19664         __extern_always_inline.
19665         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
19666         32-bit.
19668 2011-09-14  Andreas Schwab  <schwab@redhat.com>
19670         * elf/rtld.c (dl_main): Also relocate in dependency order when
19671         doing symbol dependency testing.
19673 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
19675         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19676         Always define `refsym'.
19678 2011-09-13  Andreas Schwab  <schwab@redhat.com>
19680         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
19681         (__FD_ELT): Renamed from __FDELT.
19682         * misc/bits/select2.h (__FD_ELT): Likewise.
19683         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
19684         __FD_MASK instead of __FDELT, __FDMASK.
19685         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
19686         Likewise.
19687         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
19688         Likewise.
19690         * elf/Makefile (gen-ldd): Fix pattern.
19692         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
19693         (init_tls): Likewise.
19695 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
19697         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
19699 2011-09-12  Andreas Schwab  <schwab@redhat.com>
19701         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
19702         `struct cmsghdr *' instead of `void *'.
19703         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
19704         Likewise.
19706 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
19708         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
19709         if non-absolute.
19710         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
19711         ldd_rewrite_script.
19713 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
19715         * configure.in: Remove --with-tls option.
19716         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
19717         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
19718         out in case it is missing.
19719         * sysdeps/ia64/elf/configure.in: Likewise.
19720         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
19721         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
19722         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
19723         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
19724         * sysdeps/sh/elf/configure.in: Likewise.
19725         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
19726         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
19727         * sysdeps/x86_64/elf/configure.in: Likewise.
19728         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
19729         * sysdeps/mach/hurd/tls.h: Likewise.
19731         [BZ #13067]
19732         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
19734         [BZ #13090]
19735         * configure.in: Fix use of AC_INIT.
19737         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
19739 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
19741         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
19742         __set_errno.
19743         * malloc/hooks.c: Likewise.
19745         [BZ #11929]
19746         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
19747         variables statically.
19748         (narenas): Initialize.
19749         (list_lock): Initialize.
19750         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
19751         initializtion of main_arena and list_lock.  Small cleanups.
19752         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
19753         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
19754         Add initializers to main_arena and mp_.
19755         (malloc_state): Remove pagesize member.  Change all users to use
19756         GLRO(dl_pagesize).
19758         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
19759         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
19760         is always initialized.
19762         * malloc/malloc.c: Removed unused configurations and dead code.
19763         * malloc/arena.c: Likewise.
19764         * malloc/hooks.c: Likewise.
19765         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
19767         * include/tls.h: Removed.  USE___THREAD must always be defined.
19768         * bits/libc-tsd.h: Don't handle !USE___THREAD.
19769         * elf/dl-libc.c: Likewise.
19770         * elf/dl-tsd.c: Likewise.
19771         * include/errno.h: Likewise.
19772         * include/netdb.h: Likewise.
19773         * include/resolv.h: Likewise.
19774         * inet/herrno-loc.c: Likewise.
19775         * inet/herrno.c: Likewise.
19776         * malloc/arena.c: Likewise.
19777         * malloc/hooks.c: Likewise.
19778         * malloc/malloc.c: Likewise.
19779         * resolv/res-state.c: Likewise.
19780         * resolv/res_libc.c: Likewise.
19781         * sysdeps/i386/dl-machine.h: Likewise.
19782         * sysdeps/ia64/dl-machine.h: Likewise.
19783         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
19784         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
19785         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
19786         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
19787         * sysdeps/sh/dl-machine.h: Likewise.
19788         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
19789         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
19790         * sysdeps/unix/i386/sysdep.S: Likewise.
19791         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19792         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
19793         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
19794         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19795         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
19796         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19797         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
19798         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19799         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19800         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19801         * sysdeps/unix/x86_64/sysdep.S: Likewise.
19802         * sysdeps/x86_64/dl-machine.h: Likewise.
19803         * tls.make.c: Likewise.
19805         * configure.in: Remove --with-__thread option.  Make tests for
19806         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
19807         tls_model attribute fail if no support is available.  Remove
19808         USE_IN_LIBIO.
19809         * Makeconfig: Adjust for dropped configure option.  All features are
19810         now mandatory.
19811         * Makerules: Likewise.
19812         * Versions.def: Likewise.
19813         * argp/argp-fmtstream.c: Likewise.
19814         * argp/argp-fmtstream.h: Likewise.
19815         * argp/argp-help.c: Likewise.
19816         * assert/assert.c: Likewise.
19817         * config.h.in: Likewise.
19818         * config.make.in: Likewise.
19819         * configure: Likewise.
19820         * configure.in: Likewise.
19821         * csu/Versions: Likewise.
19822         * csu/init.c: Likewise.
19823         * elf/tst-audit2.c: Likewise.
19824         * elf/tst-tls10.c: Likewise.
19825         * elf/tst-tls10.h: Likewise.
19826         * elf/tst-tls11.c: Likewise.
19827         * elf/tst-tls12.c: Likewise.
19828         * elf/tst-tls14.c: Likewise.
19829         * elf/tst-tlsmod11.c: Likewise.
19830         * elf/tst-tlsmod12.c: Likewise.
19831         * elf/tst-tlsmod13.c: Likewise.
19832         * elf/tst-tlsmod13a.c: Likewise.
19833         * elf/tst-tlsmod14a.c: Likewise.
19834         * elf/tst-tlsmod15b.c: Likewise.
19835         * elf/tst-tlsmod16a.c: Likewise.
19836         * elf/tst-tlsmod16b.c: Likewise.
19837         * elf/tst-tlsmod7.c: Likewise.
19838         * elf/tst-tlsmod8.c: Likewise.
19839         * elf/tst-tlsmod9.c: Likewise.
19840         * gmon/gmon.c: Likewise.
19841         * grp/fgetgrent_r.c: Likewise.
19842         * grp/putgrent.c: Likewise.
19843         * hurd/fopenport.c: Likewise.
19844         * include/libc-symbols.h: Likewise.
19845         * include/tls.h: Likewise.
19846         * intl/gettextP.h: Likewise.
19847         * intl/loadinfo.h: Likewise.
19848         * locale/global-locale.c: Likewise.
19849         * locale/localeinfo.h: Likewise.
19850         * mach/devstream.c: Likewise.
19851         * malloc/arena.c: Likewise.
19852         * malloc/set-freeres.c: Likewise.
19853         * misc/err.c: Likewise.
19854         * misc/getttyent.c: Likewise.
19855         * misc/mntent_r.c: Likewise.
19856         * posix/getopt.c: Likewise.
19857         * posix/wordexp.c: Likewise.
19858         * pwd/fgetpwent_r.c: Likewise.
19859         * resolv/Versions: Likewise.
19860         * resolv/res_hconf.c: Likewise.
19861         * shadow/fgetspent_r.c: Likewise.
19862         * shadow/putspent.c: Likewise.
19863         * stdio-common/printf_fphex.c: Likewise.
19864         * stdio-common/tmpfile.c: Likewise.
19865         * stdlib/abort.c: Likewise.
19866         * stdlib/fmtmsg.c: Likewise.
19867         * sunrpc/auth_unix.c: Likewise.
19868         * sunrpc/clnt_perr.c: Likewise.
19869         * sunrpc/clnt_tcp.c: Likewise.
19870         * sunrpc/clnt_udp.c: Likewise.
19871         * sunrpc/clnt_unix.c: Likewise.
19872         * sunrpc/openchild.c: Likewise.
19873         * sunrpc/svc_simple.c: Likewise.
19874         * sunrpc/svc_tcp.c: Likewise.
19875         * sunrpc/svc_udp.c: Likewise.
19876         * sunrpc/svc_unix.c: Likewise.
19877         * sunrpc/xdr.c: Likewise.
19878         * sunrpc/xdr_array.c: Likewise.
19879         * sunrpc/xdr_rec.c: Likewise.
19880         * sunrpc/xdr_ref.c: Likewise.
19881         * sunrpc/xdr_stdio.c: Likewise.
19883 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
19885         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19887 2011-07-03  Andreas Jaeger  <aj@suse.de>
19889         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
19890         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
19891         regenerate with gen-libm-tests.pl.
19893 2010-05-12  Petr Baudis  <pasky@suse.cz>
19895         [BZ #11589]
19896         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
19897         around j0() zero points by switching to j1().
19898         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19899         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19900         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19901         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19903 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
19905         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
19906         instead of 0.
19907         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
19908         instead of 0.
19909         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19910         Patch in part by Pavel Roskin <proski@gnu.org>.
19912         [BZ #13138]
19913         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
19914         realloc.
19915         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
19916         Free memory block if necessary.
19918         [BZ #12847]
19919         * libio/genops.c (INTDEF): For string streams the _lock pointer can
19920         be NULL.  Don't lock in this case.
19922 2011-09-09  Roland McGrath  <roland@hack.frob.com>
19924         * elf/elf.h (ELFOSABI_GNU): New macro.
19925         (ELFOSABI_LINUX): Define to that.
19927 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
19929         * string/strncat.c (strncat): Undef the symbol in case it has been
19930         defined in bits/string.h.
19932 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
19934         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
19936         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
19937         link map.
19939 2011-08-17  Andreas Jaeger  <aj@suse.de>
19941         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
19943 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
19944             Ian Lance Taylor  <iant@google.com>
19946         * math/libm-test.inc (lround_test): New testcase.
19947         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
19949 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
19951         * Makefile: Remove support for automatic cvs check-ins.
19952         * Makerules: Likewise.
19953         * config.make.in: Likewise.
19954         * configure.in: Likewise.
19955         * intl/Makefile: Likewise.
19956         * locale/Makefile: Likewise.
19957         * po/Makefile: Likewise.
19958         * posix/Makefile: Likewise.
19959         * sysdeps/gnu/Makefile: Likewise.
19960         * sysdeps/mach/hurd/Makefile: Likewise.
19961         * sysdeps/sparc/sparc32/Makefile: Likewise.
19963         [BZ #13118]
19964         * posix/Makefile (bug-regex32-ENV): Define.
19965         Patch by John Stanley <jpsinthemix@verizon.net>.
19967         * misc/Makefile (headers): Add bits/select2.h.
19968         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
19969         * misc/bits/select2.h: New file.
19970         * include/bits/select2.h: New file.
19971         * debug/Makefile (routines): Add fdelt_chk.
19972         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
19973         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
19974         FD_ISSET.
19975         * debug/fdelt_chk.c: New file.
19977         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
19978         * wcsmbs/test-wmemcmp.c: Likewise.
19979         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
19980         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
19982 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19984         * string/Makefile (strop-tests): Add memcmp.
19985         * string/test-wmemcmp.c: New file.
19986         * string/test-memcmp.c: Add wmemcmp support.
19988 2011-09-08  Roland McGrath  <roland@hack.frob.com>
19990         [BZ #13153]
19991         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
19992         2011-07-19 change.
19994         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
19995         garbage value in a __mach_port_mod_refs call in the cases of the
19996         task-self and thread-self ports.
19998 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20000         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
20002 2011-09-08  Andreas Schwab  <schwab@redhat.com>
20004         * elf/dl-load.c (lose): Check for non-null L.
20006 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
20008         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
20010         * elf/dl-libc.c (dlerror_run): Pass back error code from
20011         dl_catch_error.
20013         [BZ #13123]
20014         * elf/dl-load.c (lose): Free l_origin if it is valid.
20016         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
20017         names.
20018         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
20019         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
20020         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
20021         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
20022         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
20023         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
20025 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20027         * sysdeps/powerpc/fpu/e_hypot.c: New file.
20028         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
20029         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
20030         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
20031         * sysdeps/powerpc/fpu/k_cosf.c: New file.
20032         * sysdeps/powerpc/fpu/k_sinf.c: New file.
20033         * sysdeps/powerpc/fpu/s_cosf.c: New file.
20034         * sysdeps/powerpc/fpu/s_sinf.c: New file.
20035         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
20036         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
20038 2011-08-15  Alan Modra  <amodra@gmail.com>
20040         [BZ #13092]
20041         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
20042         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
20043         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
20044         ppc_mcount to static-only-routines.
20045         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
20046         __mcount_internal.
20047         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
20048         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
20050 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
20052         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
20053         for finite and infinity parameters.
20055 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
20057         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
20058         and add nop instructions for throughput optimization.
20059         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20061 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
20063         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
20064         aligned copy for power7 with vector-scalar instructions.
20065         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
20067 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
20069         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
20070         AVX check.
20072 2011-09-07  Andreas Schwab  <schwab@redhat.com>
20074         [BZ #13144]
20075         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
20076         last change.
20078 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
20080         * sysdeps/unix/sysv/linux/x86_64/init-first.c
20081         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
20082         syscall wrapper around clock_gettime in __vdso_clock_gettime.
20083         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
20084         clock_gettime.
20086 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
20088         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
20089         Forgot to demangle the pointer.
20091         * sysdeps/i386/sysdep.h: Define atom_text_section.
20092         * sysdeps/x86_64/sysdep.h: Likewise.
20093         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
20094         section with atom_text_section.
20095         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
20096         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
20097         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
20098         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
20099         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
20101         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
20102         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
20103         already be defined.  Change to take two parameters and don't assign
20104         result to variable.  Adjust all users.
20105         Define INTERNAL_GETTIME if not already defined.
20106         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
20107         call.
20108         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
20109         HAVE_CLOCK_GETTIME_VSYSCALL.
20110         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
20112         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
20113         gettimeofday vsyscall, just use time.
20115 2011-09-06  Andreas Schwab  <schwab@redhat.com>
20117         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
20118         <errno.h>.
20120 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
20122         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
20123         syscall on x86-64.
20124         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
20125         syscall.
20126         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
20127         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
20128         syscall if possible.
20130 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
20132         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
20133         e_ident.  Don't pass to find_mapsXX.
20134         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
20136 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
20138         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20139         strchr-sse2-no-bsf strrchr-sse2-no-bsf
20140         * sysdeps/x86_64/multiarch/strchr.S: Update.
20141         Check bit_slow_BSF bit.
20142         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20143         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
20144         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
20146 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
20148         [BZ #13134]
20149         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
20150         before glibc 2.15.
20151         (tryshell): Define.
20152         (__spawni): Change last parameter to be flag.  Test
20153         SPAWN_XFLAGS_USE_PATH flag to use path or not.
20154         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
20155         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
20156         * posix/spawni.c: Likewise.
20157         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
20158         * posix/spawnp.c: Likewise.  Change normal version to use
20159         SPAWN_XFLAGS_USE_PATH.
20160         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
20161         SPAWN_XFLAGS_TRY_SHELL.
20163         [BZ #13150]
20164         * posix/glob.h: Remove gcc 1.x support.
20166         [BZ #13068]
20167         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
20169 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
20171         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20172         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
20173         strrchr-sse2-bsf
20174         * sysdeps/i386/i686/multiarch/strchr.S: New file.
20175         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
20176         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
20177         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
20178         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
20179         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
20181 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20183         * sysdeps/x86_64/wcscmp.S: New file.
20185         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
20186         wcscmp-c wcscmp-sse2
20187         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
20188         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
20189         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
20190         * wcsmbs/wcscmp.c: Allow renaming.
20192 2011-09-05  David S. Miller  <davem@davemloft.net>
20194         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
20195         stack slot, rather than the struct return pointer slot.
20196         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
20197         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
20198         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
20199         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
20201 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
20203         * po/ja.po: Update from translation team.
20205         [BZ #13144]
20206         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
20207         kernel in 64-bit binaries.
20209 2011-09-01  David S. Miller  <davem@davemloft.net>
20211         * elf/elf.h (HWCAP_SPARC_*): Move to..
20212         * sysdeps/sparc/sysdep.h: this new file and add new values.
20213         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
20214         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
20215         _DL_HWCAP_COUNT to 24.
20216         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
20217         entries.
20218         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
20219         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
20220         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
20221         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
20222         instead of magic constants.
20223         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20225 2011-08-31  David S. Miller  <davem@davemloft.net>
20227         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
20228         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
20229         Reimplement to do errno handling inline.
20230         (SYSCALL_ERROR_HANDLER): New macro.
20231         (__SYSCALL_STRING): Do not do errno handling in asm.
20232         (__CLONE_SYSCALL_STRING): Delete.
20233         (__INTERNAL_SYSCALL_STRING): Delete.
20234         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
20235         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
20236         (PSEUDO): Reimplement to do errno handling inline.
20237         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
20238         (SYSCALL_ERROR_HANDLER): New macro.
20239         (__SYSCALL_STRING): Do not do errno handling in asm.
20240         (__CLONE_SYSCALL_STRING): Delete.
20241         (__INTERNAL_SYSCALL_STRING): Delete.
20242         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
20243         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
20244         i386.
20245         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
20246         (inline_syscall*): Add 'err' argument.
20247         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
20248         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
20249         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
20250         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
20252         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
20253         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
20255 2011-08-30  Andreas Schwab  <schwab@redhat.com>
20257         * elf/rtld.c (dl_main): Relocate objects in dependency order.
20259 2011-08-29  Jiri Olsa <jolsa@redhat.com>
20261         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
20262         directive.
20264 2011-08-24  David S. Miller  <davem@davemloft.net>
20266         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
20268 2011-08-24  Andreas Schwab  <schwab@redhat.com>
20270         * elf/Makefile: Add rules to build and run unload8 test.
20271         * elf/unload8.c: New file.
20272         * elf/unload8mod1.c: New file.
20273         * elf/unload8mod1x.c: New file.
20274         * elf/unload8mod2.c: New file.
20275         * elf/unload8mod3.c: New file.
20277         * elf/dl-close.c (_dl_close_worker): Reset private search list if
20278         it wasn't used.
20280 2011-08-23  David S. Miller  <davem@davemloft.net>
20282         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
20283         subtract stack bias.
20284         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
20285         %sp not %fp in calculations.
20286         (_JMPBUF_UNWINDS_ADJ): Likewise.
20288         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
20289         (aio_suspend): Call it to force an exception region around the
20290         AIO_MISC_WAIT() invocation.
20292 2011-08-23  Andreas Schwab  <schwab@redhat.com>
20294         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
20295         backslash.
20297 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
20299         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
20300         protection macro.
20301         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
20302         and <dl-machine.h>.
20303         (Elf64_FuncDesc): Remove.
20305 2011-08-22  David S. Miller  <davem@davemloft.net>
20307         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
20308         sigaltstack check, add missing cfi directives.
20309         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
20310         missing cfi directives, and sigaltstack handling.
20312 2011-08-16  Andreas Schwab  <schwab@redhat.com>
20314         [BZ #11724]
20315         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
20316         object is seen twice.
20317         * elf/dl-fini.c (_dl_sort_fini): Likewise.
20319         * elf/Makefile (distribute): Add tst-initorder2.c.
20320         (tests): Add tst-initorder2.
20321         (modules-names): Add tst-initorder2a tst-initorder2b
20322         tst-initorder2c tst-initorder2d.  Add rules to build them.
20323         ($(objpfx)tst-initorder2.out): New rule.
20324         * elf/tst-initorder2.c: New file.
20325         * elf/tst-initorder2.exp: New file.
20327 2011-08-22  Andreas Schwab  <schwab@redhat.com>
20329         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
20331         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
20332         dependencies back to end of function.
20334         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
20335         $(elfobjdir)/ld.so.
20337 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
20339         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
20340         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
20341         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
20342         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
20343         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
20344         of __vdso_gettimeofday.
20345         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
20346         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
20347         attribute_hidden.
20348         (_libc_vdso_platform_setup): Remove initialization of
20349         __vdso_gettimeofday and __vdso_time.
20351 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
20353         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
20354         and fgetc_unlocked.
20355         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
20356         getc_unlocked.
20358         * elf/dl-open.c (add_to_global): Report additions to the global scope
20359         for LD_DEBUG=scopes.
20360         (dl_open_worker): Also print scope of newly loaded dependencies.
20361         (_dl_show_scope): Indicate if there is no scope.
20363         [BZ #13114]
20364         * stdio-common/Makefile (tests): Add bug24.
20365         * stdio-common/bug24.c: New file.
20367 2011-08-19  Andreas Jaeger  <aj@suse.de>
20369         [BZ #13114]
20370         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
20371         non-existant file when using close-on-exec mode.
20373 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
20375         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
20376         the very first instruction.
20378         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
20379         the CFI state in the end.
20380         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
20381         inclusion of dl-trampoline.h.
20382         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
20384 2011-08-19  Andreas Schwab  <schwab@redhat.com>
20386         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
20387         expectations for long double.
20389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
20390         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
20392 2011-08-14  David S. Miller  <davem@davemloft.net>
20394         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
20395         artificual limit depends upon the system page size.
20397 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
20399         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
20400         * resolv/Makefile: Define CFLAGS-libresolv.
20402 2011-08-17  Andreas Schwab  <schwab@redhat.com>
20404         * nss/makedb.c (compute_tables): Make variables used in nested
20405         function static.
20407 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
20409         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
20410         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
20411         if buffer was too small.
20413         * elf/pldd.c (main): Attach to all threads in the process.
20414         Rewrite /proc handling to use *at functions.
20416 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
20418         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
20419         specifies first scope to show.
20420         (dl_open_worker): Update callers.  Move printing scope of new
20421         object to before the relocation.
20422         * elf/rtld.c (dl_main): Update _dl_show_scope call.
20423         * sysdeps/generic/ldsodefs.h: Update declaration.
20425         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
20426         string for the scope number.
20428 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
20430         * nscd/servicescache.c (cache_addserv): Make sure written is always
20431         initialized.
20433 2011-08-14  Roland McGrath  <roland@hack.frob.com>
20435         * sysdeps/i386/i486/bits/atomic.h
20436         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
20437         statement expression, so as to suppress "set but not used" warning.
20438         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
20440         * string/strncat.c (STRNCAT): Use prototype definition.
20442         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
20443         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
20444         -Iprograms here.
20445         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
20446         (localedef-modules): Add localedef.
20447         (locale-modules): Add locale.
20449         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
20450         * elf/rtld.c (dl_main): Invert order of assignment in last change,
20451         to avoid a warning.
20453 2011-08-14  David S. Miller  <davem@davemloft.net>
20455         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
20456         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
20458 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
20460         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
20461         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
20462         * elf/rtld.c (dl_main): Set l_name of vDSO.
20463         Call _dl_show_scope when DL_DEBUG_SCOPES.
20464         (process_dl_debug): Recognize scopes flag and also set it for all.
20465         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
20466         Declare _dl_show_scope.
20468         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
20469         (do_dlopen): Pass caller_dlopen to dl_open.
20470         (__libc_dlopen_mode): Initialize caller_dlopen.
20472         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
20473         of libc.  Make tolower call locale-independent.  Optimize a bit by
20474         using isdigit instead of isalnum.
20475         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
20477 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
20479         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
20480         was a dependency or dynamically loaded.
20482 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
20484         * intl/l10nflist.c: Allow architecture-specific pop function.
20485         * sysdeps/x86_64/l10nflist.c: New file.
20487         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
20488         classification.
20490 2011-08-10  Andreas Schwab  <schwab@redhat.com>
20492         * include/dirent.h: Add libc_hidden_proto for scandirat and
20493         scandirat64.  Don't declare __scandirat64.
20494         * dirent/scandirat.c: Add libc_hidden_def.
20495         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
20496         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
20498 2011-08-10  David S. Miller  <davem@davemloft.net>
20500         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
20501         enum.
20502         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20503         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20504         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20506 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
20508         * Versions.def [libc]: Add GLIBC_2.15.
20509         * dirent/Makefile (routines): Add scandirat and scandirat64.
20510         * dirent/Versions [libc]: Export scandirat and scandirat64 for
20511         GLIBC_2.15.
20512         * dirent/dirent.h: Declare scandirat and scandirat64.
20513         * dirent/scandirat.c: New file.
20514         * dirent/scandirat64.c: New file.
20515         * sysdeps/wordsize-64/scandirat.c: New file.
20516         * sysdeps/wordsize-64/scandirat64.c: New file.
20517         * dirent/opendir.c: Define opendirat.
20518         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
20519         using scandirat.
20520         * dirent/scandir64.c: Adjust for scandir.c change.
20521         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
20522         __scandirat64, and __scandir_cancel_handler.
20523         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
20524         additional parameter and use openat instead of open (outside of ld.so).
20525         Add new __opendir as wrapper around __opendirat.
20526         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
20527         here without requiring old scandirat implementation.
20529 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
20531         * dirent/scandir.c (cancel_handler): Renamed to
20532         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
20533         defined.  Adjust users.
20534         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
20535         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
20537 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
20539         * string/test-string.h (IMPL): Use __STRING to expand name and then
20540         stringify it.
20542         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
20543         of cleanups.
20545 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20547         * string/Makefile: Update.
20548         (strop-tests): Append strncat.
20549         * string/test-wcscmp.c: New file.
20550         New comprehensive test for wcscmp.
20551         * string/test-strcmp.c: Update.
20552         (WIDE): New define.
20554 2011-07-22  Andreas Schwab  <schwab@redhat.com>
20556         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
20557         line.
20559 2011-07-26  Andreas Schwab  <schwab@redhat.com>
20561         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
20562         encoding to ACE if AI_IDN.
20564 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
20566         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
20567         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
20569 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
20571         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
20572         Fix overflow bug in strncat.
20573         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
20575         * string/test-strncat.c: Update.
20576         Add new tests for checking overflow bugs.
20578 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
20580         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20581         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
20582         * sysdeps/i386/i686/multiarch/strcat.S: New file.
20583         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
20584         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
20585         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
20586         * sysdeps/i386/i686/multiarch/strncat.S: New file.
20587         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
20588         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
20590         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
20591         (USE_AS_STRCAT): Define.
20592         Add strcat and strncat support.
20593         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
20595 2011-07-25  Andreas Schwab  <schwab@redhat.com>
20597         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
20598         __n bigger than INT_MAX+1.
20599         (__strncmp_g): Likewise.
20601 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
20603         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
20604         * libio/stido.h: Likewise.
20606         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
20607         (AF_NFC): Define.
20608         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
20609         (AF_NFC): Define.
20611         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
20612         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20613         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20614         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
20615         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20617         [BZ #13021]
20618         * scripts/test-installation.pl: Don't expect libnss_test1 to be
20619         installed.
20621         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
20622         typo.
20623         (_dl_x86_64_save_sse): Likewise.
20625 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
20627         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
20628         OSXSAVE.
20629         (_dl_x86_64_save_sse): Likewise.
20631         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
20633         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
20635 2011-07-21  Andreas Schwab  <schwab@redhat.com>
20637         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
20638         change.
20639         (_dl_x86_64_save_sse): Use correct AVX check.
20641 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20643         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
20644         bug in strncpy/strncat.
20645         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
20647 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
20649         * string/tester.c (test_strcat): Add tests for different alignments
20650         of source and destination.
20651         (test_strncat): Likewise.
20653 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
20655         [BZ #12852]
20656         * posix/glob.c (glob): Check passed in values before using them in
20657         expressions to avoid some overflows.
20658         (glob_in_dir): Likewise.
20660         [BZ #13007]
20661         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
20662         check for AVX enablement so that we don't crash with old kernels and
20663         new hardware.
20664         * elf/tst-audit4.c: Add same checks here.
20665         * elf/tst-audit6.c: Likewise.
20667         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
20669 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
20671         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
20673 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
20675         * po/cs.po: Update from translation team.
20676         * po/bg.po: Likewise.
20678 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
20680         * misc/sys/cdefs.h: Add support for const attribute.
20681         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
20682         to gnu_dev_{major,minor,makedev} functions.
20684 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
20686         * intl/dcigettext.c (get_output_charset): Add missing bracket.
20688 2011-07-20  Andreas Schwab  <schwab@redhat.com>
20690         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
20691         strlen results.
20693 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20695         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
20696         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
20697         register in order to avoid conflicts with the soft frame pointer
20698         being held in r11 when necessary.
20699         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
20700         (INTERNAL_VSYSCALL_NCS): Likewise.
20702 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
20704         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
20705         * elf/dl-fini.c (_dl_fini): Adjust caller.
20706         * elf/dl-close.c (_dl_close_worker): Likewise.
20707         * sysdeps/generic/ldsodefs.h: Adjust declaration.
20709 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
20711         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
20712         "aux_cache->nlibs < 0".
20714         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
20715         in the reload-count case.
20717 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
20719         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20720         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
20721         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
20722         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
20723         * sysdeps/x86_64/multiarch/strcat.S: New file.
20724         * sysdeps/x86_64/multiarch/strncat.S: New file.
20725         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
20726         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
20727         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
20728         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
20729         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
20730         (USE_AS_STRCAT): Define.
20731         Add strcat and strncat support.
20732         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
20733         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
20734         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
20735         * string/strncat.c: Update.
20736         (USE_AS_STRNCAT): Define.
20737         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20738         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
20739         and i7.
20740         * sysdeps/x86_64/multiarch/init-arch.h
20741         (bit_Prefer_PMINUB_for_stringop): New.
20742         (index_Prefer_PMINUB_for_stringop): Likewise.
20743         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
20744         bit_Prefer_PMINUB_for_stringop.
20746 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
20748         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
20749         buffer64.
20750         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
20751         of casting of buffer.
20752         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
20753         buffer32 and buffer64.
20754         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
20755         writes instead of casting of buffer.
20756         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
20757         buffer32.
20758         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
20759         casting of buffer.
20761 2011-07-19  Andreas Schwab  <schwab@redhat.com>
20763         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
20765 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
20767         * nscd/nscd.c (termination_handler): Don't do anything for a database
20768         if it has not yet been initialized.
20770 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
20772         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
20774 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
20776         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
20778 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
20780         * po/nl.po: Update from translation team.
20781         * po/sv.po: Likewise.
20783 2011-07-16  Roland McGrath  <roland@hack.frob.com>
20785         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
20786         now disallowed by GCC.
20788         * configure.in (use-default-link): Default to yes if a test -shared
20789         link meets our qualifications.
20790         * configure: Regenerated.
20792         * config.make.in (output-format): New variable.
20793         * configure.in: Check for ld --print-output-format support.
20794         * configure: Regenerated.
20795         * Makerules ($(common-objpfx)format.lds)
20796         [$(output-format) != unknown]: Just use $(output-format),
20797         instead of the linker-script munging.
20799 2011-07-14  Roland McGrath  <roland@hack.frob.com>
20801         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
20802         of $(common-objpfx)shlib.lds.
20803         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
20805         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
20806         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
20808         * configure.in (-z relro check): Adjust test code to add a large
20809         writable data section after it.
20810         * configure: Regenerated.
20812 2011-07-11  Roland McGrath  <roland@hack.frob.com>
20814         * configure.in (-z relro check): Fix test code to make the variable
20815         truly const.
20816         * configure: Regenerated.
20818 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
20820         * nscd/nscd.h (struct traced_file): Define.
20821         (struct database_dyn): Remove inotify_descr, reset_res, and filename
20822         elements.  Add traced_files.
20823         (inotify_fd): Declare.
20824         (register_traced_file): Declare.
20825         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
20826         (inotify_fd): Export.
20827         (resolv_conf_descr): Remove.
20828         (nscd_init): Move inotify descriptor creation to main.
20829         Don't register files for notification here.
20830         (register_traced_file): New function.
20831         (invalidate_cache): Don't use reset_res to determine whether to call
20832         res_init, go through the list of registered files.
20833         (main_loop_poll): The inotify descriptors are now stored in the
20834         structures for the traced files.
20835         (main_loop_epoll): Likewise
20836         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
20837         to __nss_disable_nscd.
20838         * nscd/cache.c (prune_cache): There is no single inotify descriptor
20839         for a database anymore.  Check the records for all the registered
20840         files instead.
20841         * nss/Makefile (libnss_files-routines): Add files-init.
20842         (libnss_db-routines): Add db-init.
20843         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
20844         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
20845         * nss/nss_db/db-init.c: New file.
20846         * nss/nss_files/files-init.c: New file.
20847         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
20848         __nss_lookup_function.
20849         (__nss_lookup_function): Call nss_load_library.
20850         (nss_load_all_libraries): New function.
20851         (__nss_disable_nscd): Take parameter with callback function for files
20852         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
20853         used for the cached services.
20854         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
20855         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
20856         options for features to all the files in nscd.
20858         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
20860 2011-07-10  Roland McGrath  <roland@hack.frob.com>
20862         * csu/elf-init.c (__libc_csu_init): Comment typo.
20864 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
20866         * po/pl.po: Update from translation team.
20867         * po/ja.po: Likewise.
20868         * po/ru.po: Likewise.
20869         * po/ko.po: Likewise.
20870         * po/fr.po: Likewise.
20872 2011-07-09  Roland McGrath  <roland@hack.frob.com>
20874         * configure.in (.ctors/.dtors header and trailer check):
20875         Use an empirical test on a built program.
20876         * configure: Regenerated.
20878         * configure.in (-z relro check): Use an empirical test on a built DSO.
20879         Detect, but do not require, on ia64.
20880         * configure: Regenerated.
20882         * configure.in (READELF): Find it with AC_CHECK_TOOL.
20883         Update tests that use readelf to use $READELF instead.
20884         * configure: Regenerated.
20886 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
20888         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
20889         if the result is not used.
20891 2011-07-05  Andreas Jaeger  <aj@suse.de>
20893         [BZ#9696]
20894         * stdlib/tst-strtod.c: Add testcase.
20896 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
20898         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
20899         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
20900         The latter has a higher limit.  Take additional parameter to pass to
20901         the new function.
20902         (__pathconf): Pass file to __statfs_link_max.
20903         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
20904         __statfs_link_max.
20905         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
20906         __statfs_link_max.
20908         [BZ #12868]
20909         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
20910         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20911         Handle Lustre.
20912         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
20913         (__statfs_filesize_max): Likewise.
20914         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
20916 2011-07-05  Andreas Jaeger  <aj@suse.de>
20918         * resolv/res_comp.c (dn_skipname): Remove unused variable.
20920 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
20922         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
20923         `status' variable.
20924         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
20925         Likewise.
20927 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
20929         * Makefile (strop-tests): Add strncat.
20930         * string/test-strncat.c: New file.
20932 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
20934         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
20936 2011-06-21  Andreas Jaeger  <aj@suse.de>
20938         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
20939         Copy rule from iconvdata/Makefile.
20941 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
20943         [BZ #12922]
20944         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
20945         but no long options are defined, just return 'W'.
20947 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
20949         [BZ #9696]
20950         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
20952 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
20954         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
20955         netgroups to read.
20956         (innetgr): Likewise.
20958 2011-07-05  Roland McGrath  <roland@hack.frob.com>
20960         * config.make.in (install_root): Default to $(DESTDIR).
20962 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
20964         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
20966 2011-07-02  Roland McGrath  <roland@hack.frob.com>
20968         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
20970         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
20971         containing directory rather than embedding absolute directory names.
20973         * scripts/check-local-headers.sh: Rewritten using awk.
20974         Match by word, not by line.  Print error messages for matches.
20975         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
20977         * Makerules [shlib-lds-flags empty]:
20978         ($(common-objpfx)libc_pic.opts): New target.
20979         ($(common-objpfx)libc_pic.os.clean): New target.
20980         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
20982         * config.make.in (OBJCOPY): New variable.
20983         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
20984         * configure: Regenerated.
20986         * config.make.in (use-default-link): New variable.
20987         * configure.in (use_default_link): Grok --with-default-link to set it.
20988         * configure: Regenerated.
20989         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
20990         (shlib-lds, shlib-lds-flags): Define to empty.
20992         * Makerules (shlib-lds): New variable.
20993         (shlib-lds-flags): New variable.
20994         (build-shlib, build-moduile, build-module-asneeded): Use it.
20995         ($(common-objpfx)libc.so): Use $(shlib-lds).
20996         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
20997         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
20999         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
21000         DT_FLAGS/DT_FLAGS_1 with zero flags.
21002         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
21003         linker script munging.
21005 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
21007         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
21008         as 128-bit value.
21009         * crypt/sha512.c (sha512_process_block): Perform total addition using
21010         128-bit if possible.
21011         (__sha512_finish_ctx): Likewise.
21012         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
21013         as 64-bit value.
21014         * crypt/sha256.c (SWAP64): Define.
21015         (sha256_process_block): Perform total addition using 64-bit if
21016         possible.
21017         (__sha256_finish_ctx): Likewise.
21019 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
21021         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
21022         * nscd/initgrcache.c (addinitgroupsX): Likewise.
21023         * nscd/hstcache.c (cache_addhst): Likewise.
21024         * nscd/grpcache.c (cache_addgr): Likewise.
21025         * nscd/aicache.c (addhstaiX): Likewise
21026         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
21028 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
21030         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
21031         * nscd/initgrcache.c (addinitgroupsX): Likewise.
21032         * nscd/hstcache.c (cache_addhst): Likewise.
21033         * nscd/grpcache.c (cache_addgr): Likewise.
21034         * nscd/aicache.c (addhstaiX): Likewise
21036 2011-07-01  Andreas Schwab  <schwab@redhat.com>
21038         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
21039         domain only when needed.
21041 2011-06-30  Andreas Schwab  <schwab@redhat.com>
21043         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
21044         is always restored.
21046 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
21048         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
21049         are re-adding the entry.
21050         * nscd/servicescache.c (cache_addserv): Likewise.
21052 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
21054         * sysdeps/generic/dl-irel.h: fix protection against multiple
21055         inclusions.
21056         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
21058 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
21060         [BZ #12935]
21061         * malloc/memusage.sh: Fix quoting in message.
21062         * debug/xtrace.sh: Likewise.
21064         * configure.in: Remove support for --experimental-malloc option, make
21065         it the default.
21066         * config.make.in: Likewise.
21067         * malloc/Makefile: Likewise.
21069 2011-06-27  Andreas Schwab  <schwab@redhat.com>
21071         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
21072         two-byte characters.
21074 2011-06-27  Roland McGrath  <roland@hack.frob.com>
21076         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
21077         AC_CACHE_CHECK invocation.
21078         * configure: Regenerated.
21080         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
21082 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
21084         [BZ #12350]
21085         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
21086         bit from old_res_options.
21088         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
21090         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
21091         value type for setfct.
21093 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
21095         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
21096         __gettimeofday instead of gettimeofday.
21098 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
21100         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
21102 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
21104         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
21106         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
21107         info.
21109 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
21111         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21112         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
21113         strcpy-sse2-unaligned strncpy-sse2-unaligned
21114         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
21115         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
21116         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
21117         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
21118         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
21119         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
21120         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
21121         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
21122         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
21123         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
21124         (STRCPY): Support SSE2 and SSSE3 versions.
21126 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
21128         [BZ #12874]
21129         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
21130         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
21131         kernels which artificially limit size of requests.
21133 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
21135         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21136         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
21137         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
21138         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
21139         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
21140         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
21141         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
21142         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
21143         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
21144         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
21145         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
21146         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
21147         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
21148         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
21149         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
21150         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21151         Enable unaligned load optimization for Intel Core i3, i5 and i7
21152         processors.
21153         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
21154         Define.
21155         (index_Fast_Unaligned_Load): Define.
21156         (HAS_FAST_UNALIGNED_LOAD): Define.
21158 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
21160         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
21162 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
21164         [BZ #12907]
21165         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
21166         until it is clear that the information is realy needed.
21167         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
21169 2011-06-22  Andreas Schwab  <schwab@redhat.com>
21171         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
21173 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
21175         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
21176         /sys/devices/system/cpu/online if it is usable.
21178         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
21179         reading the information from the /proc filesystem to once a second.
21181 2011-06-21  Andreas Jaeger  <aj@suse.de>
21183         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
21184         NULL after inclusion of kernel headers.
21186 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
21188         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
21189         calls to internal_setent.
21191         [BZ #12885]
21192         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
21193         addresses using gethostbyname4_r ignore IPv4 addresses.
21195         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
21196         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
21198         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
21200 2011-06-20  David S. Miller  <davem@davemloft.net>
21202         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
21203         inclusions.
21204         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
21206         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
21207         (elf_irel): Use it.
21208         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
21209         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
21210         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
21211         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
21212         * sysdeps/x86_64/dl-irel.h: Likewise.
21214         * elf/dl-runtime.c: Use elf_ifunc_invoke.
21215         * elf/dl-sym.c: Likewise.
21217 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
21219         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
21220         need to dereference resplen2.
21222 2011-06-14  Andreas Schwab  <schwab@redhat.com>
21224         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
21226 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
21228         * Makeconfig: Define vardbdir and inst_vardbdir.
21229         * nss/Makefile: Add rules to install db-Makefile.
21231         * nss/nss_db/db-XXX.c: Cleanup.
21233         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
21234         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
21235         GLIBC_PRIVATE.
21236         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
21237         * nss/makedb.c: Implement -g option to specify that value strings
21238         are generated and should not be added to table iterated over for
21239         get*ent calls.
21240         * nss/nss_db/db-initgroups.c: New file.
21242         * nss/getent.c: Add support for initgroups lookups through getgrouplist
21243         interface.
21245         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
21246         (internal_getgrouplist): Adjust to name change.
21247         Update use_initgroups_entry if this is not the first call.
21248         * nss/databases.def: Add initgroups entry.
21250         * nss/makedb.c (compute_tables): Check result of multiple hash table
21251         sizes to minimize maximum chain length.
21253 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
21255         * Versions.def: Add entry for libnss_db.
21256         * shlib-versions: Likewise.
21257         * nss/Makefile: Add rules to build libnss_db.
21258         * nss/Versions: Add libnss_db information.  Organize libnss_files
21259         entries better.
21260         * nss/db-Makefile: Add gshadow support.  Change rules for the new
21261         makedb progra.  Some minor improvements to generate smaller files.
21262         * nss/nss_db/nss_db.h: Move NSS database header data structures to
21263         here from...
21264         * nss/makedb.c: ...here.
21265         Improve database format to be smaller and require less memory at
21266         runtime.
21267         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
21268         db anymore.
21269         * nss/nss_db/db-netgrp.c: Likewise.
21270         * nss/nss_db/db-open.c: Likewise.
21271         * nss/nss_files/flies-XXX.x: Adjust comments.
21272         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
21273         * nss/nss_files/files-grp.c: Likewise.
21274         * nss/nss_files/files-hosts.c: Likewise.
21275         * nss/nss_files/files-network.c: Likewise.
21276         * nss/nss_files/files-proto.c: Likewise.
21277         * nss/nss_files/files-pwd.c: Likewise.
21278         * nss/nss_files/files-rpc.c: Likewise.
21279         * nss/nss_files/files-service.c: Likewise.
21280         * nss/nss_files/files-sgrp.c: Likewise.
21281         * nss/nss_files/files-spwd.c: Likewise.
21282         * nss/nss_db/db-alias.c: Removed.
21283         * nss/nss_db/dummy-db.h: Removed.
21285 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
21287         * nss/makedb.c: Rewritten to not use database library.
21288         * nss/Makefile: Update to build new makedb program.
21290 2011-06-14  Andreas Jaeger  <aj@suse.de>
21292         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
21293         memset declaration.
21295 2011-06-10  Andreas Schwab  <schwab@redhat.com>
21297         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
21298         tmpbuf.
21300 2011-06-10  Roland McGrath  <roland@hack.frob.com>
21302         * Makerules (shlib.lds): Fail if the linker script comes out empty.
21303         * elf/Makefile ($(objpfx)ld.so): Likewise.
21305         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
21306         Don't list ld.so twice in dependencies.
21308         * posix/bug-regex31.c: Include <stdlib.h>.
21310         * nscd/hstcache.c (cache_addhst): Remove unused variable.
21312         * nis/nss_compat/compat-spwd.c
21313         (getspent_next_nss_netgr): Remove unused variable.
21314         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
21316         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
21317         nonmembers" output to use the right array.
21319         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
21321         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
21323         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
21324         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
21325         * catgets/gencat.c (read_input_file): Likewise.
21326         * locale/programs/locarchive.c (enlarge_archive): Likewise.
21328         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
21329         variable definition inside #if's controlling its use.
21331         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
21333         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
21335         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
21337         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
21338         unreachable code.
21340         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
21342         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
21343         * configure: Regenerated.
21345         * Makerules: Revert last change.
21346         * elf/Makefile: Likewise.
21348 2011-06-09  Roland McGrath  <roland@hack.frob.com>
21350         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
21351         * elf/Makefile ($(objpfx)librtld.os): Likewise.
21352         (reloc-link): Likewise.
21354 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
21356         * elf/Makefile: Add rules to build pldd.
21357         * elf/pldd.c: New file.
21358         * elf/pldd-xx.c: New file.
21360 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
21362         * version.h: Update for 2.15 development version.
21364 2011-06-07  David S. Miller  <davem@davemloft.net>
21366         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
21367         ifuncs.
21368         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
21369         elf_machine_lazy_rel): Likewise.
21370         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
21371         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
21372         elf_machine_lazy_rel): Likewise.
21373         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
21374         dl_hwcap via passed in argument.
21375         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
21376         Likewise.
21378 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21380         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
21382 2011-06-06  Roland McGrath  <roland@hack.frob.com>
21384         [BZ #12849]
21385         * manual/fdl-1.1.texi: New file, verbatim from:
21386         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
21387         * manual/lgpl-2.1.texi: New file, verbatim from:
21388         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
21389         * manual/Makefile (licenses): New variable, list those new file names.
21390         (texis): Use it.
21391         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
21393         * manual/fdl.texi: File removed.
21394         * manual/lesser.texi: File removed.
21395         * manual/libc.texinfo (Copying, Documentation License):
21396         Use new @include file names, put @appendix directive before @include.
21398 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
21400         [BZ #12841]
21401         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
21402         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
21403         (mq_open): Add __NTH.
21405 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
21407         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21408         Assume Intel Core i3/i5/i7 processor if AVX is available.
21410 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
21412         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
21413         typo.
21415 2011-05-31  Andreas Schwab  <schwab@redhat.com>
21417         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
21418         memory.  Use alloca_account.  Fix memory leak when retrying.
21420 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
21422         * version.h (RELEASE): Bump for 2.14 release.
21423         * include/features.h (__GLIBC_MINOR__): Bump to 14.
21425         * config.make.in (RANLIB): Remove entry.
21427 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
21429         * po/Makefile (po-sed-cmd): Add ksh to extensions.
21430         (libc.pot): Work around missing support for .ksh extension in xgettext.
21432         [BZ #12684]
21433         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
21434         if both request failed.
21435         (send_dg): In case of server errors clear resplen or *resplen2.
21437         [BZ #12454]
21438         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
21439         when there are multiple maps.
21440         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
21441         (_dl_fini): Remove test here.
21443         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
21445 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
21447         [BZ #12350]
21448         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
21449         bit from old_res_options.
21450         (gaih_inet): Likewise.
21452         [BZ #11099]
21453         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
21454         as signed.
21456         * resolv/res_init.c (res_setoptions): Make the code more compact.
21458         [BZ #11558]
21459         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
21460         set RES_USEVC.
21462         [BZ #11634]
21463         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
21465         * malloc/malloc.h: Mark malloc hook variables as deprecated.
21467         [BZ #11781]
21468         * malloc/malloc.h: Declare malloc hook variables as volatile.
21470         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
21471         in last patch.
21473         [BZ #11799]
21474         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
21475         raise in the comment.
21476         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
21477         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
21478         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
21480 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
21482         [BZ #12811]
21483         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
21484         grow the buffers more if it already has to be sufficient.
21485         (build_wcs_upper_buffer): Likewise.
21486         * posix/regexec.c (check_matching): Likewise.
21487         (clean_state_log_if_needed): Likewise.
21488         (extend_buffers): Don't enlarge buffers beyond size of the input
21489         buffer.
21490         Patches mostly by Emil Wojak <emil@wojak.eu>.
21491         * posix/bug-regex32.c: New file.
21492         * posix/Makefile (tests): Add bug-regex32.
21494         * locale/findlocale.c (_nl_find_locale): Return right away if
21495         _nl_explode_name failed.
21496         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
21498         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
21500         * debug/xtrace.sh: Unify messages.
21501         * malloc/memusage.sh: Likewise.
21503         [BZ #12813]
21504         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
21505         time symbol from vDSO.  Substitute with vsyscall if not available.
21506         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
21507         __vdso_time.
21509         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
21510         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
21511         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
21512         Add sendmmsg and internal_sendmmsg.
21513         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
21514         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
21515         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
21517         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
21518         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
21519         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
21521 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
21523         [BZ #12813]
21524         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
21525         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
21526         available.
21527         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
21528         __vdso_getcpu.
21530         [BZ #12814]
21531         * iconvdata/Makefile (tests): Add bug-iconv9.
21532         * iconvdata/bug-iconv9.c: New file.
21534 2011-05-27  Andreas Schwab  <schwab@redhat.com>
21536         [BZ #12814]
21537         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
21539 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
21541         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
21542         (struct user_regs_struct): Change intcs field back to cs.
21544 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
21546         * po/ja.po: Update from translation team.
21548 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
21550         [BZ #12795]
21551         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
21552         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
21554 2011-05-20  Andreas Schwab  <schwab@redhat.com>
21556         * stdlib/longlong.h: Update from GCC.
21558 2011-05-23  Andreas Schwab  <schwab@redhat.com>
21560         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
21561         parameter name.
21562         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
21563         Add parameter name.
21564         (__sysconf): Pass it down.
21566 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
21568         [BZ #12671]
21569         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
21570         some situations.
21571         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
21572         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
21573         add in in __libc_use_alloca calls.  Adjust callers.
21574         (glob): Use malloc in some situations.
21576         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
21577         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
21578         pltexit.
21580 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
21582         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
21583         and CLOCK_BOOTTIME_ALARM.
21585         [BZ #12782]
21586         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
21587         is returned.
21589         * string/_strerror.c (__strerror_r): Print negative errors as signed
21590         numbers.
21592         [BZ #12777]
21593         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
21594         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
21595         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
21597         * configure.in: Fix typo in redirection and correct removal of test
21598         files in two cases.
21600         [BZ #12788]
21601         * locale/setlocale.c (new_composite_name): Fix test to check for
21602         identical name of all categories.
21604         [BZ #12792]
21605         * libio/filedoalloc.c (local_isatty): New function.
21606         (_IO_file_doallocate): Use local_isatty.
21607         * stdio-common/perror.c (perror): In case a new stream is used
21608         forward the stream error.
21609         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
21610         error flag.
21612 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
21614         [BZ #11869]
21615         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
21616         alloca.
21617         * include/alloca.h (extend_alloca_account): Define.
21619         [BZ #11857]
21620         * posix/regex.h: Fix comments with documentation of user-accessible
21621         fields after compilation and describe correct free'ing of pattern
21622         after re_compile_pattern.
21623         Patch by Reuben Thomas <rrt@sc3d.org>.
21625 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
21627         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
21628         and -mno-altivec to prevent the compiler from using Altivec and/or
21629         VSX instructions when the corresponding registers are not available.
21631 2011-05-19  Andreas Schwab  <schwab@redhat.com>
21633         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
21635 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
21637         * libio/freopen.c (freopen): Use __dup2, not dup2.
21638         * libio/freopen64.c (freopen64): Likewise.
21640 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
21642         [BZ #12775]
21643         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
21644         * math/Makefile (tests): Add test-powl.
21645         (CFLAGS-test-powl.c): Define.
21646         * math/test-powl.c: New file.
21648 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
21650         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
21652 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
21654         [BZ #11837]
21655         * iconvdata/gb18030.c: Update to GB18020-2005.
21657 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
21659         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
21660         RE_SYNTAX_POSIX_AWK): Update to match recent development.
21661         Patch by Aharon Robbins <arnold@skeeve.com>.
21663         [BZ #11892]
21664         * stdlib/putenv.c (putenv): Don't always create copy of the variable
21665         on the stack.
21667         [BZ #11895]
21668         * misc/pselect.c (__pselect): Handle timeout value errors hidden
21669         through underflows.
21671         [BZ #12766]
21672         * misc/error.c (error_at_line): Ensure file_name and old_file_name
21673         point to strings before performing equality test for error_one_per_line
21674         mode.
21676         [BZ #11697]
21677         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
21679         [BZ #11820]
21680         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
21681         (struct user_fpregs_struct): Avoid __uint*_t types.
21683         [BZ #6420]
21684         * malloc/mtrace.c (tr_where): Add additional parameter to point to
21685         symbol info.  Use it instead of calling _dl_addr locally.
21686         (lock_and_info): New function.
21687         (tr_freehook): Call lock_and_info and pass symbol info as additional
21688         parameter to tr_where.
21689         (tr_mallochook): Likewise.
21690         (tr_reallochook): Likewise.
21691         (tr_memalignhook): Likewise.
21693         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
21694         used and couldn't be at all thread-safe.
21696 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
21698         * libio/freopen.c (freopen): Don't close old file descriptor
21699         before the new one is opened.  Instead dup the new file descriptor
21700         to the old one after the new stream is created.
21701         * libio/freopen64.c (freopen64): Likewise.
21702         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
21703         * libio/fileops.c (_IO_new_file_close_it): Handle new
21704         _IO_FLAGS2_NOCLOSE flag.
21705         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
21706         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
21707         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
21708         _IO_FLAGS2_NOCLOSE flag.
21709         * include/unistd.h: Add hidden_proto for dup3.
21710         Define __have_dup3.
21711         * io/dup3.c: Define hidden symbol.
21712         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
21714         [BZ #7101]
21715         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
21716         when an incomplete long option is used.
21717         * posix/tst-getopt_long1.c: New file.
21718         * posix/Makefile (tests): Add tst-getopt_long1.
21720         [BZ #10138]
21721         * scripts/config.guess: Update from autoconf-2.68.
21722         * scripts/config.sub: Likewise.
21724         [BZ #10157]
21725         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
21726         tests into ...
21727         (has_cpuclock): ...this.  New function.
21728         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
21729         macro here based on has_cpuclock code.
21731         [BZ #10149]
21732         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21733         First byte (not low byte) is now always NUL.
21734         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
21736         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21737         Use non-cancelable interfaces.
21739         [BZ #9809]
21740         * locale/iso-639.def: Add entry for Sorani.
21742         [BZ #11901]
21743         * include/stdlib.h: Move include protection to the right place.
21744         Define abort_msg_s.  Declare __abort_msg with it.
21745         * stdlib/abort.c (__abort_msg): Adjust type.
21746         * assert/assert.c (__assert_fail_base): New function.  Majority
21747         of code from __assert_fail.  Allocate memory for __abort_msg with
21748         mmap.
21749         (__assert_fail): Now call __assert_fail_base.
21750         * assert/assert-perr.c: Remove bulk of implementation.  Use
21751         __assert_fail_base.
21752         * include/assert.hL Declare __assert_fail_base.
21753         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
21754         mmap.
21755         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
21757 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
21759         [BZ #11952]
21760         [BZ #12453]
21761         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
21762         until all modules are registered in the DTV.
21763         * elf/Makefile: Add rules to build and run tst-tls19.
21764         * elf/tst-tls19.c: New file.
21765         * elf/tst-tls19mod1.c: New file.
21766         * elf/tst-tls19mod2.c: New file.
21767         * elf/tst-tls19mod3.c: New file.
21768         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
21770         [BZ #12083]
21771         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
21772         correctly.
21774         [BZ #12601]
21775         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
21776         two-byte sequence errors.
21777         * iconvdata/Makefile (tests): Add bug-iconv8.
21778         * iconvdata/bug-iconv8.c: New file.
21780         [BZ #12626]
21781         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
21782         buf2 definition.
21784         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
21786         [BZ #12432]
21787         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
21788         (dummy_getcfa): New function.
21789         (init): Get _Unwind_GetCFA address, use dummy if not found.
21790         (backtrace_helper): In recursion check, also check whether CFA changes.
21791         (__backtrace): Completely initialize arg.
21793         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
21794         storing incomplete byte sequence in state object.  Avoid testing for
21795         guaranteed too small input if we know there is enough data available.
21797 2011-05-11  Andreas Schwab  <schwab@redhat.com>
21799         * Makeconfig (+link-pie): Indent.
21800         * Rules (binaries-pie): Define if $(have-fpie) and
21801         $(build-shared).
21802         (binaries-shared): Also filter out $(binaries-pie).
21803         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
21804         * nscd/Makefile (others-pie): Add nscd.
21805         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
21806         ($(objpfx)nscd): Remove command override.
21807         * login/Makefile (others-pie): Add pt_chown.
21808         ($(objpfx)pt_chown): Remove command override.
21809         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
21810         remove command overrides.
21812 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
21814         * libio/tst_putwc.c: Fix error messages.
21816         [BZ #12724]
21817         * libio/fileops.c (_IO_new_file_close_it): Always flush when
21818         currently writing and seek to current position when not.
21819         * libio/Makefile (tests): Add bug-fclose1.
21820         * libio/bug-fclose1.c: New file.
21822 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
21824         [BZ #12511]
21825         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
21826         don't set DF_1_NODELETE here.
21827         (do_lookup_x): When entering new entry test for copy relocation
21828         and if necessary set DF_1_NODELETE flag.
21829         * elf/tst-unique4.cc: New file.
21830         * elf/tst-unique4.h: New file.
21831         * elf/tst-unique4lib.cc: New file.
21832         * elf/Makefile: Add rules to build and run tst-unique4.
21833         Patch by Piotr Bury <pbury@goahead.com>.
21835 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
21837         [BZ #12052]
21838         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
21840         [BZ #12625]
21841         * misc/mntent_r.c (addmntent): Flush the stream after the output
21843         [BZ #12393]
21844         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
21845         (is_trusted_path_normalize): Skip initial colon.  Append slash
21846         to empty buffer.  Duplicate is_trusted_path code but allow
21847         constructed patch to be prefix.
21848         (is_dst): Allow $ORIGIN followed by /.
21849         (_dl_dst_substitute): Correct clearing of check_for_trusted.
21850         Correct testing of result of is_trusted_path_normalize
21851         (decompose_rpath): Fix warning.
21853 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
21855         [BZ #11257]
21856         * grp/initgroups.c (internal_getgrouplist): When we found the service
21857         list through the initgroups entry in nsswitch.conf do not always
21858         continue on a successful lookup.  Don't always use the
21859         __nss_group_database value if it is set.
21860         * nss/nsswitch.conf (initgroups): Change action for successful db
21861         lookup to continue for compatibility.
21863 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
21865         [BZ #11532]
21866         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
21867         and CP774 modules.
21868         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
21869         and CP774 modules.
21870         * iconvdata/tst-tables.sh: Likewise.
21871         * iconvdata/cp770.c: New file.
21872         * iconvdata/cp771.c: New file.
21873         * iconvdata/cp772.c: New file.
21874         * iconvdata/cp773.c: New file.
21875         * iconvdata/cp774.c: New file.
21876         * iconvdata/testdata/CP770: New file.
21877         * iconvdata/testdata/CP770..UTF8: New file.
21878         * iconvdata/testdata/CP771: New file.
21879         * iconvdata/testdata/CP771..UTF8: New file.
21880         * iconvdata/testdata/CP772: New file.
21881         * iconvdata/testdata/CP772..UTF8: New file.
21882         * iconvdata/testdata/CP773: New file.
21883         * iconvdata/testdata/CP773..UTF8: New file.
21884         * iconvdata/testdata/CP774: New file.
21885         * iconvdata/testdata/CP774..UTF8: New file.
21887         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
21888         END CHARMAP line.
21889         * iconvdata/gen-8bit-gap.sh: Likewise.
21890         * iconvdata/gen-8bit.sh: Likewise.
21892         * locale/iso-639.def: Add ary entry.
21894         [BZ #11258]
21895         * locale/C-translit.h.in: Add U20A1 transliteration.
21897         [BZ #12178]
21898         * locale/iso-639.def: Add wae entry.
21899         Patch by Kevin Bortis <bortis@translate-wae.ch>.
21901         [BZ #12545]
21902         * locale/programs/localedef.c (construct_output_path): Use ssize_t
21903         for n.
21905         [BZ #12711]
21906         * locale/C-translit.h.in: Add entry for U20B9.
21907         Patch by pravin.d.s@gmail.com.
21909 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
21911         [BZ #12713]
21912         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
21913         ENAMETOOLONG use generic getcwd.
21914         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
21915         in rtld.  Use *stat64.
21916         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
21917         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
21918         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
21919         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
21920         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
21921         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
21922         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
21923         __fstatat64 macros.
21924         * include/dirent.h: Add libc_hidden_proto for rewinddir.
21925         * dirent/rewinddir.c: Add libc_hidden_def.
21926         * sysdeps/mach/hurd/rewinddir.c: Likewise.
21927         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
21929         * include/dirent.h (__alloc_dir): Add flags parameter.
21930         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
21931         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
21932         __alloc_dir.
21933         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
21934         from fdopendir if O_CLOEXEC is already set.
21936 2011-03-15  Alan Modra  <amodra@gmail.com>
21938         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
21939         l_tls_firstbyte_offset non-zero.  Save padding offset in
21940         l_tls_firstbyte_offset for later use.
21941         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
21942         freeing static tls block.
21944 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
21946         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
21947         where #ifdef was intended.  The intent is to prevent ARG_MAX from
21948         being defined by the kernel headers.
21950 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
21952         [BZ #12734]
21953         * resolv/resolv.h: Define RES_NOTLDQUERY.
21954         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
21955         no-tld-query and set RES_NOTLDQUERY.
21956         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
21957         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
21958         modern BIND to search name as TLD unless forbidden.
21960 2011-05-07  Petr Baudis  <pasky@suse.cz>
21961             Ulrich Drepper  <drepper@gmail.com>
21963         [BZ #12393]
21964         * elf/dl-load.c (fillin_rpath): Move trusted path check...
21965         (is_trusted_path): ...to here.
21966         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
21967         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
21968         using is_trusted_path_normalize() in setuid scripts.
21970 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
21972         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
21973         __BEGIN/__END_DECLS.
21975 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
21977         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
21978         NSS_STATUS_NOTFOUND if no record was found.
21980 2011-05-05  Andreas Schwab  <schwab@redhat.com>
21982         * sunrpc/Makefile (headers): Add rpc/netdb.h.
21983         (headers-not-in-tirpc): Remove rpc/netdb.h
21984         * resolv/netdb.h: Revert last change.
21986 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
21988         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
21989         circular dependency between libgcc.a and libc.a.
21991 2011-05-05  Andreas Schwab  <schwab@redhat.com>
21993         * resolv/netdb.h: Don't include <rpc/netdb.h>.
21994         * nis/Makefile: Don't install rpcsvc/*.
21995         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
21996         instead of <rpc/types.h>.
21997         (MAXHOSTNAMELEN): Define.
21999 2011-05-03  Andreas Schwab  <schwab@redhat.com>
22001         * elf/ldconfig.c (add_dir): Don't crash on empty path.
22003 2011-04-28  Maciej Babinski  <mbabinski@google.com>
22005         [BZ #12714]
22006         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
22007         gethostbyname4_r when IPv6 results are possible.
22009 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
22011         [BZ #12723]
22012         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
22013         _PC_PIPE_BUF handling.
22015 2011-04-30  Bruno Haible  <bruno@clisp.org>
22017         [BZ #12717]
22018         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
22019         * resolv/netdb.h (getnameinfo): Change type of flags parameter
22020         to 'int'.
22021         * inet/getnameinfo.c (getnameinfo): Likewise.
22023 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
22025         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
22026         to groups setting in database lookup.
22027         * nss/nsswitch.conf: Add initgroups entry.
22029 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
22031         [BZ #12685]
22032         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
22033         mode string.
22034         Patch by Eric Blake <eblake@redhat.com>.
22036 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
22038         * sunrpc/Makefile (need-export-routines): Add svc_run.
22039         (routines): Remove svc_run.
22040         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
22041         * sunrpc/clnt_perr.c (clnt_perrno): Export.
22042         * sunrpc/svc_run.c (svc_run): Likewise.
22043         * sunrpc/svc_udp.c (svcudp_create): Likewise.
22045 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
22047         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
22048         problem in reallocation in last patch.
22050 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
22052         * sunrpc/Makefile: Move inclusion of Rules.
22054 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
22056         * nss/nss_files/files-initgroups.c: New file.
22057         * nss/Makefile (libnss_files-routines): Add files-initgroups.
22058         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
22059         _nss_files_initgroups_dyn.
22061 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
22063         * elf/elf.h (R_ARM_IRELATIVE): Define.
22065 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
22067         * po/ru.po: Update from translation team.
22069 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
22071         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
22072         dependencies.
22074 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
22076         [BZ #12653]
22077         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
22078         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
22079         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
22080         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22081         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22083 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
22085         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
22086         differing bytes.
22087         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22088         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22089         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22091 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
22093         [BZ #12420]
22094         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
22095         storing it.
22096         * stdlib/bug-getcontext.c: New file.
22097         * stdlib/Makefile: Add rules to build and run bug-getcontext.
22099 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22101         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
22102         instructions into .machine "z9-109".
22103         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
22104         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
22106 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22108         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
22109         between environment variables and auxiliary vector.
22111 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
22113         * Makefile: Add rules to build linkobj/libc.so.
22114         * include/libc-symbols.h: Define libc_hidden_nolink.
22115         * include/rpc/auth.h: Mark functions which are to be hidden.
22116         * include/rpc/auth_des.h: Likewise.
22117         * include/rpc/auth_unix.h: Likewise.
22118         * include/rpc/clnt.h: Likewise.
22119         * include/rpc/des_crypt.h: Likewise.
22120         * include/rpc/key_prot.h: Likewise.
22121         * include/rpc/pmap_clnt.h: Likewise.
22122         * include/rpc/pmap_prot.h: Likewise.
22123         * include/rpc/pmap_rmt.h: Likewise.
22124         * include/rpc/rpc_msg.h: Likewise.
22125         * include/rpc/svc.h: Likewise.
22126         * include/rpc/svc_auth.h: Likewise.
22127         * include/rpc/xdr.h: Likewise.
22128         * nis/Makefile: Link all DSOs against linkobj/libc.so.
22129         * nss/Makefile: Likewise.
22130         * sunrpc/Makefile: Don't install headers.  Build library with normal
22131         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
22132         * sunrpc/auth_des.c: Hide exported symbols by default, export some
22133         for the compat linking library.  Remove use of INTDEF/INTUSE.
22134         * sunrpc/auth_none.c: Likewise.
22135         * sunrpc/auth_unix.c: Likewise.
22136         * sunrpc/authdes_prot.c: Likewise.
22137         * sunrpc/authuxprot.c: Likewise.
22138         * sunrpc/clnt_gen.c: Likewise.
22139         * sunrpc/clnt_perr.c: Likewise.
22140         * sunrpc/clnt_raw.c: Likewise.
22141         * sunrpc/clnt_simp.c: Likewise.
22142         * sunrpc/clnt_tcp.c: Likewise.
22143         * sunrpc/clnt_udp.c: Likewise.
22144         * sunrpc/clnt_unix.c: Likewise.
22145         * sunrpc/des_crypt.c: Likewise.
22146         * sunrpc/des_soft.c: Likewise.
22147         * sunrpc/get_myaddr.c: Likewise.
22148         * sunrpc/key_call.c: Likewise.
22149         * sunrpc/key_prot.c: Likewise.
22150         * sunrpc/netname.c: Likewise.
22151         * sunrpc/pm_getmaps.c: Likewise.
22152         * sunrpc/pm_getport.c: Likewise.
22153         * sunrpc/pmap_clnt.c: Likewise.
22154         * sunrpc/pmap_prot.c: Likewise.
22155         * sunrpc/pmap_prot2.c: Likewise.
22156         * sunrpc/pmap_rmt.c: Likewise.
22157         * sunrpc/publickey.c: Likewise.
22158         * sunrpc/rpc_cmsg.c: Likewise.
22159         * sunrpc/rpc_common.c: Likewise.
22160         * sunrpc/rpc_dtable.c: Likewise.
22161         * sunrpc/rpc_prot.c: Likewise.
22162         * sunrpc/rpc_thread.c: Likewise.
22163         * sunrpc/rtime.c: Likewise.
22164         * sunrpc/svc.c: Likewise.
22165         * sunrpc/svc_auth.c: Likewise.
22166         * sunrpc/svc_authux.c: Likewise.
22167         * sunrpc/svc_raw.c: Likewise.
22168         * sunrpc/svc_run.c: Likewise.
22169         * sunrpc/svc_simple.c: Likewise.
22170         * sunrpc/svc_tcp.c: Likewise.
22171         * sunrpc/svc_udp.c: Likewise.
22172         * sunrpc/svc_unix.c: Likewise.
22173         * sunrpc/svcauth_des.c: Likewise.
22174         * sunrpc/xcrypt.c: Likewise.
22175         * sunrpc/xdr.c: Likewise.
22176         * sunrpc/xdr_array.c: Likewise.
22177         * sunrpc/xdr_float.c: Likewise.
22178         * sunrpc/xdr_intXX_t.c: Likewise.
22179         * sunrpc/xdr_mem.c: Likewise.
22180         * sunrpc/xdr_rec.c: Likewise.
22181         * sunrpc/xdr_ref.c: Likewise.
22182         * sunrpc/xdr_sizeof.c: Likewise.
22183         * sunrpc/xdr_stdio.c: Likewise.
22185 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
22187         [BZ #12650]
22188         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
22189         * sysdeps/ia64/dl-tls.h: Likewise.
22190         * sysdeps/powerpc/dl-tls.h: Likewise.
22191         * sysdeps/s390/dl-tls.h: Likewise.
22192         * sysdeps/sh/dl-tls.h: Likewise.
22193         * sysdeps/sparc/dl-tls.h: Likewise.
22194         * sysdeps/x86_64/dl-tls.h: Likewise.
22195         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
22197 2011-03-14  Andreas Schwab  <schwab@redhat.com>
22199         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
22200         rpath element also skip the following colon.
22201         (expand_dynamic_string_token): Add is_path parameter and pass
22202         down to DL_DST_REQUIRED and _dl_dst_substitute.
22203         (decompose_rpath): Call expand_dynamic_string_token with
22204         non-zero is_path.  Ignore empty rpaths.
22205         (_dl_map_object_from_fd): Call expand_dynamic_string_token
22206         with zero is_path.
22208 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
22210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
22211         Make cancelable.
22213 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
22215         [BZ #12655]
22216         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
22217         Patch by Filipe David Manana <fdmanana@apache.org>.
22219 2011-04-07  Andreas Schwab  <schwab@redhat.com>
22221         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
22222         Maintain aligned stack.
22223         (CHECK_RSP): Remove unused macro.
22225 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
22227         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
22228         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
22230 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
22232         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
22234         * include/features.h: Mention __USE_XOPEN2K8 in comment.
22236 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
22238         [BZ #12518]
22239         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
22240         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
22241         * sysdeps/x86_64/memmove.c: New file.
22242         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
22243         (memcpy): Renamed to ...
22244         (__new_memcpy): This.
22245         (memcpy): Provide GLIBC_2_14 memcpy.
22246         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
22247         (memcpy): Provide GLIBC_2_2_5 memcpy.
22249 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
22251         [BZ #12631]
22252         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
22254 2011-03-30  Andreas Schwab  <schwab@redhat.com>
22256         * misc/syncfs.c: New file.
22257         * misc/Makefile (routines): Add syncfs.
22258         * posix/unistd.h: Declare syncfs.
22259         * sysdeps/unix/syscalls.list: Add syncfs.
22261 2011-04-01  Andreas Schwab  <schwab@redhat.com>
22263         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
22264         open_by_handle_at.
22265         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
22266         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
22267         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22268         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22269         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22270         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
22271         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22273 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
22275         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
22276         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
22277         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
22278         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22279         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22280         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22281         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22283         * io/Makefile: Compile fallocate.c, fallocate64.c, and
22284         sync_file_range.c with -fexceptions.
22285         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
22286         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
22287         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
22288         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
22289         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
22290         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
22291         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
22292         sync_file_range as cancellation point
22293         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
22294         now a wrapper around __call_sync_file_range with cancellation handling.
22295         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
22296         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
22297         function name to __call_sync_file_range.
22298         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
22299         Add call_sync_file_range.
22301 2011-04-01  Andreas Schwab  <schwab@redhat.com>
22303         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22304         bits/timex.h.
22306 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
22308         * iconv/iconv.h: Fix typo in comment.
22309         * io/fcntl.h: Likewise.
22310         * libio/stdio.h: Likewise.
22311         * posix/spawn.h: Likewise.
22312         * posix/unistd.h: Likewise.
22313         * stdlib/stdlib.h: Likewise.
22314         * time/time.h: Likewise.
22315         * wcsmbs/wchar.h: Likewise.
22317         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
22318         open_by_handle): Add.
22319         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
22320         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
22321         Augment a few comments.
22322         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
22323         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22324         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22325         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22326         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22327         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
22328         open_by_handle.
22330         * io/fcntl.h (AT_EMPTY_PATH): Define.
22332 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
22334         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
22335         * sysdeps/unix/sysv/linux/bits/time.h: New file.
22336         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
22337         to...
22338         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
22339         * Versions.def: Add GLIBC_2.14.
22340         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
22341         Export.
22343 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
22345         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
22346         round counter.
22347         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
22349 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
22351         [BZ #12597]
22352         * string/test-strncmp.c (do_page_test): New function.
22353         (check2): Likewise.
22354         (test_main): Call check2.
22355         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
22357 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
22359         [BZ #12587]
22360         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
22361         Handle cache information in CPU leaf 4.
22362         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
22364 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
22366         [BZ #12583]
22367         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
22368         character representation.
22369         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
22371 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
22373         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
22374         END(__isnan) to END(__isnanf) to match function entry point/label
22375         EALIGN(__isnanf,...).
22377 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
22379         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
22381 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
22383         [BZ #12510]
22384         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
22385         copy from the symbol referenced in the relocation to initialize the
22386         used variable.
22387         Patch by Piotr Bury <pbury@goahead.com>.
22388         * elf/Makefile: Add rules to build and tst-unique3.
22389         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
22390         * elf/tst-unique3.cc: New file.
22391         * elf/tst-unique3.h: New file.
22392         * elf/tst-unique3lib.cc: New file.
22393         * elf/tst-unique3lib2.cc: New file.
22395         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
22397 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
22399         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
22400         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
22401         to _start.
22403 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
22405         * elf/dl-load.c (_dl_map_object): If we are looking for the first
22406         to-be-loaded object along a path to loader is ld.so.
22408 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
22409             Ulrich Drepper  <drepper@gmail.com>
22411         * sysdeps/x86_64/memset.S: After aligning destination, code
22412         branches to different locations depending on the value of
22413         misalignment, when multiarch is enabled. Fix this.
22415 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
22417         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
22418         Set _x86_64_preferred_memory_instruction for AMD processsors.
22419         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22420         Set bit_Prefer_SSE_for_memop for AMD processors.
22422 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
22424         * libio/fmemopen.c (fmemopen): Optimize a bit.
22426 2011-03-03  Andreas Schwab  <schwab@redhat.com>
22428         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
22430 2011-03-03  Roland McGrath  <roland@redhat.com>
22432         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
22434 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
22436         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
22437         __bzero_ultra1 instead of __memset_ultra1.
22439 2011-02-23  Andreas Schwab  <schwab@redhat.com>
22440             Ulrich Drepper  <drepper@gmail.com>
22442         [BZ #12509]
22443         * include/link.h (struct link_map): Add l_orig_initfini.
22444         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
22445         returning unsuccessfully.
22446         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
22447         close of a file loaded at startup, restore the original l_initfini
22448         list.
22449         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
22450         list, store the pointer.
22451         * elf/Makefile ($(objpfx)noload-mem): New rule.
22452         (noload-ENV): Define.
22453         (tests): Add $(objpfx)noload-mem.
22454         * elf/noload.c: Include <memcheck.h>.
22455         (main): Call mtrace.  Close all opened handles.
22457 2011-02-17  Andreas Schwab  <schwab@redhat.com>
22459         [BZ #12454]
22460         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
22461         dependencies are missing.
22463 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22465         Fix __if_freereq crash: Unlike the generic version which uses free,
22466         Hurd needs munmap.
22467         * sysdeps/mach/hurd/ifreq.h: New file.
22469 2011-01-27  Petr Baudis  <pasky@suse.cz>
22470             Ulrich Drepper  <drepper@gmail.com>
22472         [BZ 12445]#
22473         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
22474         to extend_alloca().
22475         * stdio-common/bug23.c: New file.
22476         * stdio-common/Makefile (tests): Add bug23.
22478 2010-09-28  Andreas Schwab  <schwab@redhat.com>
22479             Ulrich Drepper  <drepper@gmail.com>
22481         [BZ #12489]
22482         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
22483         before performing relro protection.  At old place add assertion
22484         to make sure nothing changed.
22486 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
22487             Glauber de Oliveira Costa  <glommer@gmail.com>
22489         * elf/elf.h: Add new ARM TLS relocs.
22491 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
22493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
22494         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
22495         cast from r3.
22496         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
22497         'tests' variable.
22498         * sysdeps/wordsize-64/tst-writev.c: New file.
22500 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
22502         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
22503         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
22504         insns in _dl_start to prevent a TOC reference before relocs are
22505         resolved.
22507 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
22509         [BZ #12469]
22510         * Makeconfig: Remove RANLIB definition.
22511         * Makerules: Don't use RANLIB.
22512         * aclocal.m4: Remove ranlib test.
22513         * configure.in: No need to check for ranlib.
22514         * elf/rtld-Rules: Don't use RANLIB.
22516 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22518         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
22519         protection macro.
22520         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
22521         inclusion protection macro.
22523         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
22524         SIGRTMIN and SIGRTMAX and print information in that case only when
22525         SIGRTMIN is defined.
22527 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
22529         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
22530         arginfo fn returning -1.
22532         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
22533         and thousands string is zero terminated.
22535 2011-02-03  Andreas Schwab  <schwab@redhat.com>
22537         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
22538         sysdeps/unix/sysv/linux/bits/socket.h.
22540 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22542         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
22543         (__CPU_COUNT): Remove old macros.
22544         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
22545         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
22546         (__CPU_ALLOC, __CPU_FREE): Add macros.
22547         (__sched_cpualloc, __sched_cpufree): Add declarations.
22549 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
22551         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
22552         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
22553         * nscd/aicache.c (addhstaiX): Return timeout of added value.
22554         (readdhstai): Return value of addhstaiX call.
22555         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
22556         (addgrbyX): Return value returned by cache_addgr.
22557         (readdgrbyname): Return value returned by addgrbyX.
22558         (readdgrbygid): Likewise.
22559         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
22560         (addpwbyX): Return value returned by cache_addpw.
22561         (readdpwbyname): Return value returned by addhstbyX.
22562         (readdpwbyuid): Likewise.
22563         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
22564         (addservbyX): Return value returned by cache_addserv.
22565         (readdservbyname): Return value returned by addservbyX:
22566         (readdservbyport): Likewise.
22567         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
22568         (addhstbyX): Return value returned by cache_addhst.
22569         (readdhstbyname): Return value returned by addhstbyX.
22570         (readdhstbyaddr): Likewise.
22571         (readdhstbynamev6): Likewise.
22572         (readdhstbyaddrv6): Likewise.
22573         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
22574         (readdinitgroups): Return value returned by addinitgroupsX.
22575         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
22576         (prune_cache): Keep track of timeout value of re-added entries.
22577         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
22578         * nscd/nscd.h: Adjust prototypes of readd* functions.
22580 2011-02-04  Roland McGrath  <roland@redhat.com>
22582         * nis/nis_server.c (nis_servstate): Use the right name for 0.
22583         (nis_stats): Likewise.
22584         * nis/nis_modify.c (nis_modify): Likewise.
22585         * nis/nis_remove.c (nis_remove): Likewise.
22586         * nis/nis_add.c (nis_add): Likewise.
22588         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
22590         * posix/fnmatch_loop.c: Add some consts.
22592         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
22594 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
22596         [BZ #12460]
22597         * config.make.in (config-cflags-novzeroupper): Define.
22598         * configure.in: Substitute libc_cv_cc_novzeroupper.
22599         * elf/Makefile (AVX-CFLAGS): Define.
22600         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
22601         (CFLAGS-tst-auditmod4a.c): Likewise.
22602         (CFLAGS-tst-auditmod4b.c): Likewise.
22603         (CFLAGS-tst-auditmod6b.c): Likewise.
22604         (CFLAGS-tst-auditmod6c.c): Likewise.
22605         (CFLAGS-tst-auditmod7b.c): Likewise.
22606         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
22608 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
22610         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
22611         function to the callback.
22612         Patch partly by Jiri Olsa <jolsa@redhat.com>.
22614 2011-02-02  Andreas Schwab  <schwab@redhat.com>
22616         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
22617         of errno.
22619 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
22621         [BZ #11724]
22622         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
22623         of constructors.
22624         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
22625         of destructors.
22626         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
22628         [BZ #11724]
22629         * elf/Makefile: Add rules to build and run new test.
22630         * elf/tst-initorder.c: New file.
22631         * elf/tst-initorder.exp: New file.
22632         * elf/tst-initordera1.c: New file.
22633         * elf/tst-initordera2.c: New file.
22634         * elf/tst-initordera3.c: New file.
22635         * elf/tst-initordera4.c: New file.
22636         * elf/tst-initorderb1.c: New file.
22637         * elf/tst-initorderb2.c: New file.
22638         * elf/tst-order-a1.c: New file.
22639         * elf/tst-order-a2.c: New file.
22640         * elf/tst-order-a3.c: New file.
22641         * elf/tst-order-a4.c: New file.
22642         * elf/tst-order-b1.c: New file.
22643         * elf/tst-order-b2.c: New file.
22644         * elf/tst-order-main.c: New file.
22645         New test case by George Gensure <werkt0@gmail.com>.
22647 2010-10-01  Andreas Schwab  <schwab@redhat.com>
22649         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
22650         decoding ACE if AI_CANONIDN.
22652 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
22654         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
22656 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
22658         * version.h (RELEASE): Bump for 2.13 release.
22659         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
22661         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
22663         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
22664         MADV_NOHUGEPAGE.
22665         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
22666         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
22667         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22668         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
22669         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22670         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
22672         * posix/getconf.c: Update copyright year.
22673         * catgets/gencat.c: Likewise.
22674         * csu/version.c: Likewise.
22675         * debug/catchsegv.sh: Likewise.
22676         * debug/xtrace.sh: Likewise.
22677         * elf/ldconfig.c: Likewise.
22678         * elf/ldd.bash.in: Likewise.
22679         * elf/sprof.c (print_version): Likewise.
22680         * iconv/iconv_prog.c: Likewise.
22681         * iconv/iconvconfig.c: Likewise.
22682         * locale/programs/locale.c: Likewise.
22683         * locale/programs/localedef.c: Likewise.
22684         * malloc/memusage.sh: Likewise.
22685         * malloc/mtrace.pl: Likewise.
22686         * nscd/nscd.c (print_version): Likewise.
22687         * nss/getent.c: Likewise.
22689         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
22690         PF_CAIF, and PF_ALG.
22691         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22693 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
22695         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
22696         (modules-names): Use them.
22697         (ifunc-test-modules, ifunc-pie-tests): Define.
22698         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
22699         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
22700         (test-extras): Likewise.
22701         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
22702         $(compile-command.c).
22703         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
22704         (all-built-dso): Define.
22705         (check-textrel.out, check-execstack.out): Depend on it.
22707         * configure.in: Don't override --enable-multi-arch.
22709 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
22711         [BZ #6812]
22712         * nscd/hstcache.c (tryagain): Define.
22713         (cache_addhst): Return tryagain not notfound for temporary errors.
22714         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
22715         failed.
22717 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
22719         [BZ #10563]
22720         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
22721         to make the syscall.
22722         * sysdeps/unix/sysv/linux/setgroups.c: New file.
22724         [BZ #12378]
22725         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
22726         and fall back to matching as normal character if the string ends before
22727         the matching ']' is found.  This is what POSIX requires.
22728         * posix/testfnm.c: Adjust test result.
22729         * posix/globtest.sh: Adjust test result.  Add new test.
22730         * posix/tst-fnmatch.input: Likewise.
22731         * posix/tst-fnmatch2.c: Add new test.
22733 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
22735         * elf/Makefile (check-execstack): Revert last change.  Depend on
22736         check-execstack.h.
22737         (check-execstack.h): New target.
22738         (generated): Add check-execstack.h.
22739         * elf/check-execstack.c: Include "check-execstack.h".
22740         (main): Revert last change.
22741         (handle_file): Return zero if GNU_STACK is absent and
22742         DEFAULT_STACK_PERMS doesn't include PF_X.
22744 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
22746         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
22747         in child fails because the descriptor is already closed.
22748         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
22749         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
22750         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
22752         [BZ #12397]
22753         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
22754         syscall.
22756         [BZ #10484]
22757         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
22758         temporary buffer used to handle multi lookups locally.
22759         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
22761 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
22763         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
22764         loader is ld.so.
22766 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
22768         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
22769         alignment for SSE2.
22771 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
22773         [BZ #12394]
22774         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
22775         characters.  When rounding increased number of integer digits recompute
22776         number of groups.
22777         * stdio-common/tst-grouping.c: New file.
22778         * stdio-common/Makefile: Add rules to build and run tst-grouping.
22780 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
22782         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
22783         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
22785         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
22786         void.
22787         * bits/select.h: Likewise.
22789 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
22791         * po/ja.po: Update from translation team.
22793 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
22795         [BZ #11155]
22796         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
22797         implementation just like for lxstat, fxstatat, et al.
22799 2010-12-27  Jim Meyering  <meyering@redhat.com>
22801         [BZ #12348]
22802         * posix/regexec.c (build_trtable): Return failure indication upon
22803         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
22805 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
22807         [BZ #12201]
22808         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
22809         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
22810         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
22811         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
22813         [BZ #12207]
22814         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
22816         [BZ #12204]
22817         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
22818         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
22820 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
22822         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
22823         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
22824         script has SORT_BY_INIT_PRIORITY.
22825         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
22826         NO_CTORS_DTORS_SECTIONS is defined.
22827         * elf/soinit.c: Likewise.
22828         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
22829         NO_CTORS_DTORS_SECTIONS is defined.
22830         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
22831         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
22832         * sysdeps/sh/init-first.c: Likewise.
22833         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
22835 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
22837         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
22838         always use the slow path.
22840 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
22842         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
22843         similar rule which adds the sysdep directories to the header search in
22844         order to pick up the correct platform stackinfo.h.
22845         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
22846         perform test if it is, otherwise return successfully without testing.
22847         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
22848         DEFAULT_STACK_PERMS define in stackinfo.h.
22849         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
22850         defined in stackinfo.h.
22851         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
22852         DEFAULT_STACK_PERMS defined in stackinfo.h.
22853         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
22854         * sysdeps/ia64/stackinfo.h: Likewise.
22855         * sysdeps/s390/stackinfo.h: Likewise.
22856         * sysdeps/sh/stackinfo.h: Likewise.
22857         * sysdeps/sparc/stackinfo.h: Likewise.
22858         * sysdeps/x86_64/stackinfo.h: Likewise.
22859         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
22860         PF_X for powerpc64.  Retain PF_X for powerpc32.
22862 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
22864         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
22865         accurately.
22866         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
22867         GETDENTS_64BIT_ALIGNED.
22869 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
22871         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
22873 2010-12-10  Andreas Schwab  <schwab@redhat.com>
22875         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
22876         _GNU_SOURCE.
22878         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
22879         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
22880         Remove __restrict.
22881         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
22882         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
22884 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
22886         [BZ #11655]
22887         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
22888         are initialized.
22890 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
22892         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
22894 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
22896         * po/it.po: Update from translation team.
22898 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
22900         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
22901         unused codes.
22903 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
22905         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
22907 2010-11-24  Andreas Schwab  <schwab@redhat.com>
22909         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
22910         specially.
22911         (gaih_getanswer_slice): Likewise.
22913 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
22915         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
22917 2010-05-31  Petr Baudis  <pasky@suse.cz>
22919         [BZ #11149]
22920         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
22921         silently even in the chroot mode.
22923 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
22925         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
22926         last patch a bit.  Pretty printing
22928 2010-05-31  Petr Baudis <pasky@suse.cz>
22930         [BZ #10085]
22931         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
22932         initialization of skip_initgroups_dyn.
22934 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
22936         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
22937         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
22939 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
22941         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
22943 2010-11-11  Andreas Schwab  <schwab@redhat.com>
22945         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
22946         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
22947         (tst-fnmatch-ENV): Set MALLOC_TRACE.
22948         ($(objpfx)tst-fnmatch-mem): New rule.
22949         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
22950         * posix/tst-fnmatch.c (main): Call mtrace.
22952 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
22954         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22955         Support Intel processor model 6 and model 0x2c.
22957 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
22959         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
22960           signed comparison.
22962 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
22964         [BZ #12205]
22965         * string/test-strncasecmp.c (check_result): New function.
22966         (do_one_test): Use it.
22967         (check1): New function.
22968         (test_main): Use it.
22969         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
22970         Support strcasecmp and strncasecmp.
22972 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
22974         [BZ #12194]
22975         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
22976         * sysdeps/x86_64/bits/byteswap.h: Likewise.
22978 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
22980         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
22981         IFUNC support.
22982         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22983         memset-x86-64.
22984         * sysdeps/x86_64/multiarch/bzero.S: New file.
22985         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
22986         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
22987         * sysdeps/x86_64/multiarch/memset.S: New file.
22988         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
22989         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22990         Set bit_Prefer_SSE_for_memop for Intel processors.
22991         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
22992         Define.
22993         (index_Prefer_SSE_for_memop): Define.
22994         (HAS_PREFER_SSE_FOR_MEMOP): Define.
22996 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
22998         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
22999         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
23001 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
23003         [BZ #12191]
23004         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
23005         (__x86_64_raw_data_cache_size_half): Likewise.
23006         (__x86_64_raw_shared_cache_size): Likewise.
23007         (__x86_64_raw_shared_cache_size_half): Likewise.
23009         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
23010         (__x86_64_raw_data_cache_size_half): Likewise.
23011         (__x86_64_raw_shared_cache_size): Likewise.
23012         (__x86_64_raw_shared_cache_size_half): Likewise.
23013         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
23014         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
23015         and __x86_64_raw_shared_cache_size_half.  Round
23016         __x86_64_data_cache_size_half, __x86_64_data_cache_size
23017         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
23018         to multiple of 256 bytes.
23020 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
23022         [BZ #12167]
23023         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
23024         of inacessible symlinks.  Verify result of symlink before returning it.
23025         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
23026         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
23028 2010-10-28  Erich Ritz  <erichritz@gmail.com>
23030         * math/math.h (isinf): Fix typo in comment.
23032 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
23034         * po/da.po: Update from translation team.
23036 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
23038         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
23039         is added to the list.
23041 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23042             Ulrich Drepper  <drepper@gmail.com>
23044         * elf/dl-object.c (_dl_new_object): Don't append the new object to
23045         the global list here.  Move code to...
23046         (_dl_add_to_namespace_list): ...here.  New function.
23047         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
23048         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
23049         * elf/dl-load.c (lose): Don't remove the element from the list.
23050         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
23051         (_dl_map_object): Likewise.
23053 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
23055         [BZ #12159]
23056         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
23057         into all bytes of SSE register.
23058         Patch by Richard Li <richardpku@gmail.com>.
23060 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
23062         [BZ #12140]
23063         * malloc/malloc.c (_int_free): Fill correct number of bytes when
23064         perturbing.
23066 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
23068         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
23069         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
23070         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
23071         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
23072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
23073         submachine.
23074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
23076 2010-10-22  Andreas Schwab  <schwab@redhat.com>
23078         * include/dlfcn.h (__RTLD_SECURE): Define.
23079         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
23080         mode & __RTLD_SECURE instead.
23081         (open_path): Rename preloaded parameter to secure.
23082         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
23083         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
23084         * elf/dl-deps.c (openaux): Likewise.
23085         * elf/rtld.c (struct map_args): Remove is_preloaded.
23086         (map_doit): Don't use it.
23087         (dl_main): Likewise.
23088         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
23089         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
23091 2010-09-09  Andreas Schwab  <schwab@redhat.com>
23093         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
23094         (sysd-rules-targets): Remove duplicates.
23095         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
23096         rtld-%.$o dependency.
23098 2010-10-18  Andreas Schwab  <schwab@redhat.com>
23100         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
23101         _dl_map_object do it.
23103 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
23105         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
23106         fast fma builtins, define the macros in the C99 standard.
23107         (FP_FAST_FMAF): Likewise.
23108         (FP_FAST_FMAL): Likewise.
23109         * sysdeps/x86_64/bits/mathdef.h: Likewise.
23111         * bits/mathdef.h: Update copyright year.
23112         * sysdeps/powerpc/bits/mathdef.h: Likewise.
23114 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
23116         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
23117         builtins, define the macros in the C99 standard.
23118         (FP_FAST_FMAF): Likewise.
23119         (FP_FAST_FMAL): Likewise.
23120         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
23121         multiply/add.
23122         (FP_FAST_FMAF): Likewise.
23124 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
23126         [BZ #3268]
23127         * math/libm-test.inc (fma_test): Some new testcases.
23128         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
23129         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
23130         y and infinite z.  Do multiplication by C already in long double.
23131         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
23132         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
23133         y and infinite z.  Do bitwise or of inexact bit into u.d.
23134         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
23135         * sysdeps/i386/fpu/s_fmaf.S: Removed.
23136         * sysdeps/i386/fpu/s_fma.S: Removed.
23137         * sysdeps/i386/fpu/s_fmal.S: Removed.
23139 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
23141         [BZ #3268]
23142         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
23143         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
23144         computation is not scheduled after fetestexcept.  Fix value
23145         of minimum denormal long double.
23147 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
23149         [BZ #3268]
23150         * math/libm-test.inc (fma_test): Add some more tests.
23151         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
23152         correctly.
23154 2010-10-15  Andreas Schwab  <schwab@redhat.com>
23156         * scripts/data/localplt-s390-linux-gnu.data: New file.
23157         * scripts/data/localplt-s390x-linux-gnu.data: New file.
23159 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
23161         [BZ #3268]
23162         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
23163         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
23164         instead of dbl-64.
23165         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
23166         inlines.
23167         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
23168         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
23169         if one of x and y is very large and the other is subnormal.
23170         * sysdeps/s390/fpu/s_fmaf.c: New file.
23171         * sysdeps/s390/fpu/s_fma.c: New file.
23172         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
23173         * sysdeps/powerpc/fpu/s_fma.S: New file.
23174         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
23175         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
23176         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
23178 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
23180         [BZ #3268]
23181         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
23182         fma tests.
23183         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
23184         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
23185         * sysdeps/i386/i686/multiarch/s_fma.c: Include
23186         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
23187         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
23188         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
23189         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
23191 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
23193         [BZ #12078]
23194         * posix/regcomp.c (parse_branch): One more memory leak plugged.
23195         * posix/bug-regex31.input: Add test case.
23197 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
23199         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
23200         * posix/bug-regex31.input: New file.
23202         [BZ #12078]
23203         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
23204         (parse_sub_exp): Fix last change, use postorder.
23206         * posix/bug-regex31.c: New file.
23207         * posix/Makefile: Add rules to build and run bug-regex31.
23209         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
23211         [BZ #12078]
23212         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
23214         [BZ #12108]
23215         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
23216         to have entries in sys_siglist.
23218         [BZ #12093]
23219         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
23220         be NULL.
23222 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
23224         [BZ #3268]
23225         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
23226         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
23227         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
23228         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
23229         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
23230         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
23231         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
23232         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
23233         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
23234         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
23235         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
23236         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
23237         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
23238         * math/ftestexcept.c (fetestexcept): Likewise.
23239         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
23240         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
23241         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
23242         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
23243         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
23244         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
23245         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
23247 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
23249         [BZ #12107]
23250         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
23251         newline.
23253 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
23255         * string/bug-strstr1.c: New file.
23256         * string/Makefile: Add rules to build and run bug-strstr1.
23258 2010-10-05  Eric Blake  <eblake@redhat.com>
23260         [BZ #12092]
23261         * string/str-two-way.h (two_way_long_needle): Always clear memory
23262         when skipping input due to the shift table.
23264 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
23266         [BZ #12005]
23267         * malloc/mcheck.c: Handle large requests.
23269         [BZ #12077]
23270         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
23271         for strncmp and strncasecmp.
23272         * string/stratcliff.c: Add tests for strcmp and strncmp.
23273         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
23275 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
23277         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
23278         __set_fpscr.
23280 2010-09-30  Andreas Jaeger  <aj@suse.de>
23282         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
23283         (CGROUP_SUPER_MAGIC): Define.
23284         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23285         Handle btrfs and cgroup file systems.
23286         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
23287         Likewise.
23289 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
23291         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
23292         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
23294 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23296         [BZ #12067]
23297         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
23298         trying to locate the ELF header.
23300 2010-09-27  Andreas Schwab  <schwab@redhat.com>
23302         [BZ #11611]
23303         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
23304         Mask out sign-bit copies when constructing f_fsid.
23306 2010-09-24  Petr Baudis <pasky@suse.cz>
23308         * debug/stack_chk_fail_local.c: Add missing licence exception.
23309         * debug/warning-nop.c: Likewise.
23311 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
23313         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
23314         implementing getdents64 using getdents syscall, set d_type if
23315         __ASSUME_GETDENTS32_D_TYPE.
23317 2010-09-16  Andreas Schwab  <schwab@redhat.com>
23319         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
23320         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
23322 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
23324         [BZ #12037]
23325         * posix/unistd.h: Undo change of feature selection for ftruncate from
23326         2010-01-11.
23328 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
23330         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
23331         detection.
23333 2010-09-20  Andreas Schwab  <schwab@redhat.com>
23335         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
23336         fanotify_mark.
23337         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
23339 2010-09-14  Andreas Schwab  <schwab@redhat.com>
23341         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
23342         variables after CHECK_SP call.
23343         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
23345 2010-09-13  Andreas Schwab  <schwab@redhat.com>
23346             Ulrich Drepper  <drepper@redhat.com>
23348         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
23349         re-relocationg ld.so.
23350         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
23351         _dl_init_paths call.
23352         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
23353         here anymore.
23355 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
23357         * resolv/res_init.c (__res_vinit): Count the default server we added.
23359 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
23360             Ulrich Drepper  <drepper@redhat.com>
23362         [BZ #11968]
23363         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
23364         (____longjmp_chk): Use %ebx for saving value across system call.
23365         Add unwind info.
23367 2010-09-06  Andreas Schwab  <schwab@redhat.com>
23369         * manual/Makefile: Don't mix pattern rules with normal rules.
23371 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
23373         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
23374         operation.
23375         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
23376         * libio/iofopncook.c (_IO_cookie_init): Likewise.
23377         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
23378         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
23379         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23380         Likewise.
23382 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
23384         [BZ #11979]
23385         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
23386         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
23388 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
23390         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
23391         * sysdeps/x86_64/addmul_1.S: Likewise.
23392         * sysdeps/x86_64/lshift.S: Likewise.
23393         * sysdeps/x86_64/mul_1.S: Likewise.
23394         * sysdeps/x86_64/rshift.S: Likewise.
23395         * sysdeps/x86_64/sub_n.S: Likewise.
23396         * sysdeps/x86_64/submul_1.S: Likewise.
23398 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23400         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
23401         Define __sched_param instead of SCHED_* and sched_param when
23402         <bits/sched.h> is included with __need_schedparam defined.
23403         * bits/sched.h [__need_schedparam]
23404         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
23405         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
23406         (__defined_schedparam): Define to 1.
23407         (__sched_param): New structure, identical to sched_param.
23408         (__need_schedparam): Undefine.
23410 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
23412         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
23413         (epoll_create1): Declare.
23415         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
23417 2010-08-31  Andreas Schwab  <schwab@redhat.com>
23419         [BZ #7066]
23420         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
23421         shifting retval into place.
23423 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
23425         * nis/rpcsvc/nis.h: Update copyright notice.
23426         * nis/rpcsvc/nis.x: Likewise.
23427         * nis/rpcsvc/nis_callback.h: Likewise.
23428         * nis/rpcsvc/nis_callback.x: Likewise.
23429         * nis/rpcsvc/nis_object.x: Likewise.
23430         * nis/rpcsvc/nis_tags.h: Likewise.
23431         * nis/rpcsvc/yp.h: Likewise.
23432         * nis/rpcsvc/yp.x: Likewise.
23433         * nis/rpcsvc/ypupd.h: Likewise.
23434         * nis/yp_xdr.c: Likewise.
23435         * nis/ypupdate_xdr.c: Likewise.
23437         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
23438         mainly the body of pmap_getport.  Add parameters to specify timeouts.
23439         (pmap_getport): Use __libc_rpc_getport.
23440         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
23441         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
23442         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
23444 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
23446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
23447         fanotify_mark.
23449 2010-08-27  Roland McGrath  <roland@redhat.com>
23451         * sysdeps/i386/i686/multiarch/Makefile
23452         (CFLAGS-varshift.c): New variable.
23454 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
23456         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
23457         * sysdeps/i386/i686/multiarch/varshift.c: New file.
23459         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
23461         * sysdeps/x86_64/strlen.S: Minimal code improvement.
23463 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
23465         * sysdeps/x86_64/strlen.S: Unroll the loop.
23466         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23467         strlen-sse2 strlen-sse2-bsf.
23468         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
23469         __strlen_no_bsf if bit_Slow_BSF is set.
23470         (__strlen_sse42): Removed.
23471         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
23472         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
23474 2010-08-25  Roland McGrath  <roland@redhat.com>
23476         * sysdeps/x86_64/multiarch/varshift.S: File removed.
23477         * sysdeps/x86_64/multiarch/varshift.c: New file.
23478         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
23479         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
23480         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
23481         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23483 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
23485         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23486         strlen-sse2 strlen-sse2-bsf.
23487         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
23488         __strlen_sse2_bsf if bit_Slow_BSF is unset.
23489         (__strlen_sse2): Removed.
23490         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
23491         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
23492         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
23493         bit_Slow_BSF for Atom.
23494         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
23495         (index_Slow_BSF): Define.
23496         (HAS_SLOW_BSF): Define.
23498 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
23500         [BZ #10851]
23501         * resolv/res_init.c (__res_vinit): When no server address at all
23502         is given default to loopback.
23504 2010-08-24  Roland McGrath  <roland@redhat.com>
23506         * configure.in: Remove config-name.h generation.
23507         * configure: Regenerated.
23508         * config-name.in: File removed.
23509         * scripts/config-uname.sh: New file.
23510         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
23511         ($(objdir)config-name.h): New target.
23513         * sunrpc/rpc_parse.h: Avoid nested comment.
23515 2010-08-24  Richard Henderson  <rth@redhat.com>
23516             Ulrich Drepper  <drepper@redhat.com>
23517             H.J. Lu  <hongjiu.lu@intel.com>
23519         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
23520         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
23521         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
23522         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
23523         _mm_alignr_epi8 with _mm_loadu_si128.
23524         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
23525         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
23526         (__m128i_shift_right): Removed.
23527         * sysdeps/i386/i686/multiarch/varshift.h: New file.
23528         * sysdeps/i386/i686/multiarch/varshift.S: New file.
23529         * sysdeps/x86_64/multiarch/varshift.h: New file.
23530         * sysdeps/x86_64/multiarch/varshift.S: New file.
23532 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
23534         * configure.in: Move assembler checks to before sysdep dir checking.
23536 2010-08-20  Petr Baudis  <pasky@suse.cz>
23538         * LICENSES: Sync the sunrpc license.
23540 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
23542         * sunrpc/auth_des.c: Update copyright notice once again.
23543         * sunrpc/auth_none.c: Likewise.
23544         * sunrpc/auth_unix.c: Likewise.
23545         * sunrpc/authdes_prot.c: Likewise.
23546         * sunrpc/authuxprot.c: Likewise.
23547         * sunrpc/bindrsvprt.c: Likewise.
23548         * sunrpc/clnt_gen.c: Likewise.
23549         * sunrpc/clnt_perr.c: Likewise.
23550         * sunrpc/clnt_raw.c: Likewise.
23551         * sunrpc/clnt_simp.c: Likewise.
23552         * sunrpc/clnt_tcp.c: Likewise.
23553         * sunrpc/clnt_udp.c: Likewise.
23554         * sunrpc/clnt_unix.c: Likewise.
23555         * sunrpc/des_crypt.c: Likewise.
23556         * sunrpc/des_soft.c: Likewise.
23557         * sunrpc/get_myaddr.c: Likewise.
23558         * sunrpc/getrpcport.c: Likewise.
23559         * sunrpc/key_call.c: Likewise.
23560         * sunrpc/key_prot.c: Likewise.
23561         * sunrpc/openchild.c: Likewise.
23562         * sunrpc/pm_getmaps.c: Likewise.
23563         * sunrpc/pm_getport.c: Likewise.
23564         * sunrpc/pmap_clnt.c: Likewise.
23565         * sunrpc/pmap_prot.c: Likewise.
23566         * sunrpc/pmap_prot2.c: Likewise.
23567         * sunrpc/pmap_rmt.c: Likewise.
23568         * sunrpc/rpc/auth.h: Likewise.
23569         * sunrpc/rpc/auth_unix.h: Likewise.
23570         * sunrpc/rpc/clnt.h: Likewise.
23571         * sunrpc/rpc/des_crypt.h: Likewise.
23572         * sunrpc/rpc/key_prot.h: Likewise.
23573         * sunrpc/rpc/netdb.h: Likewise.
23574         * sunrpc/rpc/pmap_clnt.h: Likewise.
23575         * sunrpc/rpc/pmap_prot.h: Likewise.
23576         * sunrpc/rpc/pmap_rmt.h: Likewise.
23577         * sunrpc/rpc/rpc.h: Likewise.
23578         * sunrpc/rpc/rpc_des.h: Likewise.
23579         * sunrpc/rpc/rpc_msg.h: Likewise.
23580         * sunrpc/rpc/svc.h: Likewise.
23581         * sunrpc/rpc/svc_auth.h: Likewise.
23582         * sunrpc/rpc/types.h: Likewise.
23583         * sunrpc/rpc/xdr.h: Likewise.
23584         * sunrpc/rpc_clntout.c: Likewise.
23585         * sunrpc/rpc_cmsg.c: Likewise.
23586         * sunrpc/rpc_common.c: Likewise.
23587         * sunrpc/rpc_cout.c: Likewise.
23588         * sunrpc/rpc_dtable.c: Likewise.
23589         * sunrpc/rpc_hout.c: Likewise.
23590         * sunrpc/rpc_main.c: Likewise.
23591         * sunrpc/rpc_parse.c: Likewise.
23592         * sunrpc/rpc_parse.h: Likewise.
23593         * sunrpc/rpc_prot.c: Likewise.
23594         * sunrpc/rpc_sample.c: Likewise.
23595         * sunrpc/rpc_scan.c: Likewise.
23596         * sunrpc/rpc_scan.h: Likewise.
23597         * sunrpc/rpc_svcout.c: Likewise.
23598         * sunrpc/rpc_tblout.c: Likewise.
23599         * sunrpc/rpc_util.c: Likewise.
23600         * sunrpc/rpc_util.h: Likewise.
23601         * sunrpc/rpcinfo.c: Likewise.
23602         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
23603         * sunrpc/rpcsvc/key_prot.x: Likewise.
23604         * sunrpc/rpcsvc/klm_prot.x: Likewise.
23605         * sunrpc/rpcsvc/mount.x: Likewise.
23606         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
23607         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
23608         * sunrpc/rpcsvc/rex.x: Likewise.
23609         * sunrpc/rpcsvc/rstat.x: Likewise.
23610         * sunrpc/rpcsvc/rusers.x: Likewise.
23611         * sunrpc/rpcsvc/sm_inter.x: Likewise.
23612         * sunrpc/rpcsvc/spray.x: Likewise.
23613         * sunrpc/rpcsvc/yppasswd.x: Likewise.
23614         * sunrpc/rtime.c: Likewise.
23615         * sunrpc/svc.c: Likewise.
23616         * sunrpc/svc_auth.c: Likewise.
23617         * sunrpc/svc_authux.c: Likewise.
23618         * sunrpc/svc_raw.c: Likewise.
23619         * sunrpc/svc_run.c: Likewise.
23620         * sunrpc/svc_simple.c: Likewise.
23621         * sunrpc/svc_tcp.c: Likewise.
23622         * sunrpc/svc_udp.c: Likewise.
23623         * sunrpc/svc_unix.c: Likewise.
23624         * sunrpc/svcauth_des.c: Likewise.
23625         * sunrpc/xcrypt.c: Likewise.
23626         * sunrpc/xdr.c: Likewise.
23627         * sunrpc/xdr_array.c: Likewise.
23628         * sunrpc/xdr_float.c: Likewise.
23629         * sunrpc/xdr_mem.c: Likewise.
23630         * sunrpc/xdr_rec.c: Likewise.
23631         * sunrpc/xdr_ref.c: Likewise.
23632         * sunrpc/xdr_sizeof.c: Likewise.
23633         * sunrpc/xdr_stdio.c: Likewise.
23635         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
23636         handling.
23638 2010-08-19  Andreas Schwab  <schwab@redhat.com>
23640         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
23642 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
23644         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
23645         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
23646         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
23647         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
23648         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
23649         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
23650         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
23651         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
23652         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
23653         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
23654         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
23655         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
23656         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
23657         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
23659 2010-07-26  Anton Blanchard  <anton@samba.org>
23661         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
23662         * malloc/arena.c (heap_trim): Likewise.
23664 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
23666         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
23667         here.  Not...
23668         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
23669         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
23671 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
23673         * sysdeps/i386/elf/Makefile: New file.
23675 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
23677         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
23678         from fanotify_init.
23679         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
23680         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
23682 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
23684         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
23685         of strncasecmp_l.
23686         * sysdeps/multiarch/strcmp.S: Likewise.
23688 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
23690         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
23691         strncase_l-nonascii.
23692         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
23693         Add strncase_l-ssse3.
23694         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
23695         * sysdeps/x86_64/strcmp.S: Likewise.
23696         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
23697         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
23698         * sysdeps/x86_64/strncase.S: New file.
23699         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
23700         * sysdeps/x86_64/strncase_l.S: New file.
23701         * string/Makefile (strop-tests): Add strncasecmp.
23702         * string/test-strncasecmp.c: New file.
23704         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
23705         warning.
23707         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
23708         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
23710 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
23712         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
23714 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
23716         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
23717         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
23718         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
23720 2010-05-01  Alan Modra  <amodra@gmail.com>
23722         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
23723         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
23724         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
23725         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
23726         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
23727         tidying.  Don't tail-call __sigjmp_save for static lib.
23728         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
23729         save location.
23730         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
23731         (CALL_MCOUNT): Add eh info, and nop after bl.
23732         (TAIL_CALL_SYSCALL_ERROR): New macro.
23733         (PSEUDO_RET): Use it.
23734         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
23735         Correct save location of integer regs and cr.
23736         (_dl_profile_resolve): Correct cr save location.  Delete nops
23737         after bl when SHARED.  Reduce cfi size a little by better
23738         placement of cfi directives.
23739         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
23740         make a stack frame.  Instead use parm save area as a temp.
23741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
23742         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
23743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
23744         Don't make a stack frame for parent, use parm save area.
23745         Increase child stack frame to 112 bytes.  Don't save unused reg,
23746         and adjust reg usage.  Set up cfi on error recovery and
23747         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
23748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
23749         (__makecontext): Add dummy nop after jump to exit.
23750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
23751         Use correct parm save area and cr save, reduce stack frame.
23752         Correct cfi for possible PSEUDO_RET frame setup.
23753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
23754         Branch to local label emitted by PSEUDO_RET rather than
23755         __syscall_error.
23757 2010-08-12  Andreas Schwab  <schwab@redhat.com>
23759         [BZ #11904]
23760         * locale/programs/locale.c (print_assignment): New function.
23761         (show_locale_vars): Use it.
23763 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
23765         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
23766         field.
23767         (struct statfs64): Likewise.
23768         (_STATFS_F_FLAGS): Define.
23769         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
23770         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23771         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
23772         (ST_VALID): Define locally.
23773         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
23774         __statvfs_getflags, use the provided value.
23775         * sysdeps/unix/sysv/linux/kernel-features.h: Define
23776         __ASSUME_STATFS_F_FLAGS.
23778         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
23780         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
23781         Add sys/fanotify.h.
23782         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
23783         fanotify_mask for GLIBC_2.13.
23784         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
23785         fanotify_init and fanotify_mark.
23786         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
23787         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
23789         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
23790         Add prlimit.
23791         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
23792         prlimit64 for GLIBC_2.13.
23793         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
23794         prlimit64.
23795         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
23796         syscall.
23797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
23798         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
23799         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
23800         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
23801         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
23802         add prlimit alias.
23803         * sysdeps/unix/sysv/linux/prlimit.c: New file.
23805         [BZ #11903]
23806         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
23807         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
23809         * nss/Makefile: Add rules to build and run tst-nss-test1.
23810         * shlib-versions: Add entry for libnss_test1.
23811         * nss/nss_test1.c: New file.
23812         * nss/tst-nss-test1.c: New file.
23814         * nss/nsswitch.c (__nss_database_custom): Define new variable.
23815         (__nss_configure_lookup): Set appropriate entry in
23816         __nss_configure_lookup to true.
23817         * nss/nsswitch.h: Define enum with indeces of databases in
23818         databases and __nss_database_custom arrays.  Declare
23819         __nss_database_custom.
23820         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
23821         to avoid using nscd when custom rules are installed.
23822         * nss/getXXbyYY_r.c: Likewise.
23823         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23825         * nss/nss_files/files-parse.c: Whitespace fixes.
23827 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
23829         [BZ #11883]
23830         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
23831         * posix/fnmatch_loop.c: Likewise.
23833 2010-07-17  Andi Kleen  <ak@linux.intel.com>
23835         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
23836         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
23837         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
23838         * Versions.def [GLIBC_2.13]: Add.
23840 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
23842         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
23843         Also fail if tpwd after pwuid call is NULL.
23845 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23847         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
23848         when converting to ms.
23850 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23852         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
23853         EOPNOTSUPP errors with ENOTTY.
23854         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
23855         EOPNOTSUPP errors with ENOTTY.
23857 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
23859         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
23860         Add strcasecmp_l-ssse3.
23861         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
23862         strcasecmp.
23863         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
23864         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
23865         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
23867 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
23869         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
23871         * string/Makefile (strop-tests): Add strcasecmp.
23872         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
23873         strcasecmp_l-nonascii.
23874         (gen-as-const-headers): Add locale-defines.sym.
23875         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
23876         * sysdeps/x86_64/strcasecmp.S: New file.
23877         * sysdeps/x86_64/strcasecmp_l.S: New file.
23878         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
23879         * sysdeps/x86_64/locale-defines.sym: New file.
23880         * string/test-strcasecmp.c: New file.
23882         * string/test-strcasestr.c: Test both ends of the range of characters.
23883         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
23885 2010-07-29  Roland McGrath  <roland@redhat.com>
23887         [BZ #11856]
23888         * manual/locale.texi (Yes-or-No Questions): Fix example code.
23890 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
23892         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
23893         for ld.so.
23895 2010-07-27  Andreas Schwab  <schwab@redhat.com>
23897         * manual/memory.texi (Malloc Tunable Parameters): Document
23898         M_PERTURB.
23900 2010-07-26  Roland McGrath  <roland@redhat.com>
23902         [BZ #11840]
23903         * configure.in (-fgnu89-inline check): Set and substitute
23904         gnu89_inline, not libc_cv_gnu89_inline.
23905         * configure: Regenerated.
23906         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
23908 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
23910         * string/test-strnlen.c: New file.
23911         * string/Makefile (strop-tests): Add strnlen.
23912         * string/tester.c (test_strnlen): Add a few more test cases.
23913         * string/tst-strlen.c: Better error reporting.
23915         * sysdeps/x86_64/strnlen.S: New file.
23917 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
23919         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
23920         lower-latency instructions.
23922 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
23924         * string/test-strcasestr.c: New file.
23925         * string/test-strstr.c: New file.
23926         * string/Makefile (strop-tests): Add strstr and strcasestr.
23927         * string/str-two-way.h: Don't undefine MAX.
23928         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
23930 2010-07-21  Andreas Schwab  <schwab@redhat.com>
23932         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23933         strcasestr-nonascii.
23934         (CFLAGS-strcasestr-nonascii.c): Define.
23935         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
23936         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
23937         Remove unused attribute.
23939 2010-07-20  Roland McGrath  <roland@redhat.com>
23941         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
23942         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
23943         ld.so.cache was broken.  With it, there is no way to disable dsocaps
23944         like LD_HWCAP_MASK can disable hwcaps.
23946 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
23948         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
23950 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
23952         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
23953         call in strcasestr.
23954         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
23955         __strcasestr_sse42_nonascii.
23956         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
23957         strcasestr-nonascii.c.
23958         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
23960 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
23962         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
23963         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
23964         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
23965         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
23967 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
23969         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
23970         fcntl.
23972 2010-07-06  Andreas Schwab  <schwab@redhat.com>
23974         [BZ #11577]
23975         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
23976         dl_signal_cerror.
23978 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
23980         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
23981         _PC_PIPE_BUF using F_GETPIPE_SZ.
23983 2010-07-05  Roland McGrath  <roland@redhat.com>
23985         * manual/arith.texi (Rounding Functions): Fix rint description
23986         implicit in round description.
23988 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
23990         * elf/Makefile: Fix linking for a few tests to make recent linker
23991         happy.
23993 2010-06-30  Andreas Schwab  <schwab@redhat.com>
23995         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
23996         $(common-objpfx)libc_nonshared.a.
23998 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
24000         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
24001         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
24002         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
24003         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
24004         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
24005         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
24006         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
24007         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
24008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
24009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
24010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
24011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
24012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
24013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
24014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
24015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
24016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
24017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
24018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
24019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
24020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
24021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
24022         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
24023         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
24024         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
24025         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
24026         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
24027         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
24028         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
24029         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
24030         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
24031         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
24032         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
24033         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
24034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
24035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
24036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
24037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
24038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
24039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
24040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
24041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
24042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
24043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
24044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
24045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
24046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
24047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
24049 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
24051         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
24052         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
24053         * string/memmove.c (memmove): Renamed to ...
24054         (MEMMOVE): ...this.  Default to memmove.
24055         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
24056         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
24057         (END_CHK): Define.
24058         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24059         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
24060         mempcpy-ssse3-back memmove-ssse3-back.
24061         * sysdeps/x86_64/multiarch/bcopy.S: New file .
24062         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
24063         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
24064         * sysdeps/x86_64/multiarch/memcpy.S: New file.
24065         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
24066         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
24067         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
24068         * sysdeps/x86_64/multiarch/memmove.c: New file.
24069         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
24070         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
24071         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
24072         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
24073         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
24074         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
24075         Define.
24076         (index_Fast_Copy_Backward): Define.
24077         (HAS_ARCH_FEATURE): Define.
24078         (HAS_FAST_REP_STRING): Define.
24079         (HAS_FAST_COPY_BACKWARD): Define.
24081 2010-06-21  Andreas Schwab  <schwab@redhat.com>
24083         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
24084         Restore proper fallback handling.
24086 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
24088         [BZ #11701]
24089         * posix/group_member.c (__group_member): Correct checking loop.
24091         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
24092         OOM in getpwuid_r correctly.  Return error number when the caller
24093         should return, otherwise -1.
24094         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
24095         call returning > 0 value.
24096         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
24098 2010-06-07  Andreas Schwab  <schwab@redhat.com>
24100         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
24101         libc_nonshared.a from targets in modules-names.
24103 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
24105         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
24106         requires it.
24108 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
24110         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
24111         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
24112         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
24113         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
24115 2010-06-02  Andreas Schwab  <schwab@redhat.com>
24117         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
24119 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
24121         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
24122         and F_GETPIPE_SZ.
24123         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
24124         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24125         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24126         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24127         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24128         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
24130 2010-06-14  Roland McGrath  <roland@redhat.com>
24132         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
24134 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
24136         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
24137         __REDIRECT followed by __THROW.
24138         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
24139         * posix/getopt.h (getopt): Likewise.
24141 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
24143         * hurd/lookup-at.c (__file_name_lookup_at): Accept
24144         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
24145         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
24146         in AT_FLAGS.
24147         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
24148         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
24150 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
24152         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
24154 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
24156         [BZ #11640]
24157         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24158         Properly check family and model.
24160 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
24162         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
24164 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
24166         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
24168 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
24170         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
24171         symbol reference.
24173 2010-05-19  Andreas Schwab  <schwab@redhat.com>
24175         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
24176         symbol reference.
24178 2010-05-21  Andreas Schwab  <schwab@redhat.com>
24180         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
24181         and internal_recvmmsg.
24182         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
24183         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
24184         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
24185         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
24187         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
24188         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
24189         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
24191 2010-05-20  Andreas Schwab  <schwab@redhat.com>
24193         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
24195 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
24197         POWER7 optimizations.
24198         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
24199         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
24201 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
24203         * version.h: Update for 2.13 development version.
24205 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
24207         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
24208         exceptions.  Return 0.
24210 2010-05-07  Roland McGrath  <roland@redhat.com>
24212         * elf/ldconfig.c (main): Add a const.
24214 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
24216         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
24217         (args_options): Add no-idn option.
24218         (ahosts_keys_int): Add idn_flags to ai_flags.
24219         (parse_option): Handle 'i' option to clear idn_flags.
24221         * malloc/malloc.c (_int_free): Possible race in the most recently
24222         added check.  Only act on the data if no current modification
24223         happened.
24225 See ChangeLog.17 for earlier changes.