2013-01-11 Steve Ellcey <sellcey@mips.com>
[glibc.git] / ChangeLog
blob3feff6fc62c52464691db250b751a1fea1c2ca41
1 2013-01-11  Steve Ellcey  <sellcey@mips.com>
3         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
4         (EF_MIPS_ARCH_64): Fix value.
5         (EF_MIPS_ARCH_32R2): New.
6         (EF_MIPS_ARCH_64R2): New.
8 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
10         * Makeconfig (+link-pie-before-libc): New.
11         (+link-pie-after-libc): Likewise.
12         (+link-pie-tests): Likewise.
13         (+link-pie): Rewritten.
14         (link-before-libc): Remove $(config-LDFLAGS).
15         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
16         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
17         (config-LDFLAGS): Renamed to ...
18         (rtld-LDFLAGS): This.
19         (rtld-tests-LDFLAGS): New macro.
20         (link-libc-rpath-link): Likewise.
21         (link-libc-tests-rpath-link): Likewise.
22         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
23         (link-libc): Prepand $(link-libc-rpath-link).
24         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
25         (test-program-prefix): New macro.
26         (test-via-rtld-prefix): Likewise.
27         (test-program-cmd): Likewise.
28         (host-test-program-cmd): Likewise.
29         * Makefile ($(common-objpfx)testrun.sh): Replace
30         $(run-program-prefix) with $(test-program-prefix).
31         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
32         $(rtld-LDFLAGS).
33         ($(common-objpfx)shlib.lds): Likewise.
34         (build-module-helper): Likewise.
35         ($(common-objpfx)format.lds): Likewise.
36         * Rules (binaries-pie-tests): New.
37         (binaries-pie-notests): Likewise.
38         (binaries-pie): Rewritten.
39         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
40         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
41         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
42         (make-test-out): Replace $(host-built-program-cmd) with
43         $(host-test-program-cmd).
44         * config.make.in (build-hardcoded-path-in-tests): New variable.
45         * configure.in (--enable-hardcoded-path-in-tests): New configure
46         option.
47         (hardcoded_path_in_tests): New AC_SUBST.
48         * configure: Regenerated.
49         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
50         $(built-program-cmd) with $(test-program-cmd).
51         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
52         (test_program_cmd): This.
53         * elf/Makefile ($(objpfx)order.out): Run test with
54         $(test-program-prefix).
55         ($(objpfx)order2.out): Likewise.
56         ($(objpfx)tst-initorder.out): Likewise.
57         ($(objpfx)tst-initorder2.out): Likewise.
58         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
59         $(test-program-cmd).
60         ($(objpfx)tst-array1-static.out): Likewise.
61         ($(objpfx)tst-array2.out): Likewise.
62         ($(objpfx)tst-array3.out): Likewise.
63         ($(objpfx)tst-array4.out): Likewise.
64         ($(objpfx)tst-array5.out): Likewise.
65         ($(objpfx)tst-array5-static.out): Likewise.
66         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
67         $(test-program-cmd).
68         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
69         $(run-program-prefix) with $(test-program-prefix).
70         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
71         (test_program_prefix): This.
72         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
73         $(run-program-prefix) with $(test-program-prefix).
74         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
75         (test_program_prefix): This.
76         * iconvdata/tst-tables.sh: Likewise.
77         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
78         $(run-program-prefix) with $(test-program-prefix).
79         ($(objpfx)tst-translit.out): Likewise.
80         ($(objpfx)tst-gettext2.out): Likewise.
81         ($(objpfx)tst-gettext4.out): Likewise.
82         ($(objpfx)tst-gettext6.out): Likewise.
83         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
84         (test_program_prefix): This.
85         * intl/tst-gettext2.sh: Likewise.
86         * intl/tst-gettext4.sh  Likewise.
87         * intl/tst-gettext6.sh: Likewise.
88         * intl/tst-translit.sh: Likewise.
89         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
90         with $(test-program-cmd).
91         * libio/Makefile ($(objpfx)test-freopen.out): Replace
92         $(run-program-prefix) with $(test-program-prefix).
93         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
94         (test_program_prefix): This.
95         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
96         $(run-program-prefix) with $(test-program-prefix).
97         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
98         (test_program_prefix): This.
99         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
100         * posix/Makefile ($(objpfx)globtest.out): Replace
101         $(run-via-rtld-prefix) and $(test-wrapper) with
102         $(test-program-prefix) and $(test-via-rtld-prefix).
103         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
104         $(test-program-prefix).
105         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
106         $(host-test-program-cmd).
107         (tst-spawn-ARGS): Likewise.
108         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
109         $(test-program-prefix).
110         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
111         (test_via_rtld_prefix): This.
112         (test_wrapper): Renamed to ...
113         (test_program_prefix): This.
114         (run_program_prefix): Replaced by test_program_prefix.
115         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
116         (test_program_prefix): This.
117         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
118         with $(host-test-program-cmd).
119         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
120         $(run-program-prefix) with $(test-program-prefix).
121         ($(objpfx)tst-printf.out): Likewise.
122         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
123         $(test-program-cmd).
124         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
125         (test_program_prefix): This.
126         * stdio-common/tst-unbputc.sh: Likewise.
127         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
128         $(run-program-prefix) with $(test-program-prefix).
129         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
130         (test_program_prefix): This.
131         * string/Makefile ($(objpfx)tst-svc.out):  Replace
132         $(built-program-cmd) with $(test-program-cmd).
134 2013-01-11  Andreas Jaeger  <aj@suse.de>
136         [BZ #15003]
137         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
138         value. Sync with Linux 3.7.
140 2013-01-10  David S. Miller  <davem@davemloft.net>
142         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
143         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
144         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
146 2013-01-10  Roland McGrath  <roland@hack.frob.com>
148         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
149         never set.
150         * configure: Regenerated.
152 2013-01-10  David S. Miller  <davem@davemloft.net>
154         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
155         sparc V9 rather than using V8 code.
156         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
157         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
159 2013-01-10  Roland McGrath  <roland@hack.frob.com>
161         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
162         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
163         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
164         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
165         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
166         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
167         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
168         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
169         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
170         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
171         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
172         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
173         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
174         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
175         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
176         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
177         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
178         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
179         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
180         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
181         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
182         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
183         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
184         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
185         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
186         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
187         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
189 2013-01-10  David S. Miller  <davem@davemloft.net>
191         * sysdeps/sparc/fpu/libm-test-ulps: Update.
193 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
195         * posix/Makefile (tests-static): New variable.
196         (tests): Add $(tests-static).
197         (tst-exec-static-ARGS): New variable.
198         (tst-spawn-static-ARGS): Likewise.
199         * posix/tst-exec-static.c: New file.
200         * posix/tst-spawn-static.c: Likewise.
201         * posix/tst-exec.c: Support run directly.
202         * posix/tst-spawn.c: Likewise.
204 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
206         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
207         long.
208         * math/bits/mathcalls.h (llrint): Likewise.
209         (llround): Likewise.
210         * stdlib/stdlib.h (struct drand48_data): Likewise.
211         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
212         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
213         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
214         Likewise.
215         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
216         Likewise.
217         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
218         (elf_greg_t): Likewise.
219         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
220         (__jmp_buf): Likewise.
221         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
222         definitions.
223         (llrint): Likewise, for all definitions.
224         (llrintl): Likewise.
226         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
227         Remove [__GNUC__] condition.
228         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
229         condition to just [__USE_ISOC99].
230         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
232 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
234         [BZ #14200]
235         * sysdeps/unix/sysv/linux/x86/bits/environments.h
236         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
237         defined.
238         (_POSIX_V6_ILP32_OFF32): Likewise.
239         (_XBS5_ILP32_OFF32): Likewise.
240         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
241         (__ILP32_OFFBIG_LDFLAGS): Likewise.
243 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
245         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
247         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
248         doubles __mpexp_twomm1.  Adjust usage.
249         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
250         Remove.
252 2013-01-10  Andreas Schwab  <schwab@suse.de>
254         [BZ #14964]
255         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
256         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
258 2013-01-09  David S. Miller  <davem@davemloft.net>
260         [BZ #15003]
261         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
262         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
263         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
264         TCP_FASTOPEN): Define.
265         (tcp_repair_opt): New structure.
266         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
267         enum values.
268         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
269         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
270         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
271         (tcp_cookie_transactions): New structure.
273 2013-01-09  Anton Blanchard  <anton@samba.org>
275         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
276         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
277         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
278         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
280 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
282         * include/features.h (__USE_ANSI): Remove.
284 2013-01-09  Roland McGrath  <roland@hack.frob.com>
286         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
288         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
290 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
292         * sysdeps/s390/fpu/libm-test-ulps: Update.
294         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
296         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
297         (__acr): Likewise.
298         (__cpy): Likewise.
299         (norm): Likewise.
300         (denorm): Likewise.
301         (__mp_dbl): Likewise.
302         (__dbl_mp): Likewise.
303         (add_magnitudes): Likewise.
304         (sub_magnitudes): Likewise.
305         (__add): Likewise.
306         (__sub): Likewise.
307         (__mul): Likewise.
308         (__inv): Likewise.
309         (__dvd): Likewise.
310         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
311         (__acr): Likewise.
312         (__cpy): Likewise.
313         (norm): Likewise.
314         (denorm): Likewise.
315         (__mp_dbl): Likewise.
316         (__dbl_mp): Likewise.
317         (add_magnitudes): Likewise.
318         (sub_magnitudes): Likewise.
319         (__add): Likewise.
320         (__sub): Likewise.
321         (__mul): Likewise.
322         (__inv): Likewise.
323         (__dvd): Likewise.
324         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
325         (__acr): Likewise.
326         (__cpy): Likewise.
327         (norm): Likewise.
328         (denorm): Likewise.
329         (__mp_dbl): Likewise.
330         (__dbl_mp): Likewise.
331         (add_magnitudes): Likewise.
332         (sub_magnitudes): Likewise.
333         (__add): Likewise.
334         (__sub): Likewise.
335         (__mul): Likewise.
336         (__inv): Likewise.
337         (__dvd): Likewise.
339 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
341         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
342         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
343         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
344         2 && __USE_EXTERN_INLINES]: Likewise.
346 2013-01-08  Andreas Jaeger  <aj@suse.de>
348         [BZ# 14985]
349         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
350         Remove.
351         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
352         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
354 2013-01-07  Anton Blanchard  <anton@samba.org>
356         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
357         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
358         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
359         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
360         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
361         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
362         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
363         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
364         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
365         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
366         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
367         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
368         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
369         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
370         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
371         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
372         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
373         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
374         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
375         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
376         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
377         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
378         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
379         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
380         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
381         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
382         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
383         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
384         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
385         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
386         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
387         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
388         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
389         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
390         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
391         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
392         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
393         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
394         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
395         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
396         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
397         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
398         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
400 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
402         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
403         (__MALLOC_PMT): Likewise.
404         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
405         [__GNUC__], only on [_LIBC].
406         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
407         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
408         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
409         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
410         forward declaration.
411         (realloc_hook_ini): Likewise.
412         (memalign_hook_ini): Likewise.
413         (__libc_memalign): Do not use __MALLOC_PMT in variable
414         declaration.
415         (__libc_valloc): Likewise.
416         (__libc_pvalloc): Likewise.
417         (__libc_calloc): Likewise.
418         (__posix_memalign): Likewise.
420         [BZ #14996]
421         * math/s_casinh.c: Include <float.h>.
422         (__casinh): Do not do computation with squaring and square root
423         for large arguments.
424         * math/s_casinhf.c: Include <float.h>.
425         (__casinhf): Do not do computation with squaring and square root
426         for large arguments.
427         * math/s_casinhl.c: Include <float.h>.
428         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
429         (__casinhl): Do not do computation with squaring and square root
430         for large arguments.
431         * math/libm-test.inc (casin_test): Add more tests.
432         (casinh_test): Likewise.
433         * sysdeps/i386/fpu/libm-test-ulps: Update.
434         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
436 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
438         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
439         (__x86_64_raw_data_cache_size): Likewise.
440         (__x86_64_data_cache_size_half): Likewise.
441         (__x86_64_raw_data_cache_size_half): Likewise.
442         (__x86_64_shared_cache_size): Likewise.
443         (__x86_64_raw_shared_cache_size): Likewise.
444         (__x86_64_shared_cache_size_half): Likewise.
445         (__x86_64_raw_shared_cache_size_half): Likewise.
446         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
447         to ...
448         (__x86_data_cache_size): This.
449         (__x86_64_raw_data_cache_size): Renamed to ...
450         (__x86_raw_data_cache_size): This.
451         (__x86_64_data_cache_size_half): Renamed to ...
452         (__x86_data_cache_size_half): This.
453         (__x86_64_raw_data_cache_size_half): Renamed to ...
454         (__x86_raw_data_cache_size_half): This.
455         (__x86_64_shared_cache_size): Renamed to ...
456         (__x86_shared_cache_size): This.
457         (__x86_64_raw_shared_cache_size): Renamed to ...
458         (__x86_raw_shared_cache_size): This.
459         (__x86_64_shared_cache_size_half): Renamed to ...
460         (__x86_shared_cache_size_half): This.
461         (__x86_64_raw_shared_cache_size_half): Renamed to ...
462         (__x86_raw_shared_cache_size_half): This.
463         * sysdeps/x86_64/memcpy.S: Updated.
464         * sysdeps/x86_64/memset.S: Likewise.
465         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
466         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
467         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
469 2013-01-04  David S. Miller  <davem@davemloft.net>
471         * sysdeps/sparc/fpu/libm-test-ulps: Update.
473 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
475         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
476         1 to avoid redefinition warning.
477         (__USE_GNU): Don't define.
478         (init_signaling_nan): Protoize.
480         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
482 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
484         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
485         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
486         (__cpymn): Likewise.
487         (norm): Remove commented code.
488         (denorm): Likewise.
489         (__mp_dbl): Likewise.
490         (__inv): Likewise.
491         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
492         (__cpymn): Likewise.
493         (norm): Remove commented code.
494         (denorm): Likewise.
495         (__mp_dbl): Likewise.
496         (__inv): Likewise.
498         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
499         mp_no value for 1.0 and 2.0.
500         (norm): Use RADIXI instead of radixi.d.
501         (denorm): Likewise.
502         (__mul): Use 0.0 instead of zero.d.
503         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
504         mp_no value for 1.0 and 2.0.
505         (norm): Use RADIXI instead of radixi.d.
506         (denorm): Likewise.
507         (__mul): Use 0.0 instead of zero.d.
509 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
511         [BZ #14994]
512         * math/s_casinh.c (__casinh): Reduce finite argument to first
513         quadrant then set signs of results at the end.
514         * math/s_casinhf.c (__casinhf): Likewise.
515         * math/s_casinhl.c (__casinhl): Likewise.
516         * math/libm-test.inc (casin_test): Add more tests.
517         (casinh_test): Likewise.
518         * sysdeps/i386/fpu/libm-test-ulps: Update.
519         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
521 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
523         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
525         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
527         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
528         declarations.
529         (denorm): Likewise.
530         (__mp_dbl): Likewise.
531         (__inv): Likewise.
533         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
534         and adjust the header comment.
536         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
537         variable name from declaration.
539 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
541         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
542         Initialize COMMON_CPUID_INDEX_7 element.
543         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
544         (CPUID_RTM): Likewise.
545         (HAS_RTM): Likewise.
546         (COMMON_CPUID_INDEX_7): New enum.
548 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
550         [BZ #14981]
551         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
552         size is zero, record memory as freed.
554 2013-01-03  Andreas Jaeger  <aj@suse.de>
556         * po/ia.po: Add new Interlingua translation.
558 2012-01-03  Allan McRae  <allan@archlinux.org>
560         * locale/programs/localedef.c: Fix description of '--posix' flag.
562 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
564         * NEWS: Update dates in second copyright notice.
565         * README: Update copyright dates in example.
566         * manual/libc.texinfo: Update copyright dates.
567         * scripts/test-installation.pl: Update copyright date in --version
568         output.
570         * hurd/ctty-input.c: Fix copyright notice formatting.
571         * hurd/ctty-output.c: Likewise.
572         * hurd/dtable.c: Likewise.
573         * hurd/hurd-raise.c: Likewise.
574         * hurd/hurdprio.c: Likewise.
575         * hurd/msgportdemux.c: Likewise.
576         * misc/sys/file.h: Likewise.
577         * misc/sys/ioctl.h: Likewise.
578         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
579         * sysdeps/mach/hurd/chdir.c: Likewise.
580         * sysdeps/mach/hurd/fchdir.c: Likewise.
581         * sysdeps/mach/hurd/rename.c: Likewise.
582         * sysdeps/mach/hurd/rmdir.c: Likewise.
583         * sysdeps/mach/hurd/seekdir.c: Likewise.
584         * sysdeps/mach/hurd/setsid.c: Likewise.
585         * sysdeps/posix/wait3.c: Likewise.
587         * All files with FSF copyright notices: Update copyright dates
588         using scripts/update-copyrights.
589         * intl/plural.c: Regenerated.
590         * locale/programs/charmap-kw.h: Likewise.
591         * locale/programs/locfile-kw.h: Likewise.
593 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
595         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
596         four values.
598         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
599         calculation loop and add branch prediction.
601         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
602         check access beyond bounds of m1np.
604         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
605         MPTWO.
606         (__inv): Remove local variable MPTWO to use the global
607         constant.
608         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
609         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
610         variable MPTWO.
611         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
612         MP3HALFS static const.
614 2013-01-01  David S. Miller  <davem@davemloft.net>
616         * po/ca.po: Update from translation team.
618 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
620         * scripts/update-copyrights: New file.
621         * Makeconfig: Reformat copyright notice.
622         * ctype/ctype.h: Likewise.
623         * debug/swprintf_chk.c: Likewise.
624         * elf/dl-cache.c: Likewise.
625         * elf/dl-debug.c: Likewise.
626         * elf/dl-object.c: Likewise.
627         * grp/initgroups.c: Likewise.
628         * hurd/Makefile: Likewise.
629         * hurd/hurd/signal.h: Likewise.
630         * hurd/hurdfault.c: Likewise.
631         * hurd/hurdioctl.c: Likewise.
632         * hurd/hurdlookup.c: Likewise.
633         * hurd/intr-msg.c: Likewise.
634         * iconv/gconv_open.c: Likewise.
635         * libio/swprintf.c: Likewise.
636         * locale/lc-ctype.c: Likewise.
637         * locale/nl_langinfo.c: Likewise.
638         * mach/Machrules: Likewise.
639         * mach/Makefile: Likewise.
640         * malloc/obstack.h: Likewise.
641         * manual/Makefile: Likewise.
642         * manual/tsort.awk: Likewise.
643         * misc/bits/stab.def: Likewise.
644         * nis/nis_print_group_entry.c: Likewise.
645         * nis/nis_table.c: Likewise.
646         * nis/nss_compat/compat-pwd.c: Likewise.
647         * nis/nss_compat/compat-spwd.c: Likewise.
648         * po/Makefile: Likewise.
649         * posix/fnmatch.c: Likewise.
650         * posix/regex.h: Likewise.
651         * resolv/Makefile: Likewise.
652         * resolv/nss_dns/dns-network.c: Likewise.
653         * resolv/res_hconf.c: Likewise.
654         * scripts/gen-sorted.awk: Likewise.
655         * soft-fp/soft-fp.h: Likewise.
656         * stdio-common/printf.h: Likewise.
657         * stdlib/monetary.h: Likewise.
658         * stdlib/random.c: Likewise.
659         * stdlib/random_r.c: Likewise.
660         * sysdeps/generic/Makefile: Likewise.
661         * sysdeps/gnu/Makefile: Likewise.
662         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
663         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
664         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
665         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
666         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
667         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
668         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
669         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
670         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
671         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
672         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
673         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
674         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
675         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
676         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
677         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
678         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
679         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
680         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
681         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
682         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
683         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
684         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
685         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
686         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
687         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
688         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
689         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
690         * sysdeps/mach/hurd/errnos.awk: Likewise.
691         * sysdeps/mach/hurd/fork.c: Likewise.
692         * sysdeps/mach/hurd/getcwd.c: Likewise.
693         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
694         * sysdeps/mach/hurd/mmap.c: Likewise.
695         * sysdeps/mach/hurd/utimes.c: Likewise.
696         * sysdeps/mach/hurd/xmknod.c: Likewise.
697         * sysdeps/posix/profil.c: Likewise.
698         * sysdeps/posix/readdir_r.c: Likewise.
699         * sysdeps/powerpc/bits/mathdef.h: Likewise.
700         * sysdeps/powerpc/bits/setjmp.h: Likewise.
701         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
702         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
703         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
704         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
705         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
706         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
707         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
708         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
709         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
710         * sysdeps/pthread/lio_listio.c: Likewise.
711         * sysdeps/sparc/dl-procinfo.h: Likewise.
712         * sysdeps/unix/i386/sysdep.S: Likewise.
713         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
714         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
715         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
716         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
718         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
719         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
720         * sysdeps/unix/sysv/linux/speed.c: Likewise.
721         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
722         * sysdeps/wordsize-32/divdi3.c: Likewise.
723         * time/sys/time.h: Likewise.
724         * wcsmbs/Makefile: Likewise.
726 2013-01-01  David S. Miller  <davem@davemloft.net>
728         * po/fr.po: Update from translation team.
730         * catgets/gencat.c: Update copyright year.
731         * csu/version.c: Likewise.
732         * debug/catchsegv.sh: Likewise.
733         * debug/pcprofiledump.c: Likewise.
734         * debug/xtrace.sh: Likewise.
735         * elf/ldconfig.c: Likewise.
736         * elf/ldd.bash.in: Likewise.
737         * elf/pldd.c: Likewise.
738         * elf/sotruss.ksh: Likewise.
739         * elf/sprof.c: Likewise.
740         * iconv/iconv_prog.c: Likewise.
741         * iconv/iconvconfig.c: Likewise.
742         * locale/programs/locale.c: Likewise.
743         * locale/programs/localedef.c: Likewise.
744         * login/programs/pt_chown.c: Likewise.
745         * malloc/memusage.sh: Likewise.
746         * malloc/memusagestat.c: Likewise.
747         * malloc/mtrace.pl: Likewise.
748         * nscd/nscd.c: Likewise.
749         * nss/getent.c: Likewise.
750         * nss/makedb.c: Likewise.
751         * posix/getconf.c: Likewise.
753 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
755         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
756         numbers.
758 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
760         * math/bits/mathcalls.h (modf): Use __nonnull.
762 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
764         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
765         (split): Use macro CN instead of the bare value.
766         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
767         could be used.
768         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
769         instead of the bare value.
770         (power1): Likewise.
772 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
774         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
775         __ATAN_TWOM.
776         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
778         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
779         their values.
780         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
781         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
782         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
783         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
785 2012-12-28  Andreas Jaeger  <aj@suse.de>
787         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
788         values are from Linux 3.7.
790         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
791         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
793 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
795         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
796         TRUE case.
798         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
799         (norm): Likewise.
800         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
801         variables with preprocessor constants.
802         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
803         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
804         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
806 2012-12-27  Bruno Haible  <bruno@clisp.org>
808         [BZ #14317]
809         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
810         only if needed.
812 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
814         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
815         and use variable directly.
816         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
818         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
819         MPONE.
820         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
821         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
822         variable MPONE.
823         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
824         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
825         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
826         include directive.  Remove local variable MPONE.
827         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
828         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
829         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
831 2012-12-25  David S. Miller  <davem@davemloft.net>
833         * version.h (RELEASE): Set to "development".
834         (VERSION): Set to "2.17.90".
835         * NEWS: Add 2.18 section.
837 2012-12-21  David S. Miller  <davem@davemloft.net>
839         * po/hr.po: Update from translation team.
841 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
843         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
845 2012-12-19  Steve Ellcey  <sellcey@mips.com>
847         * NEWS:  Mention new memcpy for MIPS.
849 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
851         * manual/contrib.texi (Contributors): Spelling correction.
853 2012-12-15  David S. Miller  <davem@davemloft.net>
855         * po/ru.po: Update from translation team.
857 2012-12-13  David S. Miller  <davem@davemloft.net>
859         * NEWS: Mention IFUNC testsuite enhancements.
861         * po/pl.po: Update from translation team.
862         * po/bg.po: Likewise.
864         * manual/contrib.texi (Contributors): Update entries for Hongjiu
865         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
867 2012-12-11  David S. Miller  <davem@davemloft.net>
869         * po/sv.po: Update from translation team.
871         * po/vi.po: Update from translation team.
873         * po/cs.po: Update from translation team.
875         * po/de.po: Update from translation team.
876         * po/eo.po: Likewise.
877         * po/nl.po: Likewise.
879 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
881         [BZ #14246]
882         * manual/argp.texi (Argp Helper Functions): Move node to follow
883         Argp Parsing State.
885         [BZ #14872]
886         * manual/conf.texi (Limits on File System Capacity): Mention if
887         terminating null is included in the max size.
889 2012-12-10  Andreas Jaeger  <aj@suse.de>
891         * po/cs.po: Update from translation team.
893 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
895         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
896         void pointer and cast to uintptr_t.
897         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
898         path.
899         * sysdeps/s390/s390-64/memcpy.S: Likewise.
900         * sysdeps/s390/s390-64/memset.S: Likewise.
902 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
904         [BZ #14833]
905         * menual/message.texi (Message Translation): Fix typos.
906         (Helper programs for gettext): Likewise.
908 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
910         [BZ #14898]
911         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
912         Change to -1.
914 2012-12-07  David S. Miller  <davem@davemloft.net>
916         * po/libc.pot: Update.
918 2012-12-07  Richard Henderson  <rth@redhat.com>
920         [BZ #10114]
921         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
922         normal/normal case to before the switch.
923         (_FP_DIV): Likewise.
925 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
926             Mike Frysinger  <vapier@gentoo.org>
928         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
929         check for __NR_fadvise64_64.
931 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
933         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
934         0, not just to plain "0" as a statement.
935         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
936         with cw.
938 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
940         * NEWS: Use sourceware.org in Bugzilla URL.
942 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
945         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
947         * stdio-common/tst-put-error.c (do_test): Add newline to the
948         padded test to ensure flush.
950 2012-12-05  Jeff Law  <law@redhat.com>
952         * sunrpc/etc.rpc (fedfs_admin): Add entry.
954 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
956         * README: Don't refer to ports add-on as distributed separately.
957         Mention AArch64 in list of systems supported in the ports add-on.
959         * LICENSES: Add more non-FSF copyright and license notices.
961         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
962         ((unused)).
964         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
966         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
967         10000 as width of padded output.
969 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
971         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
973         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
974         variable LX with __attribute__ ((unused)).
975         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
976         Likewise.
977         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
978         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
979         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
980         with __attribute__ ((unused)).
982 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
984         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
986 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
988         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
989         (CFLAGS-nldbl-acos.c): New variable.
990         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
991         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
992         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
993         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
994         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
995         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
996         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
997         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
998         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
999         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
1000         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
1001         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
1002         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
1003         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
1004         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
1005         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
1006         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
1007         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
1008         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
1009         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
1010         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
1011         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
1012         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
1013         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
1014         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
1015         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
1016         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
1017         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
1018         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
1019         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
1020         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
1021         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
1022         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
1023         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
1024         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
1025         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
1026         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
1027         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
1028         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
1029         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
1030         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
1031         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
1032         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
1033         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
1034         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
1035         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
1036         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
1037         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
1038         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
1039         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
1040         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
1041         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
1042         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
1043         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
1044         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
1045         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
1046         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
1047         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
1048         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
1049         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
1050         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
1051         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
1052         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
1053         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
1054         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
1055         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
1056         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
1057         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
1058         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
1059         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
1060         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
1061         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
1062         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
1063         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
1064         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
1065         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
1066         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
1067         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
1068         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
1069         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
1070         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
1071         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
1072         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
1073         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
1074         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
1075         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
1076         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
1077         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
1078         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
1079         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
1080         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
1081         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
1082         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
1083         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
1084         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
1085         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
1086         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
1088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1089         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
1091         [BZ #14914]
1092         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
1093         whole low double instead of just low 47 bits when splitting values
1094         into two parts.
1096 2012-12-03  Allan McRae  <allan@archlinux.org>
1098         * manual/stdio.texi (Predefined Printf Handlers): Remove
1099         @hsep and @vsep usage.
1101 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
1103         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
1104         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
1106 2012-12-03  Jeff Law  <law@redhat.com>
1108         * time/sys/time.h (settimeofday): Do not mark TV argument
1109         as __nonnull.
1111 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
1113         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
1114         when currently writing and seek to current position when not.
1115         * libio/Makefile (tests): Remove bug-fclose1.
1116         * libio/bug-fclose1.c: Delete.
1118 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
1120         * manual/arith.texi (feenableexcept): Fix typo.
1121         (fedisableexcept): Likewise.
1123 2012-11-30  Roland McGrath  <roland@hack.frob.com>
1125         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
1126         second, differently-typed declaration, rather than a cast.
1128 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
1130         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
1131         * include/rpc/svc.h: ... here.
1133 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
1135         [BZ #13013]
1136         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
1137         depending n and resplen2 to catch cases where answer
1138         equals answerp2.
1140 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
1142         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
1143         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
1145 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
1147         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
1149 2012-11-29  Roland McGrath  <roland@hack.frob.com>
1151         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
1153 2012-11-28  Jeff Law  <law@redhat.com>
1155         [BZ #13761]
1156         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
1157         dataset_temporary.  Track alloca usage into alloca_used.
1158         If dataset is large allocate and release it via malloc/free.
1160 2012-06-04  Florian Weimer  <fweimer@redhat.com>
1162         [BZ #14197]
1163         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
1165 2012-11-28  David S. Miller  <davem@davemloft.net>
1167         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1169 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
1171         [BZ #14803]
1172         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
1173         of pi/2 rounded to nearest to 64 bits.
1174         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
1175         nearest to 64 bits.
1176         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
1177         bits.
1179 2012-11-28  Jeff Law <law@redhat.com>
1180             Martin Osvald <mosvald@redhat.com>
1182         [BZ #14889]
1183         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
1184         * sunrpc/svc.c: Include time.h.
1185         (__svc_accept_failed): New function.
1186         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
1187         any reason other than EINTR, call __svc_accept_failed.
1188         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
1189         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
1191 2012-11-28  Andreas Schwab  <schwab@suse.de>
1193         * scripts/abilist.awk: Also handle indirect functions in .opd
1194         section.
1196 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
1198         [BZ #13881]
1199         * sysdeps/x86/fpu/powl_helper.c: New file.
1200         * sysdeps/x86/fpu/Makefile: Likewise.
1201         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
1202         (p3): New object.
1203         (__ieee754_powl): Use __powl_helper for finite arguments except
1204         integer exponents below 8.
1205         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
1206         (p3): New object.
1207         (__ieee754_powl): Use __powl_helper for finite arguments except
1208         integer exponents below 8.
1209         * math/libm-test.inc (pow_test): Add more tests and enable some
1210         previously disabled tests.
1211         * sysdeps/i386/fpu/libm-test-ulps: Update.
1212         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1214 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
1215             Carlos O'Donell  <carlos_odonell@mentor.com>
1217         * nss/makedb.c (is_prime): Assert that input is odd and greater
1218         than 4.  Note that fact in a comment too.
1219         (next_prime): Add 4 to input.
1221 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
1223         [BZ #11741]
1224         * libio/Makefile (tests): Add test case tst-fwrite-error.
1225         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
1226         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
1227         * libio/tst-fwrite-error.c: New test case.
1229 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
1231         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
1232         before casting to void *.
1233         * include/libc-internal.h (__pointer_type): New macro.
1234         (__integer_if_pointer_type_sub): Likewise.
1235         (__integer_if_pointer_type): Likewise.
1236         (cast_to_integer): Likewise.
1237         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
1238         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
1239         before casting to atomic64_t.
1240         (atomic_exchange_acq): Likewise.
1241         (__arch_exchange_and_add_body): Likewise.
1242         (__arch_add_body): Likewise.
1243         (atomic_add_negative): Likewise.
1244         (atomic_add_zero): Likewise.
1246 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
1248         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
1249         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
1250         (add_fdes): Likewise.
1251         (linear_search_fdes): Likewise.
1252         (binary_search_unencoded_fdes): Likewise.
1254 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
1256         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
1258 2012-11-24  Adam Conrad  <adconrad@0c3.net>
1260         * configure.in: Autodetect C++ header directories.
1261         * configure: Regenerated.
1263 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
1265         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
1267 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
1269         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1271 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
1273         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
1274         LDBL_MANT_DIG == 106]: Disable some tests.
1275         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
1276         Likewise.
1277         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
1278         Likewise.
1280         [BZ #14871]
1281         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
1282         input for small inputs.  Return +/- pi/2 for large inputs.
1283         * math/libm-test.inc (atan_test): Add more tests.
1285         * sysdeps/generic/unwind-dw2-fde-glibc.c
1286         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
1287         __attribute__ ((unused)).
1289         [BZ #14645]
1290         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
1291         x * y if x and y are nonzero and z is zero.
1293         [BZ #14811]
1294         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
1295         nonzero exponents with absolute value below 0x1p-117 to +/-
1296         0x1p-117.
1298         [BZ #14869]
1299         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
1300         up arguments below 2**-450, not just those below 2**-500.
1301         * math/libm-test.inc (hypot_test): Add another test.
1303         [BZ #14868]
1304         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
1305         Return a+b for ratio over 2**120, not 2**60.
1306         * math/libm-test.inc (hypot_test): Add another test.
1308         * math/libm-test.inc (clog_test): Use
1309         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
1310         (clog10_test): Likewise.
1312         [BZ #6778]
1313         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
1315 2012-11-22  Andreas Schwab  <schwab@suse.de>
1317         * sysdeps/i386/fpu/libm-test-ulps: Update.
1319 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
1321         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
1322         printf output with newline.
1324 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
1326         [BZ #14865]
1327         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
1328         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
1329         -z nodlopen, -z initfirst and -z execstack support.
1330         * configure: Regenerated.
1332         * elf/elf.h (DF_1_NODIRECT): New macro.
1333         (DF_1_IGNMULDEF): Likewise.
1334         (DF_1_NOKSYMS): Likewise.
1335         (DF_1_NOHDR): Likewise.
1336         (DF_1_EDITED): Likewise.
1337         (DF_1_NORELOC): Likewise.
1338         (DF_1_SYMINTPOSE): Likewise.
1339         (DF_1_GLOBAUDIT): Likewise.
1340         (DF_1_SINGLETON): Likewise.
1341         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
1342         DT_1_SUPPORTED_MASK bits.
1343         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
1345 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
1347         * sysdeps/unix/make-syscalls.sh: Document prefixes.
1349 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
1351         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
1352         macro.
1354         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
1355         (sendmmsg): Move declarations...
1356         * socket/sys/socket.h: ... here.
1357         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
1358         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
1359         include it from...
1360         * socket/recvmmsg.c: ... this new file.
1361         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
1362         (sendmmsg): Rename to __sendmmsg, create weak alias and make
1363         definition of __sendmmsg hidden.
1364         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
1365         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
1366         Move ENOSYS stub into and include it from...
1367         * socket/sendmmsg.c: ... this new file.
1368         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
1369         (sysdep_routines): Move recvmmsg and sendmmsg...
1370         * socket/Makefile (routines): ... here.
1371         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
1372         (GLIBC_PRIVATE): Add __sendmmsg.
1373         * include/sys/socket.h (__sendmmsg): Add declarations.
1374         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
1375         sendmmsg.
1377 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
1379         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
1380         variable I1 with __attribute__ ((unused)).
1381         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
1383 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
1385         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
1386         DUMMY variables with __attribute__ ((unused)).
1388         * bits/byteswap.h: Include <bits/types.h>.
1389         (__bswap_64): Use __uint64_t instead of unsigned long long int.
1391 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
1393         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
1394         string_t.  Do not manually set errno.
1395         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
1396         length with __strnlen.  Make sure to both set errno and return it on
1397         failure.
1399 2012-11-19  David S. Miller  <davem@davemloft.net>
1401         With help from Joseph Myers.
1402         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
1403         very large arguments properly.
1404         * math/libm-test.inc (atan_test): New tests.
1405         (atan2_test): New tests.
1406         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1407         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1409 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
1411         [BZ #14856]
1412         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
1413         Define to 3.
1415         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
1416         [POSIX] (EADDRNOTAVAIL): Likewise.
1417         [POSIX] (EAFNOSUPPORT): Likewise.
1418         [POSIX] (EALREADY): Likewise.
1419         [POSIX] (ECONNABORTED): Likewise.
1420         [POSIX] (ECONNREFUSED): Likewise.
1421         [POSIX] (ECONNRESET): Likewise.
1422         [POSIX] (EDESTADDRREQ): Likewise.
1423         [POSIX] (EDQUOT): Likewise.
1424         [POSIX] (EHOSTUNREACH): Likewise.
1425         [POSIX] (EIDRM): Likewise.
1426         [POSIX] (EISCONN): Likewise.
1427         [POSIX] (ELOOP): Likewise.
1428         [POSIX] (EMULTIHOP): Likewise.
1429         [POSIX] (ENETDOWN): Likewise.
1430         [POSIX] (ENETUNREACH): Likewise.
1431         [POSIX] (ENOBUFS): Likewise.
1432         [POSIX] (ENODATA): Likewise.
1433         [POSIX] (ENOLINK): Likewise.
1434         [POSIX] (ENOMSG): Likewise.
1435         [POSIX] (ENOPROTOOPT): Likewise.
1436         [POSIX] (ENOSR): Likewise.
1437         [POSIX] (ENOSTR): Likewise.
1438         [POSIX] (ENOTCONN): Likewise.
1439         [POSIX] (ENOTSOCK): Likewise.
1440         [POSIX] (EOPNOTSUPP): Likewise.
1441         [POSIX] (EOVERFLOW): Likewise.
1442         [POSIX] (EPROTO): Likewise.
1443         [POSIX] (EPROTONOSUPPORT): Likewise.
1444         [POSIX] (EPROTOTYPE): Likewise.
1445         [POSIX] (ESTALE): Likewise.
1446         [POSIX] (ETIME): Likewise.
1447         [POSIX] (ETXTBSY): Likewise.
1448         [POSIX] (EWOULDBLOCK): Likewise.
1449         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
1450         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
1451         [POSIX] (SEEK_CUR): Likewise.
1452         [POSIX] (SEEK_END): Likewise.
1453         [POSIX || UNIX98] (mode_t): Do not require.
1454         [POSIX] (off_t): Likewise.
1455         [POSIX] (pid_t): Likewise.
1456         [POSIX] (sys/stat.h): Do not allow header.
1457         [POSIX] (unistd.h): Likewise.
1458         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
1459         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
1460         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
1461         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
1462         require.
1463         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
1464         sigevent): Specify elements.
1465         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
1466         entry.
1467         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
1468         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
1470         * conform/data/cpio.h-data [POSIX]: Disable whole file.
1471         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
1472         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
1473         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
1474         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
1475         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
1476         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
1477         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
1478         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
1479         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
1480         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
1481         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
1482         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
1483         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
1484         Likewise.
1485         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
1486         Likewise.
1487         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
1488         Likewise.
1489         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
1490         Likewise.
1491         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
1492         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
1493         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
1494         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
1495         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
1496         Specify lower bound on value.
1497         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
1498         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
1499         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
1500         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
1501         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
1502         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
1503         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
1504         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
1505         value.
1506         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
1507         as optional.
1508         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
1509         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
1510         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
1511         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
1512         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
1513         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
1514         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
1515         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
1516         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
1517         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
1518         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
1519         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
1520         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
1521         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
1522         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
1523         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
1524         entry.
1525         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
1526         optional.
1527         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
1528         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
1529         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
1530         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
1531         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
1532         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
1533         Likewise.
1534         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
1535         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
1536         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
1537         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
1538         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
1539         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
1540         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
1541         as optional.
1542         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
1543         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
1544         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
1545         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
1546         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
1547         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
1548         specify as optional.
1549         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
1550         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
1551         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
1552         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
1553         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
1554         [XPG3] (NL_LANGMAX): Likewise.
1555         [POSIX || XPG3] (NL_MSGMAX): Likewise.
1556         [POSIX || XPG3] (NL_NMAX): Likewise.
1557         [POSIX || XPG3] (NL_SETMAX): Likewise.
1558         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
1559         [XPG3] (NZERO): Likewise.
1560         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
1561         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
1562         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
1563         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
1564         (REG_ERANGE): Expect.
1565         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
1566         optional-constant.
1567         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
1568         Use (void) in prototype.
1569         [POSIX] (*_t): Allow.
1570         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
1571         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
1572         (WRDE_BADVAL): Expect.
1574         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
1575         expect.
1576         [XPG3 || XPG4] (O_RSYNC): Likewise.
1577         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
1578         Likewise.
1579         [XPG3 || XPG4] (pthread_sigmask): Likewise.
1580         [XPG3 || XPG4] (sigqueue): Likewise.
1581         [XPG3 || XPG4] (sigtimedwait): Likewise.
1582         [XPG3 || XPG4] (sigwaitinfo): Likewise.
1583         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
1584         [XPG3 || XPG4] (vsnprintf): Likewise.
1585         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
1586         Likewise.
1587         [XPG3 || XPG4] (blksize_t): Likewise.
1588         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
1589         Likewise.
1590         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
1591         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
1592         [XPG3 || XPG4] (struct itimerspec): Likewise.
1593         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
1594         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
1595         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
1596         [XPG3 || XPG4] (clockid_t): Likewise.
1597         [XPG3 || XPG4] (timer_t): Likewise.
1598         [XPG3 || XPG4] (clock_getres): Likewise.
1599         [XPG3 || XPG4] (clock_gettime): Likewise.
1600         [XPG3 || XPG4] (clock_settime): Likewise.
1601         [XPG3 || XPG4] (nanosleep): Likewise.
1602         [XPG3 || XPG4] (timer_create): Likewise.
1603         [XPG3 || XPG4] (timer_delete): Likewise.
1604         [XPG3 || XPG4] (timer_gettime): Likewise.
1605         [XPG3 || XPG4] (timer_getoverrun): Likewise.
1606         [XPG3 || XPG4] (timer_settime): Likewise.
1607         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
1608         [XPG3 || XPG4] (getlogin_r): Likewise.
1609         [XPG3 || XPG4] (pread): Likewise.
1610         [XPG3 || XPG4] (pthread_atfork): Likewise.
1611         [XPG3 || XPG4] (pwrite): Likewise.
1613         [BZ #14835]
1614         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
1615         <bits/siginfo.h>.
1617 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
1619         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
1620         finalizing MALLSTREAM.
1622         * sysdeps/mach/hurd/syncfs.c: New file.
1624 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
1626         [BZ #14719]
1627         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
1628         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
1629         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
1630         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
1631         (_nss_dns_gethostbyname4_r): Likewise.
1632         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
1633         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
1635 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
1637         [BZ #13763]
1638         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
1640 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
1642         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
1643         * elf/cache.c (print_entry): Print ",AArch64" for
1644         FLAG_AARCH64_LIB64
1646         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
1647         * elf/cache.c (print_entry): Print ",hard-float" for
1648         FLAG_ARM_LIBHF.
1650 2012-11-18  David S. Miller  <davem@davemloft.net>
1652         With help from Joseph Myers.
1653         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
1654         cutoff to 2**-13.
1655         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
1656         cutoff to 2**-25.
1657         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
1658         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
1659         small.
1660         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
1661         * math/libm-test.inc (y0_test): New tests.
1662         (y1_test): New tests.
1663         * sysdeps/i386/fpu/libm-test-ulps: Update.
1664         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1665         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1667 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
1669         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
1670         64-bit targets.
1671         * configure: Regenerated.
1673 2012-11-17  David S. Miller  <davem@davemloft.net>
1675         [BZ #14811]
1676         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
1677         nonzero exponents with absolute value below 0x1p-128 to +/-
1678         0x1p-128.
1680 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
1682         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
1684         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
1686         * posix/getconf-speclist.c: New file.
1687         * posix/posix-envs.def: Likewise.
1688         * posix/confstr.c (START_ENV_GROUP): New macro.
1689         (END_ENV_GROUP): Likewise.
1690         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
1691         (KNOWN_PRESENT_ENV_STRING): Likewise.
1692         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
1693         (UNKNOWN_ENVIRONMENT): Likewise.
1694         (confstr): Include posix-envs.def instead of handling
1695         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
1696         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
1697         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
1698         (END_ENV_GROUP): Likewise.
1699         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
1700         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
1701         (UNKNOWN_ENVIRONMENT): Likewise.
1702         (__sysconf): Include posix-envs.def instead of handling associated
1703         cases directly here.
1704         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
1705         preprocessing getconf-speclist.c rather than running getconf or
1706         generating empty file.
1708 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
1710         * scripts/check-local-headers.sh: Ignore 'mach' headers.
1712 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
1714         [BZ #14672]
1715         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
1717 2012-11-16  David S. Miller  <davem@davemloft.net>
1719         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
1720         smaller than LDBL_EPSILON/2.0L, just return xm1.
1722 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
1724         * elf/tst-array1.c (init): Set constructor priority to 1000.
1725         (fini): Set destructor priority to 1000.
1726         * elf/tst-array2dep.c: Likewise.
1728 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
1730         [BZ #11741]
1731         * libio/fileops.c (_IO_new_file_write): Correctly return error.
1732         (_IO_new_file_xsputn): Also return EOF if none of the input
1733         data was written when overflow failed.
1734         * libio/iopadn.c (_IO_padn): Likewise.
1735         * libio/iowpadn.c (_IO_wpadn): Likewise.
1736         * stdio-common/tst-put-error.c: Add copyright notice.
1737         (do_test): Add case for printing padded string.
1738         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
1739         _IO_padn returned error.
1740         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
1741         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
1742         return EOF.
1744 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
1746         * libio/libioP.h: Add comment note that the references to C++
1747         bits are now obsolete.
1749 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
1751         * math/libm-test.inc (check_complex): Use asprintf.
1753 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
1755         * debug/pcprofiledump.c (print_version): Update copyright year.
1756         * malloc/memusagestat.c (print_version): Likewise.
1758 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
1760         [BZ #14831]
1761         * elf/Makefile (tests): Add tst-audit8.
1762         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
1763         ($(objpfx)tst-audit8.out): New target.
1764         (tst-audit8-ENV): New variable.
1765         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
1766         audit if l_reloc_result is NULL.
1767         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
1768         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
1769         * elf/tst-audit8.c: New file.
1771 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
1773         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
1774         * misc/Makefile (CFLAGS-select.c): Define.
1775         * posix/Makefile (CFLAGS-pause.c): Define.
1777 2012-11-13  David S. Miller  <davem@davemloft.net>
1779         * crypt/Makefile: Move test targets after toplevel Rules
1780         inclusion.  Grab any necessary sysdep routines when linking.
1781         * crypt/md5.c (md5_process_block): Remove define, we will always
1782         name it __md5_process_block.
1783         (md5_finish_ctx): Update md5_process_block call.
1784         (md5_stream): Likewise.
1785         (md5_process_bytes): Likewise.
1786         (md5_process_block): Rename to __md5_process_block and move to ...
1787         * crypt/md5-block.c: ... here.
1788         * crypt/sha256.c (sha256_process_block): Move to ...
1789         * crypt/sha256-block.c: ... here.
1790         * crypt/sha512.c (sha512_process_block): Move to ...
1791         * crypt/sha512-block.c: ... here.
1792         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
1793         path.
1794         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
1795         * sysdeps/sparc/sparc64/multiarch/Makefile
1796         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
1797         crypt subdir.
1798         (localedef-aux): Add md5 crypto assembler when in locale subdir.
1799         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
1800         multiarch changes.
1801         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
1802         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
1803         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
1804         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
1805         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
1806         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
1807         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
1808         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
1809         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
1810         file.
1811         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
1812         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
1813         file.
1814         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
1816 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
1818         * timezone/tzselect.ksh: Update from tzcode git revision
1819         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
1820         * timezone/zdump.c: Likewise.
1821         * timezone/zic.c: Likewise.
1822         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
1823         in TZVERSION setting, not $(PKGVERSION).
1824         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
1825         REPORT_BUGS_TO settings.
1827         [BZ #14838]
1828         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
1829         macro.
1831 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
1833         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
1834         detection to immediately after _FP_ROUND().
1835         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
1836         bits are 0.
1838 2012-11-11  David S. Miller  <davem@davemloft.net>
1840         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
1841         inttypes.h
1842         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
1843         __close rather than their public counterparts.
1845 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
1847         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
1848         file.
1849         [UNIX98] (sem_timedwait): Do not expect.
1850         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
1851         [XPG4 || UNIX98] (sockatmark): Do not expect.
1852         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
1853         (clock_getcpuclockid): Do not expect.
1854         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
1855         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
1856         Do not expect.
1857         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
1858         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
1859         [UNIX98] (vwscanf): Likewise.
1860         [UNIX98] (vswscanf): Likewise.
1862 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
1864         * timezone/version.h: Remove file.
1865         * timezone/README: Do not refer to version.h.
1866         * timezone/Makefile ($(objpfx)zic.o): New dependency on
1867         $(objpfx)version.h.
1868         ($(objpfx)zdump.o): Likewise.
1869         ($(objpfx)version.h): New target.
1871         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
1872         2012i.
1873         * timezone/README: Don't mention modification to tzselect.ksh.
1874         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
1875         work on unmodified tzselect.ksh.  Substitute version numbers in
1876         tzselect.ksh.
1878         * Makefile (format-me): Remove.
1879         (INSTALL): Adjust indentation.  Use commands directly instead of
1880         using $(format-me).
1882         * aclocal.m4 (ACX_PKGVERSION): New macro.
1883         (ACX_BUGURL): Likewise.
1884         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
1885         (PKGVERSION): New AC_DEFINE_UNQUOTED.
1886         (REPORT_BUGS_TO): Likewise.
1887         * configure: Regenerated.
1888         * config.h.in (PKGVERSION): New macro.
1889         (REPORT_BUGS_TO): Likewise.
1890         * config.make.in (PKGVERSION): New variable.
1891         (PKGVERSION_TEXI): Likewise.
1892         (REPORT_BUGS_TO): Likewise.
1893         (REPORT_BUGS_TEXI): Likewise.
1894         * Makefile (format-me): Use -I$(common-objpfx)manual.
1895         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
1896         ($(common-objpfx)manual/%): New target.
1897         (manual/%): Remove target.
1898         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
1899         (print_version): Use PKGVERSION.
1900         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
1901         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
1902         and REPORT_BUGS_TO.
1903         ($(objpfx)xtrace): Likewise.
1904         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
1905         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
1906         (print_version): Use PKGVERSION.
1907         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
1908         (do_version): Use PKGVERSION.
1909         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
1910         REPORT_BUGS_TO.
1911         (common-ldd-rewrite): Likewise.
1912         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
1913         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
1914         (print_version): Use PKGVERSION.
1915         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
1916         * elf/pldd.c (argp_program_bug_address): Remove variable.
1917         (more_help): New function.
1918         (argp): Use more_help.
1919         (print_version): Use PKGVERSION.
1920         * elf/sln.c (main): Use PKGVERSION.
1921         (usage): Use REPORT_BUGS_TO.
1922         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
1923         (top level): Use PKGVERSION.
1924         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
1925         (print_version): Use PKGVERSION.
1926         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
1927         (print_version): Use PKGVERSION.
1928         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
1929         (print_version): Use PKGVERSION.
1930         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
1931         (print_version): Use PKGVERSION.
1932         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
1933         (print_version): Use PKGVERSION.
1934         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
1935         (print_version): Use PKGVERSION.
1936         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
1937         and BUGURL.
1938         ($(objpfx)memusage): Likewise.
1939         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
1940         (do_version): Use PKGVERSION.
1941         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
1942         (print_version): Use PKGVERSION.
1943         * malloc/mtrace.pl ($PACKAGE): Remove variable.
1944         ($PKGVERSION): New variable.
1945         ($REPORT_BUGS_TO): Likewise.
1946         (usage): Use $REPORT_BUGS_TO.
1947         (top level): Use $PKGVERSION.
1948         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
1949         ($(objpfx)pkgvers.texi): New rule.
1950         ($(objpfx)stamp-pkgvers): Likewise.
1951         * manual/install.texi: Include pkgvers.texi.
1952         (--with-pkgversion): Document new configure option.
1953         (--with-bugurl): Likewise.
1954         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
1955         than necessarily for this particular distribution.  Use
1956         REPORT_BUGS_TO for where to report bugs.
1957         * INSTALL: Regenerated.
1958         * manual/libc.texinfo: Include pkgvers.texi.
1959         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
1960         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
1961         (print_version): Use PKGVERSION.
1962         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
1963         (print_version): Use PKGVERSION.
1964         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
1965         (print_version): Use PKGVERSION.
1966         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
1967         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
1968         macro.
1969         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
1970         (print_version): Use PKGVERSION.
1971         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
1972         (print_version): Use PKGVERSION.
1973         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
1974         and PKGVERSION.
1976         * timezone/checktab.awk: Update from tzcode 2012i.
1977         * timezone/ialloc.c: Likewise.
1978         * timezone/private.h: Likewise.
1979         * timezone/scheck.c: Likewise.
1980         * timezone/tzfile.h: Likewise.
1981         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
1982         (TZVERSION): Hardcode tzcode version number.
1983         * timezone/zdump.c: Update from tzcode 2012i.
1984         * timezone/zic.c: Likewise.
1985         * timezone/version.h: New file.
1986         * timezone/README: Describe version.h.  Update upstream location.
1988         [BZ #14824]
1989         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
1990         (mktemp): Enable declaration.
1991         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
1992         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
1993         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
1994         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
1995         Likewise.
1996         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
1997         Likewise.
1998         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
1999         Likewise.
2000         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
2001         Likewise.
2002         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
2003         Likewise.
2004         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
2005         Likewise.
2007         [BZ #14821]
2008         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
2009         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
2010         for copies of such integer values.
2011         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
2012         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
2014 2012-11-09  Andreas Jaeger  <aj@suse.de>
2016         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
2017         definitions and declarations that are provided by
2018         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
2020 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2022         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
2023         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
2024         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
2025         definition.
2027 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
2029         * elf/elf.h: Update comment before AArch64 relocations.
2031 2012-11-07  David S. Miller  <davem@davemloft.net>
2033         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
2034         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
2035         (__start_context): Declare.
2036         (__makecontext_ret): Delete.
2037         (__makecontext): Hook up __start_context instead of
2038         __makecontext_ret.
2039         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
2040         (sysdep_routines): Add __start_context when in stdlib.
2042 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
2044         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
2045         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
2046         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
2047         hardcoded "nm".
2048         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
2049         (READELF): New variable.  Use it instead of hardcoded "readelf".
2051 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
2053         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
2054         * sysdeps/x86/Makefile: Here.
2055         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
2056         * sysdeps/x86/tst-xmmymm.sh: This.
2058 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
2060         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
2061         expectations.
2062         [UNIX98] (pthread_barrier_t): Do not expect.
2063         [UNIX98] (pthread_barrierattr_t): Likewise.
2064         [UNIX98] (pthread_spinlock_t): Likewise.
2065         [UNIX98] (pthread_barrier_destroy): Likewise.
2066         [UNIX98] (pthread_barrier_init): Likewise.
2067         [UNIX98] (pthread_barrier_wait): Likewise.
2068         [UNIX98] (pthread_barrierattr_destroy): Likewise.
2069         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
2070         [UNIX98] (pthread_barrierattr_init): Likewise.
2071         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
2072         [UNIX98] (pthread_getcpuclockid): Likewise.
2073         [UNIX98] (pthread_mutex_timedlock): Likewise.
2074         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
2075         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
2076         [UNIX98] (pthread_sigmask): Likewise.
2077         [UNIX98] (pthread_spin_destroy): Likewise.
2078         [UNIX98] (pthread_spin_init): Likewise.
2079         [UNIX98] (pthread_spin_lock): Likewise.
2080         [UNIX98] (pthread_spin_trylock): Likewise.
2081         [UNIX98] (pthread_spin_unlock): Likewise.
2082         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
2083         Do not expect.
2084         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
2085         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
2086         [XPG3 || XPG4] (pthread_cond_t): Likewise.
2087         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
2088         [XPG3 || XPG4] (pthread_key_t): Likewise.
2089         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
2090         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
2091         [XPG3 || XPG4] (pthread_once_t): Likewise.
2092         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
2093         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
2094         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
2095         [XPG3 || XPG4] (pthread_t): Likewise.
2097         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
2098         not expect.
2099         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
2101         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
2102         Change function return type to int.
2104         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
2105         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
2106         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
2107         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
2108         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
2109         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
2110         [!POSIX] (posix_madvise): Likewise.
2111         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
2112         && !UNIX98].
2113         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
2114         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
2115         (mode_t): Likewise.
2116         (posix_mem_offset): Likewise.
2117         (posix_typed_mem_get_info): Likewise.
2118         (posix_typed_mem_open): Likewise.
2120         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
2121         Change condition to [XOPEN2K8].
2123         * conform/conformtest.pl: Preprocess allow-header data with -x c
2124         instead of from stdin.
2125         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
2126         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
2127         [C99-based standards] (cerfc): Likewise.
2128         [C99-based standards] (cexp2): Likewise.
2129         [C99-based standards] (cexpm1): Likewise.
2130         [C99-based standards] (clog10): Likewise.
2131         [C99-based standards] (clog1p): Likewise.
2132         [C99-based standards] (clog2): Likewise.
2133         [C99-based standards] (clgamma): Likewise.
2134         [C99-based standards] (ctgamma): Likewise.
2135         [C99-based standards] (cerff): Likewise.
2136         [C99-based standards] (cerfcf): Likewise.
2137         [C99-based standards] (cexp2f): Likewise.
2138         [C99-based standards] (cexpm1f): Likewise.
2139         [C99-based standards] (clog10f): Likewise.
2140         [C99-based standards] (clog1pf): Likewise.
2141         [C99-based standards] (clog2f): Likewise.
2142         [C99-based standards] (clgammaf): Likewise.
2143         [C99-based standards] (ctgammaf): Likewise.
2144         [C99-based standards] (cerfl): Likewise.
2145         [C99-based standards] (cerfcl): Likewise.
2146         [C99-based standards] (cexp2l): Likewise.
2147         [C99-based standards] (cexpm1l): Likewise.
2148         [C99-based standards] (clog10l): Likewise.
2149         [C99-based standards] (clog1pl): Likewise.
2150         [C99-based standards] (clog2l): Likewise.
2151         [C99-based standards] (clgammal): Likewise.
2152         [C99-based standards] (ctgammal): Likewise.
2153         * conform/data/inttypes.h-data [C99-based standards]: Include
2154         stdint.h-data.  Remove all expectations for stdint.h contents.
2155         [C99-based standards] (PRI*): Do not allow.
2156         [C99-based standards] (SCN*): Likewise.
2157         [C99-based standards] (*_t): Likewise.
2158         [C99-based-standards] (PRId8): Expect macro.
2159         [C99-based-standards] (PRIi8): Likewise.
2160         [C99-based-standards] (PRIo8): Likewise.
2161         [C99-based-standards] (PRIu8): Likewise.
2162         [C99-based-standards] (PRIx8): Likewise.
2163         [C99-based-standards] (PRIX8): Likewise.
2164         [C99-based-standards] (SCNd8): Likewise.
2165         [C99-based-standards] (SCNi8): Likewise.
2166         [C99-based-standards] (SCNo8): Likewise.
2167         [C99-based-standards] (SCNu8): Likewise.
2168         [C99-based-standards] (SCNx8): Likewise.
2169         [C99-based-standards] (PRIdLEAST8): Likewise.
2170         [C99-based-standards] (PRIiLEAST8): Likewise.
2171         [C99-based-standards] (PRIoLEAST8): Likewise.
2172         [C99-based-standards] (PRIuLEAST8): Likewise.
2173         [C99-based-standards] (PRIxLEAST8): Likewise.
2174         [C99-based-standards] (PRIXLEAST8): Likewise.
2175         [C99-based-standards] (SCNdLEAST8): Likewise.
2176         [C99-based-standards] (SCNiLEAST8): Likewise.
2177         [C99-based-standards] (SCNoLEAST8): Likewise.
2178         [C99-based-standards] (SCNuLEAST8): Likewise.
2179         [C99-based-standards] (SCNxLEAST8): Likewise.
2180         [C99-based-standards] (PRIdFAST8): Likewise.
2181         [C99-based-standards] (PRIiFAST8): Likewise.
2182         [C99-based-standards] (PRIoFAST8): Likewise.
2183         [C99-based-standards] (PRIuFAST8): Likewise.
2184         [C99-based-standards] (PRIxFAST8): Likewise.
2185         [C99-based-standards] (PRIXFAST8): Likewise.
2186         [C99-based-standards] (SCNdFAST8): Likewise.
2187         [C99-based-standards] (SCNiFAST8): Likewise.
2188         [C99-based-standards] (SCNoFAST8): Likewise.
2189         [C99-based-standards] (SCNuFAST8): Likewise.
2190         [C99-based-standards] (SCNxFAST8): Likewise.
2191         [C99-based-standards] (PRId16): Likewise.
2192         [C99-based-standards] (PRIi16): Likewise.
2193         [C99-based-standards] (PRIo16): Likewise.
2194         [C99-based-standards] (PRIu16): Likewise.
2195         [C99-based-standards] (PRIx16): Likewise.
2196         [C99-based-standards] (PRIX16): Likewise.
2197         [C99-based-standards] (SCNd16): Likewise.
2198         [C99-based-standards] (SCNi16): Likewise.
2199         [C99-based-standards] (SCNo16): Likewise.
2200         [C99-based-standards] (SCNu16): Likewise.
2201         [C99-based-standards] (SCNx16): Likewise.
2202         [C99-based-standards] (PRIdLEAST16): Likewise.
2203         [C99-based-standards] (PRIiLEAST16): Likewise.
2204         [C99-based-standards] (PRIoLEAST16): Likewise.
2205         [C99-based-standards] (PRIuLEAST16): Likewise.
2206         [C99-based-standards] (PRIxLEAST16): Likewise.
2207         [C99-based-standards] (PRIXLEAST16): Likewise.
2208         [C99-based-standards] (SCNdLEAST16): Likewise.
2209         [C99-based-standards] (SCNiLEAST16): Likewise.
2210         [C99-based-standards] (SCNoLEAST16): Likewise.
2211         [C99-based-standards] (SCNuLEAST16): Likewise.
2212         [C99-based-standards] (SCNxLEAST16): Likewise.
2213         [C99-based-standards] (PRIdFAST16): Likewise.
2214         [C99-based-standards] (PRIiFAST16): Likewise.
2215         [C99-based-standards] (PRIoFAST16): Likewise.
2216         [C99-based-standards] (PRIuFAST16): Likewise.
2217         [C99-based-standards] (PRIxFAST16): Likewise.
2218         [C99-based-standards] (PRIXFAST16): Likewise.
2219         [C99-based-standards] (SCNdFAST16): Likewise.
2220         [C99-based-standards] (SCNiFAST16): Likewise.
2221         [C99-based-standards] (SCNoFAST16): Likewise.
2222         [C99-based-standards] (SCNuFAST16): Likewise.
2223         [C99-based-standards] (SCNxFAST16): Likewise.
2224         [C99-based-standards] (PRId32): Likewise.
2225         [C99-based-standards] (PRIi32): Likewise.
2226         [C99-based-standards] (PRIo32): Likewise.
2227         [C99-based-standards] (PRIu32): Likewise.
2228         [C99-based-standards] (PRIx32): Likewise.
2229         [C99-based-standards] (PRIX32): Likewise.
2230         [C99-based-standards] (SCNd32): Likewise.
2231         [C99-based-standards] (SCNi32): Likewise.
2232         [C99-based-standards] (SCNo32): Likewise.
2233         [C99-based-standards] (SCNu32): Likewise.
2234         [C99-based-standards] (SCNx32): Likewise.
2235         [C99-based-standards] (PRIdLEAST32): Likewise.
2236         [C99-based-standards] (PRIiLEAST32): Likewise.
2237         [C99-based-standards] (PRIoLEAST32): Likewise.
2238         [C99-based-standards] (PRIuLEAST32): Likewise.
2239         [C99-based-standards] (PRIxLEAST32): Likewise.
2240         [C99-based-standards] (PRIXLEAST32): Likewise.
2241         [C99-based-standards] (SCNdLEAST32): Likewise.
2242         [C99-based-standards] (SCNiLEAST32): Likewise.
2243         [C99-based-standards] (SCNoLEAST32): Likewise.
2244         [C99-based-standards] (SCNuLEAST32): Likewise.
2245         [C99-based-standards] (SCNxLEAST32): Likewise.
2246         [C99-based-standards] (PRIdFAST32): Likewise.
2247         [C99-based-standards] (PRIiFAST32): Likewise.
2248         [C99-based-standards] (PRIoFAST32): Likewise.
2249         [C99-based-standards] (PRIuFAST32): Likewise.
2250         [C99-based-standards] (PRIxFAST32): Likewise.
2251         [C99-based-standards] (PRIXFAST32): Likewise.
2252         [C99-based-standards] (SCNdFAST32): Likewise.
2253         [C99-based-standards] (SCNiFAST32): Likewise.
2254         [C99-based-standards] (SCNoFAST32): Likewise.
2255         [C99-based-standards] (SCNuFAST32): Likewise.
2256         [C99-based-standards] (SCNxFAST32): Likewise.
2257         [C99-based-standards] (PRId64): Likewise.
2258         [C99-based-standards] (PRIi64): Likewise.
2259         [C99-based-standards] (PRIo64): Likewise.
2260         [C99-based-standards] (PRIu64): Likewise.
2261         [C99-based-standards] (PRIx64): Likewise.
2262         [C99-based-standards] (PRIX64): Likewise.
2263         [C99-based-standards] (SCNd64): Likewise.
2264         [C99-based-standards] (SCNi64): Likewise.
2265         [C99-based-standards] (SCNo64): Likewise.
2266         [C99-based-standards] (SCNu64): Likewise.
2267         [C99-based-standards] (SCNx64): Likewise.
2268         [C99-based-standards] (PRIdLEAST64): Likewise.
2269         [C99-based-standards] (PRIiLEAST64): Likewise.
2270         [C99-based-standards] (PRIoLEAST64): Likewise.
2271         [C99-based-standards] (PRIuLEAST64): Likewise.
2272         [C99-based-standards] (PRIxLEAST64): Likewise.
2273         [C99-based-standards] (PRIXLEAST64): Likewise.
2274         [C99-based-standards] (SCNdLEAST64): Likewise.
2275         [C99-based-standards] (SCNiLEAST64): Likewise.
2276         [C99-based-standards] (SCNoLEAST64): Likewise.
2277         [C99-based-standards] (SCNuLEAST64): Likewise.
2278         [C99-based-standards] (SCNxLEAST64): Likewise.
2279         [C99-based-standards] (PRIdFAST64): Likewise.
2280         [C99-based-standards] (PRIiFAST64): Likewise.
2281         [C99-based-standards] (PRIoFAST64): Likewise.
2282         [C99-based-standards] (PRIuFAST64): Likewise.
2283         [C99-based-standards] (PRIxFAST64): Likewise.
2284         [C99-based-standards] (PRIXFAST64): Likewise.
2285         [C99-based-standards] (SCNdFAST64): Likewise.
2286         [C99-based-standards] (SCNiFAST64): Likewise.
2287         [C99-based-standards] (SCNoFAST64): Likewise.
2288         [C99-based-standards] (SCNuFAST64): Likewise.
2289         [C99-based-standards] (SCNxFAST64): Likewise.
2290         [C99-based-standards] (PRIdMAX): Likewise.
2291         [C99-based-standards] (PRIiMAX): Likewise.
2292         [C99-based-standards] (PRIoMAX): Likewise.
2293         [C99-based-standards] (PRIuMAX): Likewise.
2294         [C99-based-standards] (PRIxMAX): Likewise.
2295         [C99-based-standards] (PRIXMAX): Likewise.
2296         [C99-based-standards] (SCNdMAX): Likewise.
2297         [C99-based-standards] (SCNiMAX): Likewise.
2298         [C99-based-standards] (SCNoMAX): Likewise.
2299         [C99-based-standards] (SCNuMAX): Likewise.
2300         [C99-based-standards] (SCNxMAX): Likewise.
2301         [C99-based-standards] (PRIdPTR): Likewise.
2302         [C99-based-standards] (PRIiPTR): Likewise.
2303         [C99-based-standards] (PRIoPTR): Likewise.
2304         [C99-based-standards] (PRIuPTR): Likewise.
2305         [C99-based-standards] (PRIxPTR): Likewise.
2306         [C99-based-standards] (PRIXPTR): Likewise.
2307         [C99-based-standards] (SCNdPTR): Likewise.
2308         [C99-based-standards] (SCNiPTR): Likewise.
2309         [C99-based-standards] (SCNoPTR): Likewise.
2310         [C99-based-standards] (SCNuPTR): Likewise.
2311         [C99-based-standards] (SCNxPTR): Likewise.
2312         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
2313         allow.
2314         * conform/data/stdint.h-data: Update comments to clarify
2315         requirements.
2316         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
2317         type.
2318         [C99-based standards] (INT8_MAX): Likewise.
2319         [C99-based standards] (INT16_MIN): Likewise.
2320         [C99-based standards] (INT16_MAX): Likewise.
2321         [C99-based standards] (INT32_MIN): Likewise.
2322         [C99-based standards] (INT32_MAX): Likewise.
2323         [C99-based standards] (INT64_MIN): Likewise.
2324         [C99-based standards] (INT64_MAX): Likewise.
2325         [C99-based standards] (UINT8_MAX): Likewise.
2326         [C99-based standards] (UINT16_MAX): Likewise.
2327         [C99-based standards] (UINT32_MAX): Likewise.
2328         [C99-based standards] (UINT64_MAX): Likewise.
2329         [C99-based standards] (INT_LEAST8_MIN): Likewise.
2330         [C99-based standards] (INT_LEAST8_MAX): Likewise.
2331         [C99-based standards] (INT_LEAST16_MIN): Likewise.
2332         [C99-based standards] (INT_LEAST16_MAX): Likewise.
2333         [C99-based standards] (INT_LEAST32_MIN): Likewise.
2334         [C99-based standards] (INT_LEAST32_MAX): Likewise.
2335         [C99-based standards] (INT_LEAST64_MIN): Likewise.
2336         [C99-based standards] (INT_LEAST64_MAX): Likewise.
2337         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
2338         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
2339         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
2340         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
2341         [C99-based standards] (INT_FAST8_MIN): Likewise.
2342         [C99-based standards] (INT_FAST8_MAX): Likewise.
2343         [C99-based standards] (INT_FAST16_MIN): Likewise.
2344         [C99-based standards] (INT_FAST16_MAX): Likewise.
2345         [C99-based standards] (INT_FAST32_MIN): Likewise.
2346         [C99-based standards] (INT_FAST32_MAX): Likewise.
2347         [C99-based standards] (INT_FAST64_MIN): Likewise.
2348         [C99-based standards] (INT_FAST64_MAX): Likewise.
2349         [C99-based standards] (UINT_FAST8_MAX): Likewise.
2350         [C99-based standards] (UINT_FAST16_MAX): Likewise.
2351         [C99-based standards] (UINT_FAST32_MAX): Likewise.
2352         [C99-based standards] (UINT_FAST64_MAX): Likewise.
2353         [C99-based standards] (INTPTR_MIN): Likewise.
2354         [C99-based standards] (INTPTR_MAX): Likewise.
2355         [C99-based standards] (UINTPTR_MAX): Likewise.
2356         [C99-based standards] (INTMAX_MIN): Likewise.
2357         [C99-based standards] (INTMAX_MAX): Likewise.
2358         [C99-based standards] (UINTMAX_MAX): Likewise.
2359         [C99-based standards] (PTRDIFF_MIN): Likewise.
2360         [C99-based standards] (PTRDIFF_MAX): Likewise.
2361         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
2362         [C99-based standards] (SIZE_MAX): Likewise.
2363         [C99-based standards] (WCHAR_MAX): Likewise.
2364         [C99-based standards] (WINT_MAX): Likewise.
2365         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
2366         constraint on value.
2367         [C99-based standards] (WCHAR_MIN): Likewise.
2368         [C99-based standards] (WINT_MIN): Likewise.
2369         [C99-based standards] (*_t): Allow.
2370         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
2371         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
2372         Include math.h-data and complex.h-data.  Remove all expectations
2373         of math.h and complex.h contents.
2374         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
2375         at end of line.
2376         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
2377         (struct tm): Expect tag.
2378         [C99-based-standards] (wcstof): Expect function.
2379         [C99-based-standards] (wcstold): Likewise.
2380         [C99-based-standards] (wcstoll): Likewise.
2381         [C99-based-standards] (wcstoull): Likewise.
2382         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
2383         macro-int-constant.  Specify type.
2384         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
2385         constraint on value.
2386         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
2387         Specify type.
2388         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
2389         Specify value.
2390         [ISO C standards]: Do not allow headers.
2391         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
2392         wcs[abcdefghijklmnopqrstuvwxyz]*.
2393         [ISO C standards] (*_t): Do not allow.
2394         * conform/data/wctype.h-data [C99-based standards] (iswblank):
2395         Expect function.
2396         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
2397         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
2398         Specify type.
2399         [ISO C standards]: Do not allow headers.
2400         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
2401         is[abcdefghijklmnopqrstuvwxyz]*.
2402         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
2403         to[abcdefghijklmnopqrstuvwxyz]*.
2404         [ISO C standards] (*_t): Do not allow.
2405         * conform/data/stdalign.h-data: New file.
2406         * conform/data/stdbool.h-data: Likewise.
2407         * conform/data/stdnoreturn.h-data: Likewise.
2409 2012-11-07  Roland McGrath  <roland@hack.frob.com>
2411         [BZ #14815]
2412         * manual/filesys.texi (Directory Entries): Typo fix.
2413         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
2415 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
2417         * elf/elf.h (EM_AARCH64): New macro.
2418         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
2419         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
2420         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
2421         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
2422         (R_AARCH64_TLSDESC): Likewise.
2423         (NT_ARM_TLS): Likewise.
2424         (NT_ARM_HW_BREAK): Likewise.
2425         (NT_ARM_HW_WATCH): Likewise.
2427 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
2429         [BZ #14811]
2430         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
2431         (__ieee754_powl): Saturate nonzero exponents with absolute value
2432         below 0x1p-79 to +/- 0x1p-79.
2433         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
2434         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
2435         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
2436         nonzero exponents with absolute value below 0x1p-32 to +/-
2437         0x1p-32.
2438         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
2439         (__ieee754_powl): Saturate nonzero exponents with absolute value
2440         below 0x1p-79 to +/- 0x1p-79.
2441         * math/libm-test.inc (pow_test): Add more tests.
2443 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2445         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
2446         _dl_s390_cap_flags with kernel. Increase string length.
2447         (_dl_s390_platforms): Add z196 and zEC12.
2449 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
2451         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
2452         Change XOPEN21K to XOPEN2K.
2454 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
2456         * string/memmove.c: Use memcpy when possible.
2458 2012-11-06  Andreas Jaeger  <aj@suse.de>
2460         * po/eo.po: Update from translation team.
2462 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
2464         [BZ #14793]
2465         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
2466         exponent and small x and y exponents, scale x or y up.  Increase
2467         by 2 the exponent used in scaling up.
2468         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2469         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2470         * math/libm-test.inc (fma_test): Add more tests.
2471         (fma_test_towardzero): Likewise.
2472         (fma_test_downward): Likewise.
2473         (fma_test_upward): Likewise.
2475 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
2477         [BZ #14805]
2478         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
2479         fenv_t *.
2481         [BZ #14801]
2482         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
2483         namespace for names of struct fields.
2484         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
2485         fenv_t fields.
2486         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
2487         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
2489 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2491         [BZ #3665]
2492         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
2494 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
2496         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
2497         PTR_DEMANGLE.
2499         [BZ #5246]
2500         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
2501         PTR_DEMANGLE.
2503 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
2505         [BZ #14797]
2506         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
2507         definitely overflow as x * y not x * y + z.
2508         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2509         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2510         * math/libm-test.inc (fma_test): Add more tests.
2511         (fma_test_towardzero): Likewise.
2512         (fma_test_downward): Likewise.
2513         (fma_test_upward): Likewise.
2515 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
2517         [BZ #157]
2519         * include/stub-tag.h: Remove file.
2520         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
2521         '#include' of it.
2522         * manual/maint.texi (Porting): Don't reference it.
2523         * Makerules ($(objpfx)stubs): Likewise.
2524         * dirent/closedir.c: Don't include <stub-tag.h>.
2525         * dirent/dirfd.c: Likewise.
2526         * dirent/fdopendir.c: Likewise.
2527         * dirent/getdents.c: Likewise.
2528         * dirent/getdents64.c: Likewise.
2529         * dirent/opendir.c: Likewise.
2530         * dirent/readdir.c: Likewise.
2531         * dirent/readdir64.c: Likewise.
2532         * dirent/readdir64_r.c: Likewise.
2533         * dirent/readdir_r.c: Likewise.
2534         * dirent/rewinddir.c: Likewise.
2535         * dirent/seekdir.c: Likewise.
2536         * dirent/telldir.c: Likewise.
2537         * gmon/profil.c: Likewise.
2538         * grp/setgroups.c: Likewise.
2539         * inet/if_index.c: Likewise.
2540         * io/access.c: Likewise.
2541         * io/chdir.c: Likewise.
2542         * io/chmod.c: Likewise.
2543         * io/chown.c: Likewise.
2544         * io/close.c: Likewise.
2545         * io/dup.c: Likewise.
2546         * io/dup2.c: Likewise.
2547         * io/dup3.c: Likewise.
2548         * io/euidaccess.c: Likewise.
2549         * io/faccessat.c: Likewise.
2550         * io/fchdir.c: Likewise.
2551         * io/fchmod.c: Likewise.
2552         * io/fchmodat.c: Likewise.
2553         * io/fchown.c: Likewise.
2554         * io/fchownat.c: Likewise.
2555         * io/fcntl.c: Likewise.
2556         * io/flock.c: Likewise.
2557         * io/fstatfs.c: Likewise.
2558         * io/fstatfs64.c: Likewise.
2559         * io/fstatvfs.c: Likewise.
2560         * io/fstatvfs64.c: Likewise.
2561         * io/futimens.c: Likewise.
2562         * io/fxstat.c: Likewise.
2563         * io/fxstat64.c: Likewise.
2564         * io/fxstatat.c: Likewise.
2565         * io/fxstatat64.c: Likewise.
2566         * io/getcwd.c: Likewise.
2567         * io/isatty.c: Likewise.
2568         * io/lchmod.c: Likewise.
2569         * io/lchown.c: Likewise.
2570         * io/link.c: Likewise.
2571         * io/linkat.c: Likewise.
2572         * io/lseek.c: Likewise.
2573         * io/lseek64.c: Likewise.
2574         * io/lxstat64.c: Likewise.
2575         * io/mkdir.c: Likewise.
2576         * io/mkdirat.c: Likewise.
2577         * io/mkfifo.c: Likewise.
2578         * io/mkfifoat.c: Likewise.
2579         * io/open.c: Likewise.
2580         * io/open64.c: Likewise.
2581         * io/openat.c: Likewise.
2582         * io/openat64.c: Likewise.
2583         * io/pipe.c: Likewise.
2584         * io/pipe2.c: Likewise.
2585         * io/poll.c: Likewise.
2586         * io/posix_fadvise.c: Likewise.
2587         * io/posix_fadvise64.c: Likewise.
2588         * io/posix_fallocate.c: Likewise.
2589         * io/posix_fallocate64.c: Likewise.
2590         * io/read.c: Likewise.
2591         * io/readlink.c: Likewise.
2592         * io/readlinkat.c: Likewise.
2593         * io/rmdir.c: Likewise.
2594         * io/sendfile.c: Likewise.
2595         * io/sendfile64.c: Likewise.
2596         * io/statfs.c: Likewise.
2597         * io/statfs64.c: Likewise.
2598         * io/statvfs.c: Likewise.
2599         * io/statvfs64.c: Likewise.
2600         * io/symlink.c: Likewise.
2601         * io/symlinkat.c: Likewise.
2602         * io/ttyname.c: Likewise.
2603         * io/ttyname_r.c: Likewise.
2604         * io/umask.c: Likewise.
2605         * io/unlink.c: Likewise.
2606         * io/unlinkat.c: Likewise.
2607         * io/utime.c: Likewise.
2608         * io/utimensat.c: Likewise.
2609         * io/write.c: Likewise.
2610         * io/xmknod.c: Likewise.
2611         * io/xmknodat.c: Likewise.
2612         * io/xstat.c: Likewise.
2613         * io/xstat64.c: Likewise.
2614         * login/getpt.c: Likewise.
2615         * login/grantpt.c: Likewise.
2616         * login/unlockpt.c: Likewise.
2617         * math/e_acoshl.c: Likewise.
2618         * math/e_acosl.c: Likewise.
2619         * math/e_asinl.c: Likewise.
2620         * math/e_atan2l.c: Likewise.
2621         * math/e_atanhl.c: Likewise.
2622         * math/e_coshl.c: Likewise.
2623         * math/e_expl.c: Likewise.
2624         * math/e_fmodl.c: Likewise.
2625         * math/e_gammal_r.c: Likewise.
2626         * math/e_hypotl.c: Likewise.
2627         * math/e_j0l.c: Likewise.
2628         * math/e_j1l.c: Likewise.
2629         * math/e_jnl.c: Likewise.
2630         * math/e_lgammal_r.c: Likewise.
2631         * math/e_log10l.c: Likewise.
2632         * math/e_log2l.c: Likewise.
2633         * math/e_logl.c: Likewise.
2634         * math/e_powl.c: Likewise.
2635         * math/e_rem_pio2l.c: Likewise.
2636         * math/e_sinhl.c: Likewise.
2637         * math/e_sqrtl.c: Likewise.
2638         * math/fclrexcpt.c: Likewise.
2639         * math/fedisblxcpt.c: Likewise.
2640         * math/feenablxcpt.c: Likewise.
2641         * math/fegetenv.c: Likewise.
2642         * math/fegetexcept.c: Likewise.
2643         * math/fegetround.c: Likewise.
2644         * math/feholdexcpt.c: Likewise.
2645         * math/fesetenv.c: Likewise.
2646         * math/fesetround.c: Likewise.
2647         * math/feupdateenv.c: Likewise.
2648         * math/fgetexcptflg.c: Likewise.
2649         * math/fraiseexcpt.c: Likewise.
2650         * math/fsetexcptflg.c: Likewise.
2651         * math/ftestexcept.c: Likewise.
2652         * math/k_cosl.c: Likewise.
2653         * math/k_rem_pio2l.c: Likewise.
2654         * math/k_sinl.c: Likewise.
2655         * math/k_tanl.c: Likewise.
2656         * math/s_asinhl.c: Likewise.
2657         * math/s_atanl.c: Likewise.
2658         * math/s_cbrtl.c: Likewise.
2659         * math/s_erfl.c: Likewise.
2660         * math/s_expm1l.c: Likewise.
2661         * math/s_log1pl.c: Likewise.
2662         * math/s_tanhl.c: Likewise.
2663         * misc/acct.c: Likewise.
2664         * misc/brk.c: Likewise.
2665         * misc/chflags.c: Likewise.
2666         * misc/chroot.c: Likewise.
2667         * misc/fchflags.c: Likewise.
2668         * misc/fgetxattr.c: Likewise.
2669         * misc/flistxattr.c: Likewise.
2670         * misc/fremovexattr.c: Likewise.
2671         * misc/fsetxattr.c: Likewise.
2672         * misc/fsync.c: Likewise.
2673         * misc/ftruncate.c: Likewise.
2674         * misc/futimes.c: Likewise.
2675         * misc/futimesat.c: Likewise.
2676         * misc/getdomain.c: Likewise.
2677         * misc/getdtsz.c: Likewise.
2678         * misc/gethostid.c: Likewise.
2679         * misc/gethostname.c: Likewise.
2680         * misc/getloadavg.c: Likewise.
2681         * misc/getpagesize.c: Likewise.
2682         * misc/getsysstats.c: Likewise.
2683         * misc/getxattr.c: Likewise.
2684         * misc/gtty.c: Likewise.
2685         * misc/ioctl.c: Likewise.
2686         * misc/lgetxattr.c: Likewise.
2687         * misc/listxattr.c: Likewise.
2688         * misc/llistxattr.c: Likewise.
2689         * misc/lremovexattr.c: Likewise.
2690         * misc/lsetxattr.c: Likewise.
2691         * misc/lutimes.c: Likewise.
2692         * misc/madvise.c: Likewise.
2693         * misc/mincore.c: Likewise.
2694         * misc/mlock.c: Likewise.
2695         * misc/mlockall.c: Likewise.
2696         * misc/mmap.c: Likewise.
2697         * misc/mprotect.c: Likewise.
2698         * misc/msync.c: Likewise.
2699         * misc/munlock.c: Likewise.
2700         * misc/munlockall.c: Likewise.
2701         * misc/munmap.c: Likewise.
2702         * misc/preadv.c: Likewise.
2703         * misc/preadv64.c: Likewise.
2704         * misc/ptrace.c: Likewise.
2705         * misc/pwritev.c: Likewise.
2706         * misc/pwritev64.c: Likewise.
2707         * misc/readv.c: Likewise.
2708         * misc/reboot.c: Likewise.
2709         * misc/remap_file_pages.c: Likewise.
2710         * misc/removexattr.c: Likewise.
2711         * misc/revoke.c: Likewise.
2712         * misc/select.c: Likewise.
2713         * misc/setdomain.c: Likewise.
2714         * misc/setegid.c: Likewise.
2715         * misc/seteuid.c: Likewise.
2716         * misc/sethostid.c: Likewise.
2717         * misc/sethostname.c: Likewise.
2718         * misc/setregid.c: Likewise.
2719         * misc/setreuid.c: Likewise.
2720         * misc/setxattr.c: Likewise.
2721         * misc/sstk.c: Likewise.
2722         * misc/stty.c: Likewise.
2723         * misc/swapoff.c: Likewise.
2724         * misc/swapon.c: Likewise.
2725         * misc/sync.c: Likewise.
2726         * misc/syncfs.c: Likewise.
2727         * misc/syscall.c: Likewise.
2728         * misc/truncate.c: Likewise.
2729         * misc/ualarm.c: Likewise.
2730         * misc/usleep.c: Likewise.
2731         * misc/ustat.c: Likewise.
2732         * misc/utimes.c: Likewise.
2733         * misc/vhangup.c: Likewise.
2734         * misc/writev.c: Likewise.
2735         * posix/_exit.c: Likewise.
2736         * posix/alarm.c: Likewise.
2737         * posix/execve.c: Likewise.
2738         * posix/fexecve.c: Likewise.
2739         * posix/fork.c: Likewise.
2740         * posix/fpathconf.c: Likewise.
2741         * posix/getaddrinfo.c: Likewise.
2742         * posix/getegid.c: Likewise.
2743         * posix/geteuid.c: Likewise.
2744         * posix/getgid.c: Likewise.
2745         * posix/getgroups.c: Likewise.
2746         * posix/getlogin.c: Likewise.
2747         * posix/getlogin_r.c: Likewise.
2748         * posix/getpgid.c: Likewise.
2749         * posix/getpid.c: Likewise.
2750         * posix/getppid.c: Likewise.
2751         * posix/getresgid.c: Likewise.
2752         * posix/getresuid.c: Likewise.
2753         * posix/getsid.c: Likewise.
2754         * posix/getuid.c: Likewise.
2755         * posix/glob64.c: Likewise.
2756         * posix/nanosleep.c: Likewise.
2757         * posix/pathconf.c: Likewise.
2758         * posix/pause.c: Likewise.
2759         * posix/posix_madvise.c: Likewise.
2760         * posix/pread.c: Likewise.
2761         * posix/pread64.c: Likewise.
2762         * posix/pwrite.c: Likewise.
2763         * posix/pwrite64.c: Likewise.
2764         * posix/sched_getaffinity.c: Likewise.
2765         * posix/sched_getp.c: Likewise.
2766         * posix/sched_gets.c: Likewise.
2767         * posix/sched_primax.c: Likewise.
2768         * posix/sched_primin.c: Likewise.
2769         * posix/sched_rr_gi.c: Likewise.
2770         * posix/sched_setaffinity.c: Likewise.
2771         * posix/sched_setp.c: Likewise.
2772         * posix/sched_sets.c: Likewise.
2773         * posix/sched_yield.c: Likewise.
2774         * posix/setgid.c: Likewise.
2775         * posix/setlogin.c: Likewise.
2776         * posix/setpgid.c: Likewise.
2777         * posix/setresgid.c: Likewise.
2778         * posix/setresuid.c: Likewise.
2779         * posix/setsid.c: Likewise.
2780         * posix/setuid.c: Likewise.
2781         * posix/sleep.c: Likewise.
2782         * posix/spawni.c: Likewise.
2783         * posix/sysconf.c: Likewise.
2784         * posix/times.c: Likewise.
2785         * posix/wait.c: Likewise.
2786         * posix/wait3.c: Likewise.
2787         * posix/wait4.c: Likewise.
2788         * posix/waitpid.c: Likewise.
2789         * resolv/gai_sigqueue.c: Likewise.
2790         * resource/getpriority.c: Likewise.
2791         * resource/getrlimit.c: Likewise.
2792         * resource/getrusage.c: Likewise.
2793         * resource/nice.c: Likewise.
2794         * resource/setpriority.c: Likewise.
2795         * resource/setrlimit.c: Likewise.
2796         * resource/ulimit.c: Likewise.
2797         * rt/aio_cancel.c: Likewise.
2798         * rt/aio_fsync.c: Likewise.
2799         * rt/aio_read.c: Likewise.
2800         * rt/aio_sigqueue.c: Likewise.
2801         * rt/aio_suspend.c: Likewise.
2802         * rt/aio_write.c: Likewise.
2803         * rt/clock_getres.c: Likewise.
2804         * rt/clock_gettime.c: Likewise.
2805         * rt/clock_nanosleep.c: Likewise.
2806         * rt/clock_settime.c: Likewise.
2807         * rt/lio_listio.c: Likewise.
2808         * rt/mq_close.c: Likewise.
2809         * rt/mq_getattr.c: Likewise.
2810         * rt/mq_notify.c: Likewise.
2811         * rt/mq_open.c: Likewise.
2812         * rt/mq_receive.c: Likewise.
2813         * rt/mq_send.c: Likewise.
2814         * rt/mq_setattr.c: Likewise.
2815         * rt/mq_timedreceive.c: Likewise.
2816         * rt/mq_timedsend.c: Likewise.
2817         * rt/mq_unlink.c: Likewise.
2818         * rt/shm_open.c: Likewise.
2819         * rt/shm_unlink.c: Likewise.
2820         * rt/timer_create.c: Likewise.
2821         * rt/timer_delete.c: Likewise.
2822         * rt/timer_getoverr.c: Likewise.
2823         * rt/timer_gettime.c: Likewise.
2824         * rt/timer_settime.c: Likewise.
2825         * setjmp/__longjmp.c: Likewise.
2826         * setjmp/setjmp.c: Likewise.
2827         * signal/kill.c: Likewise.
2828         * signal/killpg.c: Likewise.
2829         * signal/raise.c: Likewise.
2830         * signal/sigaction.c: Likewise.
2831         * signal/sigaltstack.c: Likewise.
2832         * signal/sigblock.c: Likewise.
2833         * signal/sigignore.c: Likewise.
2834         * signal/sigintr.c: Likewise.
2835         * signal/signal.c: Likewise.
2836         * signal/sigpause.c: Likewise.
2837         * signal/sigpending.c: Likewise.
2838         * signal/sigqueue.c: Likewise.
2839         * signal/sigreturn.c: Likewise.
2840         * signal/sigset.c: Likewise.
2841         * signal/sigsetmask.c: Likewise.
2842         * signal/sigstack.c: Likewise.
2843         * signal/sigsuspend.c: Likewise.
2844         * signal/sigtimedwait.c: Likewise.
2845         * signal/sigvec.c: Likewise.
2846         * signal/sigwait.c: Likewise.
2847         * signal/sigwaitinfo.c: Likewise.
2848         * signal/sysv_signal.c: Likewise.
2849         * socket/accept.c: Likewise.
2850         * socket/accept4.c: Likewise.
2851         * socket/bind.c: Likewise.
2852         * socket/connect.c: Likewise.
2853         * socket/getpeername.c: Likewise.
2854         * socket/getsockname.c: Likewise.
2855         * socket/getsockopt.c: Likewise.
2856         * socket/isfdtype.c: Likewise.
2857         * socket/listen.c: Likewise.
2858         * socket/recv.c: Likewise.
2859         * socket/recvfrom.c: Likewise.
2860         * socket/recvmsg.c: Likewise.
2861         * socket/send.c: Likewise.
2862         * socket/sendmsg.c: Likewise.
2863         * socket/sendto.c: Likewise.
2864         * socket/setsockopt.c: Likewise.
2865         * socket/shutdown.c: Likewise.
2866         * socket/sockatmark.c: Likewise.
2867         * socket/socket.c: Likewise.
2868         * socket/socketpair.c: Likewise.
2869         * stdio-common/ctermid.c: Likewise.
2870         * stdio-common/cuserid.c: Likewise.
2871         * stdio-common/remove.c: Likewise.
2872         * stdio-common/rename.c: Likewise.
2873         * stdio-common/renameat.c: Likewise.
2874         * stdio-common/tempname.c: Likewise.
2875         * stdlib/getcontext.c: Likewise.
2876         * stdlib/makecontext.c: Likewise.
2877         * stdlib/setcontext.c: Likewise.
2878         * stdlib/swapcontext.c: Likewise.
2879         * stdlib/system.c: Likewise.
2880         * streams/fattach.c: Likewise.
2881         * streams/fdetach.c: Likewise.
2882         * streams/getmsg.c: Likewise.
2883         * streams/getpmsg.c: Likewise.
2884         * streams/putmsg.c: Likewise.
2885         * streams/putpmsg.c: Likewise.
2886         * sysdeps/unix/bsd/getpt.c: Likewise.
2887         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
2888         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
2889         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
2891         Likewise.
2892         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
2893         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
2894         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2895         * sysvipc/msgctl.c: Likewise.
2896         * sysvipc/msgget.c: Likewise.
2897         * sysvipc/msgrcv.c: Likewise.
2898         * sysvipc/msgsnd.c: Likewise.
2899         * sysvipc/semctl.c: Likewise.
2900         * sysvipc/semget.c: Likewise.
2901         * sysvipc/semop.c: Likewise.
2902         * sysvipc/semtimedop.c: Likewise.
2903         * sysvipc/shmat.c: Likewise.
2904         * sysvipc/shmctl.c: Likewise.
2905         * sysvipc/shmdt.c: Likewise.
2906         * sysvipc/shmget.c: Likewise.
2907         * termios/tcdrain.c: Likewise.
2908         * termios/tcflow.c: Likewise.
2909         * termios/tcflush.c: Likewise.
2910         * termios/tcgetattr.c: Likewise.
2911         * termios/tcgetpgrp.c: Likewise.
2912         * termios/tcsendbrk.c: Likewise.
2913         * termios/tcsetattr.c: Likewise.
2914         * termios/tcsetpgrp.c: Likewise.
2915         * time/adjtime.c: Likewise.
2916         * time/clock.c: Likewise.
2917         * time/getitimer.c: Likewise.
2918         * time/gettimeofday.c: Likewise.
2919         * time/setitimer.c: Likewise.
2920         * time/settimeofday.c: Likewise.
2921         * time/stime.c: Likewise.
2922         * time/time.c: Likewise.
2924 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
2926         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
2927         /usr/old/bin.
2929         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
2930         instead of spaces.
2931         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
2933 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
2935         [BZ #14796]
2936         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
2937         FE_TONEAREST before applying Dekker multiplication and Knuth
2938         addition.  Clear inexact exceptions and check for exact zero
2939         results afterwards.
2940         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2941         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2942         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2943         * math/libm-test.inc (fma_test): Add more tests.
2944         (fma_test_towardzero): Likewise.
2945         (fma_test_downward): Likewise.
2946         (fma_test_upward): Likewise.
2947         * sysdeps/generic/math_private.h (default_libc_fesetround): New
2948         function.
2949         (libc_fesetround): New macro.
2950         (libc_fesetroundf): Likewise.
2951         (libc_fesetroundl): Likewise.
2952         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
2953         function.
2954         (libc_fesetround_387): Likewise.
2955         (libc_fesetroundf): New macro.
2956         (libc_fesetround): Likewise.
2957         (libc_fesetroundl): Likewise.
2958         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
2959         function.
2960         (libc_fesetroundf): New macro.
2961         (libc_fesetround): Likewise.
2962         (libc_fesetroundl): Likewise.
2963         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
2964         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
2965         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
2966         libm_hidden_ver.
2967         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
2968         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
2969         libm_hidden_def.
2970         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
2971         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
2972         libm_hidden_ver.
2973         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
2974         libm_hidden_def.
2976         [BZ #3439]
2977         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
2978         integer constant usable in #if and use that to give value to enum
2979         constant.
2980         (FE_DIVBYZERO): Likewise.
2981         (FE_UNDERFLOW): Likewise.
2982         (FE_OVERFLOW): Likewise.
2983         (FE_INVALID): Likewise.
2984         (FE_INVALID_SNAN): Likewise.
2985         (FE_INVALID_ISI): Likewise.
2986         (FE_INVALID_IDI): Likewise.
2987         (FE_INVALID_ZDZ): Likewise.
2988         (FE_INVALID_IMZ): Likewise.
2989         (FE_INVALID_COMPARE): Likewise.
2990         (FE_INVALID_SOFTWARE): Likewise.
2991         (FE_INVALID_SQRT): Likewise.
2992         (FE_INVALID_INTEGER_CONVERSION): Likewise.
2993         (FE_TONEAREST): Likewise.
2994         (FE_TOWARDZERO): Likewise.
2995         (FE_UPWARD): Likewise.
2996         (FE_DOWNWARD): Likewise.
2997         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
2998         (FE_DIVBYZERO): Likewise.
2999         (FE_OVERFLOW): Likewise.
3000         (FE_UNDERFLOW): Likewise.
3001         (FE_INEXACT): Likewise.
3002         (FE_TONEAREST): Likewise.
3003         (FE_DOWNWARD): Likewise.
3004         (FE_UPWARD): Likewise.
3005         (FE_TOWARDZERO): Likewise.
3006         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
3007         (FE_UNDERFLOW): Likewise.
3008         (FE_OVERFLOW): Likewise.
3009         (FE_DIVBYZERO): Likewise.
3010         (FE_INVALID): Likewise.
3011         (FE_TONEAREST): Likewise.
3012         (FE_TOWARDZERO): Likewise.
3013         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
3014         (FE_OVERFLOW): Likewise.
3015         (FE_UNDERFLOW): Likewise.
3016         (FE_DIVBYZERO): Likewise.
3017         (FE_INEXACT): Likewise.
3018         (FE_TONEAREST): Likewise.
3019         (FE_TOWARDZERO): Likewise.
3020         (FE_UPWARD): Likewise.
3021         (FE_DOWNWARD): Likewise.
3022         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
3023         (FE_DIVBYZERO): Likewise.
3024         (FE_OVERFLOW): Likewise.
3025         (FE_UNDERFLOW): Likewise.
3026         (FE_INEXACT): Likewise.
3027         (FE_TONEAREST): Likewise.
3028         (FE_DOWNWARD): Likewise.
3029         (FE_UPWARD): Likewise.
3030         (FE_TOWARDZERO): Likewise.
3032 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
3034         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
3036 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
3038         * scripts/cross-test-ssh.sh (command): Use newlines to separate
3039         commands.  Quote $PWD.
3040         (blacklist_exports): Don't use remove_newlines.  Replace "declare
3041         -x" by "export".
3042         (remove_newlines): Remove.
3044 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
3046         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
3047         * stdlib/stdlib.h (atof): Moved to ...
3048         * include/bits/stdlib-float.h: Here.  New file.
3049         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
3050         * stdlib/bits/stdlib-float.h: New file.
3051         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
3052         -mno-sse -mno-mmx.
3053         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
3054         <xmmintrin.h>.
3056 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
3058         * conform/conformtest.pl (@headers): Add fenv.h.
3059         * conform/data/fenv.h-data: New file.
3060         * include/fenv.h [_ISOMAC]: Disable all contents of file except
3061         include of <math/fenv.h>.
3063         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
3064         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
3065         && !UNIX98].  Enables tests for XOPEN2K8.
3066         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
3067         POSIX2008]: Likewise.
3069         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
3070         (struct rusage): Do not expect type or its members.
3072         [BZ #3439]
3073         * math/math.h (FP_NAN): Define macro to integer constant usable in
3074         #if and use that to give value to enum constant.
3075         (FP_INFINITE): Likewise.
3076         (FP_ZERO): Likewise.
3077         (FP_SUBNORMAL): Likewise.
3078         (FP_NORMAL): Likewise.
3080 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
3082         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
3083         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
3084         arguments.
3086 2012-11-02  Roland McGrath  <roland@hack.frob.com>
3088         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
3089         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
3090         autoconf-time if not.
3091         * configure.in: Remove AC_PREREQ.
3093 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3095         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
3096         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
3097         of the internal implementation.
3099 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
3101         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
3102         except include of <misc/sys/syslog.h>.
3104 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
3106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
3107         function returns with a NULL context exit with zero.
3109 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3111         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
3113 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
3115         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
3116         (run_program_cmd): This.
3117         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
3118         (tst_langinfo): New variable.  Use it.
3120 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
3122         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
3123         floating point opcodes.
3125 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
3127         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
3128         variable.
3130         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
3132         * sysdeps/mach/hurd/powerpc: Remove directory.
3133         * sysdeps/mach/powerpc: Likewise.
3135 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
3137         * scripts/check-local-headers.sh: Ignore c++ headers.
3139 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
3141         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
3142         __libc_cleanup_region_start argument.
3144 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
3146         [BZ #14784]
3147         [BZ #14785]
3148         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
3149         x * y using scaling, not as x * y + z.
3150         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3151         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3152         * math/libm-test.inc (fma_test): Add more tests.
3153         (fma_test_towardzero): Likewise.
3154         (fma_test_downward): Likewise.
3155         (fma_test_upward): Likewise.
3157 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
3159         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
3161 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
3163         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
3164         New variable.
3166 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
3168         * rt/tst-shm.c (worker): Correct checking for mmap failure.
3170 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
3172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3173         Fix sort order.
3174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3175         Likewise.
3177 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3180         Fix the order of the list for glibc 2.17.
3181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3182         Likewise.
3184 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
3186         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3188 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
3190         [BZ #14610]
3191         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
3192         for low part of x being zero before using __atanl (y).
3193         * math/libm-test.inc (atan2_test): Add another test.
3195         * manual/install.texi (Configuring and compiling): Document
3196         general use of test-wrapper and test-wrapper-env.
3197         * INSTALL: Regenerated.
3199         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
3200         (__fma): Do not extract and scale down low bits on after-rounding
3201         systems when result rounded to normal precision would have normal
3202         exponent.
3203         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
3204         (__fmal): Do not extract and scale down low bits on after-rounding
3205         systems when result rounded to normal precision would have normal
3206         exponent.
3207         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
3208         (__fmal): Do not extract and scale down low bits on after-rounding
3209         systems when result rounded to normal precision would have normal
3210         exponent.
3211         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
3212         macro.
3213         (fma_test): Add more tests.
3214         (fma_test_towardzero): Likewise.
3215         (fma_test_downward): Likewise.
3216         (fma_test_upward): Likewise.
3218 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
3220         * sysdeps/i386/tininess.h: Renamed to ...
3221         * sysdeps/x86/tininess.h: This.
3222         * sysdeps/x86_64/tininess.h: Removed.
3224 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
3226         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
3227         input.  Use $(build-program-cmd).
3228         ($(objpfx)tst-array1-static.out): Likewise.
3229         ($(objpfx)tst-array2.out): Likewise.
3230         ($(objpfx)tst-array3.out): Likewise.
3231         ($(objpfx)tst-array4.out): Likewise.
3232         ($(objpfx)tst-array5.out): Likewise.
3233         ($(objpfx)tst-array5-static.out): Likewise.
3235 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
3237         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
3238         if defined.
3240         * nss/nsswitch.h (nss_interface_function): Provide new
3241         macro for use with NSS functions.
3242         * grp/initgroups.c: Use new macro.
3243         * nss/getXXbyYY.c: Likewise.
3244         * nss/getXXbyYY_r.c: Likewise.
3245         * nss/getXXent.c: Likewise.
3246         * nss/getXXent_r.c: Likewise.
3247         * sysdeps/posix/getaddrinfo.c: Likewise.
3249 2012-10-30  Andreas Jaeger  <aj@suse.de>
3251         * po/ru.po: Update Russion translation from translation project.
3253 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
3255         [BZ #14152]
3256         [BZ #14783]
3257         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
3258         result and shift together with sticky bit instead of replicating
3259         round-to-nearest rounding.
3260         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3261         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3262         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
3263         missing underflow exceptions.
3264         (fma_test_towardzero): Add more tests.
3265         (fma_test_downward): Likewise.
3266         (fma_test_upward): Likewise.
3268         [BZ #14047]
3269         * sysdeps/generic/tininess.h: New file.
3270         * sysdeps/i386/tininess.h: Likewise.
3271         * sysdeps/sh/tininess.h: Likewise.
3272         * sysdeps/x86_64/tininess.h: Likewise.
3273         * stdlib/tst-strtod-underflow.c: Likewise.
3274         * stdlib/tst-tininess.c: Likewise.
3275         * stdlib/strtod_l.c: Include <tininess.h>.
3276         (round_and_return): Do not set errno for exact underflow cases.
3277         Force an underflow exception when setting errno for underflow.
3278         Determine underflow based on rounding to normal precision if
3279         TININESS_AFTER_ROUNDING.
3280         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
3281         ERANGE for exact underflow cases.
3282         * stdlib/Makefile (tests): Add tst-tininess and
3283         tst-strtod-underflow.
3284         ($(objpfx)tst-tininess): Use $(link-libm).
3285         ($(objpfx)tst-strtod-underflow): Likewise.
3287 2012-10-30  Andreas Jaeger  <aj@suse.de>
3289         [BZ#14767]
3290         * elf/Makefile (tests): Remove conditional for have-initfini-array
3291         since this is now always required and the variable does not exist
3292         anymore.
3293         (tests-static): Likewise.
3294         (modules-names): Likewise.
3296         * po/eo.po: Add Esperanto translation from translation project.
3298         * elf/tst-array1.c (fini_array): Make writeable so that it can be
3299         merged with constructor/destructor.
3300         (init_array): Likewise.
3301         * elf/tst-array2dep.c (fini_array): Likewise.
3302         (init_array): Likewise.
3304 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
3306         * manual/message.texi: Delete @cartouche tags.
3308 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
3310         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
3311         EOPNOTSUPP.
3312         * sysdeps/mach/hurd/fsync.c: Likewise.
3314         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
3315         [_POSIX_REALTIME_SIGNALS]: Change condition to
3316         [_POSIX_REALTIME_SIGNALS > 0].
3318 2012-10-27  Andreas Jaeger  <aj@suse.de>
3320         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
3321         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
3322         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
3323         [__WORDSIZE != 64]: Likewise.
3325 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
3327         *  iconvdata/tst-table.sh: Remove ${SHELL}.
3328         *  iconvdata/tst-tables.sh: Likewise.
3330 2012-10-25  David S. Miller  <davem@davemloft.net>
3332         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3333         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
3334         of strtoull.
3336         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
3337         ifunc-impl-list.c
3338         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3339         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
3340         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
3341         file.
3343 2012-10-25  Roland McGrath  <roland@hack.frob.com>
3345         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3346         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
3347         __getdirentries.
3349 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
3350             Jim Blandy  <jimb@codesourcery.com>
3352         * scripts/cross-test-ssh.sh: New file.
3353         * manual/install.texi (Configuring and compiling): Document use of
3354         cross-test-ssh.sh.
3355         * INSTALL: Regenerated.
3357 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
3359         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
3360         EOPNOTSUPP.
3362 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
3364         * Makeconfig (run-program-prefix): Fix comment.
3366 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
3367             Jim Blandy  <jimb@codesourcery.com>
3369         * Makeconfig (test-wrapper): New variable,
3370         (test-wrapper-env): Likewise.
3371         [$(cross-compiling) = yes && $(test-wrapper) != ""]
3372         (run-built-tests): Define to yes.
3373         (run-program-prefix): Use $(test-wrapper).
3374         (built-program-cmd): Likewise.
3375         * Rules (make-test-out): Use $(test-wrapper-env) and
3376         $(host-built-program-cmd).
3377         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
3378         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
3379         tst-pathopt.sh.
3380         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
3381         $(test-wrapper-env) to tst-rtld-load-self.sh.
3382         ($(objpfx)order2.out): Use $(test-wrapper).
3383         ($(objpfx)tst-initorder.out): Likewise.
3384         ($(objpfx)tst-initorder2.out): Likewise.
3385         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
3386         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
3387         (test_wrapper_env): New variable.  Use it to run ld.so.
3388         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
3389         Use it to run ld.so.
3390         (test_wrapper_env): Likewise.
3391         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
3392         $(test-wrapper) to run-iconv-test.sh.
3393         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
3394         (ICONV): Use $test_wrapper.
3395         * posix/Makefile ($(objpfx)globtest.out): Pass
3396         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
3397         globtest.sh, not $(run-program-prefix).
3398         * posix/globtest.sh (run_via_rtld_prefix): New variable.
3399         (test_wrapper): Likewise.
3400         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
3401         set together with run_via_rtld_prefix.
3402         (run_program_prefix): Define in terms of test_wrapper and
3403         run_via_rtld_prefix.
3405 2012-10-24  Roland McGrath  <roland@hack.frob.com>
3407         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
3408         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
3409         Targets removed.
3411         [BZ #14743]
3412         * include/time.h: Remove librt_hidden_proto (clock_gettime).
3413         Declare __clock_getres, __clock_gettime, __clock_settime,
3414         __clock_nanosleep, and __clock_getcpuclockid.
3415         * rt/clock_gettime.c: Define __clock_gettime as an alias.
3416         Remove librt_hidden_def (clock_gettime).
3417         * sysdeps/unix/clock_gettime.c: Likewise.
3418         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
3419         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
3420         * rt/clock_getres.c: Define __clock_getres as an alias.
3421         * sysdeps/posix/clock_getres.c: Likewise.
3422         * rt/clock_settime.c: Define __clock_settime as an alias.
3423         * sysdeps/unix/clock_settime.c: Likewise.
3424         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
3425         * sysdeps/unix/clock_nanosleep.c: Likewise.
3426         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
3427         * rt/clock-compat.c: New file.
3428         * rt/Makefile (librt-routines): Add clock-compat and move
3429         $(clock-routines) to ...
3430         (routines): ... here, new variable.
3431         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
3432         Don't add get_clockfreq here.
3433         * rt/Versions (libc: GLIBC_2.17): New version set.
3434         Add clock_* symbols here.
3435         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
3436         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
3437         (GLIBC_2.17): Add clock_* symbols.
3438         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
3439         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
3440         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
3441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3442         Likewise.
3443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3444         Likewise.
3445         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
3446         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
3447         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
3448         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
3449         * NEWS: Mention the move.
3451         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
3452         Use __open, __read, __close rather than their public counterparts.
3453         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3454         (__get_clockfreq_via_cpuinfo): Likewise.
3455         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
3456         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
3458         * config.h.in (HAVE_IFUNC): New #undef.
3459         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
3460         was successful.
3461         * configure: Regenerated.
3463 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
3465         * configure.in: Move READELF check to start of file.
3466         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
3467         libc_cv_asm_gnu_indirect_function in the process.
3468         * configure: Regenerated.
3470 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
3472         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
3473         send the output to /dev/null.
3474         (libc_cv_cc_with_libunwind): Likewise.
3475         (libc_cv_as_noexecstack): Likewise.
3476         * configure: Regenerate.
3478 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
3480         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
3482         * posix/globtest.sh (TMPDIR): Do not set.
3483         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
3484         (testout): Likewise.
3486 2012-10-24  Andreas Jaeger  <aj@suse.de>
3488         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
3489         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
3490         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
3491         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
3492         posix_fadvise64, posix_fallocate64.
3494         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
3495         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
3496         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
3497         Likewise.
3498         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
3499         Likewise.
3500         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
3502         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
3503         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
3504         <bits/fcntl-linux.h>.
3505         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
3507         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
3508         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
3509         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
3510         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
3511         [__WORDSIZE != 64]: Likewise.
3513 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
3515         * Makeconfig (run-built-tests): New variable.
3516         * Rules [$(cross-compiling) = yes]: Change condition to
3517         [$(run-built-tests) = no].
3518         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
3519         to [$(run-built-tests) = yes].
3520         * elf/Makefile [$(cross-compiling) = no]: Likewise
3521         * grp/Makefile [$(cross-compiling) = no]: Likewise.
3522         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
3523         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
3524         * intl/Makefile [$(cross-compiling) = no]: Likewise.
3525         * io/Makefile [$(cross-compiling) = no]: Likewise.
3526         * libio/Makefile [$(cross-compiling) = no]: Likewise.
3527         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
3528         * misc/Makefile [$(cross-compiling) = no]: Likewise.
3529         * posix/Makefile [$(cross-compiling) = no]: Likewise.
3530         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
3531         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
3532         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
3533         * string/Makefile [$(cross-compiling) = no]: Likewise.
3535         * posix/Makefile ($(objpfx)globtest.out): Pass
3536         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
3537         $(rtld-installed-name).
3538         * posix/globtest.sh (elf_objpfx): Remove variable.
3539         (rtld_installed_name): Likewise.
3540         (library_path): Likewise.
3541         (run_program_prefix): New variable.  Use for running globtest
3542         binary.
3544 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
3545             Joseph Myers  <joseph@codesourcery.com>
3547         * Makeconfig (host-built-program-cmd): New variable.
3548         * elf/Makefile (tst-stackguard1-ARGS): Use
3549         $(host-built-program-cmd).
3550         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
3551         (tst-spawn-ARGS): Likewise.
3552         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
3554 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
3555             Jim Blandy  <jimb@codesourcery.com>
3557         * Makeconfig (run-via-rtld-prefix): New variable.
3558         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
3559         (built-program-cmd): Likewise.
3561 2012-10-22  Andreas Jaeger  <aj@suse.de>
3563         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
3564         __O_RSYNC if it exists, otherwise to O_SYNC.
3566 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
3567             Joseph Myers  <joseph@codesourcery.com>
3569         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
3570         /dev/null.
3571         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
3572         from /dev/null
3573         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
3574         /dev/null.
3576 2012-10-22  Andreas Jaeger  <aj@suse.de>
3578         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
3579         Define always.
3580         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
3582         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3583         bits/fcntl-linux.h.
3585         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
3586         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
3588         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
3589         to __O_LARGEFILE.
3590         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
3591         to __O_LARGEFILE.
3593 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
3594             Joseph Myers  <joseph@codesourcery.com>
3596         * config.make.in (NM): New variable.
3598 2012-10-21  Andreas Jaeger  <aj@suse.de>
3600         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
3601         definitions and declarations that are provided by
3602         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
3604 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
3606         [BZ #14683]
3607         * elf/Makefile (tests-static): Add tst-leaks1-static.
3608         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
3609         ($(objpfx)tst-leaks1-static): New rule.
3610         ($(objpfx)tst-leaks1-static-mem): Likewise.
3611         (tst-leaks1-static-ENV): New macro.
3612         * elf/dl-open.c (dl_open_worker): Check the main application
3613         only if SHARED is defined.
3614         * elf/tst-leaks1-static.c: New file.
3616 2012-10-20  Andreas Jaeger  <aj@suse.de>
3618         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
3619         generic values for Linux.
3620         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
3621         and declarations that are provided by <bits/fcntl-linux.h> and
3622         include <bits/fcntl-linux.h>.
3623         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3624         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
3626 2012-10-20  Roland McGrath  <roland@hack.frob.com>
3628         * io/fcntl.h: Move include of <bits/types.h> to the top and
3629         include it unconditionally.
3631 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
3633         * wcsmbs/Makefile (tests-ifunc): New variable.
3634         (tests): Add $(tests-ifunc).
3635         * wcsmbs/test-wcschr-ifunc.c: New file.
3636         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
3637         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
3638         * wcsmbs/test-wcslen-ifunc.c: Likewise.
3639         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
3640         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
3642         * string/Makefile (tests-ifunc): New variable.
3643         (tests): Add $(tests-ifunc).
3644         * string/test-memccpy.c (TEST_NAME): New macro.
3645         * string/test-memchr.c (TEST_NAME): Likewise.
3646         * string/test-memcmp.c (TEST_NAME): Likewise.
3647         * string/test-memcpy.c (TEST_NAME): Likewise.
3648         * string/test-memmem.c (TEST_NAME): Likewise.
3649         * string/test-memmove.c (TEST_NAME): Likewise.
3650         * string/test-memset.c (TEST_NAME): Likewise.
3651         * string/test-rawmemchr.c (TEST_NAME): Likewise.
3652         * string/test-stpcpy.c (TEST_NAME): Likewise.
3653         * string/test-stpncpy.c (TEST_NAME): Likewise.
3654         * string/test-strcasecmp.c (TEST_NAME): Likewise.
3655         * string/test-strcasestr.c (TEST_NAME): Likewise.
3656         * string/test-strcat.c (TEST_NAME): Likewise.
3657         * string/test-strchr.c (TEST_NAME): Likewise.
3658         * string/test-strcmp.c(TEST_NAME): Likewise.
3659         * string/test-strcpy.c (TEST_NAME): Likewise.
3660         * string/test-strcspn.c (TEST_NAME): Likewise.
3661         * string/test-strlen.c (TEST_NAME): Likewise.
3662         * string/test-strncasecmp.c (TEST_NAME): Likewise.
3663         * string/test-strncmp.c (TEST_NAME): Likewise.
3664         * string/test-strncpy.c (TEST_NAME): Likewise.
3665         * string/test-strnlen.c (TEST_NAME): Likewise.
3666         * string/test-strpbrk.c (TEST_NAME): Likewise.
3667         * string/test-strrchr.c (TEST_NAME): Likewise.
3668         * string/test-strspn.c (TEST_NAME): Likewise.
3669         * string/test-strstr.c (TEST_NAME): Likewise.
3670         * string/test-bcopy-ifunc.c: New file.
3671         * string/test-bzero-ifunc.c: Likewise.
3672         * string/test-memccpy-ifunc.c: Likewise.
3673         * string/test-memchr-ifunc.c: Likewise.
3674         * string/test-memcmp-ifunc.c: Likewise.
3675         * string/test-memcpy-ifunc.c: Likewise.
3676         * string/test-memmem-ifunc.c: Likewise.
3677         * string/test-memmove-ifunc.c: Likewise.
3678         * string/test-mempcpy-ifunc.c: Likewise.
3679         * string/test-memset-ifunc.c: Likewise.
3680         * string/test-rawmemchr-ifunc.c: Likewise.
3681         * string/test-stpcpy-ifunc.c: Likewise.
3682         * string/test-stpncpy-ifunc.c: Likewise.
3683         * string/test-strcasecmp-ifunc.c: Likewise.
3684         * string/test-strcasestr-ifunc.c: Likewise.
3685         * string/test-strcat-ifunc.c: Likewise.
3686         * string/test-strchr-ifunc.c: Likewise.
3687         * string/test-strchrnul-ifunc.c: Likewise.
3688         * string/test-strcmp-ifunc.c: Likewise.
3689         * string/test-strcpy-ifunc.c: Likewise.
3690         * string/test-strcspn-ifunc.c: Likewise.
3691         * string/test-strlen-ifunc.c: Likewise.
3692         * string/test-strncasecmp-ifunc.c: Likewise.
3693         * string/test-strncat-ifunc.c: Likewise.
3694         * string/test-strncmp-ifunc.c: Likewise.
3695         * string/test-strncpy-ifunc.c: Likewise.
3696         * string/test-strnlen-ifunc.c: Likewise.
3697         * string/test-strpbrk-ifunc.c: Likewise.
3698         * string/test-strrchr-ifunc.c: Likewise.
3699         * string/test-strspn-ifunc.c: Likewise.
3700         * string/test-strstr-ifunc.c: Likewise.
3702         * debug/Makefile (tests-ifunc): New variable.
3703         (tests): Add $(tests-ifunc).
3704         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
3705         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
3706         * debug/test-stpcpy_chk-ifunc.c: New file.
3707         * debug/test-strcpy_chk-ifunc.c: Likewise.
3709 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
3711         [BZ #13601]
3712         * elf/dl-load.c (open_verify): Retry read if the entire ELF
3713         header is not read in.
3715 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
3717         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
3718         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
3719         directly.  Pass built executable to script as
3720         $(built-program-cmd).
3721         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
3722         $testprogram without using LD_LIBRARY_PATH and $ldso.
3724         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
3725         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
3726         $(rtld-installed-name).
3727         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
3728         (rtld_installed_name): Likewise.
3729         (library_path): Likewise.
3730         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
3731         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
3732         $(run-program-prefix) to tst-tables.sh.
3733         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
3734         it to run tst-table-from and tst-table-to.
3735         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
3736         Pass it to tst-table.sh.
3737         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
3738         $(run-program-prefix) to tst-gettext.sh.
3739         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
3740         tst-translit.sh.
3741         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
3742         tst-gettext2.sh.
3743         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
3744         to run tst-gettext.
3745         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
3746         to run tst-gettext2.
3747         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
3748         to run tst-translit.
3749         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
3750         $(run-program-prefix) to tst-mtrace.sh.
3751         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
3752         to run tst-mtrace.
3753         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
3754         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
3755         $(rtld-installed-name).
3756         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
3757         (rtld_installed_name): Likewise.
3758         (run_program_prefix): New variable.  Use it to run wordexp-test.
3760         * Makeconfig (ARCH): Remove all definitions.
3761         (machine): Likewise.
3762         [ARCH]: Remove conditional code.
3763         [!objdir]: Give error.
3764         [!objdir] (objpfx): Remove.
3765         [!objdir] (common-objpfx): Likewise.
3766         [!objdir] (common-objdir): Likewise.
3767         * configure.in (config_makefile): Remove.  Hardcode Makefile in
3768         AC_CONFIG_FILES call.
3769         * configure: Regenerated.
3771         [BZ #13888]
3772         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
3773         or TMPDIR.
3774         (testout): Likewise.
3776         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
3777         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
3778         $(rtld-installed-name).
3779         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
3780         (rtld_installed_name): Likwise.
3781         (runit): Remove function.
3782         (run_getconf): New variable,  Use it for running getconf binary.
3784 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
3786         [BZ #14716]
3787         * string/test-memmem.c (check_result): New function.
3788         (do_one_test): Use it.
3789         (check1): New function.
3790         (test_main): Use it.
3792 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
3794         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
3796 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
3798         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
3799         (_G_LSEEK64): Likewise.
3800         (_G_MMAP64): Likewise.
3801         (_G_FSTAT64): Likewise.
3802         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
3803         (_G_LSEEK64): Likewise.
3804         (_G_MMAP64): Likewise.
3805         (_G_FSTAT64): Likewise.
3806         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
3807         unconditional.  Call __mmap64 directly.
3808         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
3809         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
3810         __lseek64 directly.
3811         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
3812         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
3813         __mmap64 directly.
3814         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
3815         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
3816         __lseek64 directly.
3817         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
3818         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
3819         __lseek64 directly.
3820         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
3821         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
3822         __lseek64 directly.
3823         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
3824         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
3825         __fxstat64 directly.
3826         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
3827         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
3828         unconditional.
3829         (freopen64) [!_G_OPEN64]: Remove conditional code.
3830         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
3831         unconditional.
3832         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
3833         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
3834         unconditional.
3835         (ftello64) [!_G_LSEEK64]: Remove conditional code.
3836         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
3837         unconditional.
3838         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
3839         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
3840         unconditional.
3841         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
3842         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
3843         unconditional.
3844         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
3845         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
3846         unconditional.
3847         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
3848         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
3849         unconditional.
3850         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
3852 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
3854         [BZ #12140]
3855         * manual/memory.texi (Malloc Tunable Parameters): Add note
3856         about free list pointers overwriting some perturb bytes.
3857         Wording suggested by Roland McGrath.
3859 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
3861         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
3862         (lgamma_test): Likewise.
3863         (tgamma_test): Likewise.
3865 2012-10-16  Florian Weimer  <fweimer@redhat.com>
3867         [BZ #14700]
3868         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
3869         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
3871 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
3873         * NEWS: Mention BZ #14716.
3874         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
3875         when removing AVAILABLE1_USES_J macro.
3877 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
3879         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
3880         (__bswap_64): __uint64_t for unsigned 64-bit int.
3882 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
3884         * include/string.h (memmem): Declare libc hidden alias.
3885         * string/memmem.c (memmem): Define libc hidden alias.
3886         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
3887         __read, __close instead of open, read, close.
3889 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
3891         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
3892         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
3893         global and hidden.
3894         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
3895         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
3896         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
3897         Likewise.
3898         (__rawmemchr_sse2): Likewise.
3899         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
3900         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
3901         (__strchr_sse2): Likewise.
3902         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
3903         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
3904         (__strcasecmp_sse2): Likewise.
3905         (__strncasecmp_sse2): Likewise.
3906         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
3907         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
3908         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
3909         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
3910         (__strrchr_sse2): Likewise.
3911         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
3912         ifunc-impl-list.c.
3913         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3914         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3915         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3916         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
3917         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3918         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3919         * sysdeps/x86_64/multiarch/memset.S: Likewise.
3920         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3921         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
3922         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
3923         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
3924         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
3925         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
3926         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3927         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3928         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3929         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3930         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3931         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
3932         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
3933         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
3934         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
3935         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
3936         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
3937         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
3938         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3939         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3940         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
3941         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3942         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3944         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
3945         global and hidden.
3946         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
3947         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
3948         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
3949         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
3950         Likewise.
3951         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
3952         Likewise.
3953         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
3954         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
3955         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
3956         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
3957         ifunc-impl-list.c.
3958         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3959         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3960         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3961         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3962         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3963         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3964         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3965         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3966         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3967         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3968         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3969         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3970         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3971         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
3972         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
3973         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3974         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
3975         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
3976         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3977         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3978         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3979         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3980         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3981         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3982         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3983         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
3984         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
3985         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
3986         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
3987         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3988         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
3989         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3990         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3991         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
3992         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3993         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3994         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3995         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3996         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3997         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3998         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
4000         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
4001         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
4002         * include/ifunc-impl-list.h: New file.
4003         * misc/ifunc-impl-list.c: Likewise.
4004         * misc/Makefile (routines): Add ifunc-impl-list.
4005         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
4006         * string/test-string.h: Include <ifunc-impl-list.h>.
4007         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
4008         impl_array): New variables.
4009         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
4010         are defined.
4011         (test_init): Call __libc_ifunc_impl_list to initialize
4012         func_list if TEST_IFUNC and TEST_NAME are defined.
4014         * string/Makefile (strop-tests): Add bcopy and bzero.
4015         * string/test-bcopy.c: New file.
4016         * string/test-bzero.c: Likewise.
4017         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
4018         defined.
4019         * string/test-memset.c: Support bzero test if TEST_BZERO is
4020         defined.
4021         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
4022         __libc_memmove.
4023         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
4024         __libc_memset.
4025         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
4026         of memset.
4028 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
4030         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
4031         * configure: Regenerated.
4033         * Makeconfig (+link-static-before-libc): Don't include
4034         $(link-static-libc).
4036         * libio/libio.h (_IO_pos_t): Remove.
4038 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
4040         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
4041         McGrath.
4043 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
4045         * crypt/crypt-entry.c: Include fips-private.h.
4046         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
4047         * crypt/md5c-test.c (main): Tolerate disabled MD5.
4048         * sysdeps/unix/sysv/linux/fips-private.h: New file.
4049         * sysdeps/generic/fips-private.h: New file, dummy fallback.
4051 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
4053         * crypt/crypt-private.h: Include stdbool.h.
4054         (_ufc_setup_salt_r): Return bool.
4055         * crypt/crypt-entry.c: Include errno.h.
4056         (__crypt_r): Return NULL with EINVAL for bad salt.
4057         * crypt/crypt_util.c (bad_for_salt): New.
4058         (_ufc_setup_salt_r): Check that salt is long enough and within
4059         the specified alphabet.
4060         * crypt/badsalttest.c: New file.
4061         * crypt/Makefile (tests): Add it.
4062         ($(objpfx)badsalttest): New.
4064 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
4066         * NEWS: Add entry for BZ #14602.
4068 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
4070         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
4071         type-generic.
4072         * math/libm-test.inc: Update comment listing what functions and
4073         macros are tested.
4074         (isgreater_test): New function.
4075         (isgreaterequal_test): Likewise.
4076         (isless_test): Likewise.
4077         (islessequal_test): Likewise.
4078         (islessgreater_test): Likewise.
4079         (isunordered_test): Likewise.
4080         (main): Call the new functions.
4082 2012-10-09  Roland McGrath  <roland@hack.frob.com>
4084         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
4085         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
4086         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
4087         * sysdeps/i386/configure: Regenerated.
4088         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
4089         * sysdeps/mach/configure: Regenerated.
4090         * sysdeps/mach/hurd/configure: Regenerated.
4091         * sysdeps/powerpc/configure: Regenerated.
4092         * sysdeps/powerpc/powerpc32/configure: Regenerated.
4093         * sysdeps/powerpc/powerpc64/configure: Regenerated.
4094         * sysdeps/s390/s390-32/configure: Regenerated.
4095         * sysdeps/s390/s390-64/configure: Regenerated.
4096         * sysdeps/sh/configure: Regenerated.
4097         * sysdeps/sparc/configure: Regenerated.
4098         * sysdeps/unix/sysv/linux/configure: Regenerated.
4099         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
4100         * sysdeps/x86_64/configure: Regenerated.
4102         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
4103         defined.  Don't check if MAP is NULL.
4105 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
4107         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
4108         (_G_stat64): Likewise.
4109         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
4110         (_G_stat64): Likewise.
4111         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
4112         instead of struct _G_stat64.
4113         * libio/fileops.c (mmap_remap_check): Likewise.
4114         (decide_maybe_mmap): Likewise.
4115         (_IO_new_file_seekoff): Likewise.
4116         (_IO_file_stat): Likewise.
4117         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
4118         _G_off64_t.
4119         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
4120         instead of struct _G_stat64.
4121         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
4123 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
4125         [BZ #14602]
4126         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
4127         Replace with ...
4128         (CHECK_EOL): New macro.
4129         (two_way_short_needle): Check beginning of haystack for EOL.  Use
4130         CHECK_EOL.
4131         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
4132         Replace with CHECK_EOL.
4133         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
4134         Replace with CHECK_EOL.
4136 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
4138         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
4139         type-generic.
4140         * math/libm-test.inc: Update comment listing what functions and
4141         macros are tested.
4142         (finite_test): New function.
4143         (isinf_test): Likewise.
4144         (isnan_test): Likewise.
4145         (fpclassify_test): Test subnormal input.
4146         (isfinite_test): Likewise.
4147         (isnormal_test): Likewise.
4148         (main): Call the new functions.
4150 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
4152         [BZ #14660]
4153         * Makerules (%.dynsym): Force C locale when running
4154         $(OBJDUMP) --dynamic-syms.
4156 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
4158         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
4159         <stdint.h>.
4161 2012-10-06  David S. Miller  <davem@davemloft.net>
4163         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
4164         upper 32-bits of the length value in %o2 since we use branch-on-register
4165         tests which consider the entire 64-bit register.
4167 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
4169         * string/test-strstr.c (check2): Add a test for page boundary.
4171 2012-10-05  David S. Miller  <davem@davemloft.net>
4173         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
4174         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
4175         file.
4176         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
4177         sysdep_routines.
4178         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
4179         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
4180         and bzero when HWCAP_SPARC_CRYPTO is present.
4182 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
4184         [BZ #14602]
4185         * string/test-strstr.c (check2): New function.
4186         (test_main): Call check2.
4188         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
4189         and bug-strchr1.
4190         * string/bug-strcasestr1.c (do_test): Moved to ...
4191         * string/test-strcasestr.c (check1): Here.  New function.
4192         (do_one_test): Break out result checking code into ...
4193         (check_result): This.  New function.
4194         (do_one_test): Call check_result.
4195         (test_main): Call check1.
4196         * string/bug-strchr1.c (do_test): Moved to ...
4197         * string/test-strchr.c (check1): Here.  New function.
4198         (do_one_test): Break out result checking code into ...
4199         (check_result): This.  New function.
4200         (do_one_test): Call check_result.
4201         (test_main): Call check1.
4202         * string/bug-strstr1.c (main): Moved to ...
4203         * string/test-strchr.c (check1): Here.  New function.
4204         (do_one_test): Break out result checking code into ...
4205         (check_result): This.  New function.
4206         (do_one_test): Call check_result.
4207         (test_main): Call check1.
4208         * string/bug-strcasestr1.c: Removed.
4209         * string/bug-strchr1.c: Likewise.
4210         * string/bug-strstr1.c: Likewise.
4212         * elf/Makefile (dl-routines): Add hwcaps.
4213         * elf/dl-support.c (_dl_important_hwcaps): Removed.
4214         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
4215         (_dl_important_hwcaps): Moved to ...
4216         * elf/dl-hwcaps.c: Here.  New file.
4217         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
4219         [BZ #14557]
4220         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
4221         if IS_IN_rtld isn't defined.
4223         * elf/dl-support.c (_dl_sysinfo_map): New.
4224         Include "get-dynamic-info.h" and "setup-vdso.h".
4225         (_dl_non_dynamic_init): Call setup_vdso.
4226         * elf/dynamic-link.h: Don't include <assert.h>.
4227         (elf_get_dynamic_info): Moved to ...
4228         * elf/get-dynamic-info.h: Here.  New file.
4229         * elf/dynamic-link.h: Include "get-dynamic-info.h".
4230         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
4231         * elf/setup-vdso.h: Here.  New file.
4232         * elf/rtld.c: Include "setup-vdso.h".
4233         (dl_main): Call setup_vdso.
4235 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
4237         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
4238         creal in comment listing functions tested.  List finite, isinf,
4239         isnan, isless, islessequal, isgreater, isgreaterequal,
4240         islessgreater, isunordered, lgamma_r and pow10 as functions and
4241         macros not tested.  Mention which functions not tested are aliases
4242         for other functions.  Fix typo.  Note that signs of NaNs are not
4243         tested.
4245         * scripts/config.guess: Update from config.git.
4246         * scripts/config.sub: Likewise.
4248 2012-10-04  Roland McGrath  <roland@hack.frob.com>
4250         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
4251         * misc/madvise.c (madvise): Renamed to __madvise.
4252         Make madvise a weak alias.
4253         * include/sys/mman.h: Declare __madvise.
4254         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
4255         * sysdeps/unix/syscalls.list
4256         (madvise): Make __madvise the strong name, and madvise a weak alias.
4257         * sysdeps/unix/sysv/linux/syscalls.list
4258         (madvise, mmap): Remove redundant entries.
4259         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
4260         * malloc/malloc.c (mtrim): Likewise.
4261         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
4263 2012-10-03  Roland McGrath  <roland@hack.frob.com>
4265         * sysdeps/mach/hurd/dl-cache.c: File removed.
4266         * config.h.in (USE_LDCONFIG): New #undef.
4267         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
4268         * configure: Regenerated.
4269         * elf/Makefile (dl-routines): Add dl-cache only under
4270         [$(use-ldconfig) = yes].
4271         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
4272         cache on [USE_LDCONFIG].
4273         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
4274         [USE_LDCONFIG].
4275         * elf/rtld.c (dl_main): Likewise.
4277 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
4279         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
4280         _SC_LEVEL4_CACHE_LINESIZE.
4282 2012-10-03  Roland McGrath  <roland@hack.frob.com>
4284         * sysdeps/unix/bsd/confstr.h: File removed.
4286 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
4288         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
4289         sys/sdt-config.h.
4291 2012-10-02  Roland McGrath  <roland@hack.frob.com>
4293         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
4294         Make 'mapoff' field ElfW(Off) rather than off_t.
4296 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
4298         * nscd/Makefile: Remove nscd-cflags and all its users.
4299         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
4300         (CFLAGS-nonlib): Add compiler flags for nscd modules.
4302         [BZ #10631]
4303         * malloc.c (malloc_printerr): Clarify error message.
4305 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
4307         [BZ #14648]
4308         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4309         Set bit_FMA_Usable if FMA is supported.
4310         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
4311         macro.
4312         (bit_FMA4_Usable): Updated.
4313         (index_FMA_Usable): New macro.
4314         (CPUID_FMA): Likewise
4315         (HAS_FMA): Defined with bit_FMA_Usable.
4317 2012-10-01  Roland McGrath  <roland@hack.frob.com>
4319         * bits/types.h (__swblk_t): Type removed.
4320         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
4321         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
4322         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4323         (__SWBLK_T_TYPE): Likewise.
4324         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
4325         (__SWBLK_T_TYPE): Likewise.
4326         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4327         (__SWBLK_T_TYPE): Likewise.
4328         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4329         (__SWBLK_T_TYPE): Likewise.
4331 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
4332             Honza Horak <hhorak@redhat.com>
4334         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
4335         (xdr_mapname): Use YPMAXMAP as maxsize.
4336         (xdr_peername): Use YPMAXPEER as maxsize.
4337         (xdr_keydat): Use YPAXRECORD as maxsize.
4338         (xdr_valdat): Use YPMAXRECORD as maxsize.
4340 2012-10-01  Roland McGrath  <roland@hack.frob.com>
4342         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
4344         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
4345         * csu/init-first.c: ... here.
4346         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
4347         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
4348         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
4349         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
4350         * sysdeps/i386/init-first.c: File removed.
4351         * sysdeps/sh/init-first.c: File removed.
4353 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
4355         [BZ #14645]
4356         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
4357         if x * y might underflow to zero and z is zero.
4358         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4359         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4360         * math/libm-test.inc (min_subnorm_value): New variable.
4361         (fma_test): Add more tests.
4362         (fma_test_towardzero): Likewise.
4363         (fma_test_downward): Likewise
4364         (fma_test_upward): Likewise.
4365         (initialize): Set min_subnorm_value.
4367 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
4369         [BZ #14638]
4370         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
4371         0 + 0.
4372         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
4373         mode for addition resulting in exact zero.
4374         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
4375         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
4376         exact 0 + 0.
4377         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4378         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4379         * math/libm-test.inc (fma_test): Add more tests.
4380         (fma_test_towardzero): New function.
4381         (fma_test_downward): Likewise.
4382         (fma_test_upward): Likewise.
4383         (main): Call the new functions.
4385 2012-09-28  David S. Miller  <davem@davemloft.net>
4387         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
4389 2012-09-28  Roland McGrath  <roland@hack.frob.com>
4391         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
4392         instead of SIGALRM.
4394         * sysdeps/gnu/_G_config.h: Moved to ...
4395         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
4396         * sysdeps/mach/hurd/_G_config.h: Moved to ...
4397         * sysdeps/generic/_G_config.h: ... here.
4399         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
4401         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
4403         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
4404         Conditionalize target on [libnss_test1.so-version].
4406         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
4408         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
4409         (elfobjdir): Move out of conditionals.
4411         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
4412         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
4413         (__nss_lookup_function): Conditionalize label remove_from_tree on
4414         [!DO_STATIC_NSS || SHARED], matching its only use.
4416 2012-09-28  David S. Miller  <davem@davemloft.net>
4418         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
4419         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
4420         file.
4421         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
4422         sysdep_routines.
4423         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
4424         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
4425         when HWCAP_SPARC_CRYPTO is present.
4427 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
4429         * io/tst-mknodat.c: Create a FIFO instead of a socket.
4431 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
4433         [BZ #6530]
4434         * stdio-common/vfprintf.c (process_string_arg): Revert
4435         2000-07-22 change.
4437 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
4439         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
4440         for testcase.
4441         * stdio-common/tst-sprintf.c: Include <locale.h>
4442         (main): Test sprintf's handling of incomplete multibyte
4443         characters.
4445 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
4447         * elf/dl-runtime.c (VERSYMIDX): Removed.
4448         * elf/dl-version.c (VERSYMIDX): Likewise.
4449         * elf/do-rel.h (VERSYMIDX): Likewise.
4450         (VALIDX): Likewise.
4451         * elf/dynamic-link.h (VERSYMIDX): Likewise.
4452         * elf/rtld.c (VALIDX): Likewise.
4453         (ADDRIDX): Likewise.
4454         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
4455         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
4456         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
4457         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
4458         (VALIDX): Likewise.
4459         (ADDRIDX): Likewise.
4461 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
4463         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
4465 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
4467         [BZ #11438]
4468         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
4469         to global scope.
4470         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
4471         addresses are in the same scope as 192.0.2/24.
4472         * posix/gai.conf: Document new scope table defaults.
4474 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4476         [BZ #5298]
4477         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
4478         for ftell.  Compute offsets from write pointers instead.
4479         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
4481 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4483         [BZ #14543]
4484         * libio/Makefile (tests): New test case tst-fseek.
4485         * libio/tst-fseek.c: New test case to verify that fseek/ftell
4486         combination works in wide mode.
4487         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
4488         state when the external buffer state changes.
4490 2012-09-27  David S. Miller  <davem@davemloft.net>
4492         [BZ #14376]
4493         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
4494         pass reloc->r_addend in as the 'high' argument to
4495         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
4497         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4499 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
4501         * rt/tst-aio2.c: Include <pthread.h>.
4502         * rt/tst-aio3.c: Likewise.
4504 2012-09-27  Steve Ellcey  <sellcey@mips.com>
4506         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
4508 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
4510         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
4511         contents on [SHARED].
4513 2012-09-26  Marek Polacek  <polacek@redhat.com>
4515         [BZ #14530]
4516         [BZ #13741]
4517         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
4518         for C++ and GCC <4.3 as well as for non GCC compilers.
4520 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
4522         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4524 2012-09-25  Roland McGrath  <roland@hack.frob.com>
4526         * Makefile.in (all, install): Declare with .PHONY.
4527         Reported by Michael Hope <michael.hope@linaro.org>.
4529 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4531         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
4532         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
4533         system header.
4534         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
4535         Likewise.
4536         (sydep_routines): Add the new and the internal functions.
4537         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
4538         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
4539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
4540         (GLIBC_2.17): Add the new function.
4541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
4542         (GLIBC_2.17): Likewise.
4543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
4544         (GLIBC_2.17): Likewise.
4545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
4546         (GLIBC_2.17): Likewise.
4547         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
4549 2012-09-25  Alan Modra  <amodra@gmail.com>
4551         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
4552         Add release barrier before setting once_control to say
4553         initialisation is done.  Add hints on lwarx.  Use macro in
4554         place of isync.
4555         (clear_once_control): Add release barrier.
4557 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
4559         [BZ #13629]
4560         * math/s_clog.c (__clog): Handle more values close to |z| = 1
4561         specially.
4562         * math/s_clog10.c (__clog10): Likewise.
4563         * math/s_clog10f.c (__clog10f): Likewise.
4564         * math/s_clog10l.c (__clog10l): Likewise.
4565         * math/s_clogf.c (__clogf): Likewise.
4566         * math/s_clogl.c (__clogl): Likewise.
4567         * math/Makefile (libm-calls): Add x2y2m1.
4568         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
4569         (__x2y2m1): Likewise.
4570         (__x2y2m1l): Likewise.
4571         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
4572         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
4573         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
4574         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
4575         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
4576         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
4577         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
4578         * sysdeps/i386/fpu/libm-test-ulps: Update.
4579         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4581         [BZ #14621]
4582         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
4583         int as type of variable DEPTH.
4584         (glob): Use size_t instead of int as type of variables NEWCOUNT
4585         and OLD_PATHC.
4587 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
4589         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
4590         Add s_sincosf-sse2.
4591         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
4592         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
4593         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
4594         macros for using routine as __sincosf_ia32.
4595         Use macro for function declaration and weak_alias.
4596         * sysdeps/i386/fpu/libm-test-ulps: Update.
4598         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
4599         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4601         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
4602         subnormal argument.
4603         * math/s_cexpf.c (__cexpf): Likewise.
4604         * math/s_csinf.c (__csinf): Likewise.
4605         * math/s_csinhf.c (__csinhf): Likewise.
4606         * math/s_ctanf.c (__ctanf): Likewise.
4607         * math/s_ctanhf.c (__ctanhf): Likewise.
4608         * math/s_ccosh.c (__ccoshf): Likewise.
4609         * math/s_cexp.c (__cexpl): Likewise.
4610         * math/s_csin.c (__csin): Likewise.
4611         * math/s_csinh.c (__csinh): Likewise.
4612         * math/s_ctan.c (__ctan): Likewise.
4613         * math/s_ctanh.c (ctanh): Likewise.
4614         * math/s_ccoshl.c (__ccoshl): Likewise.
4615         * math/s_cexpl.c (__cexpl): Likewise.
4616         * math/s_csinl.c (__csinl): Likewise.
4617         * math/s_csinhl.c (__csinhl): Likewise.
4618         * math/s_ctanl.c (__ctanl): Likewise.
4619         * math/s_ctanhl.c (__ctanhl): Likewise.
4621 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
4623         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
4624         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
4625         (_IO_off_t): Define to __off_t, not _G_off_t.
4626         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
4627         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
4628         (_IO_wint_t): Define to wint_t, not _G_wint_t.
4629         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
4630         type of __dummy and __dummy2 fields.
4631         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
4632         (_G_ssize_t): Likewise.
4633         (_G_off_t): Likewise.
4634         (_G_pid_t): Likewise.
4635         (_G_uid_t): Likewise.
4636         (_G_wchar_t): Likewise.
4637         (_G_wint_t): Likewise.
4638         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
4639         (_G_ssize_t): Likewise.
4640         (_G_off_t): Likewise.
4641         (_G_pid_t): Likewise.
4642         (_G_uid_t): Likewise.
4643         (_G_wchar_t): Likewise.
4644         (_G_wint_t): Likewise.
4645         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
4646         (_G_ssize_t): Likewise.
4647         (_G_off_t): Likewise.
4648         (_G_pid_t): Likewise.
4649         (_G_uid_t): Likewise.
4650         (_G_wchar_t): Likewise.
4651         (_G_wint_t): Likewise.
4653 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
4655         * malloc/arena.c: Include malloc-sysdep.h.
4656         (shrink_heap): Use check_may_shrink_heap to decide if madvise
4657         is sufficient to shrink the heap or an unmap is needed.
4658         * sysdeps/generic/malloc-sysdep.h: New file.  Define
4659         new function check_may_shrink_heap.
4660         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
4661         new function check_may_shrink_heap.
4663 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
4665         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
4666         comments.
4668 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
4670         * catgets/test-gencat.sh: Add "set -e".
4671         * elf/tst-pathopt.sh: Likewise.
4672         * grp/tst_fgetgrent.sh: Likewise.
4673         * iconvdata/run-iconv-test.sh: Likewise.
4674         * intl/tst-gettext.sh: Likewise.
4675         * intl/tst-gettext2.sh: Likewise.
4676         * intl/tst-gettext4.sh: Likewise.
4677         * intl/tst-gettext6.sh: Likewise.
4678         * intl/tst-translit.sh: Likewise.
4679         * io/ftwtest-sh: Likewise.
4680         * libio/test-freopen.sh: Likewise.
4681         * malloc/tst-mtrace.sh: Likewise.
4682         * posix/globtest.sh: Likewise.
4683         * posix/tst-getconf.sh: Likewise.
4684         * posix/wordexp-tst.sh: Likewise.
4685         * stdio-common/tst-printf.sh: Likewise.
4686         * stdio-common/tst-unbputc.sh: Likewise.
4687         * stdlib/tst-fmtmsg.sh: Likewise.
4688         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
4689         * catgets/Makefile: Do not specify -e option when running
4690         testsuite shell scripts.
4691         * elf/Makefile: Likewise.
4692         * grp/Makefile: Likewise.
4693         * iconvdata/Makefile: Likewise.
4694         * intl/Makefile: Likewise.
4695         * io/Makefile: Likewise.
4696         * libio/Makefile: Likewise.
4697         * malloc/Makefile: Likewise.
4698         * posix/Makefile: Likewise.
4699         * stdio-common/Makefile: Likewise.
4700         * stdlib/Makefile: Likewise.
4701         * sysdeps/x86_64/Makefile: Likewise.
4703         * io/ftwtest-sh: Add copyright header.
4704         * posix/globtest.sh: Likewise.
4705         * posix/tst-getconf.sh: Likewise.
4706         * posix/wordexp-tst.sh: Likewise.
4707         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
4709 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
4711         [BZ #13679]
4712         * Makeconfig (+link): Defined as $(+link-static) if
4713         $(build-shared) isn't yes.
4714         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
4715         isn't yes.
4716         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
4718         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
4720         [BZ #14562]
4721         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
4722         new chunk size with MALLOC_ALIGN_MASK.
4724 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
4726         [BZ #5044]
4727         * stdio-common/printf_fphex.c: Include <stdbool.h> and
4728         <rounding-mode.h>.
4729         (__printf_fphex): Determine rounding using get_rounding_mode and
4730         round_away.
4731         * stdio-common/tst-printf-round.c (struct hex_test): New
4732         structure.
4733         (hex_tests): New variable.
4734         (test_hex_in_one_mode): New function.
4735         (do_test): Also run tests for hex float output.
4737 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
4739         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
4740         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
4741         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
4742         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
4743         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
4744         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
4745         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
4746         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
4748 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
4750         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
4751         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
4752         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
4753         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
4755 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
4757         [BZ #14579]
4758         * elf/rtld.c (dl_main): Limit the check for self loading to normal
4759         mode only.
4760         * elf/tst-rtld-load-self.sh: New test.
4761         * elf/Makefile: Run it.
4763 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
4765         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
4766         (tst-writev-ENV): Remove.
4767         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
4769 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
4771         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
4773 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
4775         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
4776         unconditional.
4777         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
4778         Likewise.
4779         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
4780         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
4781         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
4782         Likewise.
4784 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
4786         [BZ #14587]
4787         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
4788         * config.make.in (have-cpp-asm-debuginfo): Removed.
4789         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
4790         * configure: Regenerated.
4792 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
4794         [BZ #5044]
4795         * stdio-common/printf_fp.c: Include <stdbool.h> and
4796         <rounding-mode.h>.
4797         (___printf_fp): Determine rounding using get_rounding_mode and
4798         round_away.
4799         * stdio-common/tst-printf-round.c: New file.
4800         * stdio-common/Makefile (tests): Add tst-printf-round.
4801         (link-libm): New variable.
4802         ($(objpfx)tst-printf-round): Depend in $(link-libm).
4804 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
4806         [BZ #14576]
4807         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
4808         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
4809         Likewise.
4810         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
4811         Likewise.
4813 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
4815         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
4816         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4817         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4818         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4820 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
4822         [BZ #14518]
4823         * include/rounding-mode.h: New file.
4824         * sysdeps/generic/get-rounding-mode.h: Likewise.
4825         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
4826         * stdlib/strtod_l.c: Include <rounding-mode.h>.
4827         (MAX_VALUE): New macro.
4828         (MIN_VALUE): Likewise.
4829         (overflow_value): New function.
4830         (underflow_value): Likewise.
4831         (round_and_return): Use overflow_value and underflow_value to
4832         determine return values in overflow and underflow cases.  Use
4833         round_away to determine rounding depending on rounding mode.
4834         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
4835         determine return values in overflow and underflow cases.
4836         * stdlib/tst-strtod-round.c: Include <fenv.h>.
4837         (struct test_results): New structure.
4838         (struct test): Use struct test_results to store expected results
4839         for all rounding modes.
4840         (TEST): Include expected results for all rounding modes.
4841         (test_in_one_mode): New function.
4842         (do_test): Use test_in_one_mode to compute and check results.
4843         Check results for all rounding modes.
4844         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
4845         $(link-libm).
4847 2012-12-09  Allan McRae  <allan@archlinux.org>
4849         * sysdeps/i386/fpu/libm-test-ulps: Update
4851 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
4853         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
4854         (_G_int32_t): Likewise.
4855         (_G_uint16_t): Likewise.
4856         (_G_uint32_t): Likewise.
4857         (_G_HAVE_BOOL): Likewise.
4858         (_G_HAVE_ATEXIT): Likewise.
4859         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4860         (_G_HAVE_IO_FILE_OPEN): Likewise.
4861         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
4862         (_G_int32_t): Likewise.
4863         (_G_uint16_t): Likewise.
4864         (_G_uint32_t): Likewise.
4865         (_G_HAVE_BOOL): Likewise.
4866         (_G_HAVE_ATEXIT): Likewise.
4867         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4868         (_G_HAVE_IO_FILE_OPEN): Likewise.
4869         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
4870         (_G_int32_t): Likewise.
4871         (_G_uint16_t): Likewise.
4872         (_G_uint32_t): Likewise.
4873         (_G_HAVE_BOOL): Likewise.
4874         (_G_HAVE_ATEXIT): Likewise.
4875         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4876         (_G_HAVE_IO_FILE_OPEN): Likewise.
4878 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
4880         * csu/libc-tls.c: Update copyright years.
4882 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
4884         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
4885         [!_G_USING_THUNKS]: Remove conditional code.
4886         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
4887         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
4889         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
4890         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
4891         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4892         (_G_VTABLE_LABEL_PREFIX): Likewise.
4893         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4894         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4895         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4896         (_G_VTABLE_LABEL_PREFIX): Likewise.
4897         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
4898         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4899         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4900         (_G_VTABLE_LABEL_PREFIX): Likewise.
4901         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
4903 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
4905         * libio/Makefile: Include ../Makeconfig before tests.
4906         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
4907         only if $(build-shared) is yes.
4909         * iconv/gconv_db.c: Update copyright years.
4911 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
4913         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
4914         unwind info if defined PIC. Fix special cases description.
4915         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
4917         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
4918         DP_HI_MASK entry.
4919         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
4921 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
4923         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
4925         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
4926         is NULL.
4928         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
4929         (LDLIBS-tst-chk4): This.
4930         (LDFLAGS-tst-chk5): Renamed to ...
4931         (LDLIBS-tst-chk5): This.
4932         (LDFLAGS-tst-chk6): Renamed to ...
4933         (LDLIBS-tst-chk6): This.
4934         (LDFLAGS-tst-lfschk4): Renamed to ...
4935         (LDLIBS-tst-lfschk4): This.
4936         (LDFLAGS-tst-lfschk5): Renamed to ...
4937         (LDLIBS-tst-lfschk5): This.
4938         (LDFLAGS-tst-lfschk6): Renamed to ...
4939         (LDLIBS-tst-lfschk6): This.
4941         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
4942         on $(common-objpfx)soversions.mk.
4944 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
4946         [BZ #10014]
4947         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
4948         example host name.
4950 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
4952         * malloc/arena.c (arena_get_retry): New function that gets
4953         another arena for the caller to try its request on.
4954         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
4955         current arena cannot fulfill the request.
4956         (__libc_memalign): Likewise.
4957         (__libc_memalign): Likewise.
4958         (__libc_pvalloc): Likewise.
4959         (__libc_calloc): Likewise.
4961 2012-09-05  John Tobey  <john.tobey@gmail.com>
4963         [BZ #13542]
4964         * manual/arith.texi (Operations on Complex): Fix description
4965         of carg branch cut.
4967 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
4969         [BZ #10014]
4970         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
4971         host name.
4973         [BZ #10038]
4974         * manual/memory.texi (Memory): Make order of menu items match
4975         order of sections.
4977 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
4979         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
4980         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
4981         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
4983 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
4985         * csu/libc-tls.c (static_dtv): Renamed to ...
4986         (_dl_static_dtv): This.  Make it global.
4987         (_dl_initial_dtv): Removed.
4988         (__libc_setup_tls): Updated.
4989         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
4990         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
4991         DL_INITIAL_DTV.
4993 2012-09-06  Petr Machata  <pmachata@redhat.com>
4995         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
4996         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
4997         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
4998         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
5000 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
5002         [BZ #14545]
5003         * csu/libc-tls.c (_dl_initial_dtv): New variable.
5004         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
5005         freeing dtv[-1].
5007 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
5009         [BZ #14544]
5010         * Makeconfig (link-static-before-libc): Replace $(+prector)
5011         with $(+prectorT).
5012         (link-static-after-libc): Replace $(+postctor) with
5013         $(+postctorT).
5014         (link-bounded): Replace $(+prector)/$(+postctor) with
5015         $(+prectorT)/$(+postctorT).
5016         (+prectorT): New macro.
5017         (+postctorT): Likewise.
5019 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
5021         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
5022         (round_str): Handle values above the maximum for IBM long double
5023         as inexact.
5024         * stdlib/tst-strtod-round.c (tests): Regenerated.
5026 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5028         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
5029         assembler flag.
5030         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
5031         zarch_nohighgprs around the zarch optimized routines.
5032         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
5033         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
5034         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
5035         for zarch.
5037 2012-09-05  David S. Miller  <davem@davemloft.net>
5039         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5041         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
5042         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
5043         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
5044         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
5045         entries.
5047 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
5049         * malloc/arena.c: Fold copyright years.
5050         * malloc/mcheck.c, malloc/memusage.c: Likewise.
5052 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
5054         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
5056 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
5058         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
5060 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
5062         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
5063         change internal state upon failure.
5065 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
5067         * malloc/mcheck.c (mcheck_check_all): Fix typo.
5068         * malloc/memusage.c (mmap): Likewise.
5069         (mmap64, mremap): Likewise.  Adjust name in comment.
5071 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
5073         * libio/fileops.c: Fix typos in comments.
5074         * libio/oldfileops.c: Likewise.
5075         * libio/wfileops.c: Likewise.
5077 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
5079         [BZ #1349]
5080         * malloc/Makefile (tests): Add tst-malloc-usable test case.
5081         (tst-malloc-usable-ENV): Set environment for test case.
5082         * malloc/hooks.c (malloc_check_get_size): New function to get
5083         requested size.
5084         * malloc/malloc.c (musable): Use malloc_check_get_size.
5085         * malloc/tst-malloc-usable.c: New test case.
5087 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
5089         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
5091 2012-09-05  Allan McRae  <allan@archlinux.org>
5093         [BZ #13966]
5094         * configure.in (CXX_SYSINCLUDES): Use compiler output to
5095         determine header location.
5096         * configure: Regenerated.
5098 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
5100         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
5101         float format.
5102         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
5103         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
5104         format.
5105         (test): Regenerate.
5107 2012-09-04  David S. Miller  <davem@davemloft.net>
5109         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
5110         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
5111         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
5113 2012-09-04  Florian Weimer  <fweimer@redhat.com>
5115         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
5116         failures.
5118         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
5120 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
5122         [BZ #9914]
5123         * libio/iogetdelim.c: Include <limits.h>.
5124         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
5125         + len + 1 would overflow.
5127 2012-09-03  Andreas Jaeger  <aj@suse.de>
5129         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5130         * sysdeps/i386/fpu/libm-test-ulps: Update.
5132 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5134         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
5135         Add s_sinf-sse2, s_conf-sse2.
5137         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
5138         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
5139         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
5140         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
5142         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
5143         for using routine as __sinf_ia32.
5144         Use macro for function declaration and weak_alias.
5145         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
5146         for using routine as __cosf_ia32.
5147         Use macro for function declaration and weak_alias.
5149         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
5150         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
5152         * sysdeps/x86_64/fpu/s_sinf.S: New file.
5153         * sysdeps/x86_64/fpu/s_cosf.S: New file.
5154         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5156         * math/libm-test.inc (cos_test): Add more test cases.
5157         (sin_test): Likewise.
5158         (sincos_test): Likewise.
5160 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5162         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
5163         (IFUNC_RESOLVE): Make pointers to the specialized implementations
5164         hidden.
5165         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5167 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
5169         [BZ #14538]
5170         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
5171         first element of the GOT.
5172         (elf_machine_load_address): Return the difference between
5173         the runtime address of _DYNAMIC and elf_machine_dynamic ().
5175 2012-09-01  Allan McRae  <allan@archlinux.org>
5177         [BZ #13412]
5178         * configure.in (AWK): Require gawk version 3.0 or later.
5179         * configure: Regenerated.
5181 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
5183         * sysdeps/unix/sysv/linux/kernel-features.h
5184         (__ASSUME_POSIX_CPU_TIMERS): Remove.
5185         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
5186         [__NR_clock_getres]: Make code unconditional.
5187         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
5188         (clock_getcpuclockid): Remove code left unreachable by removal of
5189         conditionals.
5190         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
5191         code unconditional.
5192         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
5193         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
5194         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
5195         Make code unconditional.
5196         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
5197         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
5198         * sysdeps/unix/sysv/linux/clock_settime.c
5199         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
5200         conditional code.
5201         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
5202         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
5204 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
5206         [BZ #14476]
5207         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
5208         scripts/test-installation.pl.
5210         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
5211         and $ld_so_version if it is set.
5213 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
5215         [BZ #14516]
5216         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
5217         failure if reading from procfs failed.
5218         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
5220 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
5222         * sysdeps/unix/sysv/linux/kernel-features.h
5223         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
5224         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
5225         Remove conditional code.
5226         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5227         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
5228         Remove conditional code.
5229         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5230         * sysdeps/unix/sysv/linux/i386/fxstat.c
5231         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
5232         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5233         * sysdeps/unix/sysv/linux/i386/fxstatat.c
5234         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
5235         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5236         * sysdeps/unix/sysv/linux/i386/lxstat.c
5237         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
5238         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5239         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
5240         Remove conditional code.
5241         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5242         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
5243         Remove conditional code.
5244         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5245         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
5246         <kernel-features.h>.
5247         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
5248         Remove.
5249         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
5250         Remove conditional code.
5251         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5252         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
5253         Remove conditional.
5255 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
5257         [BZ #5400]
5258         * NEWS: Add fixed bug number.
5260 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
5262         [BZ #14519]
5263         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
5264         underflowing exponent in case of negative sign.
5265         * stdlib/tst-strtod-round-data: Add more tests.
5266         * stdlib/tst-strtod-round.c (tests): Regenerated.
5268         [BZ #3479]
5269         * stdlib/strtod_l.c (NDIG): Remove.
5270         (HEXNDIG): Likewise.
5271         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
5272         smallest representable value.
5273         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
5274         lie within an exact representation of 1/2 ulp of the result.
5275         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
5276         unconditionally.
5277         (TENS_P9_IDX): Define unconditionally.
5278         (TENS_P9_SIZE): Likewise.
5279         (TENS_P10_IDX): Likewise.
5280         (TENS_P10_SIZE): Likewise.
5281         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
5282         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
5283         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
5284         entries for 10^2^13 and 10^2^14.
5285         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
5286         (TENS_P13_IDX): Define.
5287         (TENS_P13_SIZE): Likewise.
5288         (TENS_P14_IDX): Likewise.
5289         (TENS_P14_SIZE): Likewise.
5290         (_fpioconst_pow10): Change array size to
5291         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
5292         unconditional.
5293         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
5294         1024]: Add entries for 10^2^13 and 10^2^14.
5295         [LAST_POW10 > _LAST_POW10]: Remove #error.
5296         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
5297         (_fpioconst_pow10): Change array size to
5298         FPIOCONST_POW10_ARRAY_SIZE.
5299         * stdlib/gen-fpioconst.c: New file.
5300         * stdlib/gen-tst-strtod-round.c: Likewise.
5301         * stdlib/tst-strtod-round-data: Likewise.
5302         * stdlib/tst-strtod-round.c: Likewise.
5303         * stdlib/Makefile (tests): Add tst-strtod-round.
5305         [BZ #14459]
5306         * stdlib/strtod_l.c: Include <stdint.h>.
5307         (NDEBUG): Do not define.
5308         (round_and_return): Change EXPONENT parameter to type intmax_t.
5309         Rearrange calculations to avoid internal overflow possibilities.
5310         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
5311         Rearrange calculations to avoid internal overflow possibilities.
5312         Assert that number fits inside MPNSIZE limbs.
5313         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
5314         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
5315         calculations and add assertions to avoid internal overflow
5316         possibilities.  Add casts to avoid signed/unsigned operations.
5317         * stdlib/tst-strtod-overflow.c: New file.
5318         * stdlib/Makefile (tests): Add tst-strtod-overflow.
5320 2012-08-25  Marek Polacek  <polacek@redhat.com>
5322         * time/time.h: Fix some typos in comments.
5324 2012-08-23  Roland McGrath  <roland@hack.frob.com>
5326         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
5327         * posix/tst-rfc3484-2.c: Likewise.
5328         * posix/tst-rfc3484-3.c: Likewise.
5330 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
5332         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
5333         (EF_ARM_ABI_FLOAT_HARD): Likewise.
5335 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
5337         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
5338         #include of fxstatat64.c.
5340 2012-08-22  Roland McGrath  <roland@hack.frob.com>
5342         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
5343         * shadow/getspent_r.c: Likewise.
5344         * shadow/getspnam.c: Likewise.
5345         * shadow/getspnam_r.c: Likewise.
5346         * gshadow/getsgent.c: Likewise.
5347         * gshadow/getsgent_r.c: Likewise.
5348         * gshadow/getsgnam.c: Likewise.
5349         * gshadow/getsgnam_r.c: Likewise.
5350         * inet/getnetbyad.c: Likewise.
5351         * inet/getnetbyad_r.c: Likewise.
5352         * inet/getnetbynm.c: Likewise.
5353         * inet/getnetbynm_r.c: Likewise.
5354         * inet/getnetent.c: Likewise.
5355         * inet/getnetent_r.c: Likewise.
5356         * inet/getproto.c: Likewise.
5357         * inet/getproto_r.c: Likewise.
5358         * inet/getprtent.c: Likewise.
5359         * inet/getprtent_r.c: Likewise.
5360         * inet/getprtname.c: Likewise.
5361         * inet/getprtname_r.c: Likewise.
5362         * inet/getrpcbyname.c: Likewise.
5363         * inet/getrpcbyname_r.c: Likewise.
5364         * inet/getrpcbynumber.c: Likewise.
5365         * inet/getrpcbynumber_r.c: Likewise.
5366         * inet/getrpcent.c: Likewise.
5367         * inet/getrpcent_r.c: Likewise.
5368         * inet/getaliasent.c: Likewise.
5369         * inet/getaliasent_r.c: Likewise.
5370         * inet/getaliasname.c: Likewise.
5371         * inet/getaliasname_r.c: Likewise.
5372         * nscd/getgrgid_r.c: Likewise.
5373         * nscd/getgrnam_r.c: Likewise.
5374         * nscd/gethstbyad_r.c: Likewise.
5375         * nscd/gethstbynm3_r.c: Likewise.
5376         * nscd/getpwnam_r.c: Likewise.
5377         * nscd/getpwuid_r.c: Likewise.
5378         * nscd/getsrvbynm_r.c: Likewise.
5379         * nscd/getsrvbypt_r.c: Likewise.
5380         * nscd/gai.c: Likewise.
5382         * configure.in (build_nscd): New substituted variable, set
5383         by --disable-build-nscd and defaults to $use_nscd.
5384         * configure: Regenerated.
5385         * config.make.in (build-nscd): New substituted variable.
5386         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
5387         Change conditional to require [$(build-nscd) = yes] as well.
5388         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
5390         [BZ# 13696]
5391         * configure.in (use_nscd): New substituted variable, set by
5392         --disable-nscd.  If enabled, define USE_NSCD.
5393         * configure: Regenerated.
5394         * config.h.in: Add USE_NSCD.
5395         * config.make.in (use-nscd): New substituted variable.
5396         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
5397         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
5398         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
5399         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
5400         (CFLAGS-getgrnam_r.c): Likewise.
5401         (CFLAGS-initgroups.c): Likewise.
5402         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
5403         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
5404         Variables removed.
5405         * inet/getnetgrent_r.c
5406         (nscd_setnetgrent): New function, broken out of ...
5407         (setnetgrent): ... here.  Call it.
5408         (innetgr): Conditionalize nscd bits on [USE_NSCD].
5409         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
5410         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
5411         * nscd/Makefile (routines, aux): Move definitions after include of
5412         Makeconfig.  Conditionalize on [$(use-nscd) != no].
5413         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
5414         Conditionalize on [USE_NSCD].
5415         (is_nscd, nscd_init_cb): Likewise.
5416         (nss_load_library): Conditionalize init callback on [USE_NSCD].
5417         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
5418         * nss/nss_db/db-init.c: Likewise.
5419         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
5420         [USE_NSCD].
5421         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
5422         (make_request): Use it.
5423         (cache_valid_p): New function.
5424         (__check_pf): Use it.
5425         * NEWS: Add item for --disable-nscd.
5427 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
5429         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
5430         to support sed >= 4.2.1-20-ga9bf076.
5431         * configure: Regenerated.
5433 2012-08-22  Roland McGrath  <roland@hack.frob.com>
5435         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
5436         Conditionalize whole body on [IREL].
5438 2012-08-22  Jeff Law <law@redhat.com>
5440         [BZ #14505]
5441         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
5442         if the family is PF_UNSPEC.
5444 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
5446         * Makerules (lib-version): Rename from V.
5447         (install-lib-nosubdir): Change V to lib-version.
5449 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
5451         [BZ #14252]
5452         * powerpc32/power6/wcschr.c: New file.
5453         * powerpc32/power6/wcscpy.c: New file.
5454         * powerpc32/power6/wcsrchr.c: New file.
5455         * powerpc64/power6/wcschr.c: New file.
5456         * powerpc64/power6/wcscpy.c: New file.
5457         * powerpc64/power6/wcsrchr.c: New file.
5459 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
5461         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
5462         (two_way_short_needle): Use it.
5463         * string/strstr.c (AVAILABLE1_USES_J): Define.
5464         * string/strcasestr.c: Likewise.
5466         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
5467         array references.
5468         * string/strcasestr.c (TOLOWER): Make side-effect safe.
5470         [BZ #11607]
5471         * NEWS: Add an entry.
5472         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
5473         define their defaults.
5474         (two_way_short_needle): Detect end-of-string on-the-fly.
5475         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
5476         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
5477         * string/bug-strcasestr1.c: New test.
5478         * string/Makefile: Run it.
5480 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
5482         [BZ #11607]
5483         * string/str-two-way.h (two_way_short_needle): Optimize matching of
5484         the first character.
5486 2012-08-21  Roland McGrath  <roland@hack.frob.com>
5488         * csu/elf-init.c (__libc_csu_irel): Function removed.
5489         * csu/libc-start.c (apply_irel): New function.
5490         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
5492 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
5494         * sysdeps/unix/sysv/linux/kernel-features.h
5495         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
5496         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
5497         <kernel-features.h>.
5498         [__NR_fadvise64_64]: Make code unconditional.
5499         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
5500         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
5501         !__NR_fadvise64_64)]: Likewise.
5502         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
5503         !__NR_fadvise64_64))]: Likewise.
5504         [__NR_fadvise64]: Make code unconditional.
5505         [!__NR_fadvise64]: Remove conditional code.
5506         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
5507         <kernel-features.h>.
5508         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
5509         unconditional.
5510         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
5511         conditional code.
5512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
5513         not include <kernel-features.h>.
5514         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
5515         unconditional.
5516         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
5517         conditional code.
5518         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
5519         include <kernel-features.h>.
5520         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
5521         unconditional.
5522         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
5523         conditional code.
5525 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
5527         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
5528         slight instruction rearrangements per scrollpipe analysis.
5529         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
5531 2012-08-20  Roland McGrath  <roland@hack.frob.com>
5533         * manual/syslog.texi (syslog; vsyslog, closelog):
5534         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
5535         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
5537         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
5538         DSOCAPS to match condition on defining it.
5540 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
5542         * sysdeps/unix/sysv/linux/kernel-features.h
5543         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
5544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
5545         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5546         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
5548         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5549         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
5551         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5552         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5554         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
5555         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
5557         * sysdeps/unix/sysv/linux/kernel-features.h
5558         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
5559         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
5560         unconditional.
5561         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5562         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
5563         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
5564         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5565         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
5566         Make code unconditional.
5567         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5568         (__mmap64) [!__NR_mmap2]: Likewise.
5569         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
5570         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
5571         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5572         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
5573         [__NR_mmap2]: Make code unconditional.
5574         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5575         (__mmap64) [!__NR_mmap2]: Likewise.
5577 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5579         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
5581 2012-08-18  Andreas Jaeger  <aj@suse.de>
5583         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
5585 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
5587         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
5588         * include/unistd.h (__have_sock_cloexec): Likewise.
5589         (__have_pipe2): Likewise.
5590         (__have_dup3): Likewise.
5592 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
5594         [BZ #9685]
5595         * include/unistd.h (__have_pipe2): Change define into an extern int.
5596         (__have_dup3): Likewise.
5597         * socket/have_sock_cloexec.c: Include fcntl.h.
5598         (__have_pipe2): New variable.
5599         (__have_dup3): Likewise.
5601 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
5603         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
5605 2012-08-17  Marek Polacek  <polacek@redhat.com>
5607         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
5608         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
5610 2012-08-17  Roland McGrath  <roland@hack.frob.com>
5612         * configure.in: Add AC_SUBST for sysheaders.
5613         * configure: Regenerated.
5614         * config.make.in (sysheaders): New substituted variable.
5616         * sysdeps/unix/mkfifo.c: Moved ...
5617         * sysdeps/posix/mkfifo.c: ... here.
5618         * sysdeps/unix/mkfifoat.c: Moved ...
5619         * sysdeps/posix/mkfifoat.c: ... here.
5621         * sysdeps/unix/utime.c: Moved ...
5622         * sysdeps/posix/utime.c: ... here.
5624         * sysdeps/unix/time.c: Moved ...
5625         * sysdeps/posix/time.c: ... here.
5626         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
5627         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
5629         * sysdeps/unix/nice.c: Moved ...
5630         * sysdeps/posix/nice.c: ... here.
5632         * sysdeps/unix/alarm.c: Moved ...
5633         * sysdeps/posix/alarm.c: ... here.
5635         * intl/Makefile ($(codeset_mo)): Depend on the input file.
5637 2012-08-17  Jeff Law <law@redhat.com>
5639         * intl/Makefile (codeset_mo): New variable.
5640         ($(codeset_mo)): New target.
5641         (tst-codeset.out): Depend on that.  Remove explicit rule.
5642         (tst-gettext3.out, tst-gettext5.out): Likewise.
5643         (LOCPATH-ENV, tst-codeset-ENV): New variables.
5644         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
5645         * intl/tst-codeset.sh: Remove.
5646         * intl/tst-gettext3.sh: Likewise.
5647         * intl/tst-gettext5.sh: Likewise.
5649 2012-08-17  Roland McGrath  <roland@hack.frob.com>
5651         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
5652         * sysdeps/unix/syscalls.list: ... here.
5654         * sysdeps/posix/getaddrinfo.c
5655         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
5656         (gaiconf_init, gaiconf_reload): Use them.
5657         [!_STATBUF_ST_NSEC]
5658         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
5659         Define using time_t rather than struct timespec.
5661         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
5662         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
5663         Macros removed.
5664         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
5665         [!NO_THREADS].
5666         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
5667         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
5668         Likewise.
5670         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
5671         __libc_cleanup_push argument.
5673         * bits/param.h: New file.
5674         * misc/sys/param.h: New file.
5675         * include/sys/param.h: New file.
5676         * misc/Makefile (headers): Add bits/param.h.
5677         * sysdeps/generic/sys/param.h: File removed.
5678         * sysdeps/unix/sysv/linux/bits/param.h: New file.
5679         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
5680         * sysdeps/mach/hurd/bits/param.h: New file.
5681         * sysdeps/mach/hurd/sys/param.h: File removed.
5683         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
5684         last change.
5686         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
5687         [_IO_MTSAFE_IO].
5688         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
5689         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
5690         New macros.
5692         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
5693         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
5694         rather than -D_IO_MTSAFE_IO conditionally.
5695         * stdio-common/Makefile (CPPFLAGS): Likewise.
5696         * wcsmbs/Makefile (CPPFLAGS): Likewise.
5697         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
5698         Use $(libio-mtsafe).
5699         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
5700         of -D_IO_MTSAFE_IO.
5701         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
5702         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
5703         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
5704         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
5705         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
5706         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
5707         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
5708         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
5709         (CFLAGS-fread_u_chk.c): Likewise.
5710         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
5711         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
5712         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
5713         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
5714         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
5715         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
5716         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
5717         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
5718         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
5720         * libio/Makefile: Test [$(libc-reentrant) = yes]
5721         instead of [$(filter %REENTRANT, $(defines)) nonempty].
5723         * Makeconfig
5724         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
5725         * sysdeps/pthread/configure: File removed.
5726         * sysdeps/pthread/Makeconfig: New file.
5727         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
5728         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
5730 2012-08-16  Gary Benson  <gbenson@redhat.com>
5732         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
5733         unmapping the first object in a namespace.
5735 2012-08-16  Roland McGrath  <roland@hack.frob.com>
5737         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
5738         (__internal_setnetgrent): ... this.  Add internal_function to
5739         definition.  Add libc_hidden_def.
5740         (setnetgrent): Update caller.
5741         (internal_endnetgrent): Renamed to ...
5742         (__internal_endnetgrent): ... this.  Add internal_function to
5743         definition.  Add libc_hidden_def.
5744         (endnetgrent): Update caller.
5745         (internal_getnetgrent_r): Renamed to ...
5746         (__internal_getnetgrent_r): ... this.  Add internal_function to
5747         definition.  Add libc_hidden_def.
5748         (__getnetgrent_r): Update caller.
5749         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
5751 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
5753         * stdlib/longlong.h: Update from GCC.
5755 2012-08-16  Roland McGrath  <roland@hack.frob.com>
5757         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
5758         on _QL, which is set by umul_ppmm but never used.
5759         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
5760         variables, which are set by GMP macros but never used.
5761         * stdio-common/_itowa.c (_itowa): Likewise.
5762         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
5763         * stdlib/mod_1.c (mpn_mod_1): Likewise.
5765 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
5767         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
5768         struct La_sh_regs is not constant.
5769         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
5770         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
5771         and struct La_sparc64_regs are not constant.
5773 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
5775         * sysdeps/unix/sysv/linux/kernel-features.h
5776         (__ASSUME_POSIX_TIMERS): Remove.
5777         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
5778         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5779         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
5780         Make code unconditional.
5781         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5782         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
5783         Make code unconditional.
5784         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5785         * sysdeps/unix/sysv/linux/clock_nanosleep.c
5786         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
5787         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5788         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
5789         Make code unconditional.
5790         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5791         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
5792         (__libc_missing_posix_timers): Remove.
5794 2012-08-15  Roland McGrath  <roland@hack.frob.com>
5796         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
5797         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
5799         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
5801         * elf/dl-sym.c: Include <stdlib.h>.
5803         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
5804         constants, which avoids warnings in 32-bit builds.
5806         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
5807         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
5809         * misc/lseek.c: File moved to ...
5810         * io/lseek.c: ... here.
5812         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
5814         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
5815         shifting LEN more than 31 bits at once.
5817 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5819         [BZ #14195]
5820         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
5821         segmentation fault for a case of two empty input strings.
5822         * string/test-strncasecmp.c (check1): Renamed to...
5823         (bz12205): ...this.
5824         (bz14195): Add new testcase for two empty input strings and N > 0.
5825         (test_main): Call new testcase, adapt for renamed function.
5827 2012-08-15  Andreas Jaeger  <aj@suse.de>
5829         [BZ #14090]
5830         * crypt/md5test2.c: New test, based on test supplied by Serge
5831         Belyshev <belyshev@depni.sinp.msu.ru>.
5832         * crypt/Makefile (xtests): Add md5test-giant..
5833         * crypt/Makefile ($(objpfx)md5test-giant): Add.
5835 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
5837         [BZ #14090]
5838         * crypt/md5.c (md5_process_block): Don't assume the buffer
5839         length is less than 2**32.
5840         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
5841         length is less than 2**64.
5843 2012-08-15  Roland McGrath  <roland@hack.frob.com>
5845         * string/str-two-way.h: Include <sys/param.h>.
5846         (MAX): Macro removed.
5848         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
5849         Move #define and #undef of memmove to just before and after
5850         including <string.h>.
5852         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
5853         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
5854         and after including <string.h>.  Move declarations of
5855         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
5856         to before #include "string/memmove.c".
5858         * include/dirent.h: Declare __getdirentries.
5860         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
5861         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
5863 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
5865         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
5866         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
5867         * sysdeps/i386/configure: Regenerated.
5868         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
5869         STABS_CURRENT_FILE, and STABS_FUN.
5870         (END): Remove call to STABS_FUN_END.
5871         (STABS_CURRENT_FILE1): Delete.
5872         (STABS_CURRENT_FILE): Likewise.
5873         (STABS_FUN): Likewise.
5874         (STABS_FUN_END): Likewise.
5875         (STABS_FUN2): Likewise.
5876         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
5877         * sysdeps/x86_64/configure: Regenerated.
5879 2012-08-14  Roland McGrath  <roland@hack.frob.com>
5881         * elf/dl-open.c: Include <atomic.h>.
5882         * elf/dl-lookup.c: Likewise.
5884 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
5886         * sysdeps/unix/sysv/linux/kernel-features.h
5887         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
5888         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
5889         unconditionally.
5890         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
5891         unconditionally.
5892         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
5893         condition on __ASSUME_CLONE_THREAD_FLAGS.
5895 2012-08-14  Andreas Jaeger  <aj@suse.de>
5897         * sysdeps/i386/fpu/libm-test-ulps: Update.
5899 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
5901         * include/atomic.h (atomic_exchange_and_add): Split into ...
5902         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
5903         New atomic macros.
5905 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
5907         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5909 2012-08-13  Jeff Law <law@redhat.com>
5911         * manual/stdio.texi (snprintf): Clarify handling of the trailing
5912         null byte in the output string.
5914 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
5916         * sysdeps/unix/sysv/linux/kernel-features.h
5917         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
5918         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
5919         (__ASSUME_ARG_MAX_STACK_BASED): Define.
5920         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
5921         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
5922         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
5923         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
5925 2012-08-09  Jeff Law <law@redhat.com>
5927         [BZ #13939]
5928         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
5929         When avoid_arena is set, don't retry in the that arena.  Pick the
5930         next one, whatever it might be.
5931         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
5932         (arena_lock): Pass in new parameter to arena_get2.
5933         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
5934         arena_get2.
5935         (__libc_malloc): Unify retrying after main arena failure with
5936         __libc_memalign version.
5937         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
5939 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
5941         [BZ #14166]
5942         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
5943         to __redirect_strstr.
5944         (__strstr_sse42): Use typeof __redirect_strstr.
5945         (__strstr_ia32): Likewise.
5946         (__libc_strstr): New prototype.
5947         (strstr): Renamed to ...
5948         (__libc_strstr): This.
5949         (strstr): New strong alias of __libc_strstr.
5950         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
5951         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
5952         __redirect_time.
5953         Include <time.h>.
5954         (__libc_time): New prototype.
5955         (time_ifunc): Replace time with __libc_time.
5956         (time): New strong alias and hidden definition of __libc_time.
5957         (__GI_time): Remove strong alias.
5958         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
5959         Include <stddef.h>.
5960         (memmove): Redefined to __redirect_memmove.
5961         (__memmove_sse2): Use typeof __redirect_memmove.
5962         (__memmove_ssse3): Likewise.
5963         (__memmove_ssse3_back): Likewise.
5964         (__libc_memmove): New prototype.
5965         (memmove): Renamed to ...
5966         (__libc_memmove): This.
5967         (memmove): New strong alias of __libc_memmove.
5969 2012-08-08  Mark Salter  <msalter@redhat.com>
5971         * elf/elf.h
5972         (R_MN10300_TLS_GD): Define.
5973         (R_MN10300_TLS_LD): Likewise.
5974         (R_MN10300_TLS_LDO): Likewise.
5975         (R_MN10300_TLS_GOTIE): Likewise.
5976         (R_MN10300_TLS_IE): Likewise.
5977         (R_MN10300_TLS_LE): Likewise.
5978         (R_MN10300_TLS_DTPMOD): Likewise.
5979         (R_MN10300_TLS_DTPOFF): Likewise.
5980         (R_MN10300_TLS_TPOFF): Likewise.
5981         (R_MN10300_SYM_DIFF): Likewise.
5982         (R_MN10300_ALIGN): Likewise.
5983         (R_MN10300_NUM): Update.
5985 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
5987         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
5988         Remove.
5990 2012-08-08  Roland McGrath  <roland@hack.frob.com>
5992         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
5994         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
5995         sysdeps/unix -> sysdeps/posix move.
5996         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
5998 2012-08-07      Allan McRae     <allan@archlinux.org>
6000         [BZ #14303]
6001         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
6002         (SUNOS_CPP): Likewise.
6003         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
6004         not found.
6005         (open_input): Call CPP using execvp.
6007 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
6009         * sysdeps/unix/sysv/linux/kernel-features.h
6010         (__ASSUME_PROT_GROWSUPDOWN): Remove.
6011         (__ASSUME_NO_CLONE_DETACHED): Likewise.
6012         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
6013         (__ASSUME_WAITID_SYSCALL): Likewise.
6014         * sysdeps/unix/sysv/linux/dl-execstack.c
6015         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
6016         code unconditional.
6017         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
6018         conditional code.
6019         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
6020         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
6021         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
6022         code.
6023         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
6024         unconditional.
6025         [__ASSUME_WAITID_SYSCALL]: Likewise.
6026         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
6028 2012-08-07  Roland McGrath  <roland@hack.frob.com>
6030         * sysdeps/unix/closedir.c: Renamed to ...
6031         * sysdeps/posix/closedir.c: ... here.
6032         * sysdeps/unix/dirfd.c: Renamed to ...
6033         * sysdeps/posix/dirfd.c: ... here.
6034         * sysdeps/unix/dirstream.h: Renamed to ...
6035         * sysdeps/posix/dirstream.h: ... here.
6036         * sysdeps/unix/fdopendir.c: Renamed to ...
6037         * sysdeps/posix/fdopendir.c: ... here.
6038         * sysdeps/unix/opendir.c: Renamed to ...
6039         * sysdeps/posix/opendir.c: ... here.
6040         * sysdeps/unix/readdir.c: Renamed to ...
6041         * sysdeps/posix/readdir.c: ... here.
6042         * sysdeps/unix/readdir_r.c: Renamed to ...
6043         * sysdeps/posix/readdir_r.c: ... here.
6044         * sysdeps/unix/rewinddir.c: Renamed to ...
6045         * sysdeps/posix/rewinddir.c: ... here.
6046         * sysdeps/unix/seekdir.c: Renamed to ...
6047         * sysdeps/posix/seekdir.c: ... here.
6048         * sysdeps/unix/telldir.c: Renamed to ...
6049         * sysdeps/posix/telldir.c: ... here.
6050         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
6051         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
6052         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
6053         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
6055         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
6056         * bits/fcntl.h: ... here.
6058         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
6059         not 0.
6060         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
6061         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
6062         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
6063         (struct flock): Move l_start, l_len to the beginning.
6064         Use __pid_t for l_pid.
6065         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
6066         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
6067         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
6068         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
6069         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
6070         [__USE_LARGEFILE64] (struct flock64): New type.
6071         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
6073         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
6074         * bits/dirent.h: ... here.
6076         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
6077         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
6079 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
6081         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6082         Change from 2.6.0 to 2.6.16.
6083         * sysdeps/unix/sysv/linux/configure: Regenerated.
6084         * sysdeps/unix/sysv/linux/kernel-features.h
6085         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
6086         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
6087         version.
6088         (__ASSUME_UTIMES): Likewise.
6089         (__ASSUME_CLONE_STOPPED): Remove.
6090         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
6091         architectures, not kernel version.
6092         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
6093         (__ASSUME_NO_CLONE_DETACHED): Likewise.
6094         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
6095         (__ASSUME_WAITID_SYSCALL): Likewise.
6096         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
6097         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
6098         * README: State 2.6.16 as minimum Linux kernel version.  Do not
6099         refer to older versions.
6101 2012-08-06  Roland McGrath  <roland@hack.frob.com>
6103         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
6104         Define alphasort64 as an alias.
6105         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
6106         Define versionsort64 as an alias.
6107         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
6108         Define scandir64 as an alias.
6109         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
6110         Define scandirat64 as an alias.
6111         * dirent/alphasort64.c (alphasort64):
6112         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
6113         * dirent/versionsort64.c: Likewise.
6114         * dirent/scandir64.c: Likewise.
6115         * dirent/scandirat64.c: Likewise.
6116         * sysdeps/wordsize-64/alphasort.c: File removed.
6117         * sysdeps/wordsize-64/alphasort64.c: File removed.
6118         * sysdeps/wordsize-64/scandir.c: File removed.
6119         * sysdeps/wordsize-64/scandir64.c: File removed.
6120         * sysdeps/wordsize-64/scandirat.c: File removed.
6121         * sysdeps/wordsize-64/scandirat64.c: File removed.
6122         * sysdeps/wordsize-64/versionsort.c: File removed.
6123         * sysdeps/wordsize-64/versionsort64.c: File removed.
6124         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
6125         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
6126         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
6127         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
6128         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
6129         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
6130         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
6131         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
6133         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
6134         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
6135         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
6136         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6137         [defined __arch64__ || defined __sparcv9]
6138         (__INO_T_MATCHES_INO64_T): New macro.
6139         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
6140         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
6141         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
6142         * sysdeps/unix/sysv/linux/bits/dirent.h
6143         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
6144         (_DIRENT_MATCHES_DIRENT64): New macro.
6146         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
6147         Define lockf64 as an alias.
6148         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
6149         Define fseeko64 as an alias.
6150         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
6151         Define ftello64 as an alias.
6152         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
6153         Define _IO_fgetpos64 and fgetpos64 as aliases.
6154         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
6155         Define _IO_fsetpos64 and fsetpos64 as aliases.
6156         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
6157         Conditionalize body on this.
6158         * libio/fseeko64.c: Likewise.
6159         * libio/ftello64.c: Likewise.
6160         * libio/iofgetpos64.c: Likewise.
6161         * libio/iofsetpos64.c: Likewise.
6162         * sysdeps/wordsize-64/lockf.c: File removed.
6163         * sysdeps/wordsize-64/lockf64.c: File removed.
6164         * sysdeps/wordsize-64/fseeko.c: File removed.
6165         * sysdeps/wordsize-64/fseeko64.c: File removed.
6166         * sysdeps/wordsize-64/ftello.c: File removed.
6167         * sysdeps/wordsize-64/ftello64.c: File removed.
6168         * sysdeps/wordsize-64/iofgetpos.c: File removed.
6169         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
6170         * sysdeps/wordsize-64/iofsetpos.c: File removed.
6171         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
6172         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
6173         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
6174         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
6175         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
6176         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
6177         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
6178         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
6179         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
6180         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
6181         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
6183         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
6184         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
6185         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
6186         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6187         [defined __arch64__ || defined __sparcv9]
6188         (__OFF_T_MATCHES_OFF64_T): New macro.
6189         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
6190         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
6191         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6192         (__OFF_T_MATCHES_OFF64_T): New macro.
6194 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
6196         * stdlib/secure-getenv.c (__secure_getenv): Replace
6197         GLIBC_2_16 with GLIBC_2_17.
6199 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
6201         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
6202         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
6204 2012-08-03  David S. Miller  <davem@davemloft.net>
6206         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6208 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
6210         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
6211         Remove.
6212         (__ASSUME_CORRECT_SI_PID): Likewise.
6213         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
6214         (__ASSUME_TMPFS_NAME): Likewise.
6215         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
6216         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
6217         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
6218         (HAVE_AUX_SECURE): Make definition unconditional.
6219         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
6220         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
6222 2012-08-03  Roland McGrath  <roland@hack.frob.com>
6224         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
6225         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
6226         * sysdeps/mach/hurd/eloop-threshold.h: New file.
6227         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
6228         __eloop_threshold instead of SYMLOOP_MAX.
6230         * sysdeps/generic/eloop-threshold.h: New file.
6231         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
6232         of MAXSYMLINKS.
6233         * elf/chroot_canon.c (chroot_canon): Likewise.
6235 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
6237         [BZ #13717]
6238         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6239         Change to 2.6.0 everywhere.
6240         * sysdeps/unix/sysv/linux/configure: Regenerated.
6241         * sysdeps/unix/sysv/linux/kernel-features.h
6242         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
6243         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
6244         kernel versions.
6245         (__ASSUME_POSIX_TIMERS): Define unconditionally.
6246         (__ASSUME_FUTEX_REQUEUE): Remove.
6247         (__ASSUME_STATFS64): Define unconditionally.
6248         (__ASSUME_AT_SECURE): Likewise.
6249         (__ASSUME_CORRECT_SI_PID): Likewise.
6250         (__ASSUME_TGKILL): Define without depending on kernel version for
6251         i386.
6252         (__ASSUME_UTIMES): Likewise.
6253         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
6254         kernel version.
6255         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
6256         (__ASSUME_TMPFS_NAME): Likewise.
6257         * README: Update reference to Linux kernel versions.
6259 2012-08-02  Marek Polacek  <polacek@redhat.com>
6261         [BZ# 14150]
6262         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
6263         libc_cv_asm_type_prefix with %.
6264         * configure: Regenerated.
6265         * include/libc-symbols.h: Remove comment about
6266         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
6267         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
6268         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
6269         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
6270         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
6271         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
6272         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
6273         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
6274         * elf/tst-unique2mod1.c: Likewise.
6275         * elf/tst-unique1mod2.c: Likewise.
6276         * elf/tst-unique1mod1.c: Likewise.
6277         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
6278         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
6279         Replace ASM_TYPE_DIRECTIVE with .type.
6280         * sysdeps/s390/s390-64/sysdep.h: Likewise.
6281         * sysdeps/i386/sysdep.h: Likewise.
6282         * sysdeps/x86_64/sysdep.h: Likewise.
6283         * sysdeps/sh/sysdep.h: Likewise.
6284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
6285         Do not define ASM_TYPE_DIRECTIVE.
6286         * sysdeps/powerpc/sysdep.h: Likewise.
6287         * sysdeps/powerpc/powerpc32/sysdep.h:
6288         Replace ASM_TYPE_DIRECTIVE with .type.
6289         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
6290         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6291         * sysdeps/i386/fpu/e_powf.S: Likewise.
6292         * sysdeps/i386/fpu/e_expl.S: Likewise.
6293         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6294         * sysdeps/i386/fpu/e_acosh.S: Likewise.
6295         * sysdeps/i386/fpu/e_pow.S: Likewise.
6296         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
6297         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6298         * sysdeps/i386/fpu/s_expm1.S: Likewise.
6299         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
6300         * sysdeps/i386/fpu/e_log2.S: Likewise.
6301         * sysdeps/i386/fpu/e_log2l.S: Likewise.
6302         * sysdeps/i386/fpu/e_scalb.S: Likewise.
6303         * sysdeps/i386/fpu/e_powl.S: Likewise.
6304         * sysdeps/i386/fpu/e_log10f.S: Likewise.
6305         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
6306         * sysdeps/i386/fpu/e_logl.S: Likewise.
6307         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
6308         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
6309         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
6310         * sysdeps/i386/fpu/e_log2f.S: Likewise.
6311         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6312         * sysdeps/i386/fpu/e_log.S: Likewise.
6313         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6314         * sysdeps/i386/fpu/e_logf.S: Likewise.
6315         * sysdeps/i386/fpu/e_log10l.S: Likewise.
6316         * sysdeps/i386/fpu/e_atanh.S: Likewise.
6317         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
6318         * sysdeps/i386/fpu/e_log10.S: Likewise.
6319         * sysdeps/i386/fpu/s_frexp.S: Likewise.
6320         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6321         * sysdeps/i386/fpu/s_asinh.S: Likewise.
6322         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
6323         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6324         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
6325         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
6326         * sysdeps/i386/i686/strtok.S: Likewise.
6327         * sysdeps/i386/i386-mcount.S: Likewise.
6328         * sysdeps/i386/strtok.S: Likewise.
6329         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
6330         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6331         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6332         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6333         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
6334         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6335         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
6336         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
6337         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6338         * sysdeps/x86_64/_mcount.S: Likewise.
6339         * sysdeps/x86_64/strtok.S: Likewise.
6340         * sysdeps/sh/_mcount.S: Likewise.
6342 2012-08-01  Roland McGrath  <roland@hack.frob.com>
6344         * libio/iofopen.c: Include <fcntl.h>.
6345         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
6346         (_IO_fopen64, fopen64): Define as aliases.
6347         * libio/iofopen64.c: Include <fcntl.h>.
6348         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
6349         Conditionalize body on this.
6350         * sysdeps/wordsize-64/iofopen.c: File removed.
6351         * sysdeps/wordsize-64/iofopen64.c: File removed.
6353 2012-08-01  Marek Polacek  <polacek@redhat.com>
6355         * libc/Makeconfig: Use elf in place of binfmt-subdir.
6356         Use dlfcn directly instead of a variable.
6357         (binfmt-subdir): Do not define.
6358         (dlfcn): Likewise.
6360 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
6362         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
6363         Remove all definitions.
6364         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
6365         <kernel-features.h>.
6366         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
6367         (miss_F_GETOWN_EX): Remove all definitions.
6368         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
6369         macro definition.
6370         [!__ASSUME_FCNTL64]: Remove conditional code.
6371         [__ASSUME_FCNTL64]: Make code unconditional.
6372         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
6373         <kernel-features.h>.
6374         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
6375         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
6376         (lockf64) [__NR_fcntl64]: Make code unconditional.
6377         (lockf64) [__ASSUME_FCNTL64]: Likewise.
6379         * sysdeps/unix/sysv/linux/kernel-features.h
6380         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
6381         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
6382         Make code unconditional.
6383         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
6384         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
6385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
6386         [__NR_vfork]: Make code unconditional.
6387         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
6388         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
6389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
6390         [__NR_vfork]: Make code unconditional.
6391         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
6392         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
6394 2012-08-01  Roland McGrath  <roland@hack.frob.com>
6396         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
6397         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
6399         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6400         Define mkstemp64 as an alias.
6401         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6402         Define mkstemps64 as an alias.
6403         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6404         Define mkostemp64 as an alias.
6405         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6406         Define mkostemps64 as an alias.
6407         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
6408         Conditionalize body on this.
6409         * misc/mkostemp64.c: Likewise.
6410         * misc/mkostemps64.c: Likewise.
6411         * misc/mkstemps64.c: Likewise.
6412         * sysdeps/wordsize-64/mkstemp64.c: File removed.
6413         * sysdeps/wordsize-64/mkostemp64.c: File removed.
6414         * sysdeps/wordsize-64/mkostemp.c: File removed.
6415         * sysdeps/wordsize-64/mkstemp.c: File removed.
6416         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
6417         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
6418         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
6419         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
6421         [BZ #14138]
6422         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
6423         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
6424         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
6425         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
6427         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
6428         compat_symbol macros from <shlib-compat.h> rather than the underlying
6429         default_symbol_version and symbol_version macros, so that DEFAULT
6430         lines in shlib-versions are respected.
6431         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
6433 2012-08-01  Florian Weimer  <fweimer@redhat.com>
6435         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
6436         Declare with warn_unused_result.
6437         (setgid, setregid, setegid, setresgid): Likewise.
6438         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
6439         Likewise.
6440         * WUR-REPORT: Remove set*id functions.
6442 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
6444         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
6446 2012-07-31  Roland McGrath  <roland@hack.frob.com>
6448         * include/sys/socket.h (__libc_accept, __libc_accept4):
6449         Add attribute_hidden.
6450         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
6452         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
6453         use of PTR_MANGLE.
6454         * inet/getnetgrent_r.c (setup): Likewise.
6456         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
6458 2012-07-31  David S. Miller  <davem@davemloft.net>
6460         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6462 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
6464         [BZ #13629]
6465         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
6466         value between 1.0 and 2.0 and smaller part has absolute value less
6467         than 1.0.
6468         * math/s_clog10.c (__clog10): Likewise.
6469         * math/s_clog10f.c (__clog10f): Likewise.
6470         * math/s_clog10l.c (__clog10l): Likewise.
6471         * math/s_clogf.c (__clogf): Likewise.
6472         * math/s_clogl.c (__clogl): Likewise.
6473         * math/libm-test.inc (clog_test): Add more tests.
6474         (clog10_test): Likewise.
6475         * sysdeps/i386/fpu/libm-test-ulps: Update.
6476         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6478 2012-07-31  Florian Weimer  <fweimer@redhat.com>
6480         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
6481         Exit with zero in case no suitable GID is found, and write a
6482         message to standard error.
6484 2012-07-30  Roland McGrath  <roland@hack.frob.com>
6486         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
6487         rather than to 1.
6488         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
6489         (MAXPATHLEN): Removed.
6490         (NOGROUP, NODEV): New macros.
6491         (setbit, clrbit, isset, isclr): New macros.
6492         (howmany, roundup, powerof2): New macros.
6493         (DEV_BSIZE): New macro.
6495         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
6496         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
6498         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
6499         definition on [!__NO_LONG_DOUBLE_MATH].
6501         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
6502         PTR_MANGLE and PTR_DEMANGLE.
6504         * socket/accept4.c (accept4): Rename to __libc_accept4.
6505         Define accept4 as a weak alias.
6507         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
6508         on [_DIRENT_HAVE_D_TYPE].
6509         * io/ftw.c (ftw_dir): Likewise.
6511         * io/xmknod.c (__xmknod): Don't check PATH for being null.
6513         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
6515         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
6516         Use the BSD numbers rather than the arbitrary ones we had.
6517         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
6518         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
6519         (SIGXCPU, SIGXFSZ): New macros.
6520         (_NSIG): Now 32.
6522         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
6523         initializer on [_LIBC_REENTRANT].
6525         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
6526         definitions inside [_POSIX_MAPPED_FILES].
6528         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
6530         * dirent/opendir.c: Include <fcntl.h>.
6532         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
6533         (__libc_getspecific): Likewise.
6534         (__libc_key_create): Likewise.
6536         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
6537         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
6538         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
6539         (tmpfile64): Define as alias.
6540         * sysdeps/wordsize-64/tmpfile.c: File removed.
6541         * sysdeps/wordsize-64/tmpfile64.c: File removed.
6542         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
6543         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
6545         * stdio-common/vfscanf.c: Include <stdbool.h>.
6546         * nss/makedb.c: Likewise.
6547         * stdio-common/_i18n_number.h: Likewise.
6548         * argp/argp-help.c: Likewise.
6549         * posix/wordexp.c: Likewise.
6550         * sysdeps/posix/spawni.c: Likewise.
6551         * nss/nss_files/files-initgroups.c: Likewise.
6552         * stdio-common/reg-modifier.c: Include <stdlib.h>.
6553         * nss/nss_files/files-initgroups.c: Likewise.
6554         * nss/nss_db/db-netgrp.c: Likewise.
6555         * nss/nss_db/db-initgroups.c: Likewise.
6556         * io/fchmodat.c: Include <sys/stat.h>.
6558         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
6559         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
6561         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
6562         [HAVE_MMAP].
6564         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
6565         Add multiple inclusion protection.
6567 2012-07-27  David S. Miller  <davem@davemloft.net>
6569         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6571 2012-07-27  Gary Benson  <gbenson@redhat.com>
6573         [BZ #14298]
6574         * elf/rtld.c: Include <stap-probe.h>.
6575         (dl_main): Added static probes "init_start" and "init_complete".
6576         * elf/dl-load.c: Include <stap-probe.h>.
6577         (lose): Take new parameter "nsid".
6578         Added static probe "map_failed".
6579         (_dl_map_object_from_fd): Pass namespace id to lose.
6580         Added static probe "map_start".
6581         (open_verify): Pass namespace id to lose.
6582         * elf/dl-open.c: Include <stap-probe.h>.
6583         (dl_open_worker) Added static probes "map_complete", "reloc_start"
6584         and "reloc_complete".
6585         * elf/dl-close.c: Include <stap-probe.h>.
6586         (_dl_close_worker): Added static probes "unmap_start" and
6587         "unmap_complete".
6588         * elf/rtld-debugger-interface.txt: New file documenting the above.
6590 2012-07-26  Roland McGrath  <roland@hack.frob.com>
6592         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
6593         rather than a string variable.
6594         * sunrpc/rpc_main.c (h_output): Likewise.
6595         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
6597 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
6599         * inet/check_native.c: New file.
6601 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
6603         [BZ #13629]
6604         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
6605         if larger part has absolute value 1.0.
6606         * math/s_clog10.c (__clog10): Likewise.
6607         * math/s_clog10f.c (__clog10f): Likewise.
6608         * math/s_clog10l.c (__clog10l): Likewise.
6609         * math/s_clogf.c (__clogf): Likewise.
6610         * math/s_clogl.c (__clogl): Likewise.
6611         * math/libm-test.inc (clog_test): Add more tests.
6612         (clog10_test): Likewise.
6613         * sysdeps/i386/fpu/libm-test-ulps: Update.
6614         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6616         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
6617         (pltexit): Likewise.
6618         (La_regs): Likewise.
6619         (La_retval): Likewise.
6620         (int_retval): Likewise.
6621         Update #error for removed macros to refer only to definitions in
6622         tst-audit.h.
6623         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
6624         macro.
6625         (pltexit): Likewise.
6626         (La_regs): Likewise.
6627         (La_retval): Likewise.
6628         (int_retval): Likewise.
6629         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
6630         macro.
6631         (pltexit): Likewise.
6632         (La_regs): Likewise.
6633         (La_retval): Likewise.
6634         (int_retval): Likewise.
6635         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
6636         macro.
6637         (pltexit): Likewise.
6638         (La_regs): Likewise.
6639         (La_retval): Likewise.
6640         (int_retval): Likewise.
6641         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
6642         macro.
6643         (pltexit): Likewise.
6644         (La_regs): Likewise.
6645         (La_retval): Likewise.
6646         (int_retval): Likewise.
6647         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
6648         macro.
6649         (pltexit): Likewise.
6650         (La_regs): Likewise.
6651         (La_retval): Likewise.
6652         (int_retval): Likewise.
6653         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
6654         macro.
6655         (pltexit): Likewise.
6656         (La_regs): Likewise.
6657         (La_retval): Likewise.
6658         (int_retval): Likewise.
6659         * sysdeps/generic/tst-audit.h: Update comment to refer only to
6660         macro definitions in tst-audit.h.
6661         * sysdeps/i386/tst-audit.h: New file.
6662         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
6663         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
6664         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
6665         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
6666         * sysdeps/sh/tst-audit.h: Likewise.
6667         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
6668         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
6669         * sysdeps/x86_64/tst-audit.h: Likewise.
6671 2012-07-26  Andreas Jaeger  <aj@suse.de>
6673         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
6674         ptrace.
6676         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
6677         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
6678         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
6679         PTRACE_O_MASK.
6680         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
6681         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
6682         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
6684         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
6685         value.
6687         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
6688         _sigsys.
6689         (si_call_addr, si_syscall, si_arch): Define new macro.
6690         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
6691         _sigsys.
6692         (si_call_addr, si_syscall, si_arch): Define new marcro.
6693         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
6694         _sigsys.
6695         (si_call_addr, si_syscall, si_arch): Define new macro.
6696         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
6697         _sigsys.
6698         (si_call_addr, si_syscall, si_arch): Define new macro.
6700 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
6702         [BZ #13717]
6703         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6704         Change to 2.4.21 where previously 2.4.1.
6705         * sysdeps/unix/sysv/linux/configure: Regenerated.
6706         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
6707         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
6708         Linux kernel version.
6709         (__ASSUME_STD_AUXV): Remove.
6710         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
6711         kernel version.
6712         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
6713         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
6714         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
6715         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
6716         (__ASSUME_NETLINK_SUPPORT): Likewise.
6717         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
6718         (__no_netlink_support): Remove conditional definition.
6719         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
6720         Remove.
6721         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
6722         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
6723         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
6724         (if_nameindex_ioctl): Remove.
6725         (if_nameindex_netlink): Do not handle __no_netlink_support.
6726         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
6727         code.
6728         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
6729         Remove conditional code.
6730         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
6731         code.
6732         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
6733         unconditional.
6734         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
6735         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
6736         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
6737         Remove.
6738         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
6739         [!__ASSUME_STD_AUXV]: Remove conditional code.
6740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
6741         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
6742         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
6743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
6744         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
6745         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
6746         code.
6747         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
6748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
6749         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
6750         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
6751         conditional code.
6752         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
6753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
6754         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
6755         code.
6756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
6757         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
6758         conditional code.
6759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
6760         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6761         code unconditional.
6762         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6763         conditional code.
6764         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6765         unconditional.
6766         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6767         conditional code.
6768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6769         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6770         unconditional.
6771         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6772         conditional code.
6773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
6774         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6775         code unconditional.
6776         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6777         conditional code.
6778         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6779         unconditional.
6780         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6781         conditional code.
6782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
6783         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6784         code unconditional.
6785         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6786         conditional code.
6787         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6788         unconditional.
6789         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6790         conditional code.
6792 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
6794         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
6795         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
6796         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6797         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
6798         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
6799         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
6800         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
6801         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
6802         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
6803         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
6804         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
6805         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
6806         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
6807         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
6808         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
6809         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
6810         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
6811         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
6812         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
6813         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
6814         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
6815         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
6816         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
6818 2012-07-25  Florian Weimer  <fweimer@redhat.com>
6820         * Versions.def: Add GLIBC_2.17.
6821         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
6822         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
6823         Introduce __libc_secure_getenv.
6824         * stdlib/Versions (2.17): Add secure_getenv
6825         (GLIBC_PRIVATE): Add __libc_secure_getenv.
6826         * stdlib/secure-getenv.c: Rename __secure_getenv to
6827         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
6828         symbol __secure_getenv for GLIBC_2.0.
6829         * stdlib/tst-secure-getenv.c: New.
6830         * stdlib/Makefile (tests): Add testcase.
6831         * manual/startup.texi (Environment Access): Document
6832         secure_getenv.
6833         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
6834         __libc_secure_getenv.
6835         * inet/ruserpass.c (ruserpass): Likewise.
6836         * malloc/mtrace.c (mtrace): Likewise.
6837         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
6838         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
6839         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
6840         * sysdeps/posix/tempname.c: Likewise.  Evaluate
6841         HAVE_SECURE_GETENV.
6842         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
6843         __secure_getenv to __libc_secure_getenv.
6844         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
6845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6846         Likewise.
6847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6848         Likewise.
6849         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
6850         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
6851         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6852         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
6853         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
6854         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6855         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
6857 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
6859         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
6860         (struct La_i86_retval): Likewise.
6861         (struct La_x86_64_regs): Likewise.
6862         (struct La_x86_64_retval): Likewise.
6863         (struct La_x32_regs): Likewise.
6864         (struct La_x32_retval): Likewise.
6865         (struct La_ppc32_regs): Likewise.
6866         (struct La_ppc32_retval): Likewise.
6867         (struct La_ppc64_regs): Likewise.
6868         (struct La_ppc64_retval): Likewise.
6869         (struct La_sh_regs): Likewise.
6870         (struct La_sh_retval): Likewise.
6871         (struct La_s390_32_regs): Likewise.
6872         (struct La_s390_32_retval): Likewise.
6873         (struct La_s390_64_regs): Likewise.
6874         (struct La_s390_64_retval): Likewise.
6875         (struct La_sparc32_regs): Likewise.
6876         (struct La_sparc32_retval): Likewise.
6877         (struct La_sparc64_regs): Likewise.
6878         (struct La_sparc64_retval): Likewise.
6879         (struct audit_ifaces): Remove architecture-specific pltenter and
6880         pltexit members.
6881         * sysdeps/i386/ldsodefs.h: New file.
6882         * sysdeps/powerpc/ldsodefs.h: Likewise.
6883         * sysdeps/s390/ldsodefs.h: Likewise.
6884         * sysdeps/sh/ldsodefs.h: Likewise.
6885         * sysdeps/sparc/ldsodefs.h: Likewise.
6886         * sysdeps/x86_64/ldsodefs.h: Likewise.
6888 2012-07-25  Marek Polacek  <polacek@redhat.com>
6890         [BZ #6808]
6891         * math/libm-test.inc (yn_test): Add another test.
6892         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
6893         to ERANGE when the result is +-Inf.
6894         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
6895         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
6896         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
6897         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
6899 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
6901         * conform/data/time.h-data (NULL): Use macro-constant.  Require
6902         equal to 0.
6903         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
6904         clock_t.
6905         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
6907 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
6909         * configure.in <sysdeps resolving>: Correct printing
6910         Implies_before.
6911         * configure: Regenerate.
6913 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
6915         * math/w_ilogb.c: Include <limits.h>.
6916         * math/w_ilogbl.c: Likewise.
6918 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
6920         * manual/lang.texi (__va_copy): Document primarily as ISO C99
6921         va_copy.  Document allowing for unavailable va_copy only as
6922         pre-C99 compatibility.
6923         * manual/string.texi (Copying and Concatenation): Use va_copy
6924         instead of __va_copy in concat example.
6926 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
6928         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
6929         (__sendto): Use create_address_port.  Initialize APORT and deallocate
6930         it if not null.
6932         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
6933         with O_NOLINK passed to __file_name_lookup.
6935         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
6936         with O_NOLINK passed to __file_name_lookup.
6938         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
6939         negative N or less than NGIDS.
6941         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
6942         type to string_t.  Set ERANGE as errno and return it if NAME is not big
6943         enough.  Use memcpy instead of strncpy.
6945 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
6947         * elf/Makefile (check-data): Remove.
6948         (localplt.data): New vpath directive.
6949         ($(objpfx)check-localplt.out): Use localplt.data from vpath
6950         instead of $(check-data).
6951         * scripts/data/localplt-generic.data: Move to ...
6952         * sysdeps/generic/localplt.data: ... here.
6953         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
6954         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
6955         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
6956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
6957         ... here.
6958         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
6959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
6960         ... here.
6961         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
6962         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
6963         ... here.
6964         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
6965         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
6966         ... here.
6967         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
6968         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
6969         ... here.
6970         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
6971         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
6972         ... here.
6974 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6976         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
6977         PPC32 and PPC64 files.
6978         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
6979         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
6981 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6983         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
6984         __makecontext_ret to ...
6985         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
6986         ... here and call exit if uc_link is NULL.  New file.
6987         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
6988         __makecontext_ret.S.
6989         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
6990         __makecontext_ret to ...
6991         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
6992         ... here and call exit if uc_link is NULL.  New file.
6993         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
6994         __makecontext_ret.S.
6996 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6998         * elf/elf.h (R_390_IRELATIVE): New definition.
6999         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
7000         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
7001         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
7002         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
7003         (elf_machine_lazy_rel): Likewise.
7004         * sysdeps/s390/dl-irel.h: New file.
7005         * sysdeps/s390/s390-64/memcpy.S: New asm code.
7006         * sysdeps/s390/s390-64/memset.S: New asm code.
7007         * sysdeps/s390/s390-64/memcmp.S: New asm code.
7008         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
7009         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
7010         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
7011         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
7012         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
7013         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
7014         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
7015         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
7016         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
7017         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
7018         * sysdeps/s390/s390-32/memcpy.S: New asm code.
7019         * sysdeps/s390/s390-32/memset.S: New asm code.
7020         * sysdeps/s390/s390-32/memcmp.S: New asm code.
7022 2012-07-17  Marek Polacek  <polacek@redhat.com>
7024         [BZ #14349]
7025         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
7026         * sysdeps/s390/s390-64/configure.in: Likewise.
7027         * sysdeps/sparc/configure.in: Likewise.
7028         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
7029         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
7030         * sysdeps/i386/configure.in: Likewise.
7031         * sysdeps/x86_64/configure.in: Likewise.
7032         * sysdeps/sh/configure.in: Likewise.
7033         * sysdeps/s390/s390-32/configure: Regenerated.
7034         * sysdeps/s390/s390-64/configure: Likewise.
7035         * sysdeps/x86_64/configure: Likewise.
7036         * sysdeps/sh/configure: Likewise.
7037         * sysdeps/powerpc/powerpc64/configure: Likewise.
7038         * sysdeps/powerpc/powerpc32/configure: Likewise.
7039         * sysdeps/sparc/configure: Likwise.
7040         * sysdeps/i386/configure: Likewise.
7042         * elf/dl-open.c: Comment fixes.
7044 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
7046         * Makefile [CXX] (check-data): Remove.
7047         [CXX] (c++-types.data): New vpath directive.
7048         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
7049         vpath.  Do not allow for C++ type data being missing.
7050         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
7051         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
7052         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
7053         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
7054         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
7055         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
7056         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
7057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
7058         ... here.
7059         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
7060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
7061         ... here.
7062         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
7063         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
7064         ... here.
7065         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
7066         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
7067         ... here.
7068         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
7069         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
7070         ... here.
7071         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
7072         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
7073         ... here.
7074         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
7075         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
7076         ... here.
7077         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
7078         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
7080         * elf/tls-macros.h (TLS_LE): Move architecture-specific
7081         definitions to architecture-specific files.
7082         (TLS_IE): Likewise.
7083         (TLS_LD): Likewise.
7084         (TLS_GD): Likewise.
7085         * sysdeps/i386/tls-macros.h: New file.
7086         * sysdeps/powerpc/tls-macros.h: Likewise.
7087         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
7088         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
7089         * sysdeps/sh/tls-macros.h: Likewise.
7090         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
7091         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
7092         * sysdeps/x86_64/tls-macros.h: Likewise.
7094 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
7096         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
7097         zero value for regular exit case.
7099         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
7100         (__start_context): Preserve zero value for regular exit case.
7102 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
7103             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7105         * manual/setjmp.texi (setcontext): Clarify normal process
7106         termination when uc_link is the null pointer.
7107         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
7108         exit call.
7110 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
7112         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
7113         preprocessor.  Test for each exception mask separately.
7115 2012-07-16  Andreas Jaeger  <aj@suse.de>
7117         * po/ru.po: Update from translation team.
7119 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
7121         * conform/data/string.h-data (NULL): Use macro-constant.  Require
7122         equal to 0.
7123         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
7124         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
7125         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
7126         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
7127         [ISO || ISO99 || ISO11] (*_t): Do not allow.
7129 2012-07-13  Andreas Jaeger  <aj@suse.de>
7131         * po/fr.po: Update from translation team.
7133 2012-07-12  Marek Polacek  <polacek@redhat.com>
7135         [BZ #14173]
7136         * math/libm-test.inc (yn_test): Add test for BZ #14173.
7137         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
7138         loop condition.
7140 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
7142         [BZ #13717]
7143         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7144         Change to 2.4.1 where previously 2.4.0.
7145         * sysdeps/unix/sysv/linux/configure: Regenerated.
7146         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
7147         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
7148         version.
7149         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
7150         (__ASSUME_AT_CLKTCK): Remove.
7151         (__ASSUME_AT_PAGESIZE): Likewise.
7152         (__ASSUME_AT_XID): Likewise.
7153         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
7154         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
7155         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
7156         unconditionally.
7157         (HAVE_AUX_PAGESIZE): Likewise.
7158         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
7159         [__ASSUME_AT_CLKTCK]: Make code unconditional.
7160         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
7162 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
7164         [BZ #14307]
7165         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
7166         the temporary buffer used to invoke __gethostbyname2_r,
7167         __gethostbyaddr_r and gethostbyname4_r to make room for struct
7168         host_data / struct gaih_addrtuple.
7169         * resolv/nss_dns/dns-host.c (global scope): Move definition of
7170         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
7171         header file nss/nsswitch.h.
7172         * nss/nsswitch.h (global scope): Add definition of implementation
7173         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
7174         resolv/nss_dns/dns-host.c).
7176 2012-07-11  Andreas Jaeger  <aj@suse.de>
7178         * po/fr.po: Update from translation team.
7180         * po/sv.po: Update from translation team
7181         * po/fr.po: Another update from translation team.
7183 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7185         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
7186         for subnormals or multiply small sinh result by itself.
7187         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
7188         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7190 2012-07-11  David S. Miller  <davem@davemloft.net>
7192         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7194 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
7196         [BZ #14347]
7197         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
7198         (INTERNAL_MARK): Shift it here.
7200 2012-07-10  Marek Polacek  <polacek@redhat.com>
7202         [BZ #14151]
7203         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
7204         libc_cv_asm_global_directive with .globl.
7205         * configure: Regenerated.
7206         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
7207         with .globl.
7208         * sysdeps/i386/configure: Regenerated.
7209         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
7210         with .globl.
7211         * sysdeps/x86_64/configure: Regenerated.
7212         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
7213         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
7214         * elf/tst-unique2mod2.c: Likewise.
7215         * elf/tst-unique2mod1.c: Likewise.
7216         * elf/tst-unique1mod2.c: Likewise.
7217         * elf/tst-unique1mod1.c: Likewise.
7218         * sysdeps/s390/s390-32/sysdep.h: Likewise.
7219         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
7220         * sysdeps/s390/s390-64/sysdep.h: Likewise.
7221         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7222         * sysdeps/mach/sysdep.h: Likewise.
7223         * sysdeps/i386/sysdep.h: Likewise.
7224         * sysdeps/i386/i386-mcount.S: Likewise.
7225         * sysdeps/x86_64/_mcount.S: Likewise.
7226         * sysdeps/x86_64/sysdep.h: Likewise.
7227         * sysdeps/sh/_mcount.S: Likewise.
7228         * sysdeps/sh/sysdep.h: Likewise.
7229         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
7230         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
7231         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
7232         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
7233         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
7234         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
7235         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
7236         * locale/localeinfo.h: Likewise.
7237         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
7238         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
7240 2012-07-09  Roland McGrath  <roland@hack.frob.com>
7242         [BZ #14336]
7243         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
7244         system".
7245         * manual/message.texi (The Uniforum approach): Likewise.
7246         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
7247         (glibc iconv Implementation): Likewise.
7249 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
7251         [BZ #14337]
7252         * math/s_clog.c (__clog): Avoid scaling a value down where that
7253         could result in underflow.
7254         * math/s_clog10.c (__clog10): Likewise.
7255         * math/s_clog10f.c (__clog10f): Likewise.
7256         * math/s_clog10l.c (__clog10l): Likewise.
7257         * math/s_clogf.c (__clogf): Likewise.
7258         * math/s_clogl.c (__clogl): Likewise.
7259         * math/libm-test.inc (clog_test): Add more tests.
7260         (clog10_test): Likewise.
7261         * sysdeps/i386/fpu/libm-test-ulps: Update.
7262         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7264 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
7266         [BZ #14283]
7267         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
7268         by 7 not 8 to examine high bit of fractional part.
7270         [BZ #14042]
7271         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
7272         for call to __mcount_internal.
7273         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
7274         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
7275         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
7277 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
7279         [BZ #14154]
7280         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
7281         approximation for values within 0x1p-13f of an odd multiple of
7282         pi/4.
7283         * math/libm-test.inc (tan_test): Do not allow spurious underflow
7284         exception.  Add more tests.
7285         * sysdeps/i386/fpu/libm-test-ulps: Update.
7287         [BZ #6778]
7288         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
7289         inputs and return -1 for them.  Do not check for +Inf in case not
7290         reachable for +Inf.
7291         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
7292         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
7293         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
7294         and return -1 for them.  Do not check for +Inf in case not
7295         reachable for +Inf.
7296         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
7297         define.
7298         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
7299         and return -1 for them.  Do not check for +Inf in case not
7300         reachable for +Inf.
7301         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
7302         spurious underflow.
7303         * sysdeps/i386/fpu/libm-test-ulps: Update.
7304         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7306 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
7308         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
7310 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
7312         [BZ #14157]
7313         [BZ #14331]
7314         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
7315         could result in spurious underflow.  Scale down values above
7316         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
7317         * math/s_csqrtf.c (__csqrtf): Likewise.
7318         * math/s_csqrtl.c (__csqrtl): Likewise.
7319         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
7320         spurious underflow.
7321         * sysdeps/i386/fpu/libm-test-ulps: Update.
7322         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7324 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
7326         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
7327         xopen-msg.sed.
7328         * catgets/xopen-msg.awk: New file.
7329         * catgets/xopen-msg.sed: Removed.
7331         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
7332         po2text.sed.
7333         * intl/po2test.awk: New file.
7334         * intl/po2test.sed: Removed.
7336 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
7338         [BZ #14328]
7339         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
7340         or multiply small sinh result by itself.
7341         * math/s_ctanf.c (__ctanf): Likewise.
7342         * math/s_ctanh.c (__ctanh): Likewise.
7343         * math/s_ctanhf.c (__ctanhf): Likewise.
7344         * math/s_ctanhl.c (__ctanhl): Likewise.
7345         * math/s_ctanl.c (__ctanl): Likewise.
7346         * math/libm-test.inc (ctan_test_tonearest): New function.
7347         (ctan_test_towardzero): Likewise.
7348         (ctan_test_downward): Likewise.
7349         (ctan_test_upward): Likewise.
7350         (ctanh_test_tonearest): Likewise.
7351         (ctanh_test_towardzero): Likewise.
7352         (ctanh_test_downward): Likewise.
7353         (ctanh_test_upward): Likewise.
7354         (main): Call these new functions.
7355         * sysdeps/i386/fpu/libm-test-ulps: Update.
7356         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7358 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
7360         * .gitignore: Delete /ports entry.
7362 2012-07-03  Andreas Jaeger  <aj@suse.de>
7364         * po/bg.po: Update from translation team.
7365         * po/cs.po: Likewise.
7366         * po/de.po: Likewise.
7367         * po/hr.po: Likewise.
7368         * po/nl.pl: Likewise.
7369         * po/pl.po: Likewise.
7370         * po/vi.po: Likewise.
7372 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
7374         * Makeconfig [!+link] (+link-before-libc): New variable.
7375         [!+link] (+link-after-libc): Likewise.
7376         [!+link] (+link-tests): Likewise.
7377         [!+link] (+link): Define in terms of $(+link-before-libc) and
7378         $(+link-after-libc).
7379         [!+link-static] (+link-static-before-libc): New variable.
7380         [!+link-static] (+link-static-after-libc): Likewise.
7381         [!+link-static] (+link-static-tests): Likewise.
7382         [!+link-static] (+link-static): Define in terms of
7383         $(+link-static-before-libc) and $(+link-static-after-libc).
7384         [build-shared] (link-libc-before-gnulib): New variable.
7385         [build-shared] (link-libc-tests): Likewise.
7386         [build-shared] (link-libc): Define in terms of
7387         $(link-libc-before-gnulib).
7388         [!build-shared] (link-libc-tests): New variable.
7389         (link-libc-static-tests): New variable.
7390         [!gnulib] (gnulib-arch): New variable.
7391         [!gnulib] (gnulib-tests): Likewise.
7392         [!gnulib] (static-gnulib-arch): Likewise.
7393         [!gnulib] (static-gnulib-tests): Likewise.
7394         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
7395         Define with "=" instead of ":=".
7396         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
7397         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
7398         * Rules (binaries-all-notests): New variable.
7399         (binaries-all-tests): Likewise.
7400         (binaries-static-notests): Likewise.
7401         (binaries-static-tests): Likewise.
7402         (binaries-all): Define using $(binaries-all-notests) and
7403         $(binaries-all-tests).
7404         (binaries-static): Define using $(binaries-static-notests) and
7405         $(binaries-static-tests).
7406         (binaries-shared-tests): New variable.
7407         (binaries-shared-notests): Likewise.
7408         (binaries-shared): Remove variable.
7409         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
7410         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
7411         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
7412         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
7413         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
7414         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
7415         * elf/Makefile (sln-modules): New variable.
7416         (extra-objs): Add $(sln-modules:=.o).
7417         (ldconfig-modules): Add static-stubs.
7418         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
7419         * elf/static-stubs.c: New file.
7421         [BZ #14283]
7422         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
7423         by 7 not 8 to examine high bit of fractional part.  Use volatile
7424         variables when splitting into final array of floats if
7425         __FLT_EVAL_METHOD__ != 0.
7426         * math/libm-test.inc (cos_test): Add another test.
7427         (sin_test): Likewise.
7428         * sysdeps/i386/fpu/libm-test-ulps: Update.
7430         [BZ #14273]
7431         * math/libm-test.inc (cosh_test): Add more tests.
7433         * version.h (RELEASE): Set to "development".
7434         (VERSION): Set to "2.16.90".
7436 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
7438         * NEWS: Update copyright. Remove last-updated date.
7439         Mention math library bug fixes and timezone data changes.
7440         * README: Mention GNU/Hurd, x32, and HPPA support status.
7442 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
7444         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
7446 2012-06-27  Andreas Jaeger  <aj@suse.de>
7448         * manual/contrib.texi (Contributors): Add Samuel Thibault.
7450 2012-06-25  Andreas Jaeger  <aj@suse.de>
7452         * sysdeps/s390/fpu/libm-test-ulps: Update.
7454 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
7455             Thomas Schwinge  <thomas@codesourcery.com>
7457         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
7458         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
7459         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
7460         fanotify_mark.
7462 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
7464         * sysdeps/mach/start.c: Remove file.
7465         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
7466         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
7467         * sysdeps/sh/init-first.c: Likewise.
7469         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
7470         registers for frame unwinding purposes, add CFI directives.
7471         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
7472         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
7473         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
7474         Likewise.
7476         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
7477         __fortify_fail returning.
7478         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
7480         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
7481         sysdeps/sh/____longjmp_chk.S.
7482         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
7483         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
7484         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
7485         (gen-as-const-headers): Append sigaltstack-offsets.sym.
7487         * sysdeps/sh/abort-instr.h: New file.
7488         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
7489         process in case exit returns.
7491         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
7492         initialize the GOT register before use.
7494         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
7495         calculation of ARGC > 4.
7497         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
7498         meaningful names to some local labels.
7500 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
7501             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7503         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
7504         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
7505         (__arch_compare_and_exchange_val_16_acq): Likewise.
7506         (__arch_compare_and_exchange_val_32_acq): Likewise.
7507         (atomic_exchange_and_add): Fix gUSA sequence.
7508         (atomic_add): Likewise.
7509         (atomic_add_negative): Likewise.
7510         (atomic_add_zero): Likewise.
7511         (atomic_bit_test_set): Likewise.
7513 2012-06-22  Andreas Schwab  <schwab@redhat.com>
7515         [BZ #13579]
7516         * include/link.h (struct link_map): Add l_free_initfini.
7517         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
7518         l_initfini.
7519         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
7520         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
7521         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
7522         set.
7524 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
7526         * configure.in: Use AC_LANG_SOURCE.
7527         * configure: Regenerate.
7529 2012-06-22  Roland McGrath  <roland@hack.frob.com>
7531         * configure.in (libc_cv_localstatedir): New substituted variable.
7532         * configure: Regenerated.
7533         * config.make.in (localstatedir): New variable, substituted from
7534         libc_cv_localstatedir.
7535         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
7536         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
7537         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
7538         * sysdeps/gnu/configure: Regenerated.
7540 2012-06-21  Jeff Law  <law@redhat.com>
7542         [BZ #14277]
7543         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
7544         free.  Simplify list management for _LIBC case.
7546 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
7548         [BZ #14273]
7549         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
7550         Clear sign bit of 64-bit integer value before comparing against
7551         overflow value.
7553         * sysdeps/mach/configure: Regenerated.
7555 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
7557         [BZ #14278]
7558         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
7560 2012-06-21  Jeff Law  <law@redhat.com>
7562         [BZ #13882]
7563         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
7564         uint16_t for elements in the "seen" array to avoid char overflows.
7565         * elf/dl-fini.c (_dl_sort_fini): Likewise.
7566         * elf/dl-open.c (dl_open_worker): Likewise.
7568 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
7570         * scripts/list-sources.sh: Scan PORTS for translations.
7571         * po/libc.pot: Regenerated.
7573 2012-06-21  Andreas Jaeger  <aj@suse.de>
7575         [BZ #12194]
7576         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
7577         warning.
7578         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
7579         * bits/byteswap-16.h (__bswap_16): Likewise.
7580         * bits/byteswap.h (__bswap_constant_16): Likewise.
7582 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
7584         [BZ #14117]
7585         * sysdeps/i386/fpu_control.h: Removed.
7586         * sysdeps/x86_64/fpu_control.h: Moved to ...
7587         * sysdeps/x86/fpu_control.h: Here.
7589         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
7590         (_FPU_SETCW): Likewise.
7592 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
7594         [BZ #14117]
7595         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
7596         * sysdeps/x86/fpu/bits/mathinline.h: This.
7597         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
7599         [BZ #14050]
7600         [BZ #14117]
7601         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
7602         functions if __x86_64__ is defined.
7604 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
7606         * string/endian.h: Add !__ASSEMBLER__ condition for including
7607         conversion interfaces.
7609 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
7611         [BZ #14241]
7612         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
7613         of ABS(x) in calculating zero to negative powers other than odd
7614         integers.
7615         * math/libm-test.inc (pow_test): Add more tests.
7617 2012-06-15  Andreas Jaeger  <aj@suse.de>
7619         * manual/contrib.texi (Contributors): Update entry of Liubov
7620         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
7621         Machado Filho.
7623 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
7625         * string/string.h: Add __wur to GNU version of strerror_r.
7627 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
7629         [BZ #14229]
7630         * string/Makefile (tests): Add tst-strtok_r.
7631         * string/tst-strtok_r.c: New file.
7632         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
7633         RAX_LP/RDX_LP on SAVE_PTR.
7635 2012-06-14  Roland McGrath  <roland@hack.frob.com>
7637         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
7639 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
7641         * libm_test.inc (csqrt_test): Allow more spurious underflow
7642         exceptions.
7643         (j0_test): Likewise.
7644         (j1_test): Likewise.
7645         (y0_test): Likewise.
7646         (y1_test): Likewise.
7648 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
7650         * po/Makefile (libc.pot): Use UTF-8 charset.
7652 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
7654         [BZ #14210]
7655         Suppress sign-conversion warning from FD_SET.
7656         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
7657         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
7658         not unsigned long int.
7659         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
7661 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
7663         [BZ #14050]
7664         [BZ #14117]
7665         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
7666         __extern_always_inline instead of __extern_inline.
7667         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
7668         (__signbit): Likewise.
7669         (__signbitl): Support C++ namespace.
7670         (lrintf): New inline function.
7671         (lrint): Likewise.
7672         (llrintf): Likewise.
7673         (llrint): Likewise.
7674         (fmaxf): Likewise.
7675         (fmax): Likewise.
7676         (fminf): Likewise.
7677         (fmin): Likewise.
7678         (rint): Likewise.
7679         (rintf): Likewise.
7680         (ceil): Likewise.
7681         (ceilf): Likewise.
7682         (floor): Likewise.
7683         (floorf): Likewise.
7684         (nearbyint): Likewise.
7685         (nearbyintf): Likewise.
7687 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
7689         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
7690         non-default versions.
7692 2012-06-11  Roland McGrath  <roland@hack.frob.com>
7694         [BZ #14218]
7695         * manual/argp.texi (Argp): Reword argp_parse description slightly.
7697 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
7699         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
7700         (FE_UPWARD, FE_DOWNWARD): Don't define.
7701         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
7702         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7704         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
7705         reading it.
7706         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
7707         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
7709 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7711         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
7712         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
7713         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
7714         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
7716 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
7718         [BZ #14117]
7719         * sysdeps/i386/fpu/bits/fenv.h: Removed.
7720         * sysdeps/i386/fpu/Implies: New file.
7721         * sysdeps/x86_64/fpu/Implies: Likewise.
7722         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
7723         * sysdeps/x86/fpu/bits/fenv.h: This.
7725         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
7726         __SSE_MATH__.
7728 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
7730         [BZ #14134]
7731         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
7732         character 0xffff that matches the last element of the
7733         conversion table.
7735 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7737         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
7738         fmodl commit.
7740 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7742         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
7743         values higher than 25.6283.
7745 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7747         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
7748         subnormal exponent extraction and add some __builtin_expect.
7749         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
7750         Fix for subnormal mantissa calculation.
7752 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
7754         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
7755         cpu2 is -1 and errno is not ENOSYS.
7757 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
7759         [BZ #14117]
7760         * sysdeps/i386/i486/bits/string.h: Renamed to ...
7761         * sysdeps/x86/bits/string.h: This.
7762         * sysdeps/x86_64/bits/string.h: Removed.
7764         * sysdeps/i386/i486/bits/string.h: Define inline functions only
7765         if not compiling for x86-64, but compiling for >= i486.
7767         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
7768         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
7770         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
7771         New macro from Linux kernel 3.4.0.
7772         (FP_XSTATE_MAGIC2): Likewise.
7773         (FP_XSTATE_MAGIC2_SIZE): Likewise.
7774         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
7775         (struct _fpx_sw_bytes): New struct.
7776         (struct _xsave_hdr): Likewise.
7777         (struct _ymmh_state): Likewise.
7778         (struct _xstate): Likewise.
7780         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
7781         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
7782         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
7783         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
7784         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
7785         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
7787         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
7788         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
7789         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
7790         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
7791         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
7792         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
7794 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7796         [BZ #13743]
7797         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
7798         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
7799         (sysdep_headers): Include sys/platform/ppc.h.
7800         * sysdeps/powerpc/test-gettimebase.c: Test for
7801         __ppc_get_timebase() to catch future ISA opcode/insn changes.
7802         * manual/Makefile (appendices): Include platform.texi.
7803         * manual/contrib.texi (Contributors): Update @node pointers.
7804         * manual/maint.texi (Maintenance): Likewise.
7805         (Platform): New node.
7806         * manual/platform.texi: New file.  Document the new features.
7808 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
7809             Jakub Jelinek  <jakub@redhat.com>
7811         [BZ #14188]
7812         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
7813         where __builtin_expect is unavailable.
7815 2012-06-03  David S. Miller  <davem@davemloft.net>
7817         * stdlib/longlong.h: Updated from GCC.
7819 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
7821         [BZ #14042]
7822         * sysdeps/powerpc/powerpc32/mcount.c: New file.
7823         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
7824         __mcount_internal.
7825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
7826         (GLIBC_2.16): Likewise.
7828 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
7830         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
7832 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
7834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
7835         (default-abi): New variable.
7836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
7837         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
7838         variable.
7839         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
7840         Likewise.
7841         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
7842         Likewise.
7843         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
7844         Likewise.
7846         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
7847         definition.  Document in comment.
7849 2012-06-01  David S. Miller  <davem@davemloft.net>
7851         * stdlib/longlong.h: Updated from GCC.
7853 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
7855         [BZ #14117]
7856         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
7857         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
7858         sys/debugreg.h sys/io.h here.
7859         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
7860         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
7861         sys/io.h.
7862         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
7863         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
7864         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
7865         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
7866         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
7867         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
7869         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
7870         Define only if __x86_64__ is defined.
7872 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
7874         [BZ #14048]
7875         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
7876         Use int64_t for variable i.
7877         * math/libm-test.inc (fmod_test): Add more tests.
7879         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
7880         z computation is not scheduled after fetestexcept.
7881         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
7882         Use math_force_eval instead of asm to ensure calculation scheduled
7883         before exception test.
7884         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
7885         Ensure a1 + u.d computation is not scheduled after fetestexcept.
7887 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
7889         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
7890         computation is not scheduled after fetestexcept.
7892 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
7894         [BZ #14117]
7895         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
7896         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
7898 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7900         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
7901         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7903 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
7905         [BZ #14117]
7906         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
7907         <bits/wordsize.h>.
7908         (__WCHAR_MIN): Support __WORDSIZE == 64.
7909         (__WCHAR_MAX): Likewise.
7911         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
7912         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
7914         [BZ #14183]
7915         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
7916         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
7918         [BZ #14117]
7919         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
7920         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
7922         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
7923         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
7925         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
7926         Defined to 1 if __x86_64__ isn't defined.
7927         (_STAT_VER_LINUX_OLD): New.
7928         (st_atime): Remove duplicate.
7929         (st_mtime): Likewise.
7930         (st_ctime): Likewise.
7932 2012-05-31  David S. Miller  <davem@davemloft.net>
7934         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
7935         entries.
7937 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
7939         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
7940         gen-libm-test.pl.
7942         [BZ #14132]
7943         * elf/dl-reloc.c: Include <_itoa.h>.
7944         (_dl_reloc_bad_type): Remove use of INTUSE.
7945         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
7946         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
7947         * stdio-common/psiginfo.c (psiginfo): Likewise.
7948         * stdio-common/psignal.c (psignal): Likewise.
7949         * string/strsignal.c (strsignal): Likewise.
7950         * include/signal.h (_sys_siglist): Declare hidden proto.
7951         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
7952         INTVARDEF with libc_hidden_data_def.
7953         * stdio-common/itoa-udigits.c: Likewise.
7954         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
7955         (_itoa_lower_digits_internal): Remove declaration.
7956         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
7957         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
7958         (_sys_sigabbrev_internal): Remove aliases.
7959         (_sys_siglist): Define hidden alias.
7961 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
7963         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7964         bits/sysctl.h.
7966 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
7968         [BZ #14117]
7969         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
7970         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
7972         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
7973         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
7974         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
7975         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
7976         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
7977         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
7979         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
7980         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
7981         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
7983         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
7984         with __addr.
7985         (insw): Likewise.
7986         (insl): Likewise.
7987         (outsb): Likewise.
7988         (outsw): Likewise.
7989         (outsl): Likewise.
7991         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
7992         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
7993         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
7995         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
7996         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
7997         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
7998         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
7999         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
8000         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
8002         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
8003         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
8005         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
8006         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
8008         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
8009         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
8010         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
8012         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
8013         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
8014         to ...
8015         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
8017         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
8018         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
8019         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
8021         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
8022         for x86-64.
8023         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
8025 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
8027         * math/math.h (M_El): Use two more decimal places.
8028         (M_LOG2El): Likewise.
8029         (M_LOG10El): Likewise.
8030         (M_LN2l): Likewise.
8031         (M_LN10l): Likewise.
8032         (M_PIl): Likewise.
8033         (M_PI_2l): Likewise.
8034         (M_PI_4l): Likewise.
8035         (M_1_PIl): Likewise.
8036         (M_2_PIl): Likewise.
8037         (M_2_SQRTPIl): Likewise.
8038         (M_SQRT2l): Likewise.
8039         (M_SQRT1_2l): Likewise.
8041 2012-05-31  David S. Miller  <davem@davemloft.net>
8043         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
8044         values between float registers.
8045         * sysdeps/sparc/sparc64/memset.S: Likewise.
8046         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8048 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
8050         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
8051         -D_FORTIFY_SOURCE=1.
8052         (CPPFLAGS-tst-longjmp_chk.c): Define.
8053         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
8054         (CPPFLAGS-tst-longjmp_chk2.c): Define.
8055         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
8056         CFLAGS-tst-wchar-h.c.
8058 2012-05-31  Marek Polacek  <polacek@redhat.com>
8060         [BZ #14132]
8061         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
8062         __endmntent_internal): Remove declaration.
8063         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
8064         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
8065         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
8067 2012-05-30  David S. Miller  <davem@davemloft.net>
8069         * sysdeps/sparc/sparc32/soft-fp/q_util.c
8070         (___Q_simulate_exceptions): Use real FP ops rather than writing
8071         into the %fsr.
8072         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
8073         Likewise.
8075 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
8077         [BZ #14117]
8078         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
8079         * sysdeps/x86/bits/xtitypes.h: This.
8081         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
8082         * sysdeps/x86/bits/wordsize.h: This.
8084         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
8085         * sysdeps/x86/bits/huge_vall.h: This.
8087         * sysdeps/i386/bits/select.h: Removed.
8088         * sysdeps/x86_64/bits/select.h: Renamed to ...
8089         * sysdeps/x86/bits/select.h: This.
8091         * sysdeps/i386/bits/setjmp.h: Removed.
8092         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
8093         * sysdeps/x86/bits/setjmp.h: This.
8095         * sysdeps/i386/bits/mathdef.h: Removed.
8096         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
8097         * sysdeps/x86/bits/mathdef.h: This.
8099 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
8101         [BZ #14132]
8102         * include/sys/socket.h (__connect_internal)
8103         (__libc_sa_len_internal): Remove declaration.
8104         (__connect, __libc_sa_len): Declare hidden_proto.
8105         (SA_LEN): Remove use of INTUSE.
8106         * socket/connect.c: Add libc_hidden_def.
8107         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
8108         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
8109         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
8110         alias.
8111         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
8112         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
8113         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
8114         of adding _internal alias.
8116 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
8118         [BZ #14117]
8119         * sysdeps/i386/bits/link.h: Removed.
8120         * sysdeps/i386/bits/linkmap.h: Likewise.
8121         * sysdeps/x86_64/bits/link.h: Renamed to ...
8122         * sysdeps/x86/bits/link.h: This.
8123         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
8124         * sysdeps/x86/bits/linkmap.h: This.
8126         * sysdeps/i386/bits/endian.h: Removed.
8127         * sysdeps/x86_64/bits/endian.h: Renamed to ...
8128         * sysdeps/x86/bits/endian.h: This.
8130         * sysdeps/i386/bits/byteswap.h: Removed.
8131         * sysdeps/i386/bits/byteswap-16.h: Likewise.
8132         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
8133         * sysdeps/x86/bits/byteswap.h: This.
8134         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
8135         * sysdeps/x86/bits/byteswap-16.h: This.
8136         * sysdeps/i386/Implies: Add x86.
8137         * sysdeps/x86_64/Implies: Likewise.
8139 2012-05-30  David S. Miller  <davem@davemloft.net>
8141         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
8142         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
8143         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
8144         (FP_TRAPPING_EXCEPTIONS): Define.
8145         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
8146         (FP_TRAPPING_EXCEPTIONS): Define.
8147         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
8148         subnormals only when inexact has been signalled or underflow
8149         exceptions are enabled.
8150         (_FP_PACK_CANONICAL): Likewise.
8152 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
8154         [BZ #14183]
8155         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
8156         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
8158 2012-05-30  Richard Henderson  <rth@twiddle.net>
8160         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
8161         with #ifndef NOT_IN_libc.
8163         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
8164         marked to avoid plt entry.
8166 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
8168         [BZ #14112]
8169         * Makeconfig (default-abi): New macro.
8170         (abi-includes): Likewise.
8171         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
8172         $(abi-$(default-abi)-lib-soname) for soname if defined.
8173         ($(common-objpfx)gnu/lib-names.stmp): Generate from
8174         abi-variants.
8175         * Makefile (installed-stubs): Likewise.
8176         * include/stubs-biarch.h: Removed.
8177         * scripts/lib-names.awk: Only handle one library at a time.
8178         * scripts/soversions.awk: Remove WORDSIZE support.
8179         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
8180         entries.
8181         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
8182         Removed.
8183         (syscall-list-default-condition): Likewise.
8184         (syscall-list-default-condition): Likewise.
8185         (syscall-list-includes): Likewise.
8186         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
8187         syscall-list-* with abi-*.  Handle undefined abi-variants.
8188         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
8189         * sysdeps/unix/sysv/linux/i386/Implies: New file.
8190         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
8191         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
8192         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
8193         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
8194         Removed.
8195         (syscall-list-32-options): Likewise.
8196         (syscall-list-32-condition): Likewise.
8197         (syscall-list-64-options): Likewise.
8198         (syscall-list-64-condition): Likewise.
8199         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
8200         macro.
8201         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
8202         Renamed to ...
8203         (abi-*): This.
8204         (abi-64-ld-soname): New macro.
8205         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
8206         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
8207         Renamed to ...
8208         (abi-*): This.
8209         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
8210         * sysdeps/x86_64/x32/shlib-versions: Likewise.
8212 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
8214         * sysdeps/unix/sysv/linux/kernel-features.h
8215         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
8216         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
8217         include <kernel-features.h>.
8218         [!__NR_ftruncate64]: Remove conditional code.
8219         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8220         [__NR_ftruncate64]: Make code unconditional.
8221         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8222         * sysdeps/unix/sysv/linux/truncate64.c: Do not
8223         include <kernel-features.h>.
8224         [!__NR_ftruncate64]: Remove conditional code.
8225         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8226         [__NR_ftruncate64]: Make code unconditional.
8227         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
8229         include <kernel-features.h>.
8230         [!__NR_ftruncate64]: Remove conditional code.
8231         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8232         [__NR_ftruncate64]: Make code unconditional.
8233         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
8235         include <kernel-features.h>.
8236         [!__NR_ftruncate64]: Remove conditional code.
8237         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8238         [__NR_ftruncate64]: Make code unconditional.
8239         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8241         * configure.in (libc_cv_fpie): Weaken to a compile test using
8242         LIBC_TRY_CC_OPTION.
8243         * configure: Regenerated.
8245 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8247         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
8248         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
8249         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
8250         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8251         Refreshed.
8252         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
8253         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
8254         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
8255         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
8256         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
8257         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8258         Refreshed.
8260 2012-05-27  David S. Miller  <davem@davemloft.net>
8262         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
8263         (___Q_zero): New.
8264         (__Q_simulate_exceptions): Return void.  Change to simulate
8265         exceptions by writing into the %fsr.
8266         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
8267         (__Qp_handle_exceptions): Likewise.
8268         (numbers): Delete.
8269         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
8270         __Qp_handle_exceptions.
8271         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
8272         __Qp_handle_exceptions.
8273         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
8274         as unused and give dummy FP_RND_NEAREST initializer.
8275         (FP_INHIBIT_RESULTS): Define.
8276         (___Q_simulate_exceptions): Update declaration.
8277         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
8278         formatting.
8279         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
8280         as unused and give dummy FP_RND_NEAREST initializer.
8281         (__Qp_handle_exceptions): Update declaration.
8282         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
8283         formatting.
8285 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
8287         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
8288         the temporary FPU control word.
8289         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
8290         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
8291         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
8292         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
8293         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
8294         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
8295         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
8296         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
8297         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
8298         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
8299         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
8301 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8303         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
8304         fields.
8306 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
8308         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
8309         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
8310         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
8311         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
8312         Likewise.
8313         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
8314         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
8315         Likewise.
8317 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
8319         * po/h.po: Update from translation team.
8321 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
8323         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
8325         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
8326         handling of denormals.
8327         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
8328         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
8329         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
8330         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
8331         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8332         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
8333         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
8334         Likewise.
8336 2012-05-26  Marek Polacek  <polacek@redhat.com>
8338         [BZ #14152]
8339         * math/libm-test.inc (fma_test): Don't always expect underflow
8340         exception.
8342 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
8344         [BZ #12416]
8345         * elf/tst-execstack.c: Include stackinfo.h.
8346         (do_test): Adjust test case to ensure that pthread_getattr_np
8347         behaviour remains the same after marking stack executable.
8349 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
8351         * sysdeps/unix/sysv/linux/kernel-features.h
8352         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
8353         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
8354         kernel-features.h.
8355         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
8356         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
8357         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
8358         kernel-features.h.
8359         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
8360         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
8362 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
8364         * configure.in: Define the default includes to being none.
8365         * configure: Regenerated.
8367 2012-05-25  Roland McGrath  <roland@hack.frob.com>
8369         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
8370         * sysdeps/x86_64/setjmp.S: Likewise.
8371         * sysdeps/i386/bsd-setjmp.S: Likewise.
8372         * sysdeps/i386/bsd-_setjmp.S: Likewise.
8373         * sysdeps/i386/setjmp.S: Likewise.
8374         * sysdeps/i386/__longjmp.S: Likewise.
8375         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
8376         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
8378         * include/stap-probe.h: New file.
8379         * configure.in: Handle --enable-systemtap.
8380         * configure: Regenerated.
8381         * config.h.in (USE_STAP_PROBE): New #undef.
8382         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
8383         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
8384         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
8386 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
8388         [BZ #13717]
8389         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
8390         to 2.4.0 where earlier.
8391         * sysdeps/unix/sysv/linux/configure: Regenerated.
8392         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
8393         <kernel-features.h>.
8394         [__ASSUME_32BITUIDS]: Make code unconditional.
8395         [!__ASSUME_32BITUIDS]: Remove conditional code.
8396         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
8397         <kernel-features.h>.
8398         [__ASSUME_32BITUIDS]: Make code unconditional.
8399         [!__ASSUME_32BITUIDS]: Remove conditional code.
8400         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
8401         [__ASSUME_32BITUIDS]: Make code unconditional.
8402         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
8403         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
8404         <kernel-features.h>.
8405         [__ASSUME_32BITUIDS]: Make code unconditional.
8406         [!__ASSUME_32BITUIDS]: Remove conditional code.
8407         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
8408         <kernel-features.h>.
8409         [__ASSUME_32BITUIDS]: Make code unconditional.
8410         [!__ASSUME_32BITUIDS]: Remove conditional code.
8411         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
8412         <kernel-features.h>.
8413         [__ASSUME_32BITUIDS]: Make code unconditional.
8414         [!__ASSUME_32BITUIDS]: Remove conditional code.
8415         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
8416         <kernel-features.h>.
8417         [__ASSUME_32BITUIDS]: Make code unconditional.
8418         [!__ASSUME_32BITUIDS]: Remove conditional code.
8419         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
8420         <kernel-features.h>.
8421         [__ASSUME_32BITUIDS]: Make code unconditional.
8422         [!__ASSUME_32BITUIDS]: Remove conditional code.
8423         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
8424         <kernel-features.h>.
8425         [__ASSUME_32BITUIDS]: Make code unconditional.
8426         [!__ASSUME_32BITUIDS]: Remove conditional code.
8427         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
8428         <kernel-features.h>.
8429         [__ASSUME_32BITUIDS]: Make code unconditional.
8430         [!__ASSUME_32BITUIDS]: Remove conditional code.
8431         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
8432         <kernel-features.h>.
8433         [__ASSUME_32BITUIDS]: Make code unconditional.
8434         [!__ASSUME_32BITUIDS]: Remove conditional code.
8435         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
8436         <kernel-features.h>.
8437         [__ASSUME_32BITUIDS]: Make code unconditional.
8438         [!__ASSUME_32BITUIDS]: Remove conditional code.
8439         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
8440         <kernel-features.h>.
8441         [__ASSUME_32BITUIDS]: Make code unconditional.
8442         [!__ASSUME_32BITUIDS]: Remove conditional code.
8443         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
8444         <kernel-features.h>.
8445         [__NR_setresgid] (__setresgid): Do not declare.
8446         [__ASSUME_32BITUIDS]: Make code unconditional.
8447         [!__ASSUME_32BITUIDS]: Remove conditional code.
8448         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
8449         <kernel-features.h>.
8450         [__NR_setresuid] (__setresuid): Do not declare.
8451         [__ASSUME_32BITUIDS]: Make code unconditional.
8452         [!__ASSUME_32BITUIDS]: Remove conditional code.
8453         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
8454         <kernel-features.h>.
8455         [__ASSUME_32BITUIDS]: Make code unconditional.
8456         [!__ASSUME_32BITUIDS]: Remove conditional code.
8457         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
8458         <kernel-features.h>.
8459         [__ASSUME_32BITUIDS]: Make code unconditional.
8460         [!__ASSUME_32BITUIDS]: Remove conditional code.
8461         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
8462         <kernel-features.h>.
8463         [__ASSUME_32BITUIDS]: Make code unconditional.
8464         [!__ASSUME_32BITUIDS]: Remove conditional code.
8465         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
8466         <kernel-features.h>.
8467         [__ASSUME_32BITUIDS]: Make code unconditional.
8468         [!__ASSUME_32BITUIDS]: Remove conditional code.
8469         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
8470         <kernel-features.h>.
8471         [__ASSUME_32BITUIDS]: Make code unconditional.
8472         [!__ASSUME_32BITUIDS]: Remove conditional code.
8473         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
8474         <kernel-features.h>.
8475         [__ASSUME_32BITUIDS]: Make code unconditional.
8476         [!__ASSUME_32BITUIDS]: Remove conditional code.
8477         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
8478         <kernel-features.h>.
8479         [__ASSUME_32BITUIDS]: Make code unconditional.
8480         [!__ASSUME_32BITUIDS]: Remove conditional code.
8481         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
8482         <kernel-features.h>.
8483         [__ASSUME_32BITUIDS]: Make code unconditional.
8484         [!__ASSUME_32BITUIDS]: Remove conditional code.
8485         * sysdeps/unix/sysv/linux/i386/setuid.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/shmctl.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/kernel-features.h
8494         (__ASSUME_SETRESUID_SYSCALL): Remove.
8495         (__ASSUME_SETRESGID_SYSCALL): Likewise.
8496         (__ASSUME_32BITUIDS): Likewise.
8497         (__ASSUME_LDT_WORKS): Likewise.
8498         (__ASSUME_O_DIRECTORY): Likewise.
8499         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
8500         architecture but not kernel version.
8501         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
8502         (__ASSUME_MMAP2_SYSCALL): Likewise.
8503         (__ASSUME_STAT64_SYSCALL): Likewise.
8504         (__ASSUME_IPC64): Likewise.
8505         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
8506         <kernel-features.h>.
8507         [__ASSUME_32BITUIDS]: Make code unconditional.
8508         [!__ASSUME_32BITUIDS]: Remove conditional code.
8509         * sysdeps/unix/sysv/linux/opendir.c: Do not include
8510         <kernel-features.h>.
8511         [__ASSUME_O_DIRECTORY]: Make code unconditional.
8512         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
8513         132096]: Remove conditional code.
8514         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
8515         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
8516         <kernel-features.h>.
8517         [__ASSUME_32BITUIDS]: Make code unconditional.
8518         [!__ASSUME_32BITUIDS]: Remove conditional code.
8519         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
8520         <kernel-features.h>.
8521         [__ASSUME_32BITUIDS]: Make code unconditional.
8522         [!__ASSUME_32BITUIDS]: Remove conditional code.
8523         * sysdeps/unix/sysv/linux/setegid.c: Do not include
8524         <kernel-features.h>.
8525         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
8526         unconditional.
8527         (__setresgid): Do not declare.
8528         [__ASSUME_32BITUIDS]: Make code unconditional.
8529         [!__ASSUME_32BITUIDS]: Remove conditional code.
8530         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
8531         <kernel-features.h>.
8532         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
8533         unconditional.
8534         (__setresuid): Do not declare.
8535         [__ASSUME_32BITUIDS]: Make code unconditional.
8536         [!__ASSUME_32BITUIDS]: Remove conditional code.
8537         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
8538         <kernel-features.h>.
8539         [__ASSUME_32BITUIDS]: Make code unconditional.
8540         [!__ASSUME_32BITUIDS]: Remove conditional code.
8541         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
8542         <kernel-features.h>.
8543         [__ASSUME_32BITUIDS]: Make code unconditional.
8544         [!__ASSUME_32BITUIDS]: Remove conditional code.
8546 2012-05-25  Richard Henderson  <rth@twiddle.net>
8548         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
8549         dl_hwcap to ifunc resolver.
8550         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
8551         elf_ifunc_invoke.
8552         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
8553         dl_hwcap to ifunc resolver.
8554         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
8556 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
8558         [BZ #14153]
8559         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
8560         for |x| <= 2**-26, not 2**-57.
8561         * math/libm-test.inc (acos_test): Do not allow spurious underflow
8562         exception.
8564 2012-05-24  Jeff Law  <law@redhat.com>
8566         * stdio-common/Makefile (tests): Add bug25.
8567         * stdio-common/bug25.c: New test.
8569 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
8571         [BZ #13576]
8572         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
8573         multiple of MALLOC_ALIGNMENT in size.
8574         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
8576 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
8578         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
8579         Require >= 256.
8580         (FILENAME_MAX): Use macro-int-constant.
8581         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
8582         (_IOFBF): Use macro-int-constant.
8583         (_IOLBF): Likewise.
8584         (_IONBF): Likewise.
8585         (SEEK_CUR): Likewise.
8586         (SEEK_END): Likewise.
8587         (SEEK_SET): Likewise.
8588         (TMP_MAX): Likewise.
8589         (EOF): Use macro-int-constant.  Require < 0.
8590         (NULL): Use macro-constant.  Require == 0.
8591         (stdin): Require type to be FILE *.
8592         (stdout): Likewise.
8593         (stderr): Likewise.
8594         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
8595         macro-int-constant.
8596         (EXIT_SUCCESS): Likewise.
8597         (NULL): Use macro-constant.  Require == 0.
8598         (RAND_MAX): Use macro-int-constant.
8599         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
8600         [C99-based standards] (strtof): Require function.
8601         [C99-based standards] (strtold): Likewise.
8602         [C99-based standards] (strtoll): Likewise.
8603         [C99-based standards] (strtoull): Likewise.
8604         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
8605         [ISO || ISO99 || ISO11] (limits.h): Likewise.
8606         [ISO || ISO99 || ISO11] (math.h): Likewise.
8607         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
8608         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
8609         [ISO || ISO99 || ISO11] (*_t): Do not allow.
8611 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
8613         [BZ #14132]
8614         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
8615         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
8616         * intl/dgettext.c (DCGETTEXT): Likewise.
8617         * intl/gettext.c (DCGETTEXT): Likewise.
8618         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
8619         * posix/regex_internal.h (gettext): Likewise.
8620         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
8621         Remove declaration.
8622         * include/argz.h (__argz_count_internal)
8623         (__argz_stringify_internal): Remove declaration.
8624         (__argz_count, __argz_stringify): Declare hidden proto.
8625         * intl/dcgettext.c: Remove use of INTDEF.
8626         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
8627         * string/argz-stringify.c: Likewise.
8628         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
8629         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
8630         Declare hidden proto.
8631         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
8632         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
8633         Declare hidden proto.
8634         * include/stdio.h (__asprintf_internal): Don't declare.
8635         (__asprintf): Don't define as macro.  Declare hidden proto.
8636         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
8637         (__fsetlocking): Declare hidden proto.
8638         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
8639         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
8640         hidden proto.
8641         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
8642         (_IO_setlinebuf): Remove use of INTUSE.
8643         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
8644         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
8645         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
8646         Remove declaration.
8647         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
8648         (_IO_do_flush): Remove use of INTUSE.
8649         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
8650         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
8651         (_IO_adjust_column, _IO_least_wmarker)
8652         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
8653         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
8654         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
8655         (_IO_default_doallocate, _IO_wdefault_doallocate)
8656         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
8657         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
8658         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
8659         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
8660         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
8661         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
8662         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
8663         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
8664         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
8665         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
8666         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
8667         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
8668         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
8669         proto.
8670         (_IO_flush_all_internal, _IO_adjust_column_internal)
8671         (_IO_default_uflow_internal, _IO_default_finish_internal)
8672         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
8673         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
8674         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
8675         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
8676         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
8677         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
8678         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
8679         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
8680         (_IO_file_close_internal, _IO_file_close_it_internal)
8681         (_IO_file_underflow_internal, _IO_file_overflow_internal)
8682         (_IO_file_init_internal, _IO_file_attach_internal)
8683         (_IO_file_fopen_internal, _IO_file_read_internal)
8684         (_IO_file_sync_internal, _IO_file_seek_internal)
8685         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
8686         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
8687         (_IO_str_underflow_internal, _IO_str_overflow_internal)
8688         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
8689         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
8690         (_IO_list_all_internal, _IO_link_in_internal)
8691         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
8692         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
8693         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
8694         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
8695         (_IO_do_write_internal, _IO_padn_internal)
8696         (_IO_getline_info_internal, _IO_getline_internal)
8697         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
8698         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
8699         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
8700         (_IO_vfscanf_internal, _IO_vfprintf_internal)
8701         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
8702         (_IO_init_internal, _IO_un_link_internal): Don't declare.
8703         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
8704         with libc_hidden_ver, remove use of INTUSE.
8705         * libio/genops.c: Likewise.
8706         * libio/freopen.c: Likewise.
8707         * libio/freopen64.c: Likewise.
8708         * libio/iofclose.c: Likewise.
8709         * libio/iofdopen.c: Likewise.
8710         * libio/iofflush.c: Likewise.
8711         * libio/iofflush_u.c: Likewise.
8712         * libio/iofgets.c: Likewise.
8713         * libio/iofgets_u.c: Likewise.
8714         * libio/iofopen.c: Likewise.
8715         * libio/iofopncook.c: Likewise.
8716         * libio/iofread.c: Likewise.
8717         * libio/iofread_u.c: Likewise.
8718         * libio/ioftell.c: Likewise.
8719         * libio/iofwrite.c: Likewise.
8720         * libio/iogetline.c: Likewise.
8721         * libio/iogets.c: Likewise.
8722         * libio/iogetwline.c: Likewise.
8723         * libio/iopadn.c: Likewise.
8724         * libio/iopopen.c: Likewise.
8725         * libio/ioseekoff.c: Likewise.
8726         * libio/ioseekpos.c: Likewise.
8727         * libio/iosetbuffer.c: Likewise.
8728         * libio/iosetvbuf.c: Likewise.
8729         * libio/ioungetc.c: Likewise.
8730         * libio/ioungetwc.c: Likewise.
8731         * libio/iovdprintf.c: Likewise.
8732         * libio/iovsprintf.c: Likewise.
8733         * libio/iovsscanf.c: Likewise.
8734         * libio/memstream.c: Likewise.
8735         * libio/obprintf.c: Likewise.
8736         * libio/oldfileops.c: Likewise.
8737         * libio/oldiofclose.c: Likewise.
8738         * libio/oldiofdopen.c: Likewise.
8739         * libio/oldiofopen.c: Likewise.
8740         * libio/oldiopopen.c: Likewise.
8741         * libio/oldstdfiles.c: Likewise.
8742         * libio/putc.c: Likewise.
8743         * libio/setbuf.c: Likewise.
8744         * libio/setlinebuf.c: Likewise.
8745         * libio/stdfiles.c: Likewise.
8746         * libio/strops.c: Likewise.
8747         * libio/vasprintf.c: Likewise.
8748         * libio/vscanf.c: Likewise.
8749         * libio/vsnprintf.c: Likewise.
8750         * libio/vswprintf.c: Likewise.
8751         * libio/wfiledoalloc.c: Likewise.
8752         * libio/wfileops.c: Likewise.
8753         * libio/wgenops.c: Likewise.
8754         * libio/wmemstream.c: Likewise.
8755         * libio/wstrops.c: Likewise.
8756         * libio/__fpurge.c: Likewise.
8757         * libio/__fsetlocking.c: Likewise.
8758         * assert/assert.c: Likewise.
8759         * debug/fgets_chk.c: Likewise.
8760         * debug/fgets_u_chk.c: Likewise.
8761         * debug/fread_chk.c: Likewise.
8762         * debug/fread_u_chk.c: Likewise.
8763         * debug/gets_chk.c: Likewise.
8764         * debug/obprintf_chk.c: Likewise.
8765         * debug/vasprintf_chk.c: Likewise.
8766         * debug/vdprintf_chk.c: Likewise.
8767         * debug/vsnprintf_chk.c: Likewise.
8768         * debug/vsprintf_chk.c: Likewise.
8769         * malloc/mtrace.c: Likewise.
8770         * misc/error.c: Likewise.
8771         * misc/syslog.c: Likewise.
8772         * stdio-common/asprintf.c: Likewise.
8773         * stdio-common/fxprintf.c: Likewise.
8774         * stdio-common/getw.c: Likewise.
8775         * stdio-common/isoc99_fscanf.c: Likewise.
8776         * stdio-common/isoc99_scanf.c: Likewise.
8777         * stdio-common/isoc99_vfscanf.c: Likewise.
8778         * stdio-common/isoc99_vscanf.c: Likewise.
8779         * stdio-common/isoc99_vsscanf.c: Likewise.
8780         * stdio-common/printf-prs.c: Likewise.
8781         * stdio-common/printf_fp.c: Likewise.
8782         * stdio-common/printf_fphex.c: Likewise.
8783         * stdio-common/printf_size.c: Likewise.
8784         * stdio-common/putw.c: Likewise.
8785         * stdio-common/scanf.c: Likewise.
8786         * stdio-common/sprintf.c: Likewise.
8787         * stdio-common/tmpfile.c: Likewise.
8788         * stdio-common/vfprintf.c: Likewise.
8789         * stdio-common/vfscanf.c: Likewise.
8790         * stdlib/strfmon_l.c: Likewise.
8791         * sunrpc/openchild.c: Likewise.
8792         * sunrpc/xdr_stdio.c: Likewise.
8793         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
8794         * sysdeps/mach/hurd/tmpfile.c: Likewise.
8796 2012-05-24  Roland McGrath  <roland@hack.frob.com>
8798         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
8800         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
8801         in the third column, to generate for the shared library an IFUNC
8802         that uses _dl_vdso_vsym.
8803         * Makerules (COMPILE.c, compile-stdin.c): New variables.
8804         * Makeconfig (object-suffixes-noshared): New variable.
8806         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
8807         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
8808         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
8809         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
8811         [BZ #14132]
8812         * include/sys/time.h (__gettimeofday): Remove macro.
8813         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
8814         * time/gettimeofday.c (__gettimeofday): Remove #undef.
8815         Remove INTDEF.
8816         (__gettimeofday): Add libc_hidden_def.
8817         (gettimeofday): Add libc_hidden_weak.
8818         * sysdeps/mach/gettimeofday.c: Likewise.
8819         * sysdeps/posix/gettimeofday.c: Likewise.
8820         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
8821         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
8822         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
8823         (__gettimeofday_internal): Remove strong_alias.
8824         (__gettimeofday): Add libc_hidden_def.
8825         (gettimeofday): Add libc_hidden_weak.
8826         * sysdeps/unix/syscalls.list (gettimeofday):
8827         Remove __gettimeofday_internal alias.
8829 2012-05-24  Daniel Jacobowitz  <drow@false.org>
8830             H.J. Lu  <hongjiu.lu@intel.com>
8832         [BZ #12495]
8833         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
8834         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
8835         (largebin_index_32_big): New.
8836         (largebin_index): Use it for 16-byte alignment.
8837         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
8838         correction with front_misalign.
8840 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
8842         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
8843         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
8844         Likewise.
8845         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
8846         Likewise.
8847         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
8848         Likewise.
8849         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
8850         Likewise.
8851         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
8852         Likewise.
8853         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
8854         Likewise.
8855         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
8856         Likewise.
8857         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
8858         Likewise.
8859         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
8860         Likewise.
8861         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
8862         Likewise.
8863         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
8864         Likewise.
8865         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
8866         Likewise.
8868         * scripts/data/c++-types-x32-linux-gnu.data: New file.
8869         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
8871 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
8873         [BZ #10846]
8874         [BZ #14036]
8875         * math/libm-test.inc (exp_test): Add test from bug 14036.
8876         (pow_test): Add test from bug 10846.
8878         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
8879         and other flags.
8880         (special_function): Do not include flags in test name.
8881         (parse_args): Likewise.
8882         * sysdeps/i386/fpu/libm-test-ulps: Update.
8883         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8884         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8885         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8886         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8888         * math/gen-libm-test.pl (%beautify): Add entries for underflow
8889         exceptions.
8890         * math/libm-test.inc ("Philosophy"): Update comment about
8891         exception testing.
8892         (UNDERFLOW_EXCEPTION): New macro.
8893         (UNDERFLOW_EXCEPTION_OK): Likewise.
8894         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
8895         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
8896         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
8897         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
8898         (INVALID_EXCEPTION_OK): Update value.
8899         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8900         (OVERFLOW_EXCEPTION_OK): Likewise.
8901         (IGNORE_ZERO_INF_SIGN): Likewise.
8902         (test_exceptions): Handle underflow exceptions.
8903         (acos_test): Update for underflow exception expectations.
8904         (cexp_test): Likewise.
8905         (clog_test): Likewise.
8906         (clog10_test): Likewise.
8907         (csqrt_test): Likewise.
8908         (ctan_test): Likewise.
8909         (ctanh_test): Likewise.
8910         (exp_test): Likewise.
8911         (exp10_test): Likewise.
8912         (exp2_test): Likewise.
8913         (expm1_test): Likewise.
8914         (fma_test): Likewise.
8915         (j0_test): Likewise.
8916         (jn_test): Likewise.
8917         (nexttoward_test): Likewise.
8918         (pow_test): Likewise.
8919         (scalbn_test): Likewise.
8920         (scalbln_test): Likewise.
8921         (tan_test): Likewise.
8922         (y1_test): Likewise.
8923         * sysdeps/i386/fpu/libm-test-ulps: Update.
8924         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8926 2012-05-23  David S. Miller  <davem@davemloft.net>
8928         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
8929         (__libc_sigaction): Remove unused local variables.
8931 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
8933         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
8935 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
8937         mktime: avoid signed integer overflow
8938         * time/mktime.c (__mktime_internal): Do not mishandle the case
8939         where diff == INT_MIN.
8941         mktime: simplify computation of average
8942         * time/mktime.c (ranged_convert): Use new time_t_avg function
8943         instead of rolling our own (probably-slower) code.
8945         mktime: do not assume signed right shift propagates sign bit
8946         * time/mktime.c (isdst_differ): New static function.
8947         (__mktime_internal): No need to normalize tm_isdst now.
8948         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
8949         tm_isdst values.
8951         mktime: merge another wrapv change from gnulib
8952         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
8953         from some compilers.
8955         mktime: remove incorrect attempt at unusual arithmetics
8956         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
8957         The code didn't really work on such machines anyway.
8958         (TYPE_MINIMUM): Assume two's complement.
8959         (twos_complement_arithmetic): Verify that long_int and time_t
8960         are two's complement (or unsigned, in the latter case).
8962         mktime: check signed shifts on long_int and time_t, too
8963         * time/mktime.c (SHR): Check that shifts work as desired
8964         on the types long_int and time_t too, as SHR is used on
8965         such types.
8967         mktime: do not assume 'long' is wide enough
8968         * time/mktime.c (verify): Move decl up.
8969         (long_int): New type.
8970         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
8971         to remove assumption in the code that 'long' is wide enough to
8972         store year values.  This assumption is not true on x32 and on
8973         some non-glibc platforms.
8975         mktime: merge wrapv change from gnulib
8976         * time/mktime.c (WRAPV): New macro.
8977         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
8978         (guess_time_tm, __mktime_internal): Do not assume that signed
8979         integer overflow wraps around; modern compilers generate code
8980         where this assumption is no longer valid.
8982 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
8984         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
8985         Replace "jmp L(pseudo_end)" with "ret".
8986         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
8987         Likewise.
8989 2012-05-23  Andreas Jaeger  <aj@suse.de>
8991         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
8992         * sysdeps/unix/sysv/linux/poll.c: Remove file.
8994 2012-05-23  Andreas Jaeger  <aj@suse.de>
8995             Maximilian Attems  <max@stro.at>
8997         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
8998         New macros.
9000 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
9002         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
9003         code so that pseudo_end is just ret and the stack pointer is
9004         correct also for static library in error case.
9006 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
9008         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
9009         move to syscalls.list.
9010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
9011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
9012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
9013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
9015         * manual/install.texi (Running make install): Do not mention Linux
9016         kernel version for which pt_chown is not needed.
9017         (Linux): Do not mention problems with nscd with 2.0 kernels.
9018         * INSTALL: Regenerated.
9020 2012-05-23  Andreas Jaeger  <aj@suse.de>
9022         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
9023         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
9024         macro.
9025         * sysdeps/unix/sysv/linux/s390/bits/mman.h
9026         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9027         * sysdeps/unix/sysv/linux/sh/bits/mman.h
9028         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9029         * sysdeps/unix/sysv/linux/i386/bits/mman.h
9030         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9031         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
9032         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9033         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
9034         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9035         * sysdeps/unix/sysv/linux/bits/in.h
9036         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
9038 2012-05-22  Roland McGrath  <roland@hack.frob.com>
9040         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
9041         (PREPARE_VERSION): Just use assert instead, it will be elided
9042         under [NDEBUG] anyway.
9044 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
9046         * sysdeps/unix/sysv/linux/Makefile: Include
9047         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
9048         (sysdep_routines): Remove sysctl.
9049         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
9050         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
9051         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
9052         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
9053         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
9055 2012-05-22  Andreas Jaeger  <aj@suse.de>
9057         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
9058         that pseudo_end is just ret and the stack pointer is correct also
9059         for static library in error case.
9061 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
9063         [BZ #14122]
9064         * nss/nsswitch.c (defconfig_entries): New variable.
9065         (__nss_database_lookup): Don't leak defconfig entries.
9066         (nss_parse_service_list): Don't leak on error paths.
9067         (free_database_entries): New function.
9068         (free_defconfig): New function.
9069         (free_mem): Move common code to free_database_entries.
9071 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
9073         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
9074         Add arch_prctl.
9075         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
9077         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9078         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
9079         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
9080         New macro.
9081         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
9082         (INTERNAL_SYSCALL_TYPES): Likewise.
9083         (LOAD_ARGS_TYPES_[1-6]): Likewise.
9084         (LOAD_REGS_TYPES_[1-6]): Likewise.
9085         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
9086         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
9088 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9090         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
9091         copysignl for GLIBC_2_0.
9092         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
9093         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
9094         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
9095         logbl for GLIBC_2_0.
9096         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
9097         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
9099 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
9101         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
9102         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
9104         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
9105         Use "neg %eax".
9107         * time/mktime.c: Update copyright years.
9109 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
9111         mktime: merge comment-quoting-style change from gnulib
9112         * time/mktime.c: Quote 'like this' in comments.
9113         The GNU coding standards suggest that we no longer quote `like this',
9114         as "`" and "'" are typically rendered asymmetrically nowadays.
9115         The typical gnulib style is to quote 'like this' when quoting
9116         code, and "like this" when quoting English.
9118         * time/mktime.c (compile-command): Add "-I.".
9120         mktime: merge mktime-internal.h change from gnulib
9121         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
9123         mktime: merge time_r change from gnulib
9124         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
9126         mktime: merge DEBUG change from gnulib
9127         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
9128         case system <time.h> has a #define.
9130         mktime: merge <sys/types.h> change from gnulib
9131         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
9132         since <time.t> is now guaranteed to define time_t.
9134         mktime: merge HAVE_CONFIG_H change from gnulib
9135         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
9137 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
9139         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
9140         Use "neg %eax".
9142         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
9143         __rlim_t cast.
9144         (struct rusage): Use anonymous union to pad each field to
9145         __syscall_slong_t.
9147 2012-05-21  David S. Miller  <davem@davemloft.net>
9149         * Makefules (o-iterator): Remove .s cases.
9150         (compile-command.s): Delete.
9151         (COMPILE.s): Delete.
9152         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
9154 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
9156         * configure.in (libc_cv_predef_stack_protector): Only consider
9157         "foobar" and "__stack_chk_fail" lines in libc_undefs.
9158         * configure: Regenerated.
9160 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
9162         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
9163         New macro.  Use R*LP on int and pointer.
9164         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
9165         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
9166         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
9167         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
9169         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
9170         [__WORDSIZE_TIME64_COMPAT32] instead of
9171         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
9172         (struct utmp): Likewise.
9173         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
9174         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
9175         Renamed to ...
9176         (__WORDSIZE_TIME64_COMPAT32): This.
9177         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
9178         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
9179         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
9180         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
9181         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
9182         (__WORDSIZE_TIME64_COMPAT32): New macro.
9184 2012-05-21  Andreas Jaeger  <aj@suse.de>
9186         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
9187         only if [SHARED]. Add prototype for __wcschr_ia32.
9189 2012-05-21  Roland McGrath  <roland@hack.frob.com>
9191         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
9192         of %rbp unmolested in the jmp_buf while mangling the low bits.
9193         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
9194         unmolested high bits of %rbp while demangling the low bits.
9195         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
9197 2012-05-21  Andreas Jaeger  <aj@suse.de>
9199         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
9200         * sunrpc/svc_simple.c: Use it for registerrpc.
9201         * sunrpc/xcrypt.c: Use it for passwd2des.
9203         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
9205 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
9207         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
9208         Don't define if [__SYSCALL_WORDSIZE != 32].
9209         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
9210         New macro.
9212 2012-05-21  Bruno Haible  <bruno@clisp.org>
9213             Andreas Jaeger  <aj@suse.de>
9215         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
9216         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
9217         inptr and inend for must_buffer_ch.
9218         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
9219         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
9220         * stdio-common/Makefile (tests): Remove bug15.
9221         (bug15-ENV): Remove macro.
9222         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
9223         anymore.
9225 2012-05-19  Andreas Jaeger  <aj@suse.de>
9226             Roland McGrath  <roland@hack.frob.com>
9228         * manual/contrib.texi: Completely rewritten. It contains now an
9229         alphabetical list of contributors and their contributions.
9231 2012-05-21  Richard Henderson  <rth@twiddle.net>
9233         * misc/getauxval.c (__getauxval): Use unsigned long int.
9234         * misc/sys/auxv.h: Include <sys/cdefs.h>.
9235         (getauxval): Use unsigned long int.
9237 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
9239         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
9241 2012-05-21  Roland McGrath  <roland@hack.frob.com>
9243         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
9244         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
9245         __alignof__ (long double).
9247 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9249         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9251 2012-05-20  Richard Henderson  <rth@twiddle.net>
9253         * misc/getauxval.c: New file.
9254         * misc/sys/auxv.h: New file.
9255         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
9256         (routines): Add getauxval.
9257         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
9258         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
9259         * elf/dl-sysdep.c (_dl_auxv): Remove.
9260         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
9261         * elf/dl-support.c (_dl_auxv): New variable.
9262         (_dl_aux_init): Initialize it.
9263         * manual/startup.texi (Auxiliary Vector): New node.
9264         * sysdeps/generic/bits/hwcap.h: New file.
9265         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
9266         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
9267         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
9268         * sysdeps/sparc/sysdep.h: ... here.  Include it.
9269         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
9270         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
9271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9272         Update.
9273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
9274         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
9275         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
9276         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
9277         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
9278         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
9279         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
9280         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
9282 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9284         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9286 2012-05-19  David S. Miller  <davem@davemloft.net>
9288         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9290 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
9292         [BZ #14123]
9293         * math/s_ccosh.c: Include <float.h>
9294         (__ccosh): Avoid internal overflow calculating sinh and cosh
9295         values before multiplying by sin and cos values.
9296         * math/s_ccoshf.c: Likewise.
9297         * math/s_ccoshl.c: Likewise.
9298         * math/s_csin.c: Likewise.
9299         * math/s_csinf.c: Likewise.
9300         * math/s_csinl.c: Likewise.
9301         * math/s_csinh.c: Likewise.
9302         * math/s_csinhf.c: Likewise.
9303         * math/s_csinhl.c: Likewise.
9304         * math/libm-test.inc (ccos_test): Add more tests.
9305         (ccosh_test): Likewise.
9306         (csin_test): Likewise.
9307         (csinh_test): Likewise.
9308         * sysdeps/i386/fpu/libm-test-ulps: Update.
9309         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9311 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
9313         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
9314         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
9316         * sysdeps/x86_64/x32/_itoa.h: Add comment.
9318 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
9320         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
9321         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
9322         * sysdeps/powerpc/soft-fp/Versions: Likewise.
9323         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
9324         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
9325         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
9326         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
9327         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
9328         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
9329         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
9330         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
9331         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
9332         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
9333         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
9334         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
9335         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
9336         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
9337         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
9338         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
9339         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
9340         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
9341         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
9342         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
9343         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
9344         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
9345         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
9346         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
9347         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
9348         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
9349         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
9350         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
9352 2012-05-18  Andreas Jaeger  <aj@suse.de>
9354         * csu/.gitignore: Delete.
9356 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
9358         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
9359         (timex): Use __syscall_slong_t.
9361 2012-05-18  Andreas Jaeger  <aj@suse.de>
9362             Carlos O'Donell  <carlos_odonell@mentor.com>
9364         * manual/install.texi (Configuring and compiling): Update
9365         description about files modified in the source directory.
9366         * INSTALL: Regenerated.
9368 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
9370         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
9371         value.  Use "or" to set return value to -1.
9372         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
9373         negate return value.
9375 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9377         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
9378         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
9379         failure if the compiler has Graphite support disabled.
9380         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
9381         Likewise.
9382         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
9383         CFLAGS-memmove.c): Likewise.
9384         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
9385         Likewise.
9387 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
9389         * sysdeps/x86_64/x32/_itoa.h: New file.
9391         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
9392         getdents system call only if kernel and user dirents have the
9393         same d_ino and d_off.
9395         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
9396         LLONG_MAX != LONG_MAX.
9397         (_itoa_word): Use _ITOA_WORD_TYPE on value.
9398         (_fitoa_word): Likewise.
9400         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
9401         years.
9402         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
9403         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
9404         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
9406         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
9407         include <bits/wordsize.h>.  Check __x86_64__ instead of
9408         __WORDSIZE.
9409         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
9410         if __x86_64__ is defined.  Use anonymous union on fpstate.
9412         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
9413         anonymous union.
9415 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
9417         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
9418         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
9419         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
9420         Refer to _rtld_local_ro instead of _rtld_global_ro.
9421         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
9422         Likewise.
9423         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
9424         Likewise.
9425         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
9426         Likewise.
9427         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
9428         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
9429         of _rtld_global, and rtld_progname instead of _dl_argv[0].
9431         * sysdeps/powerpc/powerpc32/dl-machine.c
9432         (__elf_machine_runtime_setup) [PROF]: Don't reference
9433         _dl_prof_resolve.
9435 2012-05-18  Andreas Jaeger  <aj@suse.de>
9437         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
9438         function only available for GCCs before 3.4 since GCC 3.4
9439         introduced a builtin.
9440         (lrint): Likewise.
9441         (llrintf): Likewise.
9442         (llrint): Likewise.
9443         (fmaxf): Likewise.
9444         (fmax): Likewise.
9445         (fminf): Likewise.
9446         (fmin): Likewise.
9447         (rint): Likewise.
9448         (rintf): Likewise.
9449         (nearbyint): Likewise.
9450         (nearbyintf): Likewise.
9451         (ceil): Likewise.
9452         (ceilf): Likewise.
9453         (floor): Likewise.
9454         (floorf): Likewise.
9456 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
9458         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
9459         on both fields and cast pointer to __syscall_ulong_t.
9461         * bits/types.h (__fsword_t): New type.
9462         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
9463         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
9464         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9465         (__FSWORD_T_TYPE): Likewise.
9466         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9467         (__FSWORD_T_TYPE): Likewise.
9468         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9469         (__FSWORD_T_TYPE): Likewise.
9470         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
9471         (__FSWORD_T_TYPE): Likewise.
9472         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
9473         __SWORD_TYPE with __fsword_t.
9474         (statfs64): Likewise.
9476 2012-05-17  David S. Miller  <davem@davemloft.net>
9478         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
9480 2012-05-17  Andreas Jaeger  <aj@suse.de>
9482         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
9483         warning.
9485 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
9487         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
9489 2012-05-17  Andreas Jaeger  <aj@suse.de>
9491         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
9492         when it is used.
9494 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
9496         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
9498 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
9500         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
9501         * sysdeps/x86_64/tst-mallocalign1.c: New file.
9503 2012-05-17  Andreas Jaeger  <aj@suse.de>
9504             Carlos O'Donell  <carlos_odonell@mentor.com>
9506         [BZ #14059]
9507         * sysdeps/x86_64/multiarch/init-arch.h
9508         (bit_YMM_Usable): Rename to...
9509         (bit_AVX_Usable): ... this.
9510         (bit_FMA4_Usable): New macro.
9511         (bit_XMM_state): New macro.
9512         (bit_YMM_state): New macro.
9513         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
9514         [__ASSEMBLER__] (index_AVX_Usable): ... this.
9515         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
9516         (CPUID_OSXSAVE): New macro.
9517         (CPUID_AVX): New macro.
9518         (CPUID_FMA4): New macro.
9519         (index_YMM_Usable): Rename to...
9520         (index_AVX_Usable): ... this.
9521         (HAS_AVX): Use HAS_ARCH_FEATURE.
9522         (HAS_FMA4): Likewise.
9523         (HAS_YMM_USABLE): Remove.
9524         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9525         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
9526         are present.
9527         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
9528         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
9529         * sysdeps/x86_64/multiarch/Makefile: Likewise.
9530         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
9531         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
9533 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
9535         * math/libm-test.c: Support platforms without multiple rounding modes.
9536         * math/bug-nextafter.c: Support platforms without FP exceptions.
9537         * math/bug-nexttoward.c: Likewise.
9538         * math/test-fenv.c: Likewise.
9539         * math/test-misc.c: Likewise.
9540         * stdlib/bug-getcontext.c: Likewise.
9542 2012-05-17  Andreas Jaeger  <aj@suse.de>
9544         * manual/examples/search.c (critter_cmp): Change signature to
9545         avoid warnings.
9546         * manual/string.texi (Collation Functions): Likewise.
9548 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
9550         * bits/types.h: Fold copyright years.
9551         * bits/typesizes.h: Likewise.
9552         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
9553         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
9554         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
9555         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
9556         * time/time.h: Likewise.
9558 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
9560         [BZ #208]
9561         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
9562         in instead of returning them.  Return void.
9563         (__libc_mallinfo): Accumulate over all arenas.
9564         (__malloc_stats): Adjust for change in int_mallinfo interface.
9566 2012-05-16  Roland McGrath  <roland@hack.frob.com>
9568         [BZ #10375]
9569         * configure.in (NM): Add AC_CHECK_TOOL for it.
9570         (libc_extra_cflags): New substituted variable.
9571         Check for -fstack-protector being used implicitly.
9572         * configure: Regenerated.
9573         * config.make.in (config-extra-cflags): New variable,
9574         gets @libc_extra_cflags@.
9575         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
9577         [BZ #10375]
9578         * configure.in: Check for _FORTIFY_SOURCE being predefined.
9579         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
9580         * configure: Regenerated.
9581         * config.make.in (CPPUNDEFS): New substituted variable.
9582         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
9583         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
9584         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
9586 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
9588         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
9589         (mq_attr): Use __syscall_slong_t.
9591 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
9593         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
9594         Check __x86_64__ instead of __WORDSIZE.
9595         (_STAT_VER_LINUX): Likewise.
9596         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
9597         __syscall_ulong_t and __syscall_slong_t.
9598         (stat64): Likewise.
9600 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
9602         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
9604 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
9606         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
9608 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
9610         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
9611         __syscall_ulong_t.
9613         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
9614         include <bits/wordsize.h>.  Check __x86_64__ instead of
9615         __WORDSIZE.
9616         (greg_t): Use "__extension__ long long int" if __x86_64__ is
9617         defined.
9618         (mcontext_t): Replace "unsigned long" with "unsigned long long".
9620         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
9621         include <bits/wordsize.h>.  Check __x86_64__ instead of
9622         __WORDSIZE.
9623         (user_regs_struct): Use "__extension__ unsigned long long"
9624         instead of "unsigned long" if __x86_64__ is defined.
9625         (user): Likewise.  Pad after pointer field if __ILP32__ is
9626         defined.
9628 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
9630         * configure.in (makeinfo): Require version 4.5 or later.  Allow
9631         versions 5 to 9.
9632         * configure: Regenerated.
9633         * manual/install.texi (texinfo): Increase version requirement to
9634         4.5 or later.
9635         * INSTALL: Regenerated.
9637         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
9639 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
9641         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
9643         * sysdeps/x86_64/x32/ffs.c: New file.
9645         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
9646         __syscall_ulong_t.
9647         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
9648         defined.  Use __syscall_ulong_t.
9649         (shminfo): Use __syscall_ulong_t.
9650         (shm_info): Likewise.
9652         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
9653         __syscall_ulong_t.
9655         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
9656         <bits/wordsize.h>.
9657         (msgqnum_t): Use __syscall_ulong_t.
9658         (msglen_t): Likewise.
9659         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
9660         __syscall_ulong_t.
9662         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
9663         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
9665         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
9667         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
9668         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
9670         * sysvipc/sys/msg.h (msgbuf): Replace long int with
9671         __syscall_slong_t.
9673         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
9674         include <bits/wordsize.h>.  Check __x86_64__ instead of
9675         __WORDSIZE.
9677         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
9678         "unsigned long long int" if __x86_64__ is defined.
9679         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
9681         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
9682         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
9683         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
9685         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
9686         <stdint.h>.
9687         (GET_PC): Cast to uintptr_t first.
9688         (GET_FRAME): Likewise.
9689         (GET_STACK): Likewise.
9691         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
9692         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
9693         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
9694         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
9695         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
9696         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
9697         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
9698         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
9699         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
9700         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
9701         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
9702         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
9703         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
9704         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
9705         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
9706         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
9707         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
9708         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
9709         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
9710         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
9711         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
9712         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
9713         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
9714         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
9715         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
9716         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
9717         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
9718         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
9719         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
9721 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
9723         * Makerules (+depfiles): Also collect depfiles from .oS in
9724         $(extra-objs).
9725         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
9726         .oS, $(libnldbl-routines)).
9728         * Makerules (native-compile-mkdep-flags): Define.
9729         * sunrpc/Makefile (extra-objs): Add $(addprefix
9730         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
9731         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
9732         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
9733         calling $(make-target-directory).
9735 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9737         * bits/types.h (__snseconds_t): Removed.
9738         * time/time.h (struct timespec): Replace __snseconds_t with
9739         __syscall_slong_t.
9740         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
9741         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
9742         Likewise.
9743         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9744         (__SNSECONDS_T_TYPE): Likewise.
9745         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9746         (__SNSECONDS_T_TYPE): Likewise.
9747         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9748         (__SNSECONDS_T_TYPE): Likewise.
9750 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9752         * sysdeps/mach/hurd/bits/typesizes.h
9753         (__SYSCALL_SLONG_TYPE): New macro.
9754         (__SYSCALL_ULONG_TYPE): Likewise.
9756 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9758         * bits/types.h (__syscall_slong_t): New type.
9759         (__syscall_ulong_t): Likewise.
9761         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
9762         (__SYSCALL_ULONG_TYPE): Likewise.
9763         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9764         (__SYSCALL_SLONG_TYPE): Likewise.
9765         (__SYSCALL_ULONG_TYPE): Likewise.
9766         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9767         (__SYSCALL_SLONG_TYPE): Likewise.
9768         (__SYSCALL_ULONG_TYPE): Likewise.
9769         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9770         (__SYSCALL_SLONG_TYPE): Likewise.
9771         (__SYSCALL_ULONG_TYPE): Likewise.
9773 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9775         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
9776         Add sigaltstack-offsets.sym.
9777         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
9778         <sigaltstack-offsets.h>.
9779         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
9780         longjmp_msg pointer.
9781         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
9782         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
9783         signal stack.
9784         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
9786 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
9788         * elf/stackguard-macros.h: Remove file.
9789         * sysdeps/generic/stackguard-macros.h: New file.
9790         * sysdeps/i386/stackguard-macros.h: Likewise.
9791         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
9792         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
9793         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
9794         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
9795         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
9796         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
9797         * sysdeps/x86_64/stackguard-macros.h: Likewise.
9798         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
9799         <elf/stackguard-macros.h>.
9801         [BZ #14109]
9802         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
9803         __aligned__ in attribute.
9804         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
9805         (gregset_t): Likewise.
9807 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9809         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
9810         * sysdeps/x86_64/64/Implies-after: Here.  New file.
9811         * sysdeps/x86_64/x32/Implies-after: New file.
9813 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9815         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
9816         and access return value for _dl_profile_fixup.  Use R10_LP to
9817         load frame size.
9819 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9821         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
9823 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9825         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
9826         * sysdeps/x86_64/x32/sysdep.h: New file.
9828 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9830         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
9831         * sysdeps/x86_64/setjmp.S: Likewise.
9833 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9835         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
9836         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
9837         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
9838         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
9839         remove unused global constant.
9841 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
9843         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
9844         include of <not-cancel.h>.
9846 2012-05-15  Roland McGrath  <roland@hack.frob.com>
9848         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
9850 2012-05-15  Jeff Law  <law@redhat.com>
9851             Andreas Jaeger  <aj@suse.de>
9853         [BZ #13594]
9854         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
9855         out from...
9856         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
9857         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
9858         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
9859         code changing __hst_map_handle.map.
9861 2012-05-15  Roland McGrath  <roland@hack.frob.com>
9863         * configure.in (sysnames): Look for Implies-before and Implies-after
9864         files.
9865         * configure: Regenerated.
9867 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9869         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
9870         8-byte data alignment with LP_SIZE alignment.
9872 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9874         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
9875         into R10_LP.
9877 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9879         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
9881 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9883         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
9884         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
9885         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
9886         Likewise.
9887         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
9889 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9891         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
9892         (stackinfo_sub_sp): Likewise.
9894 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9896         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
9897         RAX_LP.
9899 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9901         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
9902         into R*_LP.
9904 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9906         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
9907         sizes into R*_LP.
9909 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9911         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
9913 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9915         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
9916         into R11_LP and load __x86_64_shared_cache_size_half into
9917         R8_LP.
9919 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9921         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
9922         R8_LP.
9924 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9926         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
9927         logb for POWER7.
9928         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
9929         logbf for POWER7.
9930         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
9931         logbl for POWER7.
9932         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
9933         powerpc32/power7/fpu/s_logb.c via #include.
9934         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
9935         powerpc32/power7/fpu/s_logbf.c via #include.
9936         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
9937         powerpc32/power7/fpu/s_logbl.c via #include.
9939 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
9941         * README.libm: Remove file.
9943 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
9945         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
9946         count for x32.  Use R*_LP and omit operand-size suffix.
9948 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
9950         * shlib-versions: Move x86_64-.*-linux.* entries to ...
9951         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
9952         * sysdeps/x86_64/x32/shlib-versions: New file.
9954 2012-05-14  Roland McGrath  <roland@hack.frob.com>
9956         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
9957         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
9958         Use _dl_fatal_printf instead.
9960 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
9962         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
9963         set if not set by the user.  Do not allow for being unset.
9964         * sysdeps/unix/sysv/linux/configure: Regenerated.
9966 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
9968         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
9969         the `q' suffix from lea and replace .quad with ASM_ADDR.
9971 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
9973         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
9974         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
9975         instead of $17.
9976         (PTR_DEMANGLE): Likewise.
9978 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
9980         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
9981         (LP_OP): Likewise.
9982         (ASM_ADDR): Likewise.
9983         (RAX_LP): Likewise.
9984         (RBP_LP): Likewise.
9985         (RBX_LP): Likewise.
9986         (RCX_LP): Likewise.
9987         (RDI_LP): Likewise.
9988         (RSI_LP): Likewise.
9989         (RSP_LP): Likewise.
9990         (R8_LP): Likewise.
9991         (R9_LP): Likewise.
9992         (R10_LP): Likewise.
9993         (R10_LP): Likewise.
9994         (R11_LP): Likewise.
9995         (R12_LP): Likewise.
9996         (R13_LP): Likewise.
9997         (R14_LP): Likewise.
9998         (R15_LP): Likewise.
10000 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
10002         * sysdeps/x86_64/x32/dl-machine.h: New file.
10004 2012-05-14  Andreas Jaeger  <aj@suse.de>
10006         * manual/Makefile (subdir): Remove export of subdir.
10007         (all): Remove target.
10008         (.PHONY): Remove all from list.
10009         (mkinstalldirs): Remove.
10010         (.PHONY): Remove installdirs from list.
10011         ($(inst_infodir)/libc.info): Use make-target-directory.
10012         (installdirs): Remove.
10013         (subdir_%): Remove.
10014         (glibc-targets): Remove.
10015         (lib): Remove.
10016         (stubs): Remove.
10017         ($(objpfx)stubs ../po/manual.pot): Remove.
10018         ($(objpfx)stamp%): Remove.
10019         (make-target-directory): Remove.
10020         (subdir_install): Remove.
10021         (routines): Remove.
10022         (aux): Remove.
10023         (sources): Remove.
10024         (objects): Remove.
10025         (headers): Remove.
10027         [BZ #13750]
10028         * manual/.gitignore: Remove, it's not needed anymore.
10029         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
10030         all files in it.
10031         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
10032         directory.
10033         (texis): Renamed to $(objpfx)texis.
10034         (texis-path): New, contains path to generated files.
10035         (chapters.%): Use texis-path for complete path, add extra argument
10036         libc-texinfo.sh.
10037         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
10038         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
10039         (summary,texi, stamp-summary): Use complete path of
10040         files. Generate files in build dir.
10041         (dir-add.texi): Build in build dir.
10042         (libm-err.texi,stamp-libm-err): Likewise.
10043         (version.texi, stamp-version): Likewise.
10044         (.%c.texi): Likewise.
10045         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
10046         (mostlyclean): Remove target.
10047         (realclean): Remove target.
10048         (generated): Add new variable with contents from mostlyclean and
10049         realclean, remove entries duplicated in common-mostlyclean, add
10050         stamp-libm-err and stamp-version.
10051         (generated-dirs): Add libc directory.
10052         ($(inst_infodir)/libc.info): Install files from build dir.
10054         * manual/install.texi (Configuring and compiling): Adjust since
10055         the info files are not part of the tar ball anymore.
10057 2012-05-14  Andreas Jaeger  <aj@suse.de>
10059         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
10060         variable.
10062 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
10064         [BZ #13717]
10065         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
10066         to 2.2.0 where earlier.
10067         * sysdeps/unix/sysv/linux/configure: Regenerated.
10068         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
10069         Remove conditional code.
10070         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
10071         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
10072         Remove conditional code.
10073         [!__NR_lchown]: Likewise.
10074         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
10075         [__NR_lchown]: Likewise.
10076         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
10077         comment referencing __ASSUME_LCHOWN_SYSCALL.
10078         * sysdeps/unix/sysv/linux/i386/sigaction.c
10079         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10080         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10081         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
10082         Remove conditional code.
10083         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
10084         (__protocol_available): Remove #if 0 code.
10085         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
10086         conditional code.
10087         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
10088         * sysdeps/unix/sysv/linux/kernel-features.h
10089         (__ASSUME_GETCWD_SYSCALL): Don't define.
10090         (__ASSUME_REALTIME_SIGNALS): Likewise.
10091         (__ASSUME_PREAD_SYSCALL): Likewise.
10092         (__ASSUME_PWRITE_SYSCALL): Likewise.
10093         (__ASSUME_POLL_SYSCALL): Likewise.
10094         (__ASSUME_LCHOWN_SYSCALL): Likewise.
10095         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
10096         non-SPARC.
10097         (__ASSUME_SIOCGIFNAME): Don't define.
10098         (__ASSUME_MSG_NOSIGNAL): Likewise.
10099         (__ASSUME_SENDFILE): Define unconditionally.
10100         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
10101         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
10102         conditional code.
10103         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
10104         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
10105         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
10106         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
10107         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
10108         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
10109         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
10110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
10111         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10112         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
10114         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10115         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
10117         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10118         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
10120         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10121         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
10123         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10124         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
10126         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10127         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
10129         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10130         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
10132         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10133         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10134         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
10135         Remove conditional code.
10136         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10137         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
10138         Remove conditional code.
10139         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10140         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
10141         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
10142         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
10143         Remove conditional code.
10144         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10145         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
10146         Remove conditional code.
10147         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10148         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
10149         Remove conditional code.
10150         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10151         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
10152         Remove conditional code.
10153         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10154         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
10155         Remove conditional code.
10156         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10157         * sysdeps/unix/sysv/linux/sh/pwrite64.c
10158         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10159         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10160         * sysdeps/unix/sysv/linux/sigaction.c
10161         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10162         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10163         * sysdeps/unix/sysv/linux/sigpending.c
10164         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10165         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10166         * sysdeps/unix/sysv/linux/sigprocmask.c
10167         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10168         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10169         * sysdeps/unix/sysv/linux/sigsuspend.c
10170         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10171         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10172         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
10173         (__libc_missing_rt_sigs): Remove.
10174         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
10175         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
10176         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
10177         Remove conditional code.
10178         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
10179         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
10180         return 1.
10181         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
10182         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
10183         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
10184         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
10186 2012-05-14  Andreas Jaeger  <aj@suse.de>
10188         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
10189         it's not used in glibc.
10190         (__coshm1): Likewise.
10191         (__acosh1p): Likewise.
10192         (__sgn): Likewise.
10194         * manual/string.texi (Copying and Concatenation): Add missing
10195         variable in concat example.
10196         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
10198 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
10200         [BZ #14103]
10201         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
10202         __builtin_clzl with __builtin_clzll.
10204 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
10206         [BZ #14104]
10207         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
10208         libc_freeres_ptr.
10210 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
10212         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
10213         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
10214         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
10215         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
10217 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
10219         * NEWS: Update ia64 info.
10221 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
10223         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
10224         used as bcopy.
10226 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
10228         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
10229         * sysdeps/unix/syscalls.list (dup3): Likewise.
10230         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
10231         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
10233 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
10235         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
10236         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
10238 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
10240         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
10241         thread pointer.
10242         (TLS_IE): Use mov/add instead of movq/addq to load thread
10243         pointer.
10244         (TLS_GD_PREFIX): New.
10245         (TLS_GD): Use it.
10247 2012-05-11  David S. Miller  <davem@davemloft.net>
10249         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
10250         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
10251         (_FPU_SETCW): Likewise.
10253 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
10255         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
10256         is 32-byte aligned.
10258 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
10260         [BZ #11837]
10261         * iconvdata/gb18030.c: Update tables.
10262         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
10263         characters specially.
10264         (BODY for TO_LOOP): Add encoding of missing ranges.
10266 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
10268         [BZ #13673]
10269         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
10270         * sysdeps/mach/hurd/dup3.c: Likewise.
10271         * sysdeps/mach/hurd/readlinkat.c: Likewise.
10272         * sysdeps/powerpc/memmove.c:: Likewise.
10274 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
10276         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
10277         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
10279 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
10281         * elf/elf.h (R_X86_64_RELATIVE64): New.
10282         (R_X86_64_NUM): Updated.
10283         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
10284         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
10285         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
10286         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
10287         tst-quad1pie tst-quad2pie
10288         (modules-names): Add tst-quadmod1 tst-quadmod2.
10289         ($(objpfx)tst-quad1): New dependency.
10290         ($(objpfx)tst-quad2): Likewise.
10291         ($(objpfx)tst-quad1pie): Likewise.
10292         ($(objpfx)tst-quad2pie): Likewise.
10293         * sysdeps/x86_64/tst-quad1.c: New file.
10294         * sysdeps/x86_64/tst-quad1pie.c: New file.
10295         * sysdeps/x86_64/tst-quad2.c: Likewise.
10296         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
10297         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
10298         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
10299         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
10300         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
10302 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10304         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
10305         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
10306         * streams/stropts.h (t_scalar_t): Define type.
10308         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
10309         (_PATH_PRESERVE): Set to "/var/lib".
10310         (_PATH_RWHODIR): Set to "/var/spool/rwho".
10312         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
10313         instead of int.
10315         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
10316         if __dir_mkfile succeeded.
10318         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
10319         checking for _hurd_dtablesize.  Unlock it right after having
10320         finished _hurd_dtable allocation.
10322 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
10324         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
10325         * sysdeps/mach/hurd/configure: Regenerated.
10326         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
10327         special-casing to...
10328         * sysdeps/gnu/configure.in: ... this new file.
10329         * sysdeps/unix/sysv/linux/configure: Regenerated.
10330         * sysdeps/gnu/configure: New generated file.
10332         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
10333         for Linux: use nsec instead of usec, as well as:
10334         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
10335         members of type struct timespec.
10336         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
10337         New macros.
10338         (struct stat64): Likewise.
10339         (_STATBUF_ST_NSEC): New macro.
10340         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
10342         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
10343         __strtoul_internal rather than strtoul.
10345 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
10347         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
10348         and reject them.
10350 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10352         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
10353         which preserves existing values.
10354         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
10356 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
10358         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
10359         TIMEOUT values.  Return EINVAL for NFDS values either negative or
10360         greater than FD_SETSIZE.
10362 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10364         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
10365         allocated, call __vm_protect to finish enabling the existing space, and
10366         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
10367         allocate the remainder.
10369 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
10371         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
10372         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
10374 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10376         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
10377         sysdeps/mach/hurd/readlink.c.
10379         * posix/tst-sysconf.c (posix_options): Only use
10380         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
10381         _POSIX_SYNCHRONIZED_IO when they are defined
10382         * sysdeps/mach/hurd/bits/posix_opt.h:
10383         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
10384         (_XOPEN_REALTIME): Undefine macro.
10385         (_XOPEN_REALTIME_THREADS): Undefine macro.
10386         (_XOPEN_SHM): Undefine macro.
10387         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
10388         macro to -1.
10389         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
10390         macro to -1.
10391         (_POSIX_ASYNC_IO): Undefine macro.
10392         (_POSIX_PRIORITIZED_IO): Undefine macro.
10393         (_POSIX_SPIN_LOCKS): Define macro to -1.
10395         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
10396         SA_NODEFER, SA_RESETHAND.
10397         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
10398         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
10399         F_DUPFD_CLOEXEC.
10401 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
10403         * elf/Makefile (pldd-modules): Define unconditionally.
10405 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
10407         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
10409 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10411         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
10412         Return ENOENT when name is empty.
10413         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
10415 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
10417         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
10419         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
10421 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10423         Fix mlock in all cases except non-readable pages.
10424         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
10425         instead of VM_PROT_ALL as parameter to __vm_wire function.
10427         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
10428         (__mkdir): When path is `/', just fail with EEXIST.
10429         * sysdeps/mach/hurd/mkdirat.c: Likewise.
10431 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
10433         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
10434         <sys/uio.h> (for writev).
10435         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
10436         and <sys/param.h> (for MIN).
10438 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
10440         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
10441         REQUESTED_TIME.  Properly set the remaining time and return EINTR
10442         if interrupted.
10444 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
10446         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
10447         Depend on against $(link-rpcuserlibs).
10449 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10451         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
10452         (__libc_stack_end): Do not use attribute_relro.
10453         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
10454         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
10455         to libthread-provided value.
10456         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
10457         attribute_relro.
10459 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
10461         [BZ #3748]
10462         * bits/libc-lock.h (__libc_once_get): New macro.
10463         * sysdeps/mach/bits/libc-lock.h: Likewise.
10464         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
10465         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
10466         instead of using implementation details.
10468         * libio/fileops.c: Unconditionally include <kernel-features.h>.
10469         * libio/freopen.c: Likewise.
10470         * libio/freopen64.c: Likewise.
10471         * misc/syslog.c: Likewise.
10472         * nscd/connections.c: Likewise.
10473         * nscd/netgroupcache.c: Likewise.
10474         * sysdeps/posix/getcwd.c: Likewise.
10476 2012-05-10  Roland McGrath  <roland@hack.frob.com>
10478         * math/w_ilogbf.c: Add #include <limits.h>.
10480 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10482         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
10483         path instead of returning without unlocking.
10485         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
10486         immediate-write ioctls.
10487         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
10489 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
10491         * sysdeps/mach/hurd/i386/init-first.c (init): Use
10492         __builtin_frame_address instead of making assumptions about the
10493         location of the return address relative to DATA.  Force early load of
10494         the return address.
10495         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
10496         __builtin_frame_address.
10498         dup3 for GNU Hurd.
10499         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
10500         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
10501         implement dup3 and do some further code clean-ups.
10502         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
10503         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
10505 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10507         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
10509         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
10510         HURD_CRITICAL_END around holding _hurd_dtable_lock.
10511         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
10512         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
10513         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
10514         d->port.lock.
10516         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
10517         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
10518         when handler == SIG_ERR, not when handler != SIG_ERR.
10520 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
10522         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
10523         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
10524         definitions.
10526         accept4 for GNU Hurd.
10527         * include/sys/socket.h (__libc_accept4): New prototype.
10528         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
10529         to implement __libc_accept4.
10530         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
10531         __libc_accept4.
10532         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
10534         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
10535         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
10536         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
10537         signal-defines.sym.
10539 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10541         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
10543 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
10545         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
10546         assertion on O_CLOEXEC flag.
10547         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
10548         * hurd/intern-fd.c: Likewise.
10549         * hurd/port2fd.c: Likewise.
10551 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10553         [BZ #3906]
10554         * bits/in.h (IPV6_PKTINFO): Define new macro.
10555         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
10557 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10559         [BZ #13954]
10560         [BZ #13955]
10561         [BZ #13956]
10562         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
10563         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10564         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
10565         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
10566         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10567         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
10568         * math/libm-test.inc (logb_test) : Additional logb tests.
10570 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
10571             Andreas Jaeger  <aj@suse.de>
10573         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
10574         * configure: Regenerated.
10575         * config.h.in (LINK_OBSOLETE_RPC): New macro.
10576         * config.make.in (link-obsolete-rpc): New substituted variable.
10577         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
10578         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
10579         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
10580         (shared-only-routines): Don't set it under [link-obsolete-rpc],
10581         so that libc.a contains the symbols.
10582         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
10583         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
10584         * sunrpc/auth_none.c: Likewise.
10585         * sunrpc/auth_unix.c: Likewise.
10586         * sunrpc/authdes_prot.c: Likewise.
10587         * sunrpc/authuxprot.c: Likewise.
10588         * sunrpc/clnt_gen.c: Likewise.
10589         * sunrpc/clnt_perr.c: Likewise.
10590         * sunrpc/clnt_raw.c: Likewise.
10591         * sunrpc/clnt_simp.c: Likewise.
10592         * sunrpc/clnt_tcp.c: Likewise.
10593         * sunrpc/clnt_udp.c: Likewise.
10594         * sunrpc/clnt_unix.c: Likewise.
10595         * sunrpc/des_crypt.c: Likewise.
10596         * sunrpc/des_soft.c: Likewise.
10597         * sunrpc/get_myaddr.c: Likewise.
10598         * sunrpc/key_call.c: Likewise.
10599         * sunrpc/key_prot.c: Likewise.
10600         * sunrpc/netname.c: Likewise.
10601         * sunrpc/pm_getmaps.c: Likewise.
10602         * sunrpc/pm_getport.c: Likewise.
10603         * sunrpc/pmap_clnt.c: Likewise.
10604         * sunrpc/pmap_prot.c: Likewise.
10605         * sunrpc/pmap_prot2.c: Likewise.
10606         * sunrpc/pmap_rmt.c: Likewise.
10607         * sunrpc/publickey.c: Likewise.
10608         * sunrpc/rpc_cmsg.c: Likewise.
10609         * sunrpc/rpc_common.c: Likewise.
10610         * sunrpc/rpc_dtable.c: Likewise.
10611         * sunrpc/rpc_prot.c: Likewise.
10612         * sunrpc/rpc_thread.c: Likewise.
10613         * sunrpc/rtime.c: Likewise.
10614         * sunrpc/svc.c: Likewise.
10615         * sunrpc/svc_auth.c: Likewise.
10616         * sunrpc/svc_raw.c: Likewise.
10617         * sunrpc/svc_run.c: Likewise.
10618         * sunrpc/svc_tcp.c: Likewise.
10619         * sunrpc/svc_udp.c: Likewise.
10620         * sunrpc/svc_unix.c: Likewise.
10621         * sunrpc/svcauth_des.c: Likewise.
10622         * sunrpc/xcrypt.c: Likewise.
10623         * sunrpc/xdr.c: Likewise.
10624         * sunrpc/xdr_array.c: Likewise.
10625         * sunrpc/xdr_float.c: Likewise.
10626         * sunrpc/xdr_intXX_t.c: Likewise.
10627         * sunrpc/xdr_mem.c: Likewise.
10628         * sunrpc/xdr_rec.c: Likewise.
10629         * sunrpc/xdr_ref.c: Likewise.
10630         * sunrpc/xdr_sizeof.c: Likewise.
10631         * sunrpc/xdr_stdio.c: Likewise.
10633 2012-05-10  Roland McGrath  <roland@hack.frob.com>
10635         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
10636         change.  Update copyright years.
10638 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
10640         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
10642 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
10643             Joseph Myers  <joseph@codesourcery.com>
10644             Paul Pluzhnikov  <ppluzhnikov@google.com>
10646         [BZ #14012]
10647         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
10648         requiring rpcgen.
10649         [cross-compiling] (extra-libs): Likewise.
10650         [cross-compiling] (extra-libs-others): Likewise.
10651         [cross-compiling] (librpcsvc-routines): Likewise.
10652         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
10653         [cross-compiling] (omit-deps): Likewise.
10654         (sunrpc-CPPFLAGS): New variable.
10655         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
10656         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
10657         (cross-rpcgen-objs): New variable.
10658         (extra-objs): Append $(cross-rpcgen-objs).
10659         ($(cross-rpcgen-objs)): New rule.
10660         ($(objpfx)cross-rpcgen): Likewise.
10661         (rpcgen-cmd): Define to use $(built-program-file).  Expand
10662         comment.
10663         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
10664         ($(objpfx)x%.stmp): Likewise.
10665         * sunrpc/proto.h [IS_IN_build] (_): Define.
10666         [IS_IN_build] (_libc_intl_domainname): Likewise.
10668 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
10670         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
10671         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
10672         and R_X86_64_TPOFF64.
10674 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
10676         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
10677         sysdeps/unix/sysv/syscalls.list.
10678         (stime): Likewise.
10679         (utime): Likewise.
10680         * sysdeps/unix/sysv/syscalls.list: Remove file.
10682 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
10684         [BZ #3440]
10685         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
10686         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
10687         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
10688         (__LC_IDENTIFICATION): Make these macros useful in #if
10689         expressions, as required by C99.
10691 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
10693         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
10694         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
10695         after this.
10697 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
10699         * stdlib/longlong.h: Updated from GCC.
10701 2012-05-09  Andreas Jaeger  <aj@suse.de>
10703         * nscd/nscd.c (run_modes): Make named enum, reorder so that
10704         default is first entry.
10705         (run_mode): Set type.
10706         (main): Remove informal message about syslog.
10707         (options): Fix typo.
10709         [BZ #14053]
10710         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
10711         to asm.
10712         (lrint): Likewise.
10713         (llrintf): Likewise.
10714         (llrint): Likewise.
10715         (rint): Likewise.
10716         (rintf): Likewise.
10717         (nearbyint): Likewise.
10718         (nearbyintf): Likewise.
10720 2012-05-09  Andreas Jaeger  <aj@suse.de>
10721             Pedro Alves  <palves@redhat.com>
10723         * nscd/nscd.c (run_mode): Use enum.
10724         (main): Cleanup coding style issue.
10726 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
10727             Andreas Jaeger  <aj@suse.de>
10729         * nscd/nscd.c (go_background): Replaced with...
10730         (run_mode): ... this.
10731         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
10732         (options): Add -F --foreground.
10733         (main): Implement it.
10734         (parse_opt): Parse it.
10736 2012-05-09  Andreas Jaeger  <aj@suse.de>
10738         [BZ #14083]
10739         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
10740         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
10741         -Wconversion warning.
10742         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
10743         Likewise.
10745 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
10747         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
10748         == 0.
10749         (LC_ALL): Use macro-int-constant.
10750         (LC_COLLATE): Likewise.
10751         (LC_CTYPE): Likewise.
10752         (LC_MESSAGES): Likewise.
10753         (LC_MONETARY): Likewise.
10754         (LC_NUMERIC): Likewise.
10755         (LC_TIME): Likewise.
10756         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
10757         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
10758         [ISO || ISO99 || ISO11] (*_t): Do not allow.
10759         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
10760         Specify type.
10761         [C99-based standards] (float_t): Expect type.
10762         [C99-based standards] (double_t): Expect type.
10763         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
10764         type.
10765         [C99-based standards] (HUGE_VALL): Likewise.
10766         [C99-based standards] (INFINITY): Likewise.
10767         [C99-based standards] (NAN): Likewise.
10768         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
10769         [C99-based standards] (FP_NAN): Likewise.
10770         [C99-based standards] (FP_NORMAL): Likewise.
10771         [C99-based standards] (FP_SUBNORMAL): Likewise.
10772         [C99-based standards] (FP_ZERO): Likewise.
10773         [C99-based standards] (FP_FAST_FMA): Use
10774         optional-macro-int-constant.  Specify type.  Require == 1.
10775         [C99-based standards] (FP_FAST_FMAF): Likewise.
10776         [C99-based standards] (FP_FAST_FMAL): Likewise.
10777         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
10778         [C99-based standards] (FP_ILOGBNAN): Likewise.
10779         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
10780         Specify type.
10781         [C99-based standards] (MATH_ERREXCEPT): Likewise.
10782         [C99-based standards] (math_errhandling): Specify type.
10783         [ISO99 || ISO11] (signgam): Do not allow.
10784         [non-C99-based standards] (copysignf): Do not allow.
10785         [non-C99-based standards] (exp2f): Likewise.
10786         [non-C99-based standards] (log2f): Likewise.
10787         [non-C99-based standards] (modff): Allow.
10788         [non-C99-based standards] (erff): Do not allow.
10789         [non-C99-based standards] (erfcf): Likewise.
10790         [non-C99-based standards] (gammaf): Likewise.
10791         [non-C99-based standards] (hypotf): Likewise.
10792         [non-C99-based standards] (j0f): Likewise.
10793         [non-C99-based standards] (j1f): Likewise.
10794         [non-C99-based standards] (jnf): Likewise.
10795         [non-C99-based standards] (lgammaf): Likewise.
10796         [non-C99-based standards] (tgammaf): Likewise.
10797         [non-C99-based standards] (y0f): Likewise.
10798         [non-C99-based standards] (y1f): Likewise.
10799         [non-C99-based standards] (ynf): Likewise.
10800         [non-C99-based standards] (isnanf): Likewise.
10801         [non-C99-based standards] (acoshf): Likewise.
10802         [non-C99-based standards] (asinhf): Likewise.
10803         [non-C99-based standards] (atanhf): Likewise.
10804         [non-C99-based standards] (cbrtf): Likewise.
10805         [non-C99-based standards] (expm1f): Likewise.
10806         [non-C99-based standards] (ilogbf): Likewise.
10807         [non-C99-based standards] (log1pf): Likewise.
10808         [non-C99-based standards] (logbf): Likewise.
10809         [non-C99-based standards] (nextafterf): Likewise.
10810         [non-C99-based standards] (remainderf): Likewise.
10811         [non-C99-based standards] (rintf): Likewise.
10812         [non-C99-based standards] (scalbf): Likewise.
10813         [non-C99-based standards] (copysignl): Likewise.
10814         [non-C99-based standards] (exp2l): Likewise.
10815         [non-C99-based standards] (log2l): Likewise.
10816         [non-C99-based standards] (modfl): Allow.
10817         [non-C99-based standards] (erfl): Do not allow.
10818         [non-C99-based standards] (erfcl): Likewise.
10819         [non-C99-based standards] (gammal): Likewise.
10820         [non-C99-based standards] (hypotl): Likewise.
10821         [non-C99-based standards] (j0l): Likewise.
10822         [non-C99-based standards] (j1l): Likewise.
10823         [non-C99-based standards] (jnl): Likewise.
10824         [non-C99-based standards] (lgammal): Likewise.
10825         [non-C99-based standards] (tgammal): Likewise.
10826         [non-C99-based standards] (y0l): Likewise.
10827         [non-C99-based standards] (y1l): Likewise.
10828         [non-C99-based standards] (ynl): Likewise.
10829         [non-C99-based standards] (isnanl): Likewise.
10830         [non-C99-based standards] (acoshl): Likewise.
10831         [non-C99-based standards] (asinhl): Likewise.
10832         [non-C99-based standards] (atanhl): Likewise.
10833         [non-C99-based standards] (cbrtl): Likewise.
10834         [non-C99-based standards] (expm1l): Likewise.
10835         [non-C99-based standards] (ilogbl): Likewise.
10836         [non-C99-based standards] (log1pl): Likewise.
10837         [non-C99-based standards] (logbl): Likewise.
10838         [non-C99-based standards] (nextafterl): Likewise.
10839         [non-C99-based standards] (remainderl): Likewise.
10840         [non-C99-based standards] (rintl): Likewise.
10841         [non-C99-based standards] (scalbl): Likewise.
10842         [ISO || ISO99 || ISO11] (*_t): Do not allow.
10843         [non-C99-based standards] (FP_*): Do not allow.
10844         [C99-based standards] (FP_*): Change to
10845         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
10846         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10847         allow.
10848         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
10849         (SIG_ERR): Likewise.
10850         [X/Open-based standards] (SIG_HOLD): Likewise.
10851         (SIG_IGN): Likewise.
10852         (SIGABRT): Use macro-int-constant.  Specify type.  Require
10853         positive value.
10854         (SIGFPE): Likewise.
10855         (SIGILL): Likewise.
10856         (SIGINT): Likewise.
10857         (SIGSEGV): Likewise.
10858         (SIGTER): Likewise.
10859         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
10860         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
10861         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
10862         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
10863         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
10864         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
10865         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
10866         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
10867         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
10868         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
10869         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
10870         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
10871         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
10872         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
10873         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
10874         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
10875         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
10876         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
10877         [X/Open-based standards] (SIGTRAP): Likewise.
10878         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
10879         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
10880         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
10881         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
10882         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10883         allow.
10885 2012-05-08  Ian Wienand  <ianw@vmware.com>
10887         [BZ #14080]
10888         * time/tzset.c (__tzset_parse_tz): Update default rules for
10889         daylight time changes in the Energy Policy Act of 2005.
10891 2012-05-09  Andreas Jaeger  <aj@suse.de>
10893         [BZ #13983]
10894         * elf/ldconfig.c (parse_conf): Change string to make clear that
10895         ldconfig only issued a warning if ld.so.conf does not exist.
10897 2012-05-08  David S. Miller  <davem@davemloft.net>
10899         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
10900         movxtod instead of popping the value on the stack.
10902         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10904 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
10906         * config.h.in: Add HAVE_ARM_PCS_VFP.
10908 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
10910         [BZ #13979]
10911         * include/features.h: Warn if user requests __FORTIFY_SOURCE
10912         checking but the checks are disabled for any reason.
10914 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
10916         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
10917         and ELF64_R_TYPE with ELFW(R_TYPE).
10919 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
10921         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
10922         (ulimit): Likewise.
10924         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
10925         (settimeofday): Likewise.
10927 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
10929         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
10930         a struct th_u2 inside the union, and move tu_block/tu_code into
10931         a new th_u3 union of tu_block/tu_code inside of that.  Move
10932         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
10933         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
10934         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
10935         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
10936         (th_stuff): Change to th_u1.tu_stuff.
10937         (th_data): Define.
10938         (th_msg): Change to th_u1.th_u2.tu_data.
10940 2012-05-07  David S. Miller  <davem@davemloft.net>
10942         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10944         [BZ #14074]
10945         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
10946         (SETUP_PIC_REG): Use it.
10947         (SETUP_PIC_REG_LEAF): Use it.
10949 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
10951         [BZ #13885]
10952         [BZ #13923]
10953         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10954         USE_AS_EXPM1L.
10955         (EXPL_FINITE): Likewise.
10956         (FLDLOG): Likewise.
10957         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
10958         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
10959         e_expl.S.
10960         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10961         USE_AS_EXPM1L.
10962         (EXPL_FINITE): Likewise.
10963         (FLDLOG): Likewise.
10964         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
10965         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
10966         e_expl.S.
10967         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
10968         test of -max_value argument for long double.
10969         * sysdeps/i386/fpu/libm-test-ulps: Update.
10970         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10972 2012-05-06  David S. Miller  <davem@davemloft.net>
10974         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
10975         quad soft-float symbols whose references which are compiler
10976         generated.
10977         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
10979 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
10981         [BZ #13884]
10982         [BZ #13914]
10983         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10984         USE_AS_EXP10L.
10985         (EXPL_FINITE): Likewise.
10986         (FLDLOG): Likewise.
10987         (c0): Likewise.
10988         (c1): Likewise.
10989         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
10990         Adjust comments for base varying.
10991         (__expl_finite): Change alias to EXPL_FINITE.
10992         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
10993         e_expl.S.
10994         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
10995         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
10996         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
10997         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
10998         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10999         USE_AS_EXP10L.
11000         (EXPL_FINITE): Likewise.
11001         (FLDLOG): Likewise.
11002         (c0): Likewise.
11003         (c1): Likewise.
11004         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
11005         Adjust comments for base varying.
11006         (__expl_finite): Change alias to EXPL_FINITE.
11007         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
11008         tests for bugs.
11009         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11011         [BZ #14064]
11012         * math/libm-test.inc (check_float_internal): Correct ulp
11013         calculation for subnormal expected results.
11015 2012-05-06  Andreas Jaeger  <aj@suse.de>
11017         * Makeconfig (+math-flags): New, set to -frounding-math.
11018         (+cflags): Add +math-flags so that all of glibc gets compiled with
11019         it.
11021         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
11023 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
11025         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
11026         Disable one test.
11028         [BZ #13787]
11029         [BZ #13922]
11030         [BZ #14036]
11031         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
11032         (__ieee754_expl): Allow for and saturate large arguments.
11033         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
11034         (u_threshold): Likewise.
11035         (__exp): Call __ieee754_exp before checking for overflow and
11036         underflow.
11037         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
11038         (u_threshold): Likewise.
11039         (__expf): Call __ieee754_expf before checking for overflow and
11040         underflow.
11041         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
11042         (u_threshold): Likewise.
11043         (__expl): Call __ieee754_expl before checking for overflow and
11044         underflow.
11045         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
11046         (__ieee754_expl): Allow for and saturate large arguments.
11047         * math/libm-test.inc (exp_test): Add another test.  Do not allow
11048         missing overflow exception on overflow.
11049         (expm1_test): Do not allow missing overflow exception on overflow.
11051         * sysdeps/i386/fpu/e_expl.c: Move to ...
11052         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
11053         rather than using inline asm.
11054         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
11055         * sysdeps/x86_64/fpu/e_expl.S: Copy from
11056         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
11058         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
11059         (nice): Likewise.
11060         (poll): Likewise.
11061         (signal): Likewise.
11062         (time): Likewise.
11063         (times): Likewise.
11065 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
11067         * sysdeps/unix/syscalls.list (adjtime): Add entry from
11068         sysdeps/unix/common/syscalls.list.
11069         (fchmod): Likewise.
11070         (fchown): Likewise.
11071         (ftruncate): Likewise.
11072         (getrusage): Likewise.
11073         (gettimeofday): Likewise.
11074         (setpgid): Likewise.
11075         (setregid): Likewise.
11076         (setreuid): Likewise.
11077         (sigaction): Likewise.
11078         (truncate): Likewise.
11079         (vhangup): Likewise.
11080         * sysdeps/unix/common/syscalls.list: Remove file.
11081         * sysdeps/unix/bsd/Implies: Don't include unix/common.
11082         * sysdeps/unix/sysv/linux/Implies: Likewise.
11084 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
11086         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
11087         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
11088         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
11089         Moved to ...
11090         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
11091         Here.
11092         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
11093         to ...
11094         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
11095         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
11096         to ...
11097         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
11098         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
11099         to ...
11100         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
11101         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
11102         to ...
11103         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
11104         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
11105         to ...
11106         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
11107         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
11108         to ...
11109         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
11110         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
11111         to ...
11112         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
11113         Here.
11114         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
11115         to ...
11116         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
11117         Here.
11118         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
11119         to ...
11120         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
11121         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
11122         Moved to ...
11123         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
11124         Here.
11125         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
11126         to ...
11127         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
11129 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
11131         * sysdeps/unix/common/bits/dirent.h: Remove file.
11132         * sysdeps/unix/common/bits/fcntl.h: Likewise.
11134         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
11135         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
11136         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
11137         * sysdeps/unix/bsd/isatty.c: Likewise.
11138         * sysdeps/unix/bsd/tcdrain.c: Likewise.
11139         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
11140         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
11142 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11144         [BZ #13563]
11145         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
11146         long double comparison inaccuracies.
11147         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
11148         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11150 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
11152         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
11153         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
11155 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
11157         [BZ #14049]
11158         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
11159         nonzero digits before rounding a hex value.
11160         * stdlib/tst-strtod.c (tests): Add another test.
11162 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11164         * sysdeps/s390/fpu/libm-test-ulps: Update.
11166 2012-05-03  Andreas Jaeger  <aj@suse.de>
11168         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
11169         does not get optimized out.
11170         (malloc_opt_barrier): New.
11172 2012-05-03  Andreas Jaeger  <aj@suse.de>
11173             Roland McGrath  <roland@hack.frob.com>
11175         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
11176         intermediate file deletion.
11177         (generated): Add .symlist files.
11179 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
11181         [BZ #13775]
11182         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
11183         Redirect under this condition.
11184         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
11185         [__USE_GNU] (__dprintf_chk): Not under this condition.
11186         [__USE_GNU] (__vdprintf_chk): Likewise.
11187         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
11188         under this condition.
11189         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
11190         [__USE_XOPEN2K8] (dprintf): Define under this condition.
11191         [__USE_XOPEN2K8] (vdprintf): Likewise.
11192         [__USE_GNU] (__dprintf_chk): Not under this condition.
11193         [__USE_GNU] (__vdprintf_chk): Likewise.
11194         [__USE_GNU] (dprintf): Likewise.
11195         [__USE_GNU] (vdprintf): Likewise.
11197 2012-05-03  Roland McGrath  <roland@hack.frob.com>
11199         * elf/Makefile (common-generated): Set this instead of generated for
11200         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
11201         $(all-built-dso)-derived lists.
11203 2012-05-03  Andreas Jaeger  <aj@suse.de>
11205         * sysdeps/i386/fpu/libm-test-ulps: Update.
11207         * FAQ: Removed.
11208         * FAQ.in: Likewise.
11209         * scripts/gen-FAQ.pl: Likewise.
11210         * manual/install.texi (Installation): Point to online location of
11211         FAQ.
11212         * Makefile (files-for-dist): Remove FAQ.
11213         (FAQ): Remove.
11215 2012-05-02  Allan McRae  <allan@archlinux.org>
11217         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
11218         (LDFLAGS-reldepmod5.so): Likewise.
11219         (LDFLAGS-reldep6mod1.so): Likewise.
11220         (LDFLAGS-reldep6mod4.so): Likewise.
11221         (LDFLAGS-reldep8mod3.so): Likewise.
11222         (LDFLAGS-unload4mod1.so): Likewise.
11223         (LDFLAGS-unload4mod2.so): Likewise.
11224         (LDFLAGS-tst-initorder): Likewise.
11225         (LDFLAGS-tst-initordera2.so): Likewise.
11226         (LDFLAGS-tst-initordera3.so): Likewise.
11227         (LDFLAGS-tst-initordera4.so): Likewise.
11228         (LDFLAGS-tst-initorderb2.so): Likewise.
11229         (LDFLAGS-noload): Likewise.
11230         (LDFLAGS-next): Likewise.
11231         (LDFLAGS-order2mod1.so): Likewise.
11232         (LDFLAGS-order2mod2.so): Likewise.
11233         (LDFLAGS-tst-initorder2): Likewise.
11234         (LDFLAGS-tst-initorder2a.so): Likewise.
11235         (LDFLAGS-tst-initorder2b.so): Likewise.
11236         (LDFLAGS-tst-initorder2c.so): Likewise.
11237         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
11239 2012-05-02  David S. Miller  <davem@davemloft.net>
11241         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11243 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
11245         [BZ #14055]
11246         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
11248 2012-05-02  Andreas Jaeger  <aj@suse.de>
11250         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
11251         since we manipulate rounding mode.
11252         (CPPFLAGS-test-idouble.c): Likewise.
11253         (CPPFLAGS-test-ifloat.c): Likewise.
11254         (CFLAGS-test-ldouble.c): Likewise.
11255         (CFLAGS-test-double.c): Likewise.
11256         (CFLAGS-test-float.c): Likewise.
11257         (CFLAGS-test-misc.c): Likewise.
11258         (CFLAGS-test-test-fenv.c): Likewise.
11260 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11262         [BZ #2550]
11263         [BZ #2570]
11264         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
11265         comparisons to determine direction to adjust input.
11267 2012-05-01  Roland McGrath  <roland@hack.frob.com>
11269         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
11270         output to the target.
11272         * scripts/localplt.awk: New file.
11273         * elf/Makefile ($(objpfx)check-localplt): Target removed.
11274         (check-localplt-CFLAGS): Variable removed.
11275         ($(all-built-dso:=.jmprel)): New static pattern rule.
11276         (generated): Add those targets.
11277         (localplt-built-dso): New variable.
11278         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
11280         * elf/check-localplt.c: File removed.
11282         * scripts/check-execstack.awk: New file.
11283         * elf/Makefile ($(objpfx)check-execstack): Target removed.
11284         (check-execstack-CFLAGS): Variable removed.
11285         ($(objpfx)check-execstack.h): Target removed.
11286         ($(objpfx)execstack-default): New target.
11287         (generated): Add that instead of check-execstack.h.
11288         ($(all-built-dso:=.phdr)): New static pattern rule.
11289         (generated): Add those targets.
11290         * elf/check-execstack.c: File removed.
11292         * scripts/check-textrel.awk: New file.
11293         * elf/Makefile ($(objpfx)check-textrel): Target removed.
11294         (check-textrel-CFLAGS): Variable removed.
11295         (all-built-dso): Use := to define.o
11296         ($(all-built-dso:=.dyn)): New static pattern rule.
11297         (generated): Add those targets.
11298         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
11299         * config.make.in (READELF): New substituted variable.
11300         * elf/check-textrel.c: File removed.
11302 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
11304         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
11305         allow.
11306         * conform/data/ctype.h-data [C99-based standards] (isblank):
11307         Expect function.
11308         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
11309         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
11310         [ISO || ISO99 || ISO11] (*_t): Do not allow.
11311         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
11312         Specify type.  Require positive value.
11313         (EILSEQ): Likewise.
11314         (ERANGE): Likewise.
11315         [ISO || POSIX] (EILSEQ): Do not expect.
11316         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
11317         Specify type.  Require positive value.
11318         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
11319         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
11320         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
11321         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
11322         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
11323         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
11324         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
11325         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
11326         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
11327         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
11328         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
11329         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
11330         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
11331         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
11332         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
11333         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
11334         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
11335         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
11336         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
11337         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
11338         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
11339         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
11340         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
11341         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
11342         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
11343         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
11344         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
11345         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
11346         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
11347         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
11348         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
11349         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
11350         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
11351         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
11352         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
11353         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
11354         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
11355         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
11356         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
11357         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
11358         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
11359         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
11360         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
11361         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
11362         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
11363         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
11364         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
11365         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
11366         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
11367         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
11368         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
11369         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
11370         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
11371         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
11372         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
11373         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
11374         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
11375         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
11376         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
11377         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
11378         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
11379         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
11380         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
11381         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
11382         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
11383         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
11384         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
11385         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
11386         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
11387         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
11388         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
11389         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
11390         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
11391         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
11392         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
11393         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
11394         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
11395         Require >= 2.
11396         (FLT_ROUNDS): Expect as macro, not constant.
11397         (FLT_MANT_DIG): Use macro-int-constant.
11398         (DBL_MANT_DIG): Likewise.
11399         (LDBL_MANT_DIG): Likewise.
11400         (FLT_DIG): Likewise.
11401         (DBL_DIG): Likewise.
11402         (LDBL_DIG): Likewise.
11403         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
11404         (DBL_MIN_EXP): Likewise.
11405         (LDBL_MIN_EXP): Likewise.
11406         (FLT_MAX_EXP): Use macro-int-constant.
11407         (DBL_MAX_EXP): Likewise.
11408         (LDBL_MAX_EXP): Likewise.
11409         (FLT_MAX_10_EXP): Likewise.
11410         (DBL_MAX_10_EXP): Likewise.
11411         (LDBL_MAX_10_EXP): Likewise.
11412         (FLT_MAX): Use macro-constant.
11413         (DBL_MAX): Likewise.
11414         (LDBL_MAX): Likewise.
11415         (FLT_EPSILON): Use macro-constant.  Give upper bound.
11416         (DBL_EPSILON): Likewise.
11417         (LDBL_EPSILON): Likewise.
11418         (FLT_MIN): Likewise.
11419         (DBL_MIN): Likewise.
11420         (LDBL_MIN): Likewise.
11421         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
11422         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
11423         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
11424         [ISO11] (FLT_HAS_SUBNORM): Likewise.
11425         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
11426         [ISO11] (DBL_DECIMAL_DIG): Likewise.
11427         [ISO11] (FLT_DECIMAL_DIG): Likewise.
11428         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
11429         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
11430         [ISO11] (FLT_TRUE_MIN): Likewise.
11431         [ISO11] (LDBL_TRUE_MIN): Likewise.
11432         [ISO || ISO99 || ISO11] (*_t): Do not allow.
11433         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
11434         (SCHAR_MIN): Use macro-int-constant.  Specify type.
11435         (SCHAR_MAX): Likewise.
11436         (UCHAR_MAX): Likewise.
11437         (CHAR_MIN): Likewise.
11438         (CHAR_MAX): Likewise.
11439         (MB_LEN_MAX): Use macro-int-constant.
11440         (SHRT_MIN): Use macro-int-constant.  Specify type.
11441         (SHRT_MAX): Likewise.
11442         (USHRT_MAX): Likewise.
11443         (INT_MAX): Likewise.
11444         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
11445         bound negative.
11446         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
11447         bound with "U".
11448         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
11449         bound with "L".
11450         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
11451         bound negative.  Suffix upper bound with "L".
11452         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
11453         bound with "UL".
11454         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
11455         Specify type.
11456         [C99-based standards] (LLONG_MAX): Likewise.
11457         [C99-based standards] (ULLONG_MAX): Likewise.
11458         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
11459         == 0.
11460         [ISO11] (max_align_t): Require type.
11461         [ISO || ISO99 || ISO11] (*_t): Do not allow.
11463         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
11464         from $CFLAGS, without defining away __attribute__ calls.
11465         (checknamespace): Use $CFLAGS_namespace.
11467         * conform/conformtest.pl (@keywords): Only include C99 keywords
11468         for standards based on C99 or C11.
11470         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
11471         Disable tests.
11472         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
11473         UNIX98]: Likewise.
11475         * conform/conformtest.pl: Handle "macro-int-constant" and test for
11476         usability of symbols in #if.
11478         * conform/conformtest.pl: If macro or constant types start
11479         "promoted:", expect the symbol to be of the following type
11480         promoted by the integer promotions.
11482         * conform/conformtest.pl: Parse all "constant" and "macro" lines
11483         in one place.  Also handle "macro-constant".
11485         * conform/conformtest.pl: Only accept expected macro values with
11486         "==".  Parse all "macro" lines in one place.
11487         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
11489         * conform/conformtest.pl: Handle braced types on "constant" lines
11490         instead of handling "typed-constant".
11491         * conform/data/signal.h-data: Use "constant" instead of
11492         "typed-constant".
11494         * conform/conformtest.pl: Handle "optional-" at start of lines in
11495         one place rather than duplicating several cases.  Handle each
11496         format of "macro" line with initial "optional-".
11498         * conform/conformtest.pl: Only accept expected constant or
11499         optional-constant values with "==".  Parse all "constant" lines in
11500         one place.  Parse all "optional-constant" lines in one place.
11501         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
11502         * conform/data/fmtmsg.h-data: Likewise.
11503         * conform/data/netinet/in.h-data: Likewise.
11504         * conform/data/tar.h-data: Likewise.
11505         * conform/data/limits.h-data: Use "==" form on "constant" and
11506         "optional-constant" lines.
11508         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
11509         Use -std=c99 for XOPEN2K.
11510         (@knownproblems): Remove.
11511         (newtoken): Don't check %isknown.
11513         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
11514         Do not expect macro.
11515         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
11516         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
11517         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
11518         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
11519         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
11520         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
11521         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
11522         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
11523         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
11524         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
11525         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
11526         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
11527         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
11528         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
11529         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
11530         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
11531         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
11532         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
11533         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
11534         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
11535         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
11536         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
11537         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
11538         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
11539         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
11540         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
11541         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
11542         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
11543         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
11544         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
11545         [XPG3] (acosh): Likewise.
11546         [XPG3] (asinh): Likewise.
11547         [XPG3] (atanh): Likewise.
11548         [XPG3] (cbrt): Likewise.
11549         [XPG3] (expm1): Likewise.
11550         [XPG3] (ilogb): Likewise.
11551         [XPG3] (log1p): Likewise.
11552         [XPG3] (logb): Likewise.
11553         [XPG3] (nextafter): Likewise.
11554         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
11555         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
11556         [XPG3] (remainder): Likewise.
11557         [XPG3] (rint): Likewise.
11558         [XPG3 || XPG4 || UNIX98] (round): Likewise.
11559         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
11560         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
11561         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
11562         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
11563         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
11564         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
11565         [UNIX98 || XOPEN2K] (scalb): Expect.
11566         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
11567         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
11568         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
11569         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
11570         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
11571         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
11572         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
11573         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
11574         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
11575         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
11576         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
11577         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
11578         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
11579         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
11580         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
11581         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
11582         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
11583         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
11584         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
11585         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
11586         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
11587         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
11588         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
11589         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
11590         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
11591         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
11592         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
11593         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
11594         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
11595         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
11596         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
11597         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
11598         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
11599         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
11600         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
11601         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
11602         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
11603         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
11604         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
11605         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
11606         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
11607         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
11608         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
11609         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
11610         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
11611         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
11612         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
11613         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
11614         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
11615         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
11616         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
11617         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
11618         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
11619         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
11620         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
11621         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
11622         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
11623         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
11624         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
11625         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
11626         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
11627         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
11628         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
11629         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
11630         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
11631         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
11632         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
11633         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
11634         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
11635         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
11636         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
11637         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
11638         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
11639         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
11640         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
11641         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
11642         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
11643         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
11644         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
11645         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
11646         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
11647         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
11648         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
11649         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
11650         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
11651         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
11652         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
11653         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
11654         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
11655         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
11656         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
11657         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
11658         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
11659         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
11660         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
11661         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
11662         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
11663         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
11664         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
11665         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
11666         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
11667         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
11668         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
11669         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
11670         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
11671         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
11672         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
11673         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
11674         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
11675         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
11676         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
11677         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
11678         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
11679         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
11680         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
11681         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
11682         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
11683         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
11684         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
11685         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
11686         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
11687         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
11688         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
11689         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
11690         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
11691         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
11692         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
11693         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
11694         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
11695         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
11696         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
11697         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
11698         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
11699         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
11700         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
11701         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
11702         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
11704         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
11705         _XOPEN_SOURCE_EXTENDED for XPG4.
11707         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
11709         * Makeconfig (localtime): Remove variable.
11710         (inst_localtime-file): Likewise.
11712 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
11714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
11715         Update.
11716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11717         Update.
11718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
11719         Update.
11720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11721         Update.
11722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
11723         Update.
11724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
11725         Update.
11726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11727         Update.
11728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
11729         Update.
11730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11731         Update.
11733 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
11735         [BZ #2550]
11736         [BZ #2570]
11737         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
11738         comparisons to determine direction to adjust input.
11739         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
11740         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
11741         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
11742         Likewise.
11743         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
11744         Likewise.
11745         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11746         Likewise.
11747         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
11748         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
11749         Likewise.
11750         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
11751         Likewise.
11752         * math/libm-test.inc (nexttoward_test): Add more tests.
11754 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
11756         [BZ #14040]
11757         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
11758         in version GLIBC_2.1, not GLIBC_2.0.
11759         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
11760         Likewise.
11762 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
11764         [BZ #13942]
11765         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
11766         (1 - x) * (1 + x).
11767         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
11768         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
11769         * math/libm-test.inc (acos_test): Add more tests.
11770         (asin_test): Likewise.
11771         * sysdeps/i386/fpu/libm-test-ulps: Update.
11772         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11774         [BZ #14034]
11775         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
11776         of square root.
11777         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
11778         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
11779         * math/libm-test.inc (acos_test_tonearest): New function.
11780         (acos_test_towardzero): Likewise.
11781         (acos_test_downward): Likewise.
11782         (acos_test_upward): Likewise.
11783         (asin_test_tonearest): Likewise.
11784         (asin_test_towardzero): Likewise.
11785         (asin_test_downward): Likewise.
11786         (asin_test_upward): Likewise.
11787         (main): Call the new functions.
11788         * sysdeps/i386/fpu/libm-test-ulps: Update.
11789         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11791         [BZ #13884]
11792         [BZ #13924]
11793         * math/e_exp10.c: Include <float.h>.
11794         (__ieee754_exp10): Handle underflow here rather than multiplying
11795         large negative argument by M_LN10.
11796         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
11797         of __ieee754_expf.
11798         * math/e_exp10l.c: Include <float.h>.
11799         (__ieee754_exp10l): Handle underflow here rather than multiplying
11800         large negative argument by M_LN10l.
11801         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
11802         spurious overflow exception on underflow.
11804 2012-04-29  Marek Polacek  <polacek@redhat.com>
11806         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
11807         (__fortify_function): New macro.
11808         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
11809         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
11810         __extern_always_inline.
11811         * libio/bits/stdio2.h: Likewise.
11812         * libio/bits/stdio.h: Likewise.
11813         * string/string.h: Likewise.
11814         * string/bits/string3.h: Likewise.
11815         * include/stdio.h: Likewise.
11816         * stdlib/bits/stdlib.h: Likewise.
11817         * stdlib/stdlib.h: Likewise.
11818         * rt/bits/mqueue2.h: Likewise.
11819         * rt/mqueue.h: Likewise.
11820         * posix/bits/unistd.h: Likewise.
11821         * posix/unistd.h: Likewise.
11822         * io/bits/poll2.h: Likewise.
11823         * io/bits/fcntl2.h: Likewise.
11824         * io/fcntl.h: Likewise.
11825         * io/sys/poll.h: Likewise.
11826         * misc/bits/syslog.h: Likewise.
11827         * misc/bits/syslog-ldbl.h: Likewise.
11828         * misc/sys/syslog.h: Likewise.
11829         * socket/bits/socket2.h: Likewise.
11830         * socket/sys/socket.h: Likewise.
11831         * debug/tst-chk1.c: Likewise.
11832         * wcsmbs/bits/wchar2.h: Likewise.
11833         * wcsmbs/bits/wchar-ldbl.h: Likewise.
11834         * wcsmbs/wchar.h: Likewise.
11836 2012-04-29  Andreas Jaeger  <aj@suse.de>
11838         * Makerules (tests): Remove enable-check-abi protection.
11839         (check-abi-warn): Remove.
11840         (check-abi-%): Remove check-abi-warn usage.
11842         * configure.in: Remove check-abi configure option.
11843         * configure: Regenerated.
11844         * config.make.in (enable-check-abi): Remove.
11846 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
11848         [BZ #14033]
11849         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
11850         double functions to double *_finite functions.
11852         [BZ #13941]
11853         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
11854         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
11855         LDBL_MIN_EXP.
11856         * stdio-common/Makefile (tests): Add tst-sprintf3.
11857         * stdio-common/tst-sprintf3.c: New file.
11859         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
11860         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
11862 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
11864         * conform/conformtest.pl: Remove duplicate typed-constant
11865         handling.
11867 2012-04-28  David S. Miller  <davem@davemloft.net>
11869         * Makerules (%.abilist): Add vpath on sysdep_dirs.
11870         (check-abi-%): Remove AWK script prerequisite and explicit
11871         abilist directory.
11872         (check-abi): Rewrite to just diff the symlist with the abilist.
11873         (config-tls, config-abi-config): Delete, no longer used.
11874         (update-abi-%): Remove AWK script and explicit abilist directory.
11875         (update-abi): Rewrite to simply compare and conditionally copy the
11876         symlist and the sysdep abilist file.  Remove update-abi-config
11877         checks.
11878         * abilist/ld.abilist: Remove.
11879         * abilist/libBrokenLocale.abilist: Remove.
11880         * abilist/libanl.abilist: Remove.
11881         * abilist/libcrypt.abilist: Remove.
11882         * abilist/libdl.abilist: Remove.
11883         * abilist/librt.abilist: Remove.
11884         * abilist/libthread_db.abilist: Remove.
11885         * abilist/libutil.abilist: Remove.
11886         * scripts/extract-abilist.awk: Remove.
11887         * scripts/merge-abilist.awk: Remove.
11888         * sysdeps/generic/libcidn.abilist: New file.
11889         * sysdeps/generic/libnss_compat.abilist: New file.
11890         * sysdeps/generic/libnss_db.abilist: New file.
11891         * sysdeps/generic/libnss_dns.abilist: New file.
11892         * sysdeps/generic/libnss_files.abilist: New file.
11893         * sysdeps/generic/libnss_hesiod.abilist: New file.
11894         * sysdeps/generic/libnss_nis.abilist: New file.
11895         * sysdeps/generic/libnss_nisplus.abilist: New file.
11896         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
11897         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
11898         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
11899         file.
11900         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
11901         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
11902         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
11903         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
11904         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
11905         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
11906         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
11907         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
11908         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
11909         file.
11910         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
11911         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
11912         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
11913         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
11914         file.
11915         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
11916         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
11917         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
11918         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
11919         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
11920         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
11921         file.
11922         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
11923         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
11924         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
11925         file.
11926         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
11927         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
11928         New file.
11929         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
11930         New file.
11931         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
11932         New file.
11933         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
11934         New file.
11935         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
11936         New file.
11937         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
11938         New file.
11939         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
11940         New file.
11941         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
11942         New file.
11943         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
11944         New file.
11945         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
11946         New file.
11947         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
11948         New file.
11949         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
11950         New file.
11951         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
11952         New file.
11953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
11954         file.
11955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
11956         New file.
11957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
11958         New file.
11959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
11960         file.
11961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
11962         New file.
11963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
11964         New file.
11965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
11966         file.
11967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
11968         New file.
11969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11970         New file.
11971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
11972         New file.
11973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
11974         New file.
11975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
11976         New file.
11977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
11978         New file.
11979         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
11980         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
11981         file.
11982         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
11983         New file.
11984         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
11985         file.
11986         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
11987         file.
11988         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
11989         file.
11990         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
11991         file.
11992         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
11993         file.
11994         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11995         New file.
11996         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
11997         file.
11998         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
11999         file.
12000         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
12001         New file.
12002         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
12003         file.
12004         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
12005         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
12006         file.
12007         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
12008         New file.
12009         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
12010         file.
12011         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
12012         file.
12013         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
12014         file.
12015         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
12016         file.
12017         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
12018         file.
12019         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12020         New file.
12021         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
12022         file.
12023         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
12024         file.
12025         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
12026         New file.
12027         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
12028         file.
12029         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
12030         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
12031         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
12032         file.
12033         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
12034         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
12035         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
12036         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
12037         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
12038         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
12039         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
12040         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
12041         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
12042         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
12043         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
12044         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
12045         file.
12046         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
12047         New file.
12048         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
12049         file.
12050         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
12051         file.
12052         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
12053         file.
12054         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
12055         file.
12056         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
12057         file.
12058         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
12059         New file.
12060         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
12061         New file.
12062         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
12063         file.
12064         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
12065         New file.
12066         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
12067         file.
12068         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
12069         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
12070         file.
12071         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
12072         New file.
12073         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
12074         file.
12075         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
12076         file.
12077         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
12078         file.
12079         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
12080         file.
12081         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
12082         file.
12083         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
12084         New file.
12085         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
12086         New file.
12087         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
12088         file.
12089         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
12090         New file.
12091         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
12092         file.
12094 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
12096         * conform/conformtest.pl: Fix typo in handling typed-constant from
12097         allow-header.
12099 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
12101         * README: Cut down references to pre-2.6 Linux kernels and
12102         Linuxthreads.  Update lists of configurations in libc and ports
12103         and sort alphabetically.  Say "or newer" with Linux kernel version
12104         requirements.
12106         * config.h.in [IS_IN_build]: Allow compiling without optimization.
12108 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
12110         [BZ #887]
12111         * math/libm-test.inc (logb_test_downward): New test to expose
12112         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
12113         rounding mode.
12115 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
12117         [BZ #14027]
12118         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
12119         to be done.
12120         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
12121         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
12123 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
12125         * sysdeps/unix/i386/brk.S: Remove file.
12126         * sysdeps/unix/i386/dl-brk.S: Likewise.
12127         * sysdeps/unix/i386/pipe.S: Likewise.
12128         * sysdeps/unix/i386/sigreturn.S: Likewise.
12129         * sysdeps/unix/i386/syscall.S: Likewise.
12130         * sysdeps/unix/i386/vfork.S: Likewise.
12131         * sysdeps/unix/i386/wait.S: Likewise.
12133         * sysdeps/unix/common/tcsendbrk.c: Move to ...
12134         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
12136         * configure.in (arm*-none*): Do not allow without
12137         --enable-hacker-mode.
12138         (netbsd*): Remove case setting base_os.
12139         (386bsd*): Likewise.
12140         (freebsd*): Likewise.
12141         (bsdi*): Likewise.
12142         (osf*): Likewise.
12143         (sunos*): Likewise.
12144         (ultrix*): Likewise.
12145         (newsos*): Likewise.
12146         (dynix*): Likewise.
12147         (*bsd*): Likewise.
12148         (sysv*): Likewise.
12149         (isc*): Likewise.
12150         (esix*): Likewise.
12151         (sco*): Likewise.
12152         (minix*): Likewise.
12153         (irix4*): Likewise.
12154         (irix6*): Likewise.
12155         (solaris[2-9]*): Likewise.
12156         (none): Likewise.
12157         * configure: Regenerated.
12159 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12161         [BZ #11521]
12162         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
12163         overflow or cancellation in calculating denominator.
12164         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
12165         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
12166         down expression to avoid unexpected rounding in newer GCCs.
12167         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
12169 2012-04-26  David S. Miller  <davem@davemloft.net>
12171         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
12172         long-double compat symbols.
12173         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
12174         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
12175         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
12176         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
12177         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
12178         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
12179         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
12180         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
12181         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
12182         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
12183         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
12184         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
12185         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
12187 2012-04-25  David S. Miller  <davem@davemloft.net>
12189         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
12190         HWCAP_* values only after the memory barriers have been defined.
12191         (atomic_full_barrier): Define.
12192         (atomic_read_barrier): Define.
12193         (atomic_write_barrier): Define.
12195 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12197         * shlib-versions: Add libgcc_s version information.
12198         * sysdeps/generic/libgcc_s.h: Remove.
12199         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
12200         libgcc_s.h.
12201         * sysdeps/gnu/unwind-resume.c: Likewise.
12202         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
12204 2012-04-25  David S. Miller  <davem@davemloft.net>
12206         * sysdeps/unix/sparc/brk.S: Delete.
12207         * sysdeps/unix/sparc/dl-brk.S: Delete.
12208         * sysdeps/unix/sparc/pipe.S: Delete.
12209         * sysdeps/unix/sparc/sysdep.S: Delete.
12210         * sysdeps/unix/sparc/sysdep.h: Delete.
12211         * sysdeps/unix/sparc/vfork.S: Delete.
12212         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
12213         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
12214         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
12215         ret_ERRVAL, r0, r1, MOVE): Define.
12216         (JUMPTARGET): Remove.
12217         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
12218         sysdeps/unix/sparc/sysdep.h
12219         (ENTRY, END): Remove.
12220         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12222 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
12224         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
12225         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
12226         -DIS_IN_build.
12228         * timezone/README: Update upstream location and email address for
12229         tzcode and tzdata.
12230         * timezone/zdump.c: Update from tzcode 2012b.
12231         * timezone/zic.c: Likewise.
12233         * configure.in (libc_cv_as_needed): Remove test.
12234         * configure: Regenerated.
12235         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
12236         conditional definition.
12237         [$(have-as-needed) != yes] (no-as-needed): Likewise.
12238         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
12239         * config.make.in (have-as-needed): Remove variable.
12241 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
12242             Paul Pluzhnikov  <ppluzhnikov@google.com>
12244         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
12245         strings correctly.
12247 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
12249         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
12250         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
12251         * sysdeps/sh/strlen.S: Likewise.
12253 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
12255         * sysdeps/unix/fork.S: Remove file.
12256         * sysdeps/unix/i386/fork.S: Likewise.
12257         * sysdeps/unix/sparc/fork.S: Likewise.
12259         * sysdeps/unix/system.c: Remove file.
12260         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
12262         * sysdeps/unix/getegid.S: Remove file.
12263         * sysdeps/unix/geteuid.S: Likewise.
12265 2012-04-24  Roland McGrath  <roland@hack.frob.com>
12267         * scripts/check-localplt.awk: New file.
12268         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
12269         of diff.
12270         * scripts/data/localplt-generic.data: Add a comment.
12272         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
12273         NODE when __dir_mkfile failed.
12274         * sysdeps/mach/hurd/symlinkat.c: Likewise.
12275         Reported by Ludovic Courtès <ludo@gnu.org>.
12277 2012-04-24  Andreas Jaeger  <aj@suse.de>
12279         * Makerules (common-clean): Also remove gen-as-const-headers
12280         files.
12282 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
12284         * Makerules (native-compile): Do not change working directory for
12285         build.  Use $(OUTPUT_OPTION) in command.
12286         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
12288 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12290         [BZ #13886]
12291         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
12292         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
12293         * math/libm-test.inc (floor_test): Add more tests.
12294         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
12296 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
12298         * sysdeps/unix/getdents.c: Remove file.
12299         * sysdeps/unix/sysv/getdents.c: Likewise.
12300         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
12302         * sysdeps/unix/syscalls.list (madvise): Add syscall from
12303         sysdeps/unix/mman/syscalls.list.
12304         (mmap): Likewise.
12305         (mprotect): Likewise.
12306         (msync): Likewise.
12307         (munmap): Likewise.
12308         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
12309         * sysdeps/unix/mman/syscalls.list: Remove.
12310         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
12312         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
12313         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
12314         * configure: Regenerated.
12315         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
12316         $(libgcc_s_suffix).
12317         * config.make.in (libgcc_s_suffix): Remove variable.
12319 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
12321         * sysdeps/unix/sysv/gethostname.c: Move to ...
12322         * sysdeps/posix/gethostname.c: ... here.
12324         * sysdeps/unix/execve.S: Remove file.
12326         * sysdeps/unix/_exit.S: Remove file.
12328 2012-04-23  Andreas Jaeger  <aj@suse.de>
12330         [BZ #13739]
12331         * manual/Makefile: Remove make dist support, there's no
12332         need for a stand-alone documentation tar ball.
12333         (TEXI2DVI): Define always, it's not in Makeconfig.
12334         (dist): Removed.
12335         (tar-it): Removed.
12336         (edition): Removed.
12337         (glibc-doc-$(edition).tar): Removed
12338         (%.Z): Removed.
12339         (%.gz): Removed.
12340         (%.uu): Removed.
12341         (ETAGS): Remove, it's in Makeconfig.
12342         (move-if-change): Remove, it's in Makeconfig.
12344 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
12346         [BZ #13970]
12347         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
12348         (strtod, strtof, strtold, strtol, strtoul, strtoq)
12349         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
12350         (strtod_l, strtof_l, strtold_l): Remove __wur.
12351         It is not necessarily an error to ignore strtol's return value.
12352         One can reliably look at the stored endptr to decide whether
12353         the number had valid syntax.
12355 2012-04-21  Andreas Jaeger  <aj@suse.de>
12357         [BZ #13739]
12358         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
12360 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
12362         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
12363         * sysdeps/unix/sysv/Versions: Remove file.
12365 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
12367         [BZ #13927]
12368         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12370 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
12372         [BZ #7064]
12373         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
12374         version from __vm86.
12376 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
12378         * sysdeps/unix/common/lxstat.c: Remove file.
12379         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
12381         * sysdeps/unix/sysv/Makefile: Remove file.
12383         * sysdeps/unix/sysv/direct.h: Remove file.
12385         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
12386         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
12387         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
12388         * sysdeps/unix/sysv/bits/signum.h: Likewise.
12389         * sysdeps/unix/sysv/bits/stat.h: Likewise.
12390         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
12391         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
12393         * sysdeps/unix/sysv/setrlimit.c: Remove file.
12395         * sysdeps/unix/xmknod.c: Remove file.
12396         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
12398         * sysdeps/unix/sysv/settimeofday.c: Remove file.
12400         * sysdeps/unix/sysv/i386/time.S: Remove file.
12402         * sysdeps/unix/fxstat.c: Remove file.
12403         * sysdeps/unix/xstat.c: Likewise.
12404         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
12406         * sysdeps/unix/sysv/sigaction.c: Remove file.
12408         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
12409         (sysdep_headers): Remove variable.
12410         [termio.h not in sysdep_headers] (generated): Likewise.
12411         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
12412         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
12413         * sysdeps/unix/sysv/tcdrain.c: Likewise.
12414         * sysdeps/unix/sysv/tcflow.c: Likewise.
12415         * sysdeps/unix/sysv/tcflush.c: Likewise.
12416         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
12417         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
12418         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
12419         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
12420         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
12422         * sysdeps/unix/siglist.c: Remove file.
12424         * sysdeps/unix/getppid.S: Remove file.
12426         * sysdeps/unix/mkdir.c: Remove file.
12427         * sysdeps/unix/rmdir.c: Likewise.
12429 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
12431         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
12432         ERR_MAX value.
12433         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
12434         errlist-compat value.
12436 2012-04-18  David S. Miller  <davem@davemloft.net>
12438         * sysdeps/generic/memcopy.h (reg_char): Delete.
12439         * debug/strcat_chk.c: Use char, not reg_char.
12440         * debug/strcpy_chk.c: Likewise.
12441         * debug/strncat_chk.c: Likewise.
12442         * debug/strncpy_chk.c: Likewise.
12443         * string/memchr.c: Likewise.
12444         * string/memrchr.c: Likewise.
12445         * string/rawmemchr.c: Likewise.
12446         * string/strcat.c: Likewise.
12447         * string/strchr.c: Likewise.
12448         * string/strchrnul.c: Likewise.
12449         * string/strcmp.c: Likewise.
12450         * string/strcpy.c: Likewise.
12451         * string/strncat.c: Likewise.
12452         * string/strncmp.c: Likewise.
12453         * string/strncpy.c: Likewise.
12455 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
12457         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
12458         __builtin_memcopy is called when src and dest ranges are known to not
12459         overlap.
12461 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
12463         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
12464         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
12465         fwd_align_merge macro call.
12466         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
12467         bwd_align_merge macro call.
12468         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12470 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
12472         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
12473         bwd_align_merge macros.
12474         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
12475         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
12476         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12478 2012-04-18  David S. Miller  <davem@davemloft.net>
12480         * sysdeps/sparc/sparc64/memcopy.h: Delete.
12482 2012-04-18  Andreas Jaeger  <aj@suse.de>
12484         [BZ# 6794]
12485         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
12486         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
12487         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12489         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
12490         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
12491         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12493         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
12494         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
12495         Adjust for changed ldbl-128 files.
12497         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
12498         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
12499         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12501 2012-04-17  David S. Miller  <davem@davemloft.net>
12503         * sysdeps/sparc/sparc32/memcopy.h: Delete.
12505 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
12507         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
12508         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
12509         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
12510         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
12511         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
12512         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
12514 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12516         [BZ #6794]
12517         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
12518         * math/libm-test.inc: Add ilogb errno and exception tests.
12519         * math/w_ilogb.c: New file: ilogb wrapper.
12520         * math/w_ilogbf.c: New file: ilogbf wrapper.
12521         * math/w_ilogbl.c: New file: ilogbl wrapper.
12522         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
12523         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
12524         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
12525         exception being thrown with 0.0 as argument.
12526         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
12527         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
12528         exception being thrown with 0.0 as argument.
12529         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
12530         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
12531         exception being thrown with 0.0 as argument.
12532         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
12533         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
12534         exception being thrown with 0.0 as argument.
12535         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
12536         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
12537         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
12538         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
12539         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
12540         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
12541         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
12542         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
12543         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
12545 2012-04-17  Petr Baudis  <pasky@ucw.cz>
12547         * include/sys/uio.h: Change __vector to __iovec to avoid clash
12548         with altivec.
12550 2012-04-16  Marek Polacek  <polacek@redhat.com>
12552         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
12554 2012-04-16  Marek Polacek  <polacek@redhat.com>
12556         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
12557         operands of fdivp instruction.
12559 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
12561         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
12562         * elf/tst-auditmod3b.c: Likewise.
12563         * elf/tst-auditmod4b.c: Likewise.
12564         * elf/tst-auditmod5b.c: Likewise.
12565         * elf/tst-auditmod6b.c: Likewise.
12566         * elf/tst-auditmod6c.c: Likewise.
12567         * elf/tst-auditmod7b.c: Likewise.
12568         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
12569         * sysdeps/x86_64/preconfigure.in: Likewise.
12570         * sysdeps/x86_64/preconfigure: Regenerated.
12572 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
12574         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
12575         __ILP32__.
12577 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
12579         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12580         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
12582 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
12584         [BZ #13973]
12585         * locale/iso-639.def: Fix gl language name. Spotted by
12586         Yaron Shahrabani.
12588 2012-04-12  Roland McGrath  <roland@hack.frob.com>
12590         [BZ #2074]
12591         * libio/libio.h (__io_write_fn): Update comment.
12593 2012-04-12  Petr Baudis  <pasky@ucw.cz>
12595         [BZ #2074]
12596         * stdio.texi (Hook Functions): The user provided writer function
12597         is not allowed to return -1.
12599 2012-04-11  David S. Miller  <davem@davemloft.net>
12601         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12603 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
12605         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
12606         Add a leading slash to rtkaio.
12608 2012-04-11  Jim Meyering  <meyering@redhat.com>
12610         [BZ #11959]
12611         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
12612         It is not necessarily an error to ignore fwrite's return
12613         value.  One can reliably use ferror to test for errors after
12614         the fact.
12616 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
12618         * bits/types.h (__snseconds_t): New type.
12619         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
12621         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
12622         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12623         (__SNSECONDS_T_TYPE): Likewise.
12624         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12625         (__SNSECONDS_T_TYPE): Likewise.
12626         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12627         (__SNSECONDS_T_TYPE): Likewise.
12629 2012-04-10  Andreas Jaeger  <aj@suse.de>
12631         [BZ #2636]
12632         * manual/time.texi (Processor Time): Return type of times is
12633         elapsed real time since an arbitrary point in the past.
12634         (CPU Time): Move CLK_TCK from here...
12635         (Processor Time): ...to here.  Correct description.
12636         * manual/conf.texi (Constants for Sysconf): Correct description of
12637         _SC_CLK_TCK.
12639 2012-04-10  David S. Miller  <davem@davemloft.net>
12641         [BZ #13967]
12642         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
12643         where the is a gap between DT_REL(A) and DT_JMPREL.
12645 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
12647         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
12648         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
12649         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
12651 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
12653         * elf/dl-support.c (_dl_inhibit_cache): New variable.
12654         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
12655         (dl_main): Handle --inhibit-cache.
12656         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
12657         _dl_inhibit_cache.
12658         * elf/dl-load.c (_dl_map_object): Use it.
12659         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
12661 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
12663         [BZ #13872]
12664         * sysdeps/i386/fpu/e_powl.S (p78): New object.
12665         (__ieee754_powl): Saturate large exponents rather than testing for
12666         overflow of y*log2(x).
12667         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12668         * math/libm-test.inc (pow_test): Do not permit spurious overflow
12669         exceptions.
12671         [BZ #11521]
12672         * math/s_ctan.c: Include <float.h>.
12673         (__ctan): Avoid internal overflow or cancellation in calculating
12674         denominator.
12675         * math/s_ctanf.c: Likewise.
12676         * math/s_ctanl.c: Likewise.
12677         * math/s_ctanh.c: Likewise.
12678         * math/s_ctanhf.c: Likewise.
12679         * math/s_ctanhl.c: Likewise.
12680         * math/libm-test.inc (ctan_test): Add more tests.
12681         (ctanh_test): Likewise.
12682         * sysdeps/i386/fpu/libm-test-ulps: Update.
12683         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12685 2012-04-09  Andreas Jaeger  <aj@suse.de>
12687         [BZ #6894]
12688         * manual/filesys.texi (Directory Entries): Mention that d_namlen
12689         is an optional BSD extension.
12691         [BZ #10254]
12692         * manual/stdio.texi (Opening Streams): Document additional fopen
12693         parameters.
12695 2012-04-09  Roland McGrath  <roland@hack.frob.com>
12697         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
12698         %eax without telling the compiler.
12700 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
12702         [BZ # 13963]
12703         * manual/install.texi: Use sourceware.org.
12705 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
12707         [BZ #13873]
12708         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
12709         (__ieee754_pow): Generate overflow and underflow using huge*huge
12710         and tiny*tiny rather than just returning constant infinity or zero
12711         for large exponents.
12712         * math/libm-test.inc (pow_test): Require overflow exceptions for
12713         applicable cases of large exponents.
12715         [BZ #706]
12716         * sysdeps/i386/fpu/e_pow.S (p10): New object.
12717         (__ieee754_pow): Use iterative multiplication algorithm only for
12718         integer exponents with absolute value below 1024.  Check for odd
12719         integer exponents when using algorithm for real exponents.
12720         * math/libm-test.inc (pow_test): Add more tests.
12721         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12723 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
12725         [BZ #13705]
12726         * math/libm-test.inc (exp_test): Do not allow overflow exception
12727         on underflow test.
12729 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
12731         [BZ #13705]
12732         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
12733         instead of __kernel_standard_f.
12735 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
12737         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
12738         * sysdeps/x86_64/memset_chk.S: Likewise.
12740 2012-04-08  Andreas Jaeger  <aj@suse.de>
12742         [BZ #10153]
12743         * manual/startup.texi (Environment Access): Describe return value
12744         for putenv and setenv.
12746         [BZ #6895]
12747         * manual/filesys.texi (Directory Entries): Add description for
12748         DT_LNK.
12750         [BZ #6890]
12751         * manual/filesys.texi (Directory Entries): Clarify that it's file
12752         system not operating system in the description of DT_UNKNOWN.
12754         [BZ #6578]
12755         * manual/syslog.texi (closelog): Fix reference, it's openlog.
12757 2012-04-08  Stephen Compall  <s11@member.fsf.org>
12759         [BZ #6649]
12760         * manual/llio.texi (Opening and Closing Files): Add cross
12761         reference to explain mode argument.
12763 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
12765         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
12766         * sysdeps/x86_64/memset_chk.S: Likewise.
12768 2012-04-07  David S. Miller  <davem@davemloft.net>
12770         * elf/elf.h (R_SPARC_WDISP10): Define.
12771         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
12772         R_SPARC_SIZE32.
12773         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
12774         R_SPARC_SIZE64 and R_SPARC_H34.
12776 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
12778         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
12779         conditions and remove no longer applicable assertion.
12781 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
12783         * bits/byteswap.h: Include <features.h>.
12784         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
12785         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
12787 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
12789         * bits/byteswap.h (__bswap_16): Removed.
12790         Include <bits/byteswap-16.h> to get __bswap_16.
12791         * sysdeps/i386/bits/byteswap.h: Likewise.
12792         * sysdeps/s390/bits/byteswap.h: Likewise.
12793         * sysdeps/x86_64/bits/byteswap.h: Likewise.
12794         * bits/byteswap-16.h: New file.
12795         * sysdeps/i386/bits/byteswap-16.h: Likewise.
12796         * sysdeps/s390/bits/byteswap-16.h: Likewise.
12797         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
12798         * string/Makefile (headers): Add bits/byteswap-16.h.
12800 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
12802         [BZ #13895]
12803         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
12804         extra indirection.
12805         * nss/Makefile (tests-static, tests): Add tst-nss-static.
12806         * nss/tst-nss-static.c: New.
12808 2012-04-06  Robert Millan  <rmh@gnu.org>
12810         [BZ #6486]
12811         * manual/llio.texi (File Position Primitive): lseek
12812         refers to WHENCE when it really means OFFSET.
12814 2012-04-06  Andreas Jaeger  <aj@suse.de>
12816         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
12817         strncmp declarations.
12819         * abilist/libc.abilist: Add __poll and __ppoll.
12821 2012-04-05  David S. Miller  <davem@davemloft.net>
12823         * scripts/check-local-headers.sh: Accept a host triplet in the
12824         path matched by the exclude regexp.
12826         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
12827         definition.
12828         * sysdeps/powerpc/powerpc32/dl-machine.h
12829         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
12830         * sysdeps/s390/s390-32/dl-machine.h
12831         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12832         * sysdeps/sparc/sparc32/dl-machine.h
12833         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12834         * sysdeps/sparc/sparc64/dl-machine.h
12835         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12837         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
12838         lazy binding.
12839         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
12840         undefined symbol errors.
12842         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
12843         DT_NEEDED entries.
12845 2012-04-05  Michael Matz  <matz@suse.de>
12847         [BZ #13592]
12848         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
12850 2012-04-05  Andreas Jaeger  <aj@suse.de>
12852         [BZ #13908]
12853         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
12854         comment.
12856 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
12858         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
12859         which ROUND is no valid rounding mode.
12861 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
12863         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
12864         read again.
12865         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
12867 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
12869         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
12870         an exception using FPU order intentionally.
12872 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
12874         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
12875         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
12876         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
12877         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
12879 2012-04-05  Simon Josefsson  <simon@josefsson.org>
12881         [BZ #12340]
12882         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
12883         EINVAL when BUFLEN is too smal.
12885 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
12887         [BZ #13553]
12888         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
12889         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
12891 2012-04-03  Andreas Jaeger  <aj@suse.de>
12893         [BZ #13938]
12894         * manual/setjmp.texi (System V contexts): Fix sentence.
12896         [BZ #13926]
12897         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
12898         New macro for this case.
12899         [!__GNUC__] (__bswap_64): New inline function for this case.
12900         * sysdeps/x86_64/bits/byteswap.h: Likewise.
12901         * bits/byteswap.h: Likewise.
12902         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
12903         ull, guard with __GLIBC_HAVE_LONG_LONG.
12905         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
12906         __GLIBC_HAVE_LONG_LONG.
12908         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
12909         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
12911 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12913         [BZ #13691]
12914         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
12915         inptr and inend, rather than using last_ch.
12917 2012-04-02  David S. Miller  <davem@davemloft.net>
12919         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
12920         * stdio-common/printf-parse.h (read_int): Change return type to
12921         'int', return -1 on INT_MAX overflow.
12922         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
12923         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
12924         overflows INT_MAX.  Check for overflow of in-format-string precision
12925         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
12926         SIZE_MAX not INT_MAX for integer overflow test.
12927         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
12928         skip the construct in the format string but do not record anything.
12929         * stdio-common/bug22.c: Adjust to test both width/prevision
12930         INT_MAX overflow as well as total length INT_MAX overflow.  Check
12931         explicitly for proper errno values.
12933 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
12935         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
12936         CHAR_MAX.
12937         * string/test-strcmp.c [! WIDE]: Likewise.
12938         * time/tst-mktime2.c: Likewise for INT_MAX.
12939         * string/test-string.h: #include <sys/param.h> for MIN.
12941         * csu/init-first.c (__libc_init_first): Call __ctype_init.
12942         * sysdeps/i386/init-first.c (init): Likewise.
12943         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
12944         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
12945         * sysdeps/sh/init-first.c (init): Likewise.
12947 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
12949         * po/ru.po: Update from translation team.
12950         * po/vi.po: Likewise.
12952 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
12954         * resolv/nss_dns/dns-host.c: Merge copyright years.
12956 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12958         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
12959         Optimize memcpy with prefetch if
12960         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
12961         src, dst pointers have unequal 16 byte alignments.
12963 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
12965         [BZ #13928]
12966         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
12967         from a CNAME entry and return the minimum ttl for the query.
12968         (gaih_getanswer_slice): Likewise.
12970 2012-03-30  Jeff Law  <law@redhat.com>
12972         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
12973         due to long keys.
12974         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
12975         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
12977         * resolv/nss_dns/dns-host.c: Update copyright year.
12979 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
12981         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
12982         requests to save a system call.  Fix check that all bytes are sent.
12984         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
12985         comments for sendmmsg.
12987 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12989         [BZ #13691]
12990         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
12991         with only 1 character between 0x0041 and 0x01b0.
12992         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
12993         * wcsmbs/tst-mbsnrtowcs.c: New file.
12995 2012-03-29  David S. Miller  <davem@davemloft.net>
12997         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
12998         small copies by hand.
13000 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13002         [BZ #13761]
13003         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
13004         _nss_compat_initgroups_dyn): Fall back to malloc/free
13005         for large group memberships.
13007 2012-03-28  David S. Miller  <davem@davemloft.net>
13009         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
13010         that branches into memcpy.
13011         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
13012         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
13013         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
13014         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
13015         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
13016         bits.
13017         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
13018         implementation too.
13019         * sysdeps/sparc/mempcpy.S: New file.
13021         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
13022         the IFUNC routine in the libc case.
13023         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
13025         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
13026         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
13027         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
13028         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
13029         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
13030         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
13031         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
13032         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
13034         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
13035         loop to 256 bytes instead of 64 bytes and fix test signedness.
13037         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
13038         * sysdeps/sparc/sparc32/Makefile: rather than here...
13039         * sysdeps/sparc/sparc64/Makefile: and here.
13041 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
13043         * malloc/mallocbug.c: Avoid warnings about unused variables.
13045 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
13047         [BZ #13760]
13048         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
13049         in the right place. Discard and retry query if response is
13050         larger than input buffer size.
13052 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
13054         [BZ #369]
13055         [BZ #2678]
13056         [BZ #3866]
13057         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
13058         x for large integer exponent.
13059         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13060         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
13061         sign of result as needed afterwards.
13062         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13063         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
13064         result for underflowing pow the same as for overflow.
13065         (__kernel_standard_l): Handle powl overflow and underflow here
13066         rather than calling __kernel_standard.
13067         * math/libm-test.inc (pow_test): Add more tests.
13069         [BZ #3868]
13070         [BZ #13879]
13071         [BZ #13910]
13072         [BZ #13911]
13073         [BZ #13912]
13074         [BZ #13913]
13075         [BZ #13915]
13076         [BZ #13916]
13077         [BZ #13917]
13078         [BZ #13918]
13079         [BZ #13919]
13080         [BZ #13920]
13081         [BZ #13921]
13082         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
13083         * sysdeps/ieee754/k_standard.c: Include <float.h>.
13084         (__kernel_standard_l): New function.
13085         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
13086         __kernel_standard.
13087         * math/w_acosl.c (__acosl): Likewise.
13088         * math/w_asinl.c (__asinl): Likewise.
13089         * math/w_atan2l.c (__atan2l): Likewise.
13090         * math/w_atanhl.c (__atanhl): Likewise.
13091         * math/w_coshl.c (__coshl): Likewise.
13092         * math/w_exp10l.c (__exp10l): Likewise.
13093         * math/w_exp2l.c (__exp2l): Likewise.
13094         * math/w_fmodl.c (__fmodl): Likewise.
13095         * math/w_hypotl.c (__hypotl): Likewise.
13096         * math/w_j0l.c (__j0l, __y0l): Likewise.
13097         * math/w_j1l.c (__j1l, __y1l): Likewise.
13098         * math/w_jnl.c (__jnl, __ynl): Likewise.
13099         * math/w_lgammal.c (__lgammal): Likewise.
13100         * math/w_log10l.c (__log10l): Likewise.
13101         * math/w_log2l.c (__log2l): Likewise.
13102         * math/w_logl.c (__logl): Likewise.
13103         * math/w_powl.c (__powl): Likewise.
13104         * math/w_remainderl.c (__remainderl): Likewise.
13105         * math/w_scalbl.c (sysv_scalbl): Likewise.
13106         * math/w_sinhl.c (__sinhl): Likewise.
13107         * math/w_sqrtl.c (__sqrtl): Likewise.
13108         * math/w_tgammal.c (__tgammal): Likewise.
13109         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
13110         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
13111         * math/libm-test.inc (acos_test): Add more tests.
13112         (acosh_test): Likewise.
13113         (asin_test): Likewise.
13114         (atanh_test): Likewise.
13115         (exp_test): Likewise.
13116         (exp10_test): Likewise.
13117         (exp2_test): Likewise.
13118         (expm1_test): Likewise.
13119         (lgamma_test): Likewise.
13120         (log_test): Likewise.
13121         (log10_test): Likewise.
13122         (log1p_test): Likewise.
13123         (log2_test): Likewise.
13124         (pow_test): Do not allow some spurious overflow exceptions.
13125         (sqrt_test): Add more tests.
13126         (tgamma_test): Likewise.
13127         (y0_test): Likewise.
13128         (y1_test): Likewise.
13129         (yn_test): Likewise.
13131 2012-03-27  Anton Blanchard  <anton@samba.org>
13133         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
13134         MAP_HUGETLB.
13135         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
13136         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
13137         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
13139 2012-03-27  David S. Miller  <davem@davemloft.net>
13141         * conform/Makefile: Run run-conformtest.sh using $(BASH).
13143         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
13144         have-as-vis3 check.
13146 2012-03-27  Andreas Jaeger  <aj@suse.de>
13148         * sysdeps/x86_64/elf/configure.in: Moved to ...
13149         * sysdeps/x86_64/configure.in: ... here.
13150         * sysdeps/x86_64/elf/start.S: Moved to ...
13151         * sysdeps/x86_64/start.S: ... here.
13152         * sysdeps/x86_64/elf/configure: Delete.
13154         * sysdeps/x86_64/configure.in: Merge contents from
13155         sysdeps/i386/configure.in (without i686 check).
13157         * sysdeps/i386/elf/Versions: Merge into ...
13158         * sysdeps/i386/Versions: ... this.
13159         * sysdeps/i386/elf/Versions: Delete file.
13160         * sysdeps/i386/elf/start.S: Moved to ...
13161         * sysdeps/i386/start.S: ...here.
13162         * sysdeps/i386/elf/configure.in: Merge into...
13163         * sysdeps/i386/configure.in: ...here.
13164         * sysdeps/i386/elf/configure.in: Delete file.
13165         * sysdeps/i386/elf/configure: Delete file.
13167         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
13168         * debug/backtracesyms.c: ... here.
13169         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
13170         * debug/backtracesymsfd.c: ... here.
13171         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
13172         * sysdeps/generic/ifunc-sel.h: ... here.
13174         * sysdeps/unix/i386/start.c: Delete file.
13175         * sysdeps/unix/sparc/start.c: Delete file.
13176         * sysdeps/unix/start.c: Delete file.
13178         * sysdeps/sh/elf/configure.in: Moved to ...
13179         * sysdeps/sh/configure.in: ... here.
13180         * sysdeps/sh/elf/start.S: Moved to ...
13181         * sysdeps/sh/start.S: ... here.
13182         * sysdeps/sh/elf/configure: Delete file.
13184         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
13185         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
13186         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
13187         * sysdeps/powerpc/powerpc64/entry.h: ... here.
13188         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
13189         * sysdeps/powerpc/powerpc64/start.S: here.
13190         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
13191         * sysdeps/powerpc/powerpc64/Makefile: ... this.
13192         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
13193         * sysdeps/powerpc/powerpc64/configure.in: ... this.
13194         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
13196         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
13197         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
13198         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
13199         * sysdeps/powerpc/powerpc32/start.S: ... here.
13200         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
13201         * sysdeps/powerpc/powerpc32/configure.in: ... this.
13202         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
13204         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
13205         * sysdeps/powerpc/ifunc-sel.h: ... here.
13206         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
13207         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
13209         * sysdeps/sparc/elf/configure.in: Moved to ...
13210         * sysdeps/sparc/configure.in: ... here.
13211         * sysdeps/sparc/elf/configure: Delete file.
13212         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
13213         * sysdeps/sparc/sparc32/start.S: ... here.
13214         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
13215         * sysdeps/sparc/sparc64/start.S: ... here.
13216         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
13217         * sysdeps/sparc/sparc32/Makefile: ... this.
13218         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
13219         * sysdeps/sparc/sparc64/Makefile: ... this.
13221         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
13222         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
13223         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
13224         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
13225         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
13226         * sysdeps/s390/s390-32/setjmp.S: ... here.
13227         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
13228         * sysdeps/s390/s390-32/configure.in: ... here.
13229         * sysdeps/s390/s390-32/elf/configure: Delete file.
13230         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
13231         * sysdeps/s390/s390-32/start.S: ... here.
13233         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
13234         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
13235         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
13236         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
13237         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
13238         * sysdeps/s390/s390-64/setjmp.S: ... here.
13239         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
13240         * sysdeps/s390/s390-64/configure.in: ... here
13241         * sysdeps/s390/s390-64/elf/configure: Delete file.
13242         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
13243         * sysdeps/s390/s390-64/start.S: ... here.
13244         * sysdeps/s390/s390-64/elf/configure: Delete.
13246         * configure.in: Remove support for elf directories in sysdeps.
13248         * configure: Regenerated.
13249         * sysdeps/i386/configure: Regenerated.
13250         * sysdeps/powerpc/powerpc32/configure: Regenerated.
13251         * sysdeps/powerpc/powerpc64/configure: Regenerated.
13252         * sysdeps/s390/s390-32/configure: Regenerated.
13253         * sysdeps/s390/s390-64/configure: Regenerated.
13254         * sysdeps/sh/configure: Regenerated.
13255         * sysdeps/sparc/configure: Regenerated.
13256         * sysdeps/x86_64/configure: Regenerated.
13258 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
13260         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13262         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
13263         denormal result into account.
13265 2012-03-25  Roland McGrath  <roland@hack.frob.com>
13267         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
13268         Reported by Allan McRae <allan@archlinux.org>.
13270 2012-03-23  Jeff Law  <law@redhat.com>
13272         * nss/getnssent.c (__nss_getent): Fix typo.
13274 2012-03-23  David S. Miller  <davem@davemloft.net>
13276         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13278 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
13280         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
13281         to pad to uint64_t for each field.
13282         (dl_tls_index): Replace unsigned long with uint64_t.
13284 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
13285         Paul Pluzhnikov  <ppluzhnikov@google.com>
13287         [BZ #6528]
13288         * grp/Makefile (otherlibs): Don't set it.
13289         * inet/Makefile (otherlibs): Likewise.
13290         * login/Makefile (otherlibs): Likewise.
13291         * nscd/Makefile (otherlibs): Likewise.
13292         * posix/Makefile (otherlibs): Likewise.
13293         * pwd/Makefile (otherlibs): Likewise.
13294         * rt/Makefile (otherlibs): Likewise.
13295         * sunrpc/Makefile (otherlibs): Likewise.
13296         * nss/Makefile (otherlibs): Likewise.
13297         Add libnss_files to routines and static-only-routines.
13298         ($(objpfx)getent): Remove rule.
13299         * resolv/Makefile: Add libnss_dns and libresolv to routines and
13300         static-only-routines.
13302 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
13304         [BZ #13892]
13305         * math/s_cexp.c: Include <float.h>.
13306         (__cexp): Handle exp result overflowing not necessarily
13307         overflowing both real and imaginary parts of result.
13308         * math/s_cexpf.c: Likewise.
13309         * math/s_cexpl.c: Likewise.
13310         * math/libm-test.inc (cexp_test): Add more tests.
13311         * sysdeps/i386/fpu/libm-test-ulps: Update.
13312         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13314 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
13316         * include/link.h (ELFW): New macro.
13317         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
13318         Replace ELF64_R_TYPE with ELFW(R_TYPE).
13320 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
13322         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
13323         with uint64_t.
13325 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
13327         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
13328         declaration.
13329         (struct La_x32_retval): Likewise.
13331 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
13333         * sysdeps/x86_64/preconfigure.in: New file.
13334         * sysdeps/x86_64/preconfigure: New generated file.
13336 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
13338         [BZ #13824]
13339         * math/e_exp2l.c: Include <float.h>.
13340         (__ieee754_exp2l): Handle overflow and underflow cases
13341         separately.  Only pass fractional part of argument to
13342         __ieee754_expl.
13343         * math/libm-test.inc (exp2_test): Add more tests.
13345         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
13346         negating x to take absolute value.
13347         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
13348         Likewise.
13349         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
13350         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
13351         Likewise.
13352         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
13353         computing low part if x was negated.
13354         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
13356 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
13358         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
13359         la_x32_gnu_pltexit.
13360         (pltexit): Cast int_retval to ptrdiff_t.
13361         * elf/tst-auditmod3b.c: Likewise.
13362         * elf/tst-auditmod4b.c: Likewise.
13363         * elf/tst-auditmod5b.c: Likewise.
13364         * elf/tst-auditmod6b.c: Likewise.
13365         * elf/tst-auditmod6c.c: Likewise.
13366         * elf/tst-auditmod7b.c: Likewise.
13368         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
13369         and x32_gnu_pltexit.
13371         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
13372         __ELF_NATIVE_CLASS.
13373         (La_x32_regs): New macro.
13374         (La_x32_retval): Likewise.
13375         (la_x32_gnu_pltenter): New function prototype.
13376         (la_x32_gnu_pltexit): Likewise.
13378 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
13380         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
13381         exponent.
13383         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13385         * configure.in (libc_cv_cc_nofma): Check for option to disable
13386         generation of FMA instructions.
13387         * configure: Regenerate.
13388         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
13389         * sysdeps/ieee754/dbl-64/Makefile: New file.
13390         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
13391         Remove brandred-fma4.
13392         (CFLAGS-brandred-fma4.c): Remove.
13393         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
13394         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
13395         define.
13396         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
13397         define.
13399 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
13401         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
13402         LLONG_MAX != LONG_MAX.
13403         (_itoa_word): Use _ITOA_WORD_TYPE on value.
13404         (_fitoa_word): Likewise.
13405         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
13406         LLONG_MAX != LONG_MAX.
13407         * stdio-common/_itowa.h: Include <_itoa.h>.
13408         (_itowa_word): Use _ITOA_WORD_TYPE on value.
13409         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
13410         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
13411         only if not defined.
13412         (_ITOA_WORD_TYPE): Likewise.
13413         (_itoa_word): Use _ITOA_WORD_TYPE on value.
13414         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
13416 2012-03-21  David S. Miller  <davem@davemloft.net>
13418         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13420 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
13422         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
13423         of x86_64 when setting libc_cv_slibdir, libdir and
13424         libc_cv_localedir.
13425         * sysdeps/unix/sysv/linux/configure: Regenerated.
13427 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
13429         * manual/lang.texi (Old Varargs): Remove section.
13430         (How Variadic): Update menu.
13431         (va_start): Do not mention varargs.h.
13433 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
13434             Joseph Myers  <joseph@codesourcery.com>
13436         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
13437         link test.
13438         * configure: Regenerated.
13440 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
13442         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
13443         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
13444         conformtest.pl
13446 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
13448         * NOTES: Remove.
13449         * Makefile (files-for-dist): Remove NOTES.
13450         (NOTES): Remove rule.
13451         * README: Don't refer to NOTES.
13452         * manual/creature.texi: Don't include macros.texi.
13453         * manual/intro.texi (creature.texi): Remove comment referring to
13454         NOTES.
13456         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
13457         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
13458         * configure: Regenerated.
13459         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
13460         LIBC_TRY_CC_OPTION.
13461         (libc_cv_as_i686): Likewise.
13462         (libc_cv_cc_avx): Likewise.
13463         (libc_cv_cc_sse2avx): Likewise.
13464         (libc_cv_cc_fma4): Likewise.
13465         (libc_cv_cc_novzeroupper): Likewise.
13466         * sysdeps/i386/configure: Regenerated.
13468         [BZ #13883]
13469         * sysdeps/i386/fpu/s_cexp.S: Remove.
13470         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
13471         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
13472         * math/libm-test.inc (cexp_test): Add more tests.
13473         * sysdeps/i386/fpu/libm-test-ulps: Update.
13474         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13476 2012-03-21  Allan McRae  <allan@archlinux.org>
13478         * timezone/Makefile: Do not install iso3166.tab and zone.tab
13480 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
13482         [BZ #13871]
13483         * math/w_exp2.c: Do not include <float.h>.
13484         (o_threshold, u_threshold): Remove.
13485         (__exp2): Calculate result before checking finiteness and calling
13486         __kernel_standard.
13487         * math/w_exp2f.c: Likewise.
13488         * math/w_exp2l.c: Likewise.
13489         * math/libm-test.inc (exp2_test): Require overflow exception for
13490         1e6 input.
13492         [BZ #3866]
13493         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
13494         range of signed 64-bit integers before using fistpll.  Remove
13495         checks for whether integers fit in mantissa bits.
13496         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
13497         the range of signed 32-bit integers before using fistpl.  Remove
13498         checks for whether integers fit in mantissa bits.
13499         * sysdeps/i386/fpu/e_powl.S (p64): New object.
13500         (__ieee754_powl): Test for y outside the range of signed 64-bit
13501         integers before using fistpll.  Reduce 64-bit values to 63-bit
13502         ones as needed.
13503         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
13504         divide-by-zero is raised for zero to large negative powers.
13505         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
13506         (__ieee754_powl): Test for y outside the range of signed 64-bit
13507         integers before using fistpll.  Reduce 64-bit values to 63-bit
13508         ones as needed.
13509         * math/libm-test.inc (pow_test): Add more tests.
13511 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
13513         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
13514         <stdio-common/_itoa.h>.
13515         * debug/segfault.c: Likewise.
13516         * elf/dl-cache.c: Likewise.
13517         * elf/dl-minimal.c: Likewise.
13518         * elf/dl-misc.c: Likewise.
13519         * elf/dl-sysdep.c: Likewise.
13520         * elf/dl-version.c: Likewise.
13521         * elf/rtld.c: Likewise.
13522         * hurd/hurdsock.c: Likewise.
13523         * hurd/lookup-retry.c: Likewise.
13524         * malloc/malloc.c: Likewise.
13525         * malloc/mtrace.c: Likewise.
13526         * nscd/nscd_getgr_r.c: Likewise.
13527         * nscd/nscd_getpw_r.c: Likewise.
13528         * nscd/nscd_getserv_r.c: Likewise.
13529         * posix/getopt_init.c: Likewise.
13530         * posix/wordexp.c: Likewise.
13531         * stdio-common/_itoa.c: Likewise.
13532         * stdio-common/printf_fphex.c: Likewise.
13533         * stdio-common/vfprintf.c: Likewise.
13534         * string/_strerror.c: Likewise.
13535         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
13536         * sysdeps/i386/i686/hp-timing.h: Likewise.
13537         * sysdeps/mach/_strerror.c: Likewise.
13538         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
13539         * sysdeps/mach/hurd/sethostid.c: Likewise.
13540         * sysdeps/mach/hurd/xmknodat.c: Likewise.
13541         * sysdeps/mach/xpg-strerror.c: Likewise.
13542         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13543         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
13544         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
13545         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
13546         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
13547         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
13548         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
13549         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
13550         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
13551         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
13552         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
13553         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
13554         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
13555         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
13556         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
13557         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
13558         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
13559         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
13560         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
13561         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
13562         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
13564         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
13566         * stdio-common/_itoa.h: Moved to ...
13567         * sysdeps/generic/_itoa.h: Here.
13569         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
13571         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
13572         instead of "_itoa.h" and "_itowa.h".
13573         * stdio-common/vfprintf.: Likewise.
13575 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
13577         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
13578         <bits/wordsize.h>.
13579         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
13580         (__signbit): Likwise.
13581         (llrintf): Likwise.
13582         (llrint): Likwise.
13584 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
13586         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
13587         __WORDSIZE != 64.
13589 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
13591         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
13592         OVERFLOW_EXCEPTION_OK.
13593         * math/libm-test.inc ("Philosophy"): Update comment about
13594         exception testing.
13595         (OVERFLOW_EXCEPTION): Define.
13596         (OVERFLOW_EXCEPTION_OK): Likewise.
13597         (INVALID_EXCEPTION_OK): Renumber.
13598         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13599         (IGNORE_ZERO_INF_SIGN): Likewise.
13600         (test_exceptions): Handle FE_OVERFLOW.
13601         (exp10_test): Expect overflow exceptions.
13602         (exp2_test): Likewise.
13603         (expm1_test): Likewise.
13604         (nextafter_test): Likewise.
13605         (pow_test): Likewise.
13606         (scalbn_test): Likewise.
13607         (scalbln_test): Likewise.
13609 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
13611         * sysdeps/x86_64/bits/atomic.h
13612         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
13613         64bit integer.
13614         (atomic_exchange_acq): Likewise.
13615         (__arch_exchange_and_add_body): Likewise.
13616         (__arch_add_body): Likewise.
13617         (atomic_add_negative): Likewise.
13618         (atomic_add_zero): Likewise.
13620 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
13622         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
13623         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
13625 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
13627         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
13628         Check __x86_64__ instead of __WORDSIZE.
13630 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
13632         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
13634 2012-03-19  David S. Miller  <davem@davemloft.net>
13636         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13638         * sysdeps/sparc/fpu/fenv_private.h: New file.
13639         * sysdeps/sparc/fpu/math_private.h: Use it.
13640         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
13641         Remove.
13642         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
13643         (libc_feholdexcept_setroundl): Remove.
13644         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
13645         Remove.
13646         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
13647         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
13649 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
13651         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
13652         int64_t instead of long int.
13653         (INSERT_WORDS64): Likwise.
13655 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
13657         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
13658         _Unwind_GetCFA return to _Unwind_Ptr first.
13660 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
13662         [BZ #13629]
13663         * math/s_clog.c: Include <float.h>.
13664         (__clog): Scale large or subnormal inputs.
13665         * math/s_clogf.c: Likewise.
13666         * math/s_clogl.c: Likewise.
13667         * math/s_clog10.c: Include <float.h>.
13668         (M_LOG10_2): Define.
13669         (__clog10): Scale large or subnormal inputs.
13670         * math/s_clog10f.c: Likewise.
13671         * math/s_clog10l.c: Likewise.
13672         * math/libm-test.inc (clog_test): Add more tests.
13673         (clog10_test): Likewise.
13674         * sysdeps/i386/fpu/libm-test-ulps: Update.
13675         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13677         [BZ #11451]
13678         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
13679         x and y.
13680         * math/libm-test.inc (atan2_test): Add another test.
13682         * Makerules (common-objdir-compile): Remove.
13683         * sysdeps/unix/Makefile (config-generated): Do not add
13684         $(unix-generated) to variable.
13685         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
13686         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
13687         Remove rule.
13688         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
13689         Likewise.
13690         [generic bits/local_lim.h] (before-compile): Do not append to
13691         variable.
13692         [generic bits/local_lim.h] (common-generated): Likewise.
13693         [generic sys/param.h] (before-compile): Do not append to variable.
13694         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
13695         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
13696         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
13697         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
13698         include.
13699         [generic sys/param.h] (sys/param.h-includes): Remove variable.
13700         [generic sys/param.h] (sys/param.h-includes): Remove rule.
13701         [generic sys/param.h] ($(addprefix
13702         $(common-objpfx),$(sys/param.h-includes))): Likewise.
13703         [generic sys/param.h] (common-generated): Do not append to
13704         variable.
13705         [generic sys/param.h] (sysdep_headers): Likewise.
13706         [generic bits/errno.h] (before-compile): Do not append to
13707         variable.
13708         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
13709         rule.
13710         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
13711         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
13712         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
13713         [generic bits/errno.h] (common-generated): Do not append to
13714         variable.
13715         [generic bits/ioctls.h] (before-compile): Do not append to
13716         variable.
13717         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
13718         rule.
13719         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
13720         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
13721         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
13722         rule.
13723         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
13724         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
13725         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
13726         [generic bits/ioctls.h] (common-generated): Do not append to
13727         variable.
13728         [generic sys/syscall.h] (syscall.h): Remove variable.
13729         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
13730         rule.
13731         [generic sys/syscall.h] (before-compile): Do not append to
13732         variable.
13733         [generic sys/syscall.h] (common-generated): Likewise.
13734         * sysdeps/unix/errnos-tmpl.c: Remove file.
13735         * sysdeps/unix/errnos.awk: Likewise.
13736         * sysdeps/unix/ioctls-tmpl.c: Likewise.
13737         * sysdeps/unix/ioctls.awk: Likewise.
13738         * sysdeps/unix/mk-local_lim.c: Likewise.
13739         * sysdeps/unix/snarf-ioctls: Likewise.
13741 2012-03-19  Richard Henderson  <rth@twiddle.net>
13743         * sysdeps/i386/fpu/fenv_private.h: New file.
13744         * sysdeps/i386/fpu/math_private.h: Use it.
13745         (math_opt_barrier, math_force_eval): Remove.
13746         (libc_feholdexcept_setround_53bit): Remove.
13747         (libc_feupdateenv_53bit): Remove.
13748         * sysdeps/x86_64/fpu/math_private.h: Likewise.
13749         (math_opt_barrier, math_force_eval): Remove.
13750         (libc_feholdexcept): Remove.
13751         (libc_feholdexcept_setround): Remove.
13752         (libc_fetestexcept, libc_fesetenv): Remove.
13753         (libc_feupdateenv_test): Remove.
13754         (libc_feupdateenv, libc_feholdsetround): Remove.
13755         (libc_feresetround): Remove.
13757         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
13758         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
13760         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
13761         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
13762         (libc_feupdateenv_testl): New.
13763         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
13764         (libc_feupdateenv_testf): New.
13765         (libc_feupdateenv): Use libc_feupdateenv_test.
13766         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
13767         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
13769         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
13770         (libc_feholdsetroundf, libc_feholdsetroundl): New.
13771         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
13772         (libc_feresetround_noex): New.
13773         (libc_feresetround_noexf): New.
13774         (libc_feresetround_noexl): New.
13775         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
13776         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
13777         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
13778         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
13779         SET_RESTORE_ROUND.
13780         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
13781         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
13782         (__cos): Likewise.
13783         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
13784         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
13785         SET_RESTORE_ROUND_NOEX.
13786         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
13787         SET_RESTORE_ROUND_NOEXF.
13788         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
13789         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
13790         (libc_feholdsetroundf): New.
13791         (libc_feresetround, libc_feresetroundf): New.
13793         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
13794         (libc_feholdexcept_setround_53bit): Convert from macro to function.
13795         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
13797         * sysdeps/generic/math_private.h: Include <fenv.h>.
13798         (default_libc_feholdexcept): New.
13799         (default_libc_feholdexcept_setround): New.
13800         (default_libc_fesetenv, default_libc_feupdateenv): New.
13801         (libc_feholdexcept): Only define if undefined.
13802         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
13803         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
13804         (libc_feholdexcept_setroundl): Likewise.
13805         (libc_feholdexcept_setround_53bit): Likewise.
13806         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
13807         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
13808         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
13809         (libc_feupdateenv_53bit): Likewise.
13810         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
13811         (libc_feholdexcept): Convert from macro to inline function.
13812         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
13813         (libc_fesetenv, libc_feupdateenv): Likewise.
13815         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
13816         not previously defined.
13817         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
13818         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
13819         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
13820         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
13821         * sysdeps/ieee754/flt-32/math_private.h: New file.
13822         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
13823         math_private.h below SET_FLOAT_WORD.
13824         (__isnan, __isinf_ns, __finite): Remove.
13825         (__isnanf, __isinf_nsf, __finitef): Remove.
13827 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
13829         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13831 2012-03-17  David S. Miller  <davem@davemloft.net>
13833         [BZ #6471]
13834         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
13835         for 2.16.
13837 2012-03-16  David S. Miller  <davem@davemloft.net>
13839         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
13840         warnings.
13842         [BZ #6471]
13843         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
13844         properly.
13845         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
13846         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
13847         sysdep_routines when subdir is sysvipc.
13848         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
13849         __getshmlba helper.
13851         * sysdeps/sparc/fpu/libm-test/ulps: Update.
13853 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
13855         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
13856         [__LP64__].
13858 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
13860         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
13861         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
13862         (__lround): Renamed to ...
13863         (__llround): This.  Replace long int with long long int.
13864         Define lround functions as aliases of llround functions.
13865         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
13867 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
13869         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
13870         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
13871         adresses to uintptr_t.  Replace "long int" and "unsigned long
13872         int" with "greg_t" on va_arg.
13874 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
13876         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
13877         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
13879         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
13880         Move e_machine check before EI_CLASS check.  Handle x32
13881         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
13882         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
13883         SKIP_EM_IA_64 and include
13884         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
13886         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
13887         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
13888         (add_system_dir): New macro.
13890         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
13891         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
13893 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
13895         [BZ #2551]
13896         [BZ #2552]
13897         [BZ #2553]
13898         [BZ #2554]
13899         [BZ #2562]
13900         [BZ #2563]
13901         [BZ #2565]
13902         [BZ #2566]
13903         [BZ #2576]
13904         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
13905         (y0): Likewise.
13906         * math/w_j0f.c (j0f): Likewise.
13907         (y0f): Likewise.
13908         * math/w_j0l.c (__j0l): Likewise.
13909         (__y0l): Likewise.
13910         * math/w_j1.c (j1): Likewise.
13911         (y1): Likewise.
13912         * math/w_j1f.c (j1f): Likewise.
13913         (y1f): Likewise.
13914         * math/w_j1l.c (__j1l): Likewise.
13915         (__y1l): Likewise.
13916         * math/w_jn.c (jn): Likewise.
13917         (yn): Likewise.
13918         * math/w_jnf.c (jnf): Likewise.
13919         (ynf): Likewise.
13920         * math/w_jnl.c (__jnl): Likewise.
13921         (__ynl): Likewise.
13922         * math/libm-test.inc (j0_test): Add more tests.
13923         (j1_test): Likewise.
13924         (jn_test): Likewise.  Add trailing semicolon to existing test.
13925         (y0_test): Likewise.
13926         (y1_test): Likewise.
13927         * sysdeps/i386/fpu/libm-test-ulps: Update.
13928         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13930         [BZ #13851]
13931         [BZ #13854]
13932         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
13933         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
13934         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
13935         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
13936         (__tanl): Set errno for infinite argument.
13937         * sysdeps/i386/fpu/mptan.c: Remove.
13938         * sysdeps/i386/fpu/s_tan.S: Likewise.
13939         * sysdeps/i386/fpu/s_tanl.S: Likewise.
13940         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
13941         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
13942         * math/libm-test.inc (tan_test): Add more tests and enable more
13943         tests for double and long double.
13944         * sysdeps/i386/fpu/libm-test-ulps: Update.
13945         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13947 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
13949         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
13950         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
13952 2012-03-16  Roland McGrath  <roland@hack.frob.com>
13954         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
13955         * configure.in: Use it for both main tree and add-ons.
13956         * configure: Regenerated.
13958 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
13960         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
13962 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
13964         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
13965         in comment.
13967         [BZ #13851]
13968         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
13969         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
13970         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
13971         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
13972         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
13973         infinite argument.
13974         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
13975         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
13976         != 0 for prec == 2.
13977         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
13978         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
13979         * sysdeps/i386/fpu/s_cosl.S: Likewise.
13980         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
13981         * sysdeps/i386/fpu/s_sinl.S: Likewise.
13982         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
13983         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
13984         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
13985         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
13986         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
13987         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
13988         * math/libm-test.inc (cos_test): Add more tests and enable more
13989         tests for long double.
13990         (sin_test): Likewise.
13991         (sincos_test): Likewise.
13992         * sysdeps/i386/fpu/libm-test-ulps: Update.
13993         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13995 2012-03-16  David S. Miller  <davem@davemloft.net>
13997         * sysdeps/sparc/fpu/math_private.h: New file.
13999 2012-03-15  David S. Miller  <davem@davemloft.net>
14001         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
14002         file.
14003         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
14004         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
14005         file.
14006         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
14007         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
14008         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
14009         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
14010         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
14011         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
14012         sysdep routines.
14013         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
14015         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
14016         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
14018         * sysdeps/sparc/sparc-ifunc.h: New file.
14019         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
14020         sparc-ifunc.h
14021         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
14022         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
14023         Likewise.
14024         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
14025         Likewise.
14026         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
14027         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
14028         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14029         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
14030         Likewise.
14031         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
14032         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
14033         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
14034         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
14035         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
14036         Likewise.
14037         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
14038         Likewise.
14039         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
14040         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
14041         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
14042         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
14043         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
14044         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
14045         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
14046         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
14047         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
14048         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
14049         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
14050         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
14051         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
14052         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
14053         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
14054         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
14055         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
14056         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
14057         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
14058         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
14059         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
14060         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
14061         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
14062         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
14064 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
14066         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
14067         scaling.
14068         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14070 2012-03-15  Andreas Jaeger  <aj@suse.de>
14072         [BZ #13852]
14073         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
14074         ieee754/flt-32 implementation for sin, cos and sincos.
14075         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
14076         * sysdeps/i386/fpu/s_cosf.S: Likewise.
14077         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
14078         * sysdeps/i386/fpu/s_sinf.S: Likewise.
14079         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
14080         ieee754/flt-32 implementation for tan.
14082         * math/libm-test.inc (cos_test): Enable some large input tests for
14083         float as well
14084         (sin_test): Likewise.
14085         (sincos_test): Likewise.
14086         (tan_test): Add tests for large input.
14088         * sysdeps/i386/fpu/libm-test-ulps: Update.
14090 2012-03-15  Andreas Jaeger  <aj@suse.de>
14092         [BZ #13658]
14093         * math/libm-test.inc (cos_test): Add more test cases.
14094         (sin_test): Likewise.
14095         (sincos_test): Likewise.
14097 2012-03-15  Andreas Jaeger  <aj@suse.de>
14099         [BZ #13837]
14100         * math/libm-test.inc (cos_test): Add a test case for large input
14101         value.
14102         (sin_test): Likewise.
14103         (sincos_test): Likewise.
14105 2012-03-15  Andreas Jaeger  <aj@suse.de>,
14106         Joseph Myers  <joseph@codesourcery.com>
14108         [BZ #13658]
14109         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
14110         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
14111         * sysdeps/i386/fpu/branred.c: Likewise.
14112         * sysdeps/i386/fpu/dosincos.c: Likewise.
14113         * sysdeps/i386/fpu/mpa.c: Likewise.
14114         * sysdeps/i386/fpu/s_cos.S: Likewise.
14115         * sysdeps/i386/fpu/s_sin.S: Likewise.
14116         * sysdeps/i386/fpu/s_sincos.S: Likewise.
14117         * sysdeps/i386/fpu/sincos32.c: Likewise.
14119         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
14120         Define.
14121         (libc_feupdateenv_53bit): Define.
14122         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
14123         Define.
14124         (libc_feupdateenv_53bit): Define.
14126         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
14127         53 bit (without extend i386 double precision).
14129         * math/libm-test.inc (sincos_test): Add tests for large input.
14130         (sin): Likewise.
14131         (cos): Likewise.
14133         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
14135 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
14137         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14139 2012-03-15  David S. Miller  <davem@davemloft.net>
14141         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
14142         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
14143         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
14144         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
14145         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
14146         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
14147         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
14148         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
14149         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
14150         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
14151         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
14152         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
14153         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
14154         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
14155         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
14156         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
14157         file.
14158         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
14159         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
14160         file.
14161         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
14162         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
14163         file.
14164         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
14165         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
14166         file.
14167         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
14168         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
14169         fmin/fmax sysdep routines.
14170         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
14172 2012-03-14  David S. Miller  <davem@davemloft.net>
14174         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
14175         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
14176         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
14177         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
14178         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
14179         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
14180         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
14181         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
14182         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
14183         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
14184         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
14185         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
14186         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
14187         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
14188         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
14189         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
14190         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
14191         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
14192         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
14193         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
14194         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
14195         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
14196         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
14197         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
14198         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
14199         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
14200         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
14201         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
14202         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
14203         routines.
14204         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
14205         file.
14206         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
14207         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
14208         file.
14209         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
14210         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
14211         file.
14212         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
14213         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
14214         file.
14215         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
14216         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
14217         file.
14218         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
14219         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
14220         file.
14221         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
14222         file.
14223         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
14224         file.
14225         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
14226         file.
14227         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
14228         New file.
14229         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
14230         file.
14231         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
14232         file.
14233         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
14234         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
14235         file.
14236         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
14237         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
14238         file.
14239         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
14240         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
14241         file.
14242         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
14243         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
14244         VIS3 routines.
14246         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
14247         New file.
14249         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14251         * sysdeps/sparc/configure.in: New file.
14252         * sysdeps/sparc/configure: Generate.
14253         * configure.in (libc_cv_sparc_as_vis3): Substitute.
14254         * configure: Regenerate.
14255         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
14256         * config.make.in (have-as-vis3): New.
14257         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
14258         available use -Av9d instead of -Av9a.
14259         * sysdeps/sparc/sparc64/Makefile: Likewise.
14260         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
14261         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
14262         New file.
14263         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
14264         file.
14265         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
14266         New file.
14267         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
14268         file.
14269         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
14270         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
14271         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
14272         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
14273         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
14275         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
14276         fzeros/fnegs to load 0x80000000 into a float register instead of
14277         using the stack.
14278         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
14280 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
14282         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14283         bits/syscall.h.
14284         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
14285         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
14286         ($(inst_includedir)/bits/syscall.h): Remove rule.
14287         ($(objpfx)bits/syscall.d): Include instead of
14288         $(objpfx)syscall-list.d.
14289         (generated): Change syscall-list.h and syscall-list.d to
14290         bits/syscall.h and bits/syscall.d.
14292 2012-03-14  Roland McGrath  <roland@hack.frob.com>
14294         [BZ #13846]
14295         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
14297 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
14299         [BZ #13841]
14300         * math/s_csqrt.c: Include <float.h>.
14301         (__csqrt): Scale large or subnormal inputs.
14302         * math/s_csqrtf.c: Likewise.
14303         * math/s_csqrtl.c: Likewise.
14304         * math/libm-test.inc (csqrt_test): Add more tests.
14305         * sysdeps/i386/fpu/libm-test-ulps: Update.
14306         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14308         [BZ #13840]
14309         * math/libm-test.inc (hypot_test): Add more tests.
14311 2012-03-13  David S. Miller  <davem@davemloft.net>
14313         [BZ #13840]
14314         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
14315         double-precision for the calculation instead of scaling.
14317 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
14319         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
14320         manipulate bits before adding and subtracting TWO52[sx].
14321         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
14322         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
14323         Likewise.
14324         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
14326 2012-03-13  David S. Miller  <davem@davemloft.net>
14328         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
14329         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
14330         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
14331         rtld-global-offsets.h
14332         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14334         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
14335         large parameters.
14337         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
14339         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
14340         'err' in the ifdef scope in which it is actually used.
14342         * nss/nss_db/db-init.c: Include string.h
14344 2012-03-12  David S. Miller  <davem@davemloft.net>
14346         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
14347         masking out of the most significant byte of random value used.
14348         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14349         Fix coding style in previous change.
14351         * sysdeps/unix/sysv/linux/kernel-features.h
14352         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
14353         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
14354         expression.
14355         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
14356         later.
14358 2012-03-11  David S. Miller  <davem@davemloft.net>
14360         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
14361         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
14362         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
14363         for 'resultvar' otherwise things get truncated on 64-bit.
14365         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14366         Fix masking out of the most significant byte of random value used.
14368         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14370 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
14372         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14374 2012-03-09  David S. Miller  <davem@davemloft.net>
14376         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
14377         variables with appropriate CPP guards.
14378         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
14379         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
14380         on resulting framesize and the management of the outregs buffer for pltexit.
14381         Preserve floating point return values across _dl_call_pltexit call.
14382         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
14383         framesize and the management of the outregs buffer for pltexit.
14384         Preserve floating point return values across _dl_call_pltexit
14385         call.
14386         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
14387         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
14388         (print_exit): Fix format string for return register value.
14390 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
14392         * sunrpc/Makefile (others): Add rpcgen.
14393         ($(objpfx)rpcgen): Remove special build rule and dependency on
14394         libc.
14395         * sunrpc/rpcgen.c: New file.
14397 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
14399         [BZ #13673]
14400         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
14401         * stdio-common/bug-vfprintf-nargs.c: Likewise.
14402         * sysdeps/i386/crti.S: Likewise.
14403         * sysdeps/i386/crtn.S: Likewise.
14404         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
14405         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
14406         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
14407         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
14408         * sysdeps/sh/crti.S: Likewise.
14409         * sysdeps/sh/crtn.S: Likewise.
14410         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
14412         [BZ #13673]
14413         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
14414         with URL.
14415         * locale/programs/locfile-kw.gperf: Likewise.
14416         * locale/programs/charmap-kw.h: Regenerated.
14417         * locale/programs/locfile-kw.h: Likewise.
14419         [BZ #13673]
14420         * intl/plural.y: Replace FSF snail mail address with URL.
14421         * intl/plural.c: Regenerated.
14423 2012-03-09  Richard Henderson  <rth@twiddle.net>
14425         * include/math_private.h: Remove file.
14426         * math/math_private.h: Move file ...
14427         * sysdeps/generic/math_private.h: ... here.
14429         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
14430         * sysdeps/powerpc/fpu/math_private.h: Likewise.
14431         * sysdeps/x86_64/fpu/math_private.h: Likewise.
14433         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
14434         and <math_private.h>.
14435         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
14436         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
14437         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
14438         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
14439         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
14440         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
14441         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14442         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14443         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14444         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14445         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14446         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14447         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14448         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14449         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14450         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14451         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14452         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14453         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14454         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14455         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14456         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14457         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14458         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14459         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
14460         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14461         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14462         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14463         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14464         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14465         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14466         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14467         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
14468         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14469         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14470         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14471         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14472         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14473         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14474         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14475         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
14476         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14477         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
14478         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
14479         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
14480         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14481         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
14482         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
14483         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14484         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14485         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14486         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
14487         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
14488         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14489         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
14490         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14491         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
14492         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14493         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
14494         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
14495         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14496         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14497         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14498         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14499         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
14500         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14501         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14502         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14503         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
14504         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
14505         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
14506         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14507         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
14508         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14509         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
14510         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
14511         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
14512         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14513         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
14514         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
14515         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
14516         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
14517         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
14518         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
14519         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14520         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
14521         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
14522         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
14523         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
14524         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14525         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14526         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
14527         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14528         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14529         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
14530         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
14531         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14532         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14533         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14534         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14535         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
14536         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
14537         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
14538         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
14539         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
14540         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
14541         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14542         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
14543         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14544         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14545         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14546         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14547         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14548         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14549         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
14550         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14551         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
14552         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
14553         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14554         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14555         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
14556         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
14557         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14558         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
14559         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
14560         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
14561         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
14562         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
14563         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
14564         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
14565         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
14566         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14567         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14568         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
14569         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
14570         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
14571         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
14572         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
14573         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
14574         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
14575         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14576         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
14577         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
14578         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
14579         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
14580         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
14581         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
14582         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
14583         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
14584         * sysdeps/ieee754/k_standard.c: Likewise.
14585         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
14586         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14587         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14588         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14589         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14590         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14591         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
14592         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14593         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14594         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14595         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14596         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14597         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14598         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14599         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14600         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14601         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
14602         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14603         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14604         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
14605         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
14606         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
14607         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14608         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
14609         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14610         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
14611         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
14612         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
14613         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
14614         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14615         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14616         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
14617         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
14618         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
14619         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
14620         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
14621         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
14622         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
14623         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
14624         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
14625         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
14626         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
14627         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14628         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
14629         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
14630         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
14631         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
14632         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
14633         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
14634         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14635         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14636         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
14637         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
14638         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
14639         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14640         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14641         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
14642         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
14643         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
14644         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
14645         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14646         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
14647         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
14648         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
14649         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14650         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14651         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
14652         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14653         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
14654         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
14655         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14656         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14657         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
14658         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
14659         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
14660         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14661         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
14662         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
14663         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14664         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
14665         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
14666         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
14667         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
14668         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
14669         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
14670         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
14671         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
14672         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
14673         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
14674         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
14675         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
14676         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
14677         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
14678         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
14679         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
14680         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
14681         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
14682         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
14683         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
14684         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
14685         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
14686         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
14687         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14688         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
14689         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
14690         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
14691         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
14692         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
14693         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
14694         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
14695         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
14696         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
14697         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
14698         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14699         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
14700         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14701         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
14702         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14703         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14704         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14705         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14706         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
14707         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14708         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14709         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14710         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
14711         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14712         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
14713         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
14714         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14715         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14716         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14717         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14718         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
14719         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
14720         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
14721         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
14722         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
14723         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14724         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
14725         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
14726         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14727         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
14728         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
14729         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
14730         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14731         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14732         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
14733         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
14734         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
14735         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14736         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
14737         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
14738         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14739         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
14740         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
14741         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
14742         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
14743         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
14744         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
14745         * sysdeps/ieee754/s_lib_version.c: Likewise.
14746         * sysdeps/ieee754/s_matherr.c: Likewise.
14747         * sysdeps/ieee754/s_signgam.c: Likewise.
14748         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14749         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14750         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
14751         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
14752         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
14753         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
14754         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
14755         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
14756         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
14757         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
14758         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
14759         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
14760         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
14761         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
14762         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
14763         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
14764         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14765         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
14766         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14767         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14768         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14770 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
14772         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
14773         * sunrpc/rpc_main.c: Likewise.
14774         * sunrpc/rpc_svcout.c: Likewise.
14776 2012-03-09  David S. Miller  <davem@davemloft.net>
14778         * include/math_private.h: New file.
14780 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
14782         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
14783         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
14784         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
14785         from <bits/socket_type.h>.
14786         (enum __socket_type): Don't define here.
14787         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
14788         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14789         bits/socket_type.h.
14791         [BZ #13566]
14792         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
14793         checking __USE_GNU.
14795         * Makerules ($(inst_includedir)/%.h): New rule.
14796         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
14797         (install-others): Remove variable setting.
14798         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
14800 2012-03-08  Richard Henderson  <rth@twiddle.net>
14802         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
14803         from macro to inline function; merge with the
14804         !__LIBC_INTERNAL_MATH_INLINES version.
14805         (__ieee754_sqrtf): Likewise.
14807         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
14808         to inline function.
14809         (__rintf, __floor, __floorf): Likewise.
14811         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
14812         macro to inline function.
14813         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
14815         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
14816         not <math/math_private.h>.
14818 2012-03-08  David S. Miller  <davem@davemloft.net>
14820         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
14821         copyright year.
14822         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
14824 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
14826         * resolv/gai_misc.c (handle_requests): Fix struct timespec
14827         normalization.
14828         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
14829         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
14831 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
14833         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
14834         be defined individually, they must be defined as a block.  Define
14835         S for printing a string instead of hidint the different by using a
14836         macro for adding the 'l'.
14837         * stdio-common/tst-fphex-wide.c: Adjust.
14839 2012-03-07  Marek Polacek  <polacek@redhat.com>
14841         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
14843 2012-03-08  Marek Polacek  <polacek@redhat.com>
14845         [BZ #13806]
14846         * stdio-common/Makefile (tests): Add tst-fphex-wide.
14847         * stdio-common/tst-fphex.c: Define a few macros to make the
14848         test reusable.  Use them.
14849         * stdio-common/tst-fphex-wide.c: New file.
14851 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
14853         [BZ #6911]
14854         * manual/macros.texi (gnusystems): New macro.
14855         (nongnusystems): Likewise.
14856         (gnulinuxhurdsystems): Likewise.
14857         (gnuhurdsystems): Likewise..
14858         (gnulinuxsystems): Likewise.
14859         * manual/charset.texi: Use new macros or @theglibc{} to refer to
14860         variants of the GNU system, not "GNU system".
14861         * manual/conf.texi: Likewise.
14862         * manual/errno.texi: Likewise.  Update example of errno macro
14863         expansion.
14864         * manual/filesys.texi: Likewise.
14865         (getumask): Document as specific to GNU/Hurd.
14866         * manual/install.texi: Likewise.  Reword some references to
14867         GNU/Linux.
14868         * manual/intro.texi: Likewise.
14869         * manual/io.texi: Likewise.
14870         (File Name Portability): Detail which constraints are inapplicable
14871         to all GNU systems and which are only inapplicable to GNU/Hurd.
14872         * manual/job.texi: Likewise.
14873         * manual/llio.texi: Likewise.
14874         (O_NOCTTY): Document as present on GNU/Linux.
14875         * manual/maint.texi: Likewise.
14876         * manual/memory.texi: Likewise.
14877         * manual/pattern.texi: Likewise.
14878         * manual/pipe.texi: Likewise.
14879         * manual/process.texi: Likewise.
14880         * manual/resource.texi: Likewise.
14881         (RUSAGE_CHILDREN): Remove statement about specifying a particular
14882         child on GNU/Hurd.
14883         * manual/setjmp.texi: Likewise.
14884         * manual/signal.texi: Likewise.
14885         * manual/startup.texi: Likewise.
14886         * manual/stdio.texi: Likewise.
14887         * manual/terminal.texi: Likewise.
14888         (ONLCR): Document as POSIX.
14889         (OXTABS): Document availability on GNU/Linux as XTABS.
14890         (ONOEOT): Document availability separately from other bits.
14891         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
14892         * manual/time.texi: Likewise.
14893         * manual/users.texi: Likewise.
14894         * INSTALL: Regenerated.
14895         * sysdeps/gnu/errlist.c: Regenerated.
14897         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
14898         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
14899         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
14900         puts.
14901         * configure: Regenerated.
14903 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
14905         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
14906         default includes instead of AC_HEADER_CHECK.
14907         * sysdeps/i386/configure: Regenerated.
14909         [BZ #10716]
14910         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
14911         * math/s_cacoshf.c (__cacoshf): Likewise.
14912         * math/s_cacoshl.c (__cacoshl): Likewise.
14913         * math/s_casinh.c (__casinh): Set signs of result from argument.
14914         * math/s_casinhf.c (__casinhf): Likewise.
14915         * math/s_casinhl.c (__casinhl): Likewise.
14916         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
14917         (casinh_test): Add more tests.
14918         * sysdeps/i386/fpu/libm-test-ulps: Update.
14919         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14921 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
14923         * po/zh_TW.po: Update from translation team.
14925         * login/Makefile (distribute): Remove variable.
14926         * catgets/Makefile: Likewise.
14927         * mach/Makefile: Likewise.
14928         * malloc/Makefile: Likewise.
14929         * misc/Makefile: Likewise.
14930         * iconv/Makefile: Likewise.
14931         * nscd/Makefile: Likewise.
14932         * hurd/Makefile: Likewise.
14933         * manual/Makefile: Likewise.
14934         * locale/Makefile: Likewise.
14935         * intl/Makefile: Likewise.
14936         * conform/Makefile: Likewise.
14937         * nss/Makefile: Likewise.
14938         * time/Makefile: Likewise.
14939         * soft-fp/Makefile: Likewise.
14940         * dirent/Makefile: Likewise.
14941         * gmon/Makefile: Likewise.
14942         * po/Makefile: Likewise.
14943         * rt/Makefile: Likewise.
14944         * socket/Makefile: Likewise.
14945         * math/Makefile: Likewise.
14946         * signal/Makefile: Likewise.
14947         * debug/Makefile: Likewise.
14948         * elf/Makefile: Likewise.
14949         * timezone/Makefile: Likewise.
14950         * stdlib/Makefile: Likewise.
14951         * iconvdata/Makefile: Likewise.
14952         * sunrpc/Makefile: Likewise.
14953         * io/Makefile: Likewise.
14954         * argp/Makefile: Likewise.
14955         * inet/Makefile: Likewise.
14956         * hesiod/Makefile: Likewise.
14957         * grp/Makefile: Likewise.
14958         * csu/Makefile: Likewise.
14959         * wctype/Makefile: Likewise.
14960         * crypt/Makefile: Likewise.
14961         * libio/Makefile: Likewise.
14962         * string/Makefile: Likewise.
14963         * nis/Makefile: Likewise.
14964         * resolv/Makefile: Likewise.
14965         * stdio-common/Makefile: Likewise.
14966         * wcsmbs/Makefile: Likewise.
14967         * dlfcn/Makefile: Likewise.
14968         * posix/Makefile: Likewise.
14970         [BZ #6959]
14971         * timezone/Makefile: Don't install timezone files, just the programs
14972         and scripts.
14974 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
14976         * nss/databases.def: Add missing gshadow entry.
14978         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
14980 2012-03-06  Marek Polacek  <polacek@redhat.com>
14982         [BZ #13726]
14983         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
14984         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
14985         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
14986         * stdio-common/tst-long-dbl-fphex.c: New file.
14988 2012-03-06  David S. Miller  <davem@davemloft.net>
14990         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14991         (set_obp_int): New function.
14992         (get_obp_int): New function.
14993         (__get_clockfreq_via_dev_openprom): Likewise.
14994         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
14995         Avoid unused variable warnings on 'val' and use builtin_expect.
14996         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
14997         __builtin_expect.
14998         (INLINE_CLONE_SYSCALL): Likewise.
15000 2012-03-05  David S. Miller  <davem@davemloft.net>
15002         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15004 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
15006         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15008         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
15009         only for |x| >= 40.
15010         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15012 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
15014         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
15015         Replace gettimeofday with __vdso_gettimeofday.
15017         * sysdeps/unix/sysv/linux/x86_64/init-first.c
15018         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
15019         __vdso_clock_gettime and __vdso_getcpu.
15021         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
15022         time with __vdso_time.
15024 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
15026         * manual/lang.texi (size_t): Note types to which size_t may be
15027         equivalent with the GNU C Library, but do not describe when
15028         differences between them are significant.
15030 2012-03-05  Andreas Jaeger  <aj@suse.de>
15032         * sysdeps/i386/fpu/libm-test-ulps: Update.
15034 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
15036         [BZ #3976]
15037         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
15038         (__ieee754_pow): Save and restore rounding mode and use
15039         round-to-nearest for main computations.
15040         * math/libm-test.inc (pow_test_tonearest): New function.
15041         (pow_test_towardzero): Likewise.
15042         (pow_test_downward): Likewise.
15043         (pow_test_upward): Likewise.
15044         (main): Call the new functions.
15045         * sysdeps/i386/fpu/libm-test-ulps: Update.
15046         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15048         [BZ #3976]
15049         * math/libm-test.inc (cosh_test_tonearest): New function.
15050         (cosh_test_towardzero): Likewise.
15051         (cosh_test_downward): Likewise.
15052         (cosh_test_upward): Likewise.
15053         (sinh_test_tonearest): Likewise.
15054         (sinh_test_towardzero): Likewise.
15055         (sinh_test_downward): Likewise.
15056         (sinh_test_upward): Likewise.
15057         (main): Call the new functions.
15058         * sysdeps/i386/fpu/libm-test-ulps: Update.
15059         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15061 2012-03-05  Tom de Vries  <tom@codesourcery.com>
15063         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
15064         default stack guard is set in last bytes.
15065         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
15067 2012-03-05  Kees Cook  <keescook@chromium.org>
15069         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
15071         [BZ #13656]
15072         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
15073         possibly allocate from heap instead of stack.
15074         * stdio-common/bug-vfprintf-nargs.c: New file.
15075         * stdio-common/Makefile (tests): Add nargs overflow test.
15077 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
15079         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15081 2012-03-03  Marek Polacek  <polacek@redhat.com>
15083         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
15084         * math/math_private.h: Likewise.
15085         * stdlib/tst-strtod.c: Likewise.
15086         * sysdeps/i386/i486/bits/atomic.h: Likewise.
15087         * sysdeps/x86_64/bits/atomic.h: Likewise.
15089 2012-03-02  David S. Miller  <davem@davemloft.net>
15091         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
15092         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
15093         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
15094         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
15095         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
15096         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
15097         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
15098         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
15100 2012-03-02  Roland McGrath  <roland@hack.frob.com>
15102         [BZ #13792]
15103         * manual/examples/README: New file, says the example source files
15104         can be used under GPL>=2.
15105         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
15106         line containing just "*/".
15107         * manual/examples/add.c: Add copyright header (GPL>=2).
15108         * manual/examples/argp-ex1.c: Likewise.
15109         * manual/examples/argp-ex2.c: Likewise.
15110         * manual/examples/argp-ex3.c: Likewise.
15111         * manual/examples/argp-ex4.c: Likewise.
15112         * manual/examples/atexit.c: Likewise.
15113         * manual/examples/db.c: Likewise.
15114         * manual/examples/dir.c: Likewise.
15115         * manual/examples/dir2.c: Likewise.
15116         * manual/examples/execinfo.c: Likewise.
15117         * manual/examples/filecli.c: Likewise.
15118         * manual/examples/filesrv.c: Likewise.
15119         * manual/examples/fmtmsgexpl.c: Likewise.
15120         * manual/examples/genpass.c: Likewise.
15121         * manual/examples/inetcli.c: Likewise.
15122         * manual/examples/inetsrv.c: Likewise.
15123         * manual/examples/isockad.c: Likewise.
15124         * manual/examples/longopt.c: Likewise.
15125         * manual/examples/memopen.c: Likewise.
15126         * manual/examples/memstrm.c: Likewise.
15127         * manual/examples/mkfsock.c: Likewise.
15128         * manual/examples/mkisock.c: Likewise.
15129         * manual/examples/mygetpass.c: Likewise.
15130         * manual/examples/pipe.c: Likewise.
15131         * manual/examples/popen.c: Likewise.
15132         * manual/examples/rprintf.c: Likewise.
15133         * manual/examples/search.c: Likewise.
15134         * manual/examples/select.c: Likewise.
15135         * manual/examples/setjmp.c: Likewise.
15136         * manual/examples/sigh1.c: Likewise.
15137         * manual/examples/sigusr.c: Likewise.
15138         * manual/examples/stpcpy.c: Likewise.
15139         * manual/examples/strdupa.c: Likewise.
15140         * manual/examples/strftim.c: Likewise.
15141         * manual/examples/strncat.c: Likewise.
15142         * manual/examples/subopt.c: Likewise.
15143         * manual/examples/swapcontext.c: Likewise.
15144         * manual/examples/termios.c: Likewise.
15145         * manual/examples/testopt.c: Likewise.
15146         * manual/examples/testpass.c: Likewise.
15147         * manual/examples/timeval_subtract.c: Likewise.
15149         [BZ #13792]
15150         * manual/time.texi (Elapsed Time): Move timeval_subtract example
15151         function to ...
15152         * manual/timeval_subtract.c.texi: ... here, new file.
15154 2012-03-02  David S. Miller  <davem@davemloft.net>
15156         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
15158 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
15160         [BZ #3976]
15161         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
15162         (__sin): Save and restore rounding mode and use round-to-nearest
15163         for all computations.
15164         (__cos): Save and restore rounding mode and use round-to-nearest
15165         for all computations.
15166         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
15167         <fenv.h>.
15168         (tan): Save and restore rounding mode and use round-to-nearest for
15169         all computations.
15170         * math/libm-test.inc (cos_test_tonearest): New function.
15171         (cos_test_towardzero): Likewise.
15172         (cos_test_downward): Likewise.
15173         (cos_test_upward): Likewise.
15174         (sin_test_tonearest): Likewise.
15175         (sin_test_towardzero): Likewise.
15176         (sin_test_downward): Likewise.
15177         (sin_test_upward): Likewise.
15178         (tan_test_tonearest): Likewise.
15179         (tan_test_towardzero): Likewise.
15180         (tan_test_downward): Likewise.
15181         (tan_test_upward): Likewise.
15182         (main): Call the new functions.
15183         * sysdeps/i386/fpu/libm-test-ulps: Update.
15184         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15186         [BZ #10135]
15187         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
15188         small n, then large n, before computing and testing k+n.
15189         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
15190         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
15191         Likewise.
15192         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
15193         Likewise.
15194         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
15195         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
15196         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
15197         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
15198         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
15199         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
15200         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
15201         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
15202         * math/libm-test.inc (scalbn_test): Add more tests.
15203         (scalbln_test): Likewise.
15205         * manual/filesys.texi (mode_t): Describe constraints on size and
15206         signedness, not exact equivalence to a particular type.
15207         (ino_t): Likewise.
15208         (ino64_t): Likewise.
15209         (dev_t): Likewise.
15210         (nlink_t): Likewise.
15211         (blkcnt_t): Likewise.
15212         (blkcnt64_t): Likewise.
15213         * manual/llio.texi (off_t): Likewise.
15215         [BZ #3976]
15216         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
15217         (__ieee754_exp): Save and restore rounding mode and use
15218         round-to-nearest for all computations.
15219         * math/libm-test.inc (exp_test_tonearest): New function.
15220         (exp_test_towardzero): Likewise.
15221         (exp_test_downward): Likewise.
15222         (exp_test_upward): Likewise.
15223         (main): Call the new functions.
15224         * sysdeps/i386/fpu/libm-test-ulps: Update.
15225         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15227 2012-03-01  Chris Demetriou  <cgd@google.com>
15229         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
15230         have predictable order.
15232 2012-03-01  David S. Miller  <davem@davemloft.net>
15234         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
15236         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
15237         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
15238         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
15239         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
15241         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
15242         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
15243         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
15244         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
15245         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
15246         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
15247         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
15248         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
15249         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
15251         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15253         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
15254         * sysdeps/sparc/fpu/libm-test-ulps: to here.
15255         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
15257         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
15258         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
15259         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
15260         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
15261         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
15262         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
15263         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
15264         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
15265         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
15266         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
15267         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
15268         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15269         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
15270         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
15271         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15272         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15273         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
15274         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
15275         * sysdeps/sparc/elf/configure: Regenerated.
15277 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
15279         * configure.in (AS, LD): Require binutils 2.20 or later.
15280         * configure: Regenerated.
15281         * manual/install.texi (Tools for Compilation): Give binutils 2.20
15282         as required minimum version.
15283         * INSTALL: Regenerated.
15285         [BZ #2541]
15286         [BZ #4108]
15287         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
15288         before squaring exponent.
15289         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
15290         bottom long double and 27 bits of top long double before squaring
15291         exponent.
15292         * math/libm-test.inc (erfc_test): Add more tests.
15293         * sysdeps/i386/fpu/libm-test-ulps: Update.
15294         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15295         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15297 2012-03-01  Kai Tietz  <ktietz@redhat.com>
15299         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
15300         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
15301         containing bit-fields.
15302         * soft-fp/extended.h (_FP_UNION_E): Likewise.
15303         * soft-fp/single.h (_FP_UNION_S): Likewise.
15304         * soft-fp/double.h (_FP_UNION_D): Likewise.
15306 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
15308         [BZ #13786]
15309         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
15310         not include ../strcmp.S.
15311         [USE_AS_STRNCASECMP_L]: Likewise.
15312         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
15313         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
15314         * sysdeps/i386/i686/multiarch/strncase_l-c.c
15315         (__strncasecmp_l_ia32): Define as alias to
15316         __strncasecmp_l_nonascii.
15318         [BZ #5794]
15319         * math/libm-test.inc (expm1_test): Add test for bug 5794.
15320         * sysdeps/i386/fpu/libm-test-ulps: Update.
15321         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15323         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
15324         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15326 2012-02-29  Jeff Law  <law@redhat.com>
15328         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
15329         out of bounds read.
15331 2012-02-29  Marek Polacek  <polacek@redhat.com>
15333         [BZ #13706]
15334         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
15335         * elf/Makefile: Add rules to run tst-unused-dep.out.
15337 2012-02-28  David S. Miller  <davem@davemloft.net>
15339         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
15340         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
15341         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
15342         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
15343         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
15344         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
15346 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
15348         * math/libm-test.inc (llround_test): Move one test from
15349         lround_test.  Use TEST_f_L in moved test.
15350         (lround_test): Move misplaced test to llround_test.  Add testcase
15351         from bug 2561.
15353 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
15355         * sysdeps/x86_64/fpu/e_expf.S: New file.
15356         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
15358 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
15360         [BZ #13637]
15361         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
15362         of remain_len that may cause incomplete multi-byte character and
15363         false match.
15364         * posix/bug-regex33.c: New file.
15365         * posix/Makefile (tests): Add bug-regex33.
15367 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
15369         * manual/macros.texi: New file.
15370         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
15371         * manual/libc.texinfo: Include macros.texi.
15372         * manual/creatute.texi: Likewise.
15373         * manual/install.texi: Likewise.
15374         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
15375         @glibcadj{} in references to the GNU C Library.
15376         * manual/charset.texi: Likewise.
15377         * manual/conf.texi: Likewise.
15378         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
15379         when not using those macros.
15380         * manual/creature.texi: Likewise.
15381         * manual/crypt.texi: Likewise.
15382         * manual/errno.texi: Likewise.
15383         * manual/filesys.texi: Likewise.
15384         * manual/header.texi: Likewise.
15385         * manual/install.texi: Likewise.
15386         * manual/intro.texi: Likewise.
15387         * manual/io.texi: Likewise.
15388         * manual/job.texi: Likewise.
15389         * manual/lang.texi: Likewise.
15390         * manual/libc.texiinfo: Likewise.
15391         * manual/llio.texi: Likewise.
15392         * manual/locale.texi: Likewise.
15393         * manual/maint.texi: Likewise.
15394         * manual/math.texi: Likewise.
15395         * manual/memory.texi: Likewise.
15396         * manual/message.texi: Likewise.
15397         * manual/nss.texi: Likewise.
15398         * manual/pattern.texi: Likewise.
15399         * manual/process.texi: Likewise.
15400         * manual/resource.texi: Likewise.
15401         * manual/search.texi: Likewise.
15402         * manual/setjmp.texi: Likewise.
15403         * manual/signal.texi: Likewise.
15404         * manual/socket.texi: Likewise.
15405         * manual/startup.texi: Likewise.
15406         * manual/stdio.texi: Likewise.
15407         * manual/string.texi: Likewise.
15408         * manual/sysinfo.texi: Likewise.
15409         * manual/syslog.texi: Likewise.
15410         * manual/terminal.texi: Likewise.
15411         * manual/time.texi: Likewise.
15412         * manual/users.texi: Likewise.
15413         * INSTALL: Regenerated.
15414         * NOTES: Regenerated.
15415         * sysdeps/gnu/errlist.c: Regenerated.
15417 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
15419         * include/dirent.h: Include <dirstream.h> before
15420         <dirent/dirent.h>.
15422 2012-02-28  David S. Miller  <davem@davemloft.net>
15424         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
15425         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
15426         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
15427         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
15429 2012-02-27  David S. Miller  <davem@davemloft.net>
15431         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
15432         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
15433         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
15434         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
15436         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
15437         frame pointer instead of stack pointer relative arg slot.
15438         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
15439         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
15440         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
15442 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
15444         [BZ #3992]
15445         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
15447 2012-02-27  David S. Miller  <davem@davemloft.net>
15449         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
15450         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
15451         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
15452         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
15453         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
15454         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
15455         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
15456         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
15458 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
15460         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
15461         later.  Allow versions 5-9.
15462         * configure: Regenerated.
15463         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
15464         required minimum version and 4.6 as recommended version.  Do not
15465         mention bugs in GCC 2.7 and 2.8.
15466         * INSTALL: Regenerated.
15468 2012-02-27  David S. Miller  <davem@davemloft.net>
15470         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
15471         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
15472         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
15473         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
15474         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
15475         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
15476         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
15477         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
15479         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
15480         manipulate bits before adding and subtracting TWO112[sx].
15481         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
15483 2012-02-27  Roland McGrath  <roland@hack.frob.com>
15485         [BZ #13775]
15486         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
15487         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
15488         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
15489         being in POSIX, because they are in 1003.1-2008.
15491         * rt/tst-aio.c: Include <fcntl.h>.
15492         * rt/tst-aio7.c: Likewise.
15493         * rt/tst-aio64.c: Likewise.
15495         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
15497 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
15499         * manual/install.texi (--with-headers): Describe headers as
15500         interface headers, not private headers.
15501         (Specific advice for GNU/Linux systems): Describe use of headers
15502         from "make headers_install", not private headers from older
15503         kernels.
15504         * INSTALL: Regenerated.
15505         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
15506         Change to 2.6.19.
15507         * sysdeps/unix/sysv/linux/configure: Regenerated.
15509         * manual/llio.texi (fclean): Remove documentation.
15511         * manual/Makefile (libc-texi-generated): New variable.  Include
15512         version.texi.
15513         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
15514         $(libc-texi-generated), not duplicated list of files.
15515         (version.texi, stamp-version): New rules.
15516         (realclean): Remove $(libc-texi-generated), not individual files
15517         from that list.  Do not remove dir-add.texinfo.
15518         * manual/libc.texinfo: Comment out uses of edition numbers and
15519         references to printed manual.  Remove last-updated dates.
15520         (EDITION): Comment out.
15521         (ISBN): Likewise.
15522         (VERSION, UPDATED): Remove.
15523         (version.texi): Include.
15525 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
15527         * sysdeps/posix/spawni.c: Include <signal.h>.
15528         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
15529         * sysdeps/pthread/aio_fsync.c: Likewise.
15531 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
15533         * conform/Makefile (tests): Run only when not cross-compiling and
15534         when fast-check is not defined.
15536         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
15537         * conform/data/limits.h-data: Fixes for POSIX2008.
15538         * conform/run-conformtest.sh: Run all tests.
15539         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
15540         headers.
15541         * include/bits/dlfcn.h: Likewise.
15542         * include/langinfo.h: Likewise.
15543         * include/monetary.h: Likewise.
15544         * include/sys/poll.h: Likewise.
15546         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
15547         for __USE_GNU.
15548         * posix/spawn.h: Define __need_sigset_t.
15549         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
15550         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
15551         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
15552         to get sigevent_t only.
15553         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
15554         only for __USE_GNU.
15555         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15556         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
15557         process_vm_writev only for __USE_GNU.
15558         * termios/termios.h: Declare tcgetsid also for POSIX2008.
15560         * conform/Makefile: For now ignore errors from run-conformtest.
15561         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
15562         POSIX to avoid namespace pollution.  Don't prepend headers.
15563         * conform/data/aio.h-data: Fixes for POSIX testing.
15564         * conform/data/fcntl.h-data: Likewise.
15565         * conform/data/glob.h-data: Likewise.
15566         * conform/data/grp.h-data: Likewise.
15567         * conform/data/pthread.h-data: Likewise.
15568         * conform/data/pwd.h-data: Likewise.
15569         * conform/data/signal.h-data: Likewise.
15570         * conform/data/spawn.h-data: Likewise.
15571         * conform/data/stdio.h-data: Likewise.
15572         * conform/data/stdlib.h-data: Likewise.
15573         * conform/data/stropts.h-data: Likewise.
15574         * conform/data/sys/mman.h-data: Likewise.
15575         * conform/data/sys/stat.h-data: Likewise.
15576         * conform/data/sys/types.h-data: Likewise.
15577         * conform/data/sys/wait.h-data: Likewise.
15578         * conform/data/time.h-data: Likewise.
15579         * conform/data/unistd.h-data: Likewise.
15580         * conform/data/utime.h-data: Likewise.
15582         * io/sys/stat.h: fchmod was always in POSIX.
15583         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
15584         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
15585         * rt/aio.h: Define __need_timespec before including <time.h>.
15586         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
15587         struct.  Add forward declaration of pthread_attr_t and use it in
15588         sigevent.
15589         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
15590         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15591         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
15592         always remove CLK_TCK definition.
15594 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
15596         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
15598 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
15600         * conform/run-conformtest.sh: New file.
15601         * conform/Makefile: Run run-conformtest for tests.
15602         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
15603         support.
15605         * conform/data/uchar.h-data: New file.
15606         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
15607         * conform/data/arpa/inet.h-data: Likewise.
15608         * conform/data/assert.h-data: Likewise.
15609         * conform/data/complex.h-data: Likewise.
15610         * conform/data/cpio.h-data: Likewise.
15611         * conform/data/ctype.h-data: Likewise.
15612         * conform/data/dirent.h-data: Likewise.
15613         * conform/data/dlfcn.h-data: Likewise.
15614         * conform/data/errno.h-data: Likewise.
15615         * conform/data/fcntl.h-data: Likewise.
15616         * conform/data/float.h-data: Likewise.
15617         * conform/data/fmtmsg.h-data: Likewise.
15618         * conform/data/fnmatch.h-data: Likewise.
15619         * conform/data/ftw.h-data: Likewise.
15620         * conform/data/glob.h-data: Likewise.
15621         * conform/data/grp.h-data: Likewise.
15622         * conform/data/iconv.h-data: Likewise.
15623         * conform/data/inttypes.h-data: Likewise.
15624         * conform/data/langinfo.h-data: Likewise.
15625         * conform/data/libgen.h-data: Likewise.
15626         * conform/data/limits.h-data: Likewise.
15627         * conform/data/locale.h-data: Likewise.
15628         * conform/data/math.h-data: Likewise.
15629         * conform/data/monetary.h-data: Likewise.
15630         * conform/data/mqueue.h-data: Likewise.
15631         * conform/data/ndbm.h-data: Likewise.
15632         * conform/data/net/if.h-data: Likewise.
15633         * conform/data/netdb.h-data: Likewise.
15634         * conform/data/netinet/in.h-data: Likewise.
15635         * conform/data/nl_types.h-data: Likewise.
15636         * conform/data/poll.h-data: Likewise.
15637         * conform/data/pthread.h-data: Likewise.
15638         * conform/data/pwd.h-data: Likewise.
15639         * conform/data/regex.h-data: Likewise.
15640         * conform/data/sched.h-data: Likewise.
15641         * conform/data/search.h-data: Likewise.
15642         * conform/data/semaphore.h-data: Likewise.
15643         * conform/data/setjmp.h-data: Likewise.
15644         * conform/data/signal.h-data: Likewise.
15645         * conform/data/spawn.h-data: Likewise.
15646         * conform/data/stdarg.h-data: Likewise.
15647         * conform/data/stdio.h-data: Likewise.
15648         * conform/data/stdlib.h-data: Likewise.
15649         * conform/data/string.h-data: Likewise.
15650         * conform/data/strings.h-data: Likewise.
15651         * conform/data/stropts.h-data: Likewise.
15652         * conform/data/sys/ipc.h-data: Likewise.
15653         * conform/data/sys/mman.h-data: Likewise.
15654         * conform/data/sys/msg.h-data: Likewise.
15655         * conform/data/sys/resource.h-data: Likewise.
15656         * conform/data/sys/select.h-data: Likewise.
15657         * conform/data/sys/sem.h-data: Likewise.
15658         * conform/data/sys/shm.h-data: Likewise.
15659         * conform/data/sys/socket.h-data: Likewise.
15660         * conform/data/sys/stat.h-data: Likewise.
15661         * conform/data/sys/statvfs.h-data: Likewise.
15662         * conform/data/sys/time.h-data: Likewise.
15663         * conform/data/sys/timeb.h-data: Likewise.
15664         * conform/data/sys/times.h-data: Likewise.
15665         * conform/data/sys/types.h-data: Likewise.
15666         * conform/data/sys/uio.h-data: Likewise.
15667         * conform/data/sys/un.h-data: Likewise.
15668         * conform/data/sys/utsname.h-data: Likewise.
15669         * conform/data/sys/wait.h-data: Likewise.
15670         * conform/data/syslog.h-data: Likewise.
15671         * conform/data/tar.h-data: Likewise.
15672         * conform/data/termios.h-data: Likewise.
15673         * conform/data/utime.h-data: Likewise.
15674         * conform/data/utmpx.h-data: Likewise.
15675         * conform/data/varargs.h-data: Likewise.
15676         * conform/data/wchar.h-data: Likewise.
15677         * conform/data/wctype.h-data: Likewise.
15678         * conform/data/wordexp.h-data: Likewise.
15680         * include/stropts.h: New file.
15681         * include/uchar.h: New file.
15682         * include/aio.h: Changes to allow conformtest.pl to use the headers.
15683         * include/assert.h: Likewise.
15684         * include/ctype.h: Likewise.
15685         * include/dirent.h: Likewise.
15686         * include/dlfcn.h: Likewise.
15687         * include/fcntl.h: Likewise.
15688         * include/fnmatch.h: Likewise.
15689         * include/glob.h: Likewise.
15690         * include/grp.h: Likewise.
15691         * include/libio.h: Likewise.
15692         * include/locale.h: Likewise.
15693         * include/math.h: Likewise.
15694         * include/net/if.h: Likewise.
15695         * include/netdb.h: Likewise.
15696         * include/netinet/in.h: Likewise.
15697         * include/pthread.h: Likewise.
15698         * include/pwd.h: Likewise.
15699         * include/regex.h: Likewise.
15700         * include/sched.h: Likewise.
15701         * include/search.h: Likewise.
15702         * include/setjmp.h: Likewise.
15703         * include/signal.h: Likewise.
15704         * include/stdio.h: Likewise.
15705         * include/stdlib.h: Likewise.
15706         * include/string.h: Likewise.
15707         * include/sys/cdefs.h: Likewise.
15708         * include/sys/mman.h: Likewise.
15709         * include/sys/msg.h: Likewise.
15710         * include/sys/resource.h: Likewise.
15711         * include/sys/select.h: Likewise.
15712         * include/sys/socket.h: Likewise.
15713         * include/sys/stat.h: Likewise.
15714         * include/sys/statvfs.h: Likewise.
15715         * include/sys/time.h: Likewise.
15716         * include/sys/times.h: Likewise.
15717         * include/sys/uio.h: Likewise.
15718         * include/sys/utsname.h: Likewise.
15719         * include/sys/wait.h: Likewise.
15720         * include/termios.h: Likewise.
15721         * include/time.h: Likewise.
15722         * include/ulimit.h: Likewise.
15723         * include/unistd.h: Likewise.
15724         * include/utime.h: Likewise.
15725         * include/wchar.h: Likewise.
15726         * include/wctype.h: Likewise.
15727         * include/wordexp.h: Likewise.
15729         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
15731         * time/time.h: TIME_UTC must be a macro.
15732         Make timespec_get available for ISO C11 only as well.
15734 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
15736         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
15737         Reported by Peng Haitao <penght@cn.fujitsu.com>.
15739 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
15741         * configure.in: Use -o not -a in test for unsupported multi-arch.
15743 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
15745         * manual/texinfo.tex: Update to version 2012-01-19.16.
15747 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
15749         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
15751 2012-02-24  Roland McGrath  <roland@hack.frob.com>
15753         [BZ #13738]
15754         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
15755         * manual/fdl-1.3.texi: New file.
15756         * manual/fdl-1.1.texi: File removed.
15758         [BZ #13738]
15759         * manual/libc.texinfo (FDL_VERSION): New @set.
15760         Use it for mention of FDL in cover text.
15761         (Documentation License): Use it in @include file name.
15763 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
15764             Roland McGrath  <roland@hack.frob.com>
15766         [BZ #5461]
15767         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
15768         not LONG_LONG_MAX and LONG_LONG_MIN.
15769         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
15770         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
15771         name.
15772         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
15774 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
15776         [BZ #2547]
15777         [BZ #11365]
15778         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
15779         manipulate bits before adding and subtracting TWO23[sx].
15780         * math/libm-test.inc (nearbyint_test): Add more tests.
15782 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
15784         [BZ #2548]
15785         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
15786         bits before adding and subtracting TWO23[sx].
15787         * math/libm-test.inc (rint_test): Add more tests.
15788         (rint_test_tonearest): Likewise.
15789         (rint_test_towardzero): Likewise.
15790         (rint_test_downward): Likewise.
15791         (rint_test_upward: Likewise.
15793 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
15795         [BZ #10110]
15796         * include/stdc-predef.h: New file.  Extracted from features.h.
15797         * include/features.h: Include stdc-predef.h.
15798         * Makefile (headers): Add stdc-predef.h.
15799         * CONFORMANCE (Compiler limitations): Update.
15801 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
15803         * manual/libc.texinfo (VERSION, UPDATED): Revert.
15805 2012-02-21  David S. Miller  <davem@davemloft.net>
15807         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
15808         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
15810 2012-02-20  David S. Miller  <davem@davemloft.net>
15812         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
15813         using a normal save/restore sequence, rather than allocating a
15814         dummy stack frame just to store a frame pointer and restore.
15815         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15817 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
15819         * manual/install.texi: Fix stray word in line-wrapped comment.
15821 2012-02-20  David S. Miller  <davem@davemloft.net>
15823         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
15824         both binutils and gcc support GOTDATA.
15826         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
15827         "rd %pc" in the PIC register setup sequences.
15829         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
15830         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
15831         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
15832         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
15833         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
15834         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
15835         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15836         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15837         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
15838         (SYSCALL_ERROR_HANDLER): Likewise.
15839         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
15840         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15841         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
15842         (SYSCALL_ERROR_HANDLER): Likewise.
15844         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
15845         (HAVE_GCC_GOTDATA): New.
15846         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
15847         relocation support in both binutils and gcc.
15848         * sysdeps/sparc/elf/configure: Regenerate.
15850         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
15851         * sysdeps/sparc/sparc32/elf/configure: Delete.
15852         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
15853         * sysdeps/sparc/sparc64/elf/configure: Delete.
15854         * sysdeps/sparc/elf/configure.in: New file.
15855         * sysdeps/sparc/elf/configure: Generate.
15857         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
15858         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
15859         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
15860         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
15861         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
15863 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
15865         * manual/install.texi: Do not mention specific glibc version
15866         numbers.
15867         * manual/libc.texinfo (VERSION, UPDATED): Update.
15868         (@copying): Use @copyright{} and range of years.
15870 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
15872         [BZ #13695]
15873         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
15874         [crti.S not in sysdirs] (generated): Do not append.
15875         [crti.S not in sysdirs] (omit-deps): Likewise.
15876         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
15877         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
15878         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
15879         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
15880         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
15881         Likewise.
15882         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
15883         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
15884         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
15885         * csu/defs.awk: Remove file.
15886         * sysdeps/generic/initfini.c: Likewise.
15887         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
15888         variable.
15889         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
15890         Likewise.
15892 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
15894         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
15895         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
15896         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
15897         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
15898         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15899         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
15900         <bits/epoll.h>.
15901         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
15902         (__EPOLL_PACKED): Define to empty if not defined by
15903         <bits/epoll.h>.
15904         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
15905         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15906         bits/epoll.h.
15908 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
15910         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
15911         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
15912         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
15913         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
15914         <bits/timerfd.h>.
15915         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
15916         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15917         bits/timerfd.h.
15919 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
15921         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
15922         in C locale.
15923         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15924         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15925         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
15926         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15928 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
15930         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15931         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
15933 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
15935         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
15936         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
15937         defined.
15938         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
15939         Likewise.
15940         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
15941         entry for 2.16.
15943 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
15945         * math/w_acos.c: Use non-signaling floating-point comparisons.
15946         * math/w_acosf.c: Likewise.
15947         * math/w_acosh.c: Likewise.
15948         * math/w_acoshf.c: Likewise.
15949         * math/w_acoshl.c: Likewise.
15950         * math/w_acosl.c: Likewise.
15951         * math/w_asin.c: Likewise.
15952         * math/w_asinf.c: Likewise.
15953         * math/w_asinl.c: Likewise.
15954         * math/w_atanh.c: Likewise.
15955         * math/w_atanhf.c: Likewise.
15956         * math/w_atanhl.c: Likewise.
15957         * math/w_exp2.c: Likewise.
15958         * math/w_exp2f.c: Likewise.
15959         * math/w_exp2l.c: Likewise.
15960         * math/w_j0.c: Likewise.
15961         * math/w_j0f.c: Likewise.
15962         * math/w_j0l.c: Likewise.
15963         * math/w_j1.c: Likewise.
15964         * math/w_j1f.c: Likewise.
15965         * math/w_j1l.c: Likewise.
15966         * math/w_jn.c: Likewise.
15967         * math/w_jnf.c: Likewise.
15968         * math/w_log.c: Likewise.
15969         * math/w_log10.c: Likewise.
15970         * math/w_log10f.c: Likewise.
15971         * math/w_log10l.c: Likewise.
15972         * math/w_log2.c: Likewise.
15973         * math/w_log2f.c: Likewise.
15974         * math/w_log2l.c: Likewise.
15975         * math/w_logf.c: Likewise.
15976         * math/w_logl.c: Likewise.
15977         * math/w_sqrt.c: Likewise.
15978         * math/w_sqrtf.c: Likewise.
15979         * math/w_sqrtl.c: Likewise.
15980         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15981         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
15982         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15983         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
15984         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
15986 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
15988         [BZ #9739]
15989         * manual/string.texi (strnlen): Use correct parameter name in
15990         equivalent expression.
15992 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
15994         [BZ #11174]
15995         * manual/users.texi (seteuid): Consistently use neweuid for
15996         argument name.
15998 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
16000         [BZ #13704]
16001         * manual/nss.texi (Services in the NSS configuration): Correct
16002         list of services in example configuration file.
16004 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
16006         [BZ #11322]
16007         * manual/arith.texi: Remove statements about negative zero
16008         behaving identically to zero.
16010 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
16012         [BZ #5993]
16013         * manual/install.texi: Do not document upgrading from libc5.
16015 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
16017         [BZ #4596]
16018         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
16020 2012-02-18  David S. Miller  <davem@davemloft.net>
16022         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
16023         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
16024         %o7 across the call.
16025         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
16026         instead.
16027         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
16028         SETUP_PIC_REG_LEAF.
16029         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16030         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
16031         * sysdeps/sparc/crtn.S: Likewise.
16033 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
16035         * aout/Makefile: Remove.
16037 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
16039         [BZ #13058]
16040         * manual/examples/argp-ex1.c (main): Format definition in GNU
16041         style.
16042         * manual/examples/argp-ex2.c (main): Likewise.
16043         * manual/examples/argp-ex3.c (main): Likewise.
16044         * manual/examples/argp-ex4.c (main): Likewise.
16045         * manual/examples/longopt.c (main): Use new-style prototype
16046         definition.
16047         * manual/examples/strncat.c (main): Specify return type and use
16048         (void) for arguments.
16049         * manual/examples/subopt.c (main): Use char **argv argument.
16051 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
16053         [BZ #5077]
16054         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
16055         rounding modes.
16057 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
16059         [BZ #6907]
16060         * manual/string.texi (strchr): Change when strchrnul is
16061         recommended.
16063 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
16065         [BZ #174]
16066         * manual/locale.texi (setlocale): Document LOCPATH.
16068 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
16070         [BZ #10210]
16071         * manual/process.texi (execle): Move @dots{} before last argument.
16073 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
16075         [BZ #12047]
16076         * manual/charset.texi (Generic Charset Conversion): Fix typo
16077         (LC_TYPE -> LC_CTYPE).
16079 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
16081         [BZ #5805]
16082         * manual/arith.texi (scalbn): Use @var{} on parameter names.
16083         (scalbnf): Likewise.
16084         (scalbnl): Likewise.
16085         (scalbln): Likewise.
16086         (scalblnf): Likewise.
16087         (scalblnl): Likewise.
16088         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
16089         (vwarnx): Likewise.
16090         (verr): Likewise.
16091         (verrx): Likewise.
16092         * manual/filesys.texi (telldir): Use braces around return type.
16093         * manual/llio.texi (mmap): Add space after comma.
16094         (mmap64): Likewise.
16095         * manual/math.texi (jn): Use @var{} on parameter names.
16096         (jnf): Likewise.
16097         (jnl): Likewise.
16098         (yn): Likewise.
16099         (ynf): Likewise.
16100         (ynl): Likewise.
16101         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
16102         line.
16103         * manual/resource.texi (ulimit): Use @dots{} instead of literal
16104         "...".
16105         (sched_get_priority_min): Remove semicolon on @deftypefun line.
16106         (sched_get_priority_max): Likewise.
16107         * manual/signal.texi (sigvec): Add space after comma.
16108         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
16109         names.
16110         (if_indextoname): Likewise.
16111         (if_freenameindex): Likewise.
16112         (sendto): Use ',' instead of '.' in prototype.
16113         * manual/startup.texi (syscall): Use @dots{} instead of literal
16114         "...".
16115         * manual/stdio.texi (__fpending): Separate initial words of
16116         paragraph from @deftypefun line.
16117         * manual/syslog.texi (syslog): Use @dots{} instead of literal
16118         "...".
16119         (vsyslog): Use @var{} on parameter names.
16120         * manual/terminal.texi (stty): Use @var{} on parameter names.
16121         * manual/users.texi (getutmp): Use @var{} on parameter names.
16122         (getutmpx): Likewise.
16124 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
16126         [BZ #6884]
16127         * manual/stdio.texi (fopen): Fix typos in description of
16128         ",ccs=STRING".
16130 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
16132         [BZ #4026]
16133         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
16134         get clock_id definition.
16136 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
16138         [BZ #4822]
16139         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
16140         (madvise): Cast every argument to void on its own.
16142 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
16144         [BZ #9902]
16145         * manual/startup.texi (Exit Status): Fix typo.
16147 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
16149         [BZ #10140]
16150         * manual/examples/argp-ex1.c: Include <stdlib.h>.
16151         * manual/examples/argp-ex2.c: Likewise.
16152         * manual/examples/argp-ex3.c: Likewise.
16154 2012-02-16  Richard Henderson  <rth@redhat.com>
16156         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
16157         * sysdeps/s390/s390-32/initfini.c: Remove.
16158         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
16159         * sysdeps/s390/s390-64/initfini.c: Remove.
16161 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16163         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
16164         compiler output for sysdeps/generic/initfini.c.
16165         * sysdeps/sh/elf/initfini.c: Remove file.
16167 2012-02-16  David S. Miller  <davem@davemloft.net>
16169         [BZ #11494]
16170         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
16172         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
16173         * sysdeps/sparc/crti.S: New file.
16174         * sysdeps/sparc/crtn.S: New file.
16175         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
16176         * sysdeps/sparc/sparc64/Makefile: Likewise.
16178 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
16180         [BZ #3335]
16181         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
16183 2012-02-15  Roland McGrath  <roland@hack.frob.com>
16185         [BZ #4822]
16186         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
16188         * mach/devstream.c (cookie_io_functions_t): Macro removed.
16189         (write, read, close): Likewise.
16190         Patch by Aurelien Jarno <aurelien@aurel32.net>.
16192 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
16194         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
16195         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
16196         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
16197         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
16198         <bits/signalfd.h>.
16199         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
16200         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16201         bits/signalfd.h.
16203 2012-02-14  Marek Polacek  <polacek@redhat.com>
16205         * sysdeps/x86_64/crti.S: New file.
16206         * sysdeps/x86_64/crtn.S: New file.
16207         * sysdeps/x86_64/elf/initfini.c: Remove file.
16209 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
16211         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
16212         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
16213         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
16214         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
16215         <bits/inotify.h>.
16216         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
16217         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16218         bits/inotify.h.
16220 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
16222         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
16223         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
16224         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
16225         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
16226         <bits/eventfd.h>.
16227         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
16228         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16229         bits/eventfd.h.
16231 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
16233         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
16234         __feraiseexcept instead of feraiseexcept.
16236         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
16237         nanosleep invocations.
16238         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
16239         strings, and add error checking for a nanosleep invocations.
16241 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
16243         Replace FSF snail mail address with URLs, as per GNU coding standards.
16244         Most of the snail mail addresses were wrong anyway, and omitting
16245         them makes the source code easier to maintain.  Almost all of the
16246         changes are to license notices and to locale LC_IDENTIFICATION
16247         addresses, except for this one:
16248         * manual/libc.texinfo: In "Published by", give the FSF's URL,
16249         not its snail mail address.
16251 2012-02-09  Richard Henderson  <rth@twiddle.net>
16253         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
16254         of kernel-features.h.
16256         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
16258 2012-02-08  Marek Polacek  <polacek@redhat.com>
16260         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
16261         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
16262         * sysdeps/gnu/_G_config.h: Likewise.
16263         * sysdeps/generic/_G_config.h: Likewise.
16265 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
16267         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
16268         tests.
16269         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16271         * sysdeps/powerpc/powerpc32/crti.S: New file.
16272         * sysdeps/powerpc/powerpc32/crtn.S: New file.
16273         * sysdeps/powerpc/powerpc64/crti.S: New file.
16274         * sysdeps/powerpc/powerpc64/crtn.S: New file.
16276         * Makeconfig (have-initfini): Don't set.
16277         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
16278         * configure.in (nopic_initfini): Don't substitute.
16279         * config.h.in (HAVE_INITFINI): Don't #undef.
16280         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
16281         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
16283 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
16285         Support crti.S and crtn.S provided directly by architectures.
16286         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
16287         [crti.S in sysdirs] (omit-deps): Likewise.
16288         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
16289         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
16290         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
16291         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
16292         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
16293         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
16294         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
16295         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
16296         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
16297         compiler output for sysdeps/generic/initfini.c.
16298         * sysdeps/i386/elf/Makefile: Remove file.
16299         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
16301 2012-02-07  Marek Polacek  <polacek@redhat.com>
16303         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
16304         * sysdeps/gnu/_G_config.h: Likewise.
16305         * sysdeps/mach/hurd/_G_config.h: Likewise.
16307 2012-02-07  Marek Polacek  <polacek@redhat.com>
16309         * math/Makefile (tests): Add tst-CMPLX2.
16310         * math/tst-CMPLX2.c: New file.
16312 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
16314         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16316         * math/libm-test.inc (jn_test): Add missing L suffix.
16318 2012-02-06  Marek Polacek  <polacek@redhat.com>
16320         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
16321         * sysdeps/i386/fpu/e_powf.S: Likewise.
16322         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
16323         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
16324         * sysdeps/i386/fpu/e_acosh.S: Likewise.
16325         * sysdeps/i386/fpu/e_pow.S: Likewise.
16326         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
16327         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
16328         * sysdeps/i386/fpu/s_expm1.S: Likewise.
16329         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
16330         * sysdeps/i386/fpu/e_log2.S: Likewise.
16331         * sysdeps/i386/fpu/e_log2l.S: Likewise.
16332         * sysdeps/i386/fpu/e_scalb.S: Likewise.
16333         * sysdeps/i386/fpu/e_powl.S: Likewise.
16334         * sysdeps/i386/fpu/s_log1p.S: Likewise.
16335         * sysdeps/i386/fpu/e_log10f.S: Likewise.
16336         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
16337         * sysdeps/i386/fpu/e_logl.S: Likewise.
16338         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
16339         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
16340         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
16341         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
16342         * sysdeps/i386/fpu/e_log2f.S: Likewise.
16343         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
16344         * sysdeps/i386/fpu/e_log.S: Likewise.
16345         * sysdeps/i386/fpu/s_cexp.S: Likewise.
16346         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
16347         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
16348         * sysdeps/i386/fpu/e_logf.S: Likewise.
16349         * sysdeps/i386/fpu/e_log10l.S: Likewise.
16350         * sysdeps/i386/fpu/e_atanh.S: Likewise.
16351         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
16352         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
16353         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
16354         * sysdeps/i386/fpu/e_log10.S: Likewise.
16355         * sysdeps/i386/fpu/s_frexp.S: Likewise.
16356         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
16357         * sysdeps/i386/fpu/s_asinh.S: Likewise.
16358         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
16359         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
16360         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
16361         * sysdeps/i386/asm-syntax.h: Likewise.
16362         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
16363         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16364         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
16365         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
16366         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
16367         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
16368         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
16369         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
16370         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
16371         * sysdeps/powerpc/sysdep.h: Likewise.
16372         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
16373         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16375 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
16377         [BZ #411]
16378         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
16380 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
16382         * sysdeps/i386/sysdep.h: Include <features.h>.
16383         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
16384         version.
16386 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
16388         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
16389         Define.
16390         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
16391         LOAD_PIC_REG_STR.
16393 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
16395         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
16396         (SETUP_PIC_REG): Use GET_PC_THUNK.
16397         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
16398         macro.
16400 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
16402         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
16403         for non-PIC compilation.
16404         (SETUP_PIC_REG): Add .p2align directive.
16405         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
16406         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
16407         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
16408         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
16409         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
16410         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
16411         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
16412         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
16413         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
16414         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
16415         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
16416         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
16417         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
16418         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
16419         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
16420         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16421         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16422         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
16423         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
16424         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
16425         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16426         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16427         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
16428         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
16429         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16430         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
16431         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16432         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16433         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
16434         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
16435         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
16436         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16437         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
16438         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
16439         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
16440         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
16441         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
16442         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
16443         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
16444         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
16445         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
16447 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
16449         * math/tst-CMPLX.c: Include <stdio.h>.
16451 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
16453         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
16454         float.
16455         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
16456         * sysdeps/sparc/bits/mathdef.h: Likewise.
16458 2012-01-31  Marek Polacek  <polacek@redhat.com>
16460         * libio/libio.h: Don't define _PARAMS.
16461         * locale/programs/config.h: Don't define PARAMS.
16462         * stdlib/strtol_l.c: Likewise.
16463         (__strtol_l): Remove PARAMS from the prototype.
16465 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
16467         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
16468         names.  Just use the correct names.  Remove unnecessary wrapper
16469         functions.
16470         * malloc/arena.c: Likewise.
16471         * malloc/hooks.c: Likewise.
16473         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
16474         ARENA_TEST says not to.  Simplify test for creation of a new arena.
16475         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
16477 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
16479         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
16480         into tail calls.
16481         (update_get_addr): New function.
16482         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
16483         GET_ADDR_MODULE parameter.
16485 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
16487         * crypt/cert.c: Remove __STDC__ conditionals.
16488         * crypt/crypt-entry.c: Likewise.
16489         * crypt/crypt_util.c: Likewise.
16490         * libio/filedoalloc.c: Likewise.
16491         * libio/fileops.c: Likewise.
16492         * libio/genops.c: Likewise.
16493         * libio/iofclose.c: Likewise.
16494         * libio/iofdopen.c: Likewise.
16495         * libio/iofopen.c: Likewise.
16496         * libio/iofopen64.c: Likewise.
16497         * libio/iogetdelim.c: Likewise.
16498         * libio/iopopen.c: Likewise.
16499         * libio/obprintf.c: Likewise.
16500         * libio/oldfileops.c: Likewise.
16501         * libio/oldiofclose.c: Likewise.
16502         * libio/oldiofdopen.c: Likewise.
16503         * libio/oldiofopen.c: Likewise.
16504         * libio/oldiopopen.c: Likewise.
16505         * libio/wfiledoalloc.c: Likewise.
16506         * libio/wgenops.c: Likewise.
16507         * locale/programs/xmalloc.c: Likewise.
16508         * misc/syslog.c: Likewise.
16509         * stdio-common/xbug.c: Likewise.
16510         * string/memchr.c: Likewise.
16511         * string/memcmp.c: Likewise.
16512         * string/memrchr.c: Likewise.
16513         * string/rawmemchr.c: Likewise.
16514         * sysdeps/posix/getcwd.c: Likewise.
16515         * time/strftime_l.c: Likewise.
16517 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
16519         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
16520         * config.make.in (config-cflags-sse2avx): Define.
16521         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
16522         Fix typo.
16524 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
16526         * scripts/config.guess: Update from upstream config git repository.
16527         * scripts/config.sub: Likewise.
16529 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
16531         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
16532         (EM_NUM): Update.
16533         (R_TILEPRO_*, R_TILEGX_*): New macros.
16535         * scripts/firstversions.awk: Fix bug in version range handling.
16537         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
16539         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
16541         * include/sys/epoll.h: New file.
16542         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
16543         libc_hidden_def.
16545 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
16547         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
16548         Avoid unnecessary __WORDSIZE == 64 test.
16549         (fmaxf): Use VEX format if possible.
16550         (fmax): Likewise.
16551         (fminf): Likewise.
16552         (fmin): Likewise.
16554         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
16555         * math/math_private.h: Remove libc_fegetround* and
16556         libc_fesetround*.
16557         * sysdeps/i386/configure.in: Check for -msse2avx.
16558         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
16559         also if SSE2AVX is defined.
16560         Remove libc_fegetround* and libc_fesetround*.
16561         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
16562         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
16563         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
16564         of HAS_YMM_USABLE.
16565         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16566         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16567         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16568         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16569         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16571         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
16573 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16575         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
16576         size is not set.
16577         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
16579 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
16581         [BZ #13618]
16582         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
16583         relocation.
16584         * Makeconfig (libm): Define.
16585         * elf/Makefile: Add rules to build and run tst-relsort1.
16586         * elf/tst-relsort1.c: New file.
16587         * elf/tst-relsort1mod1.c: New file.
16588         * elf/tst-relsort1mod2.c: New file.
16590 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
16592         * math/s_ldexp.c: Remove __STDC__ conditionals.
16593         * math/s_ldexpf.c: Likewise.
16594         * math/s_ldexpl.c: Likewise.
16595         * math/s_nextafter.c: Likewise.
16596         * math/s_nexttowardf.c: Likewise.
16597         * math/s_significand.c: Likewise.
16598         * math/s_significandf.c: Likewise.
16599         * math/s_significandl.c: Likewise.
16600         * math/w_jnl.c: Likewise.
16601         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
16602         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
16603         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
16604         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
16605         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
16606         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16607         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
16608         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
16609         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16610         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
16611         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
16612         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16613         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
16614         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
16615         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16616         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
16617         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16618         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16619         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16620         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
16621         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
16622         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16623         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16624         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16625         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16626         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16627         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16628         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16629         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
16630         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16631         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16632         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
16633         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16634         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
16635         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
16636         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16637         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
16638         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
16639         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
16640         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
16641         * sysdeps/ieee754/k_standard.c: Likewise.
16642         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16643         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16644         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
16645         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
16646         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
16647         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
16648         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16649         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
16650         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
16651         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
16652         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
16653         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
16654         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
16655         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
16656         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
16657         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
16658         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
16659         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16660         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16661         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
16662         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16663         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16664         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
16665         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
16666         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16667         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
16668         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
16669         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16670         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16671         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
16672         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
16673         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
16674         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
16675         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
16676         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
16677         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
16678         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
16679         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
16680         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
16681         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
16682         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
16683         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
16684         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
16685         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
16686         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
16687         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
16688         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
16689         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16690         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
16691         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
16692         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
16693         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
16694         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16695         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
16696         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
16697         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
16698         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
16699         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
16700         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
16701         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
16702         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
16703         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
16704         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
16705         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16706         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
16707         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
16708         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
16709         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
16710         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
16711         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
16712         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
16713         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
16714         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
16715         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
16716         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
16717         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16718         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
16719         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
16720         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
16721         * sysdeps/ieee754/s_matherr.c: Likewise.
16722         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
16723         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
16724         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16725         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16727 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
16729         * crypt/md5.h: Remove __STDC__ conditionals.
16730         * libio/libioP.h: Likewise.
16731         * locale/programs/config.h: Likewise.
16732         * sysdeps/generic/sysdep.h: Likewise.
16733         * sysdeps/i386/asm-syntax.h: Likewise.
16734         * sysdeps/s390/asm-syntax.h: Likewise.
16735         * sysdeps/unix/sysdep.h: Likewise.
16736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
16737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16739 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
16741         * libio/libio.h: Remove __STDC__ conditionals.
16742         * malloc/obstack.h: Likewise.
16743         * math/complex.h: Likewise.
16744         * math/math.h: Likewise.
16745         * sysdeps/generic/_G_config.h: Likewise.
16746         * sysdeps/gnu/_G_config.h: Likewise.
16747         * sysdeps/mach/hurd/_G_config.h: Likewise.
16748         * sysdeps/powerpc/bits/mathdef.h: Likewise.
16749         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
16750         * sysdeps/sparc/bits/mathdef.h: Likewise.
16752 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
16754         [BZ #13583]
16755         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
16756         Clean up HAS_* macros.
16757         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
16758         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
16759         possible.
16760         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
16761         HAS_AVX.
16762         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16763         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16764         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16765         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16766         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16768 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
16770         * elf/tst-unique3.cc (gets): Remove declaration.
16771         * elf/tst-unique3lib.cc (gets): Likewise.
16772         * elf/tst-unique3lib2.cc (gets): Likewise.
16773         * elf/tst-unique4.cc (gets): Likewise.
16775 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
16777         * include/stdio.h: Add C++ protection.  Add gets declarations and
16778         definitions.
16779         * debug/tst-chk1.c: Don't declare gets here.
16780         * stdio-common/tst-gets.c: Likewise.
16782 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
16784         * posix/glob: Remove directory.
16786 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
16788         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
16790 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
16792         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
16793         of the non-standard EPFNOSUPPORT.
16795 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16797         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
16798         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
16799         ANYWHERE set to 1 only on KERN_NO_SPACE error.
16801 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
16803         * wcsmbs/uchar.h: Test __STDC_VERSION__.
16805 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
16807         * nscd/aicache.c (addhstaiX): Do not cache negative results of
16808         transient errors.
16809         * nscd/grpcache.c (cache_addgr): Likewise.
16810         * nscd/hstcache.c (cache_addhst): Likewise.
16811         * nscd/initgrcache.c (addinitgroupsX): Likewise.
16812         * nscd/pwdcache.c (cache_addpw): Likewise.
16813         * nscd/servicescache.c (cache_addserv): Likewise.
16815 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
16817         * malloc/malloc.c: Various cleanups.
16818         * malloc/hooks.c: Likewise.
16820         * stdlib/Makefile (tests): Add bug-fmtmsg1.
16821         * stdlib/bug-fmtmsg1.c: New file.
16823         * stdlib/fmtmsg.c (init): Add missing unlock.
16824         Patch by Peng Haitao <penght@cn.fujitsu.com>.
16826 2012-01-12  Marek Polacek  <polacek@redhat.com>
16828         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
16829         and _GNU_SOURCE.
16831 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
16833         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
16834         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
16835         macro to ensure uniqueness of label name.
16836         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
16837         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
16839 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
16841         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
16843         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
16844         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
16845         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
16846         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
16848 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
16850         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
16852         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
16853         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
16854         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
16856         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
16858         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
16859         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
16860         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
16861         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
16863         * math/bits/math-finite.h: Add ldexp support.
16865 2012-01-10  Marek Polacek  <polacek@redhat.com>
16867         * locale/programs/localedef.h (show_archive_content): Add noreturn
16868         attribute.
16870 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
16872         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
16874 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
16876         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
16878         * io/Makefile (headers): Add bits/poll2.h.
16880 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
16882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
16883         typo #include statement.
16885 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
16887         * include/sys/cdefs.h: Define __attribute_alloc_size.
16888         * catgets/gencat.c: Add alloc_size attribute and apply consistently
16889         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
16890         * elf/pldd.c: Likewise.
16891         * iconv/iconv_charmap.c: Likewise.
16892         * iconv/iconvconfig.c: Likewise.
16893         * iconv/strtab.c: Likewise.
16894         * locale/programs/locale.c: Likewise.
16895         * locale/programs/localedef.h: Likewise.
16896         * locale/programs/simple-hash.c: Likewise.
16897         * nscd/nscd.h: Likewise.
16898         * nss/makedb.c: Likewise.
16899         * sysdeps/generic/ldconfig.h: Likewise.
16900         * locale/programs/localedef.c: Remove xmalloc prototype.
16901         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
16903 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
16905         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
16906         appropriate.
16908 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
16910         * math/Makefile (tests): Add tst-CMPLX.
16911         * math/tst-CMPLX.c: New file.
16913         * math/complex.h (CMPLXL): Fix typo.
16915         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
16916         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
16917         GLIBC_2.16.
16918         * debug/tst-chk1.c: Add poll and ppoll tests.
16919         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
16920         * include/sys/poll.h: Add hidden proto for ppoll.
16921         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
16922         * sysdeps/mach/hurd/ppoll.c: Likewise.
16923         * io/ppoll.c: Likewise.
16924         * debug/poll_chk.c: New file.
16925         * debug/ppoll_chk.c: New file.
16926         * include/bits/poll2.h: New file.
16927         * io/bits/poll2.h: New file.
16929         [BZ #1350]
16930         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
16932         * configure.in: static is always set to yes.  Remove.
16933         * config.make.in: Don't set build-static.
16934         * Makeconfig: Remove use of build-static.
16935         * dlfcn/Makefile: Likewise.
16936         * elf/Makefile: Likewise.
16937         * math/Makefile: Likewise.
16938         * misc/Makefile: Likewise.
16939         * nptl/Makefile: Likewise.
16940         * sysdeps/mach/hurd/Makefile: Likewise.
16942         * configure.in: PWD_P is not used anymore.
16943         * config.make.in: Remove PWD_P entry.
16945         * configure.in: Remove last remnants of RANLIB.
16946         No need to check for signed size_t anymore.
16947         Don't set libc_commonpagesize and libc_relro_required here for Alpha
16948         and IA-64.
16949         Remove __builtin_expect test because we require at least gcc 3.4.
16950         * aclocal.m4: Likewise.
16952         * wcsmbs/mbrtoc16.c: Implement using towc function.
16953         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
16954         * wcsmbs/wcsmbsload.c: Likewise.
16955         * iconv/gconv_simple.c: Likewise.
16956         * iconv/gconv_int.h: Likewise.
16957         * iconv/gconv_builtin.h: Likewise.
16958         * iconv/iconv_prog.c: Remove CHAR16 handling.
16960         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
16962         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
16964         * configure.in: Remove --with-elf and --enable-bounded options.
16965         Dont set base_machine for ia64.  More non-ELF conditions removed.
16966         Remove testing and setting of leading underscore information.
16967         * config.make.in (build-bounded): Set to no.
16968         * config.h.in: Remove NO_UNDERSCORES entry.
16969         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
16970         them.
16971         * csu/start.c: Remove !NO_UNDERSCORE code.
16972         * locale/localeinfo.h: Likewise.
16973         * sysdeps/generic/machine-gmon.h: Likewise.
16974         * sysdeps/generic/sysdep.h: Likewise.
16975         * sysdeps/i386/sysdep.h: Likewise.
16976         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
16977         * sysdeps/mach/sysdep.h: Likewise.
16978         * sysdeps/s390/s390-32/sysdep.h: Likewise.
16979         * sysdeps/s390/s390-64/sysdep.h: Likewise.
16980         * sysdeps/sh/sysdep.h: Likewise.
16981         * sysdeps/sparc/sparc32/alloca.S: Likewise.
16982         * sysdeps/unix/i386/sysdep.S: Likewise.
16983         * sysdeps/unix/sparc/start.c: Likewise.
16984         * sysdeps/unix/sparc/sysdep.S: Likewise.
16985         * sysdeps/unix/sparc/sysdep.h: Likewise.
16986         * sysdeps/unix/start.c: Likewise.
16987         * sysdeps/unix/x86_64/sysdep.S: Likewise.
16988         * sysdeps/x86_64/sysdep.h: Likewise.
16990 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
16992         [BZ #13553]
16993         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
16994         for non-gcc.
16995         * argp/argp-fmtstream.h: Use const instead __const.
16996         * argp/argp.h: Likewise.
16997         * assert/assert.h: Likewise.
16998         * bits/fenv.h: Likewise.
16999         * bits/sched.h: Likewise.
17000         * bits/sigset.h: Likewise.
17001         * bits/sigthread.h: Likewise.
17002         * catgets/nl_types.h: Likewise.
17003         * conform/data/pthread.h-data: Likewise.
17004         * crypt/crypt-private.h: Likewise.
17005         * crypt/crypt.h: Likewise.
17006         * crypt/crypt_util.c: Likewise.
17007         * ctype/ctype.h: Likewise.
17008         * debug/execinfo.h: Likewise.
17009         * debug/mbsnrtowcs_chk.c: Likewise.
17010         * debug/mbsrtowcs_chk.c: Likewise.
17011         * debug/wcsnrtombs_chk.c: Likewise.
17012         * debug/wcsrtombs_chk.c: Likewise.
17013         * debug/wcstombs_chk.c: Likewise.
17014         * dirent/dirent.h: Likewise.
17015         * dlfcn/dlfcn.h: Likewise.
17016         * elf/neededtest4.c: Likewise.
17017         * grp/grp.h: Likewise.
17018         * gshadow/gshadow.h: Likewise.
17019         * iconv/gconv.h: Likewise.
17020         * iconv/gconv_int.h: Likewise.
17021         * iconv/gconv_simple.c: Likewise.
17022         * iconv/iconv.h: Likewise.
17023         * iconv/loop.c: Likewise.
17024         * iconv/skeleton.c: Likewise.
17025         * include/aio.h: Likewise.
17026         * include/aliases.h: Likewise.
17027         * include/argz.h: Likewise.
17028         * include/arpa/inet.h: Likewise.
17029         * include/assert.h: Likewise.
17030         * include/dirent.h: Likewise.
17031         * include/dlfcn.h: Likewise.
17032         * include/execinfo.h: Likewise.
17033         * include/fcntl.h: Likewise.
17034         * include/fenv.h: Likewise.
17035         * include/glob.h: Likewise.
17036         * include/grp.h: Likewise.
17037         * include/libintl.h: Likewise.
17038         * include/mntent.h: Likewise.
17039         * include/netdb.h: Likewise.
17040         * include/pwd.h: Likewise.
17041         * include/rpc/netdb.h: Likewise.
17042         * include/sched.h: Likewise.
17043         * include/search.h: Likewise.
17044         * include/shadow.h: Likewise.
17045         * include/signal.h: Likewise.
17046         * include/stdio.h: Likewise.
17047         * include/stdlib.h: Likewise.
17048         * include/string.h: Likewise.
17049         * include/sys/socket.h: Likewise.
17050         * include/sys/stat.h: Likewise.
17051         * include/sys/statfs.h: Likewise.
17052         * include/sys/statvfs.h: Likewise.
17053         * include/sys/syslog.h: Likewise.
17054         * include/sys/time.h: Likewise.
17055         * include/sys/uio.h: Likewise.
17056         * include/time.h: Likewise.
17057         * include/unistd.h: Likewise.
17058         * include/utmp.h: Likewise.
17059         * include/wchar.h: Likewise.
17060         * include/wctype.h: Likewise.
17061         * inet/aliases.h: Likewise.
17062         * inet/arpa/inet.h: Likewise.
17063         * inet/netinet/ether.h: Likewise.
17064         * inet/netinet/in.h: Likewise.
17065         * intl/libintl.h: Likewise.
17066         * io/bits/fcntl2.h: Likewise.
17067         * io/fcntl.h: Likewise.
17068         * io/ftw.h: Likewise.
17069         * io/sys/poll.h: Likewise.
17070         * io/sys/stat.h: Likewise.
17071         * io/sys/statfs.h: Likewise.
17072         * io/sys/statvfs.h: Likewise.
17073         * io/utime.h: Likewise.
17074         * libio/bits/stdio.h: Likewise.
17075         * libio/bits/stdio2.h: Likewise.
17076         * libio/libio.h: Likewise.
17077         * libio/libioP.h: Likewise.
17078         * libio/stdio.h: Likewise.
17079         * locale/lc-ctype.c: Likewise.
17080         * locale/locale.h: Likewise.
17081         * login/utmp.h: Likewise.
17082         * malloc/arena.c: Likewise.
17083         * malloc/malloc.c: Likewise.
17084         * malloc/malloc.h: Likewise.
17085         * malloc/mcheck.c: Likewise.
17086         * malloc/mtrace.c: Likewise.
17087         * math/bits/mathcalls.h: Likewise.
17088         * math/fenv.h: Likewise.
17089         * math/math_private.h: Likewise.
17090         * misc/bits/error.h: Likewise.
17091         * misc/bits/syslog.h: Likewise.
17092         * misc/err.h: Likewise.
17093         * misc/error.h: Likewise.
17094         * misc/fstab.h: Likewise.
17095         * misc/mntent.h: Likewise.
17096         * misc/regexp.h: Likewise.
17097         * misc/search.h: Likewise.
17098         * misc/sgtty.h: Likewise.
17099         * misc/sys/mman.h: Likewise.
17100         * misc/sys/syslog.h: Likewise.
17101         * misc/sys/uio.h: Likewise.
17102         * misc/sys/xattr.h: Likewise.
17103         * misc/ttyent.h: Likewise.
17104         * nis/rpcsvc/ypclnt.h: Likewise.
17105         * nss/nss.h: Likewise.
17106         * posix/bits/unistd.h: Likewise.
17107         * posix/fnmatch.h: Likewise.
17108         * posix/glob.h: Likewise.
17109         * posix/sched.h: Likewise.
17110         * posix/spawn.h: Likewise.
17111         * posix/sys/wait.h: Likewise.
17112         * posix/unistd.h: Likewise.
17113         * posix/wordexp.h: Likewise.
17114         * pwd/pwd.h: Likewise.
17115         * resolv/netdb.h: Likewise.
17116         * resource/sys/resource.h: Likewise.
17117         * rt/aio.h: Likewise.
17118         * rt/bits/mqueue2.h: Likewise.
17119         * rt/mqueue.h: Likewise.
17120         * shadow/shadow.h: Likewise.
17121         * signal/signal.h: Likewise.
17122         * socket/send.c: Likewise.
17123         * socket/sendto.c: Likewise.
17124         * socket/sys/socket.h: Likewise.
17125         * stdio-common/printf.h: Likewise.
17126         * stdlib/bits/stdlib.h: Likewise.
17127         * stdlib/fmtmsg.h: Likewise.
17128         * stdlib/monetary.h: Likewise.
17129         * stdlib/stdlib.h: Likewise.
17130         * stdlib/ucontext.h: Likewise.
17131         * streams/stropts.h: Likewise.
17132         * string/argz.h: Likewise.
17133         * string/bits/string2.h: Likewise.
17134         * string/string.h: Likewise.
17135         * string/strings.h: Likewise.
17136         * sunrpc/rpc/auth.h: Likewise.
17137         * sunrpc/rpc/auth_des.h: Likewise.
17138         * sunrpc/rpc/clnt.h: Likewise.
17139         * sunrpc/rpc/netdb.h: Likewise.
17140         * sunrpc/rpc/pmap_clnt.h: Likewise.
17141         * sunrpc/rpc/xdr.h: Likewise.
17142         * sysdeps/generic/inttypes.h: Likewise.
17143         * sysdeps/generic/net/if.h: Likewise.
17144         * sysdeps/generic/sys/swap.h: Likewise.
17145         * sysdeps/gnu/net/if.h: Likewise.
17146         * sysdeps/gnu/utmpx.h: Likewise.
17147         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
17148         * sysdeps/i386/i486/bits/string.h: Likewise.
17149         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
17150         * sysdeps/s390/bits/string.h: Likewise.
17151         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
17152         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
17153         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
17154         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
17155         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
17156         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
17157         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
17158         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
17159         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
17160         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
17161         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
17162         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
17163         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
17164         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
17165         * sysdeps/unix/sysv/linux/readv.c: Likewise.
17166         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
17167         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
17168         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17169         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
17170         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
17171         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
17172         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
17173         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
17174         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
17175         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
17176         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
17177         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
17178         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
17179         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
17180         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
17181         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
17182         * sysvipc/sys/ipc.h: Likewise.
17183         * sysvipc/sys/msg.h: Likewise.
17184         * sysvipc/sys/sem.h: Likewise.
17185         * sysvipc/sys/shm.h: Likewise.
17186         * termios/termios.h: Likewise.
17187         * time/sys/time.h: Likewise.
17188         * time/time.h: Likewise.
17189         * wcsmbs/bits/wchar2.h: Likewise.
17190         * wcsmbs/uchar.h: Likewise.
17191         * wcsmbs/wchar.h: Likewise.
17192         * wctype/wctype.h: Likewise.
17194         [BZ #13551]
17195         * Makeconfig: Remove all but ELF support including AIX support.
17196         * Makerules: Likewise.
17197         * config.h.in: Likewise.
17198         * config.make.in: Likewise.
17199         * configure: Likewise.
17200         * configure.in: Likewise.
17201         * csu/Makefile: Likewise.
17202         * csu/version.c: Likewise.
17203         * debug/Makefile: Likewise.
17204         * dlfcn/Makefile: Likewise.
17205         * elf/Makefile: Likewise.
17206         * extra-lib.mk: Likewise.
17207         * iconv/Makefile: Likewise.
17208         * include/libc-symbols.h: Likewise.
17209         * include/shlib-compat.h: Likewise.
17210         * resolv/Makefile: Likewise.
17211         * resolv/res_libc.c: Likewise.
17212         * rt/Makefile: Likewise.
17213         * sysdeps/i386/asm-syntax.h: Likewise.
17214         * sysdeps/i386/sysdep.h: Likewise.
17215         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
17216         * sysdeps/mach/sysdep.h: Likewise.
17217         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
17218         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
17219         * sysdeps/s390/asm-syntax.h: Likewise.
17220         * sysdeps/s390/s390-32/sysdep.h: Likewise.
17221         * sysdeps/s390/s390-64/sysdep.h: Likewise.
17222         * sysdeps/sh/sysdep.h: Likewise.
17223         * sysdeps/unix/sparc/sysdep.h: Likewise.
17224         * sysdeps/wordsize-32/divdi3.c: Likewise.
17225         * sysdeps/x86_64/sysdep.h: Likewise.
17227         * argp/Versions: Remove _argp_unlock_xxx.
17229         [BZ #13559]
17230         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
17231         * abilist/libBrokenLocale.abilist: Likewise.
17232         * abilist/libanl.abilist: Likewise.
17233         * abilist/libc.abilist: Likewise.
17234         * abilist/libcrypt.abilist: Likewise.
17235         * abilist/libdl.abilist: Likewise.
17236         * abilist/libm.abilist: Likewise.
17237         * abilist/libnsl.abilist: Likewise.
17238         * abilist/libpthread.abilist: Likewise.
17239         * abilist/libresolv.abilist: Likewise.
17240         * abilist/librt.abilist: Likewise.
17241         * abilist/libthread_db.abilist: Likewise.
17242         * abilist/libutil.abilist: Likewise.
17243         * abilist/libnss_db.abilist: New file.
17245         * scripts/abilist.awk: Add support for indirect functions.
17247         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
17249         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
17251         * shlib-versions: Remove entries for ports architectures.
17253         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
17254         files in ports.
17255         * elf/stackguard-macros.h: Remove support for IA-64.
17256         * elf/tst-auditmod1.c: Likewise.
17257         * sysdeps/generic/ldsodefs.h: Likewise.
17259         * sysdeps/unix/sysv/linux/configure.in: Ports should define
17260         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
17261         configure files.
17263         [BZ #13552]
17264         * configure.in: Remove --enable-omitfp support.
17265         * FAQ.in: Adjust.
17266         * config.make.in: Likewise.
17267         * Makeconfig: Likewise.
17268         * manual/install.texi: Likewise.
17270         In case anyone cares, the IA-64 architecture could move to ports.
17271         * sysdeps/ia64/*: Removed.
17272         * sysdeps/unix/sysv/linux/ia64/*: Removed.
17273         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
17275         [BZ #13555]
17276         * configure.in: Remove entries for unsupported architectures.
17278         [BZ #13533]
17279         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
17280         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
17281         routines.
17282         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
17283         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
17284         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
17285         fall back to using wcrtomb.
17286         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
17287         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
17288         renaming.
17289         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
17290         * wcsmbs/tst-c16c32-1.c: New file.
17292         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
17293         local variable.
17295         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
17297         * elf/tst-unique3.cc: Add explicit declaration of gets.
17298         * elf/tst-unique3lib.cc: Likewise.
17299         * elf/tst-unique3lib2.cc: Likewise.
17300         * elf/tst-unique4.cc: Likewise.
17302         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
17304 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
17306         [BZ #13566]
17307         * assert/assert.h (static_assert): Don't define for C++.
17308         * libio/stdio.h (gets): Do declare for C++ <= C++11.
17309         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
17311 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
17313         * iconv/loop.c (single loop): Fix assertion in storing of
17314         remaining bytes.
17316         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
17318 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
17320         * posix/getconf.c: Update copyright year.
17321         * nss/getent.c: Likewise.
17322         * nss/makedb.c: Likewise.
17323         * iconv/iconvconfig.c: Likewise.
17324         * iconv/iconv_prog.c: Likewise.
17325         * elf/ldconfig.c: Likewise.
17326         * elf/pldd.c: Likewise.
17327         * elf/sotruss.ksh: Likewise.
17328         * catgets/gencat.c: Likewise.
17329         * csu/version.c: Likewise.
17330         * elf/ldd.bash.in: Likewise.
17331         * elf/sprof.c (print_version): Likewise.
17332         * locale/programs/locale.c: Likewise.
17333         * locale/programs/localedef.c: Likewise.
17334         * login/programs/pt_chown.c: Likewise.
17335         * nscd/nscd.c (print_version): Likewise.
17336         * debug/xtrace.sh: Likewise.
17337         * malloc/memusage.sh: Likewise.
17338         * malloc/mtrace.pl: Likewise.
17339         * debug/catchsegv.sh: Likewise.
17341 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
17343         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
17344         pure attribute.
17346 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
17348         [BZ #13533]
17349         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
17350         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
17351         transformations.
17352         * iconv/gconv_int.h: Likewise.
17353         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
17354         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
17355         from libc for GLIBC_2.16.
17356         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
17357         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
17358         * wcsmbs/uchar.h: Really define mbstate_t.
17359         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
17360         * wcsmbs/c16rtomb.c: New file.
17361         * wcsmbs/mbrtoc16.c: New file.
17362         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
17363         for C/POSIX locale.
17364         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
17365         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
17367         * wcsmbs/wchar.h: Add missing __restrict.
17369 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
17371         [BZ #13532]
17372         * time/Makefile (routines): Add timespec_get.
17373         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
17374         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
17375         timespec for ISO C11.
17376         * time/timespec_get.c: New file.
17377         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
17378         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
17380         [BZ #13531]
17381         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
17382         * stdlib/stdlib.h: Declare aligned_alloc.
17383         * Versions.def: Add GLIBC_2.16 for libc.
17384         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
17386         [BZ 13527]
17387         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
17388         ISO C11.
17390         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
17391         code.
17393         [BZ #13528]
17394         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
17396         [BZ #13529]
17397         * assert/assert.h (static_assert): Define.
17399         * version.h: Update for 2.16 development version.
17401         [BZ #13526]
17402         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
17403         _ISOC11_SOURCE.
17405         * version.h (RELEASE): Bump for 2.15 release.
17406         * include/features.h (__GLIBC_MINOR__): Bump to 15.
17408         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
17409         Patch by Marek Polacek <mpolacek@redhat.com>.
17411         * bits/byteswap.h: Protect long long constants with __extension__.
17412         * sysdeps/i386/bits/byteswap.h: Likewise.
17413         * sysdeps/ia64/bits/byteswap.h: Likewise.
17414         * sysdeps/s390/bits/byteswap.h: Likewise.
17415         * sysdeps/x86_64/bits/byteswap.h: Likewise.
17417 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17419         [BZ #13540]
17420         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
17421         destination buffer.
17422         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
17424 2011-12-23  Marek Polacek  <polacek@redhat.com>
17426         * elf/dl-addr.c (determine_info): Add inline keyword.
17427         * elf/tst-auditmod4b.c (check_avx): Likewise.
17428         * elf/tst-auditmod6b.c (check_avx): Likewise.
17429         * elf/tst-auditmod6c.c (check_avx): Likewise.
17430         * elf/tst-auditmod7b.c (check_avx): Likewise.
17432 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
17434         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
17435         !__SSE_MATH__.
17437 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17439         [BZ #13540]
17440         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
17441         processing for last bytes.
17443 2011-08-06  Bruno Haible  <bruno@clisp.org>
17445         [BZ #13061]
17446         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
17447         U+0385, not to U+1FEE.
17449         [BZ #13062]
17450         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
17451         entry for U+00A5 U+0301.
17453 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
17455         [BZ #13166]
17456         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
17457         buffer for the output is too small.
17459         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
17460         optimization.
17462         [BZ #13185]
17463         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
17464         SSE flags if possible.
17466 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17468         [BZ #13540]
17469         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
17470         processing for last bytes.
17472 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
17474         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
17475         (syscall-list-default-options, syscall-list-default-condition)
17476         (syscall-list-includes): Define.
17477         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
17478         list of ABIs and options and #if conditions for each ABI.  Do not
17479         handle common syscalls between ABIs specially.
17480         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
17481         Remove.
17482         (syscall-list-variants, syscall-list-32bit-options)
17483         (syscall-list-32bit-condition, syscall-list-64bit-options)
17484         (syscall-list-64bit-condition): Define.
17485         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
17486         (syscall-list-variants, syscall-list-32bit-options)
17487         (syscall-list-32bit-condition, syscall-list-64bit-options)
17488         (syscall-list-64bit-condition): Define.
17489         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
17490         Remove.
17491         (syscall-list-variants, syscall-list-32bit-options)
17492         (syscall-list-32bit-condition, syscall-list-64bit-options)
17493         (syscall-list-64bit-condition): Define.
17494         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
17495         Remove.
17496         (syscall-list-variants, syscall-list-32bit-options)
17497         (syscall-list-32bit-condition, syscall-list-64bit-options)
17498         (syscall-list-64bit-condition): Define.
17500 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
17502         * locale/iso-639.def: Add brx entry.
17504         [BZ #13328]
17505         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
17506         Proposed by Mariusz_Cukr <marcukr@op.pl>.
17508         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
17509         __feraiseexcept_renamed.
17511 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
17513         [BZ #13538]
17514         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
17515         EPOLLET with unsigned values.
17516         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
17517         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
17519         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
17520         to large cancellation.
17521         * math/s_cacoshf.c: Likewise.
17522         * math/s_cacoshl.c: Likewise.
17524 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
17526         [BZ #13305]
17527         [BZ #12786]
17528         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
17529         * math/s_cacoshf.c: Likewise.
17530         * math/s_cacoshl.c: Likewise.
17532 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
17534         [BZ #13439]
17535         * iconv/gconv.h: Define __GCONV_SWAP.
17536         * iconvdata/unicode.c: The swap bit must be stored in __flags.
17537         * iconvdata/utf-16.c: Likewise.
17538         * iconvdata/utf-32.c: Likewise.
17540 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
17542         [BZ #13524]
17543         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
17544         numerator after shifting it by one limb.
17546 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
17548         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
17549         under [__USE_EXTERN_INLINES].
17551 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
17553         [BZ #13446]
17554         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
17556 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17558         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
17559         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
17560         optimized code.
17561         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
17562         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
17563         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
17564         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
17565         for strncasecmp/strncasecmp_l compilation.
17566         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
17567         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
17569 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
17571         [BZ #13484]
17572         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
17573         of __asm__.
17575 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
17577         [BZ #13506]
17578         * time/tzfile.c (__tzfile_read): Check values from file header.
17580 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
17582         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
17583         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
17584         * powerpc/powerpc32/dl-start.S: Likewise.
17585         * powerpc/powerpc32/elf/start.S: Likewise.
17586         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
17587         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
17588         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
17589         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
17590         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
17591         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
17592         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
17593         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
17594         * powerpc/powerpc32/fpu/s_round.S: Likewise.
17595         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
17596         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
17597         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
17598         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
17599         * powerpc/powerpc32/memset.S: Likewise.
17600         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
17601         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
17602         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
17603         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
17604         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
17605         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
17606         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
17607         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
17608         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
17609         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
17610         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
17611         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
17612         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
17614 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17616         * math/libm-test.inc: Added more nearbyint tests.
17617         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
17618         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
17619         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
17620         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
17622 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
17624         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
17625         FD_CLOEXEC.
17627 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17629         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
17630         Add wcscpy-ssse3 wcscpy-c.
17631         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
17632         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
17633         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
17634         * sysdeps/x86_64/wcschr.S: New file.
17635         * sysdeps/x86_64/wcsrchr.S: New file.
17636         * string/test-strcmp.c: Remove checking of wcscmp function for
17637         wrong alignments.
17638         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
17639         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
17640         wcsrchr-sse2 wcsrchr-c.
17641         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
17642         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
17643         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
17644         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
17645         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
17646         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
17647         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
17648         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
17649         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
17650         * wcsmbc/wcschr.c (WCSCHR): New macro.
17652 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17654         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
17655         * wcsmbs/test-wcsrchr.c: New file.
17656         * string/test-strrchr.c: Add wcsrchr support.
17657         (WIDE): New macro.
17658         * wcsmbs/test-wcscpy.c: New file.
17659         * string/test-strcpy.c: Add wcscpy support.
17660         (WIDE): New macro.
17662 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
17664         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
17665         the inner loop.
17667 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
17669         [BZ #13472]
17670         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
17672 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
17674         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
17675         Minor optimizations.
17677         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
17678         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
17679         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
17681 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
17683         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
17684         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
17685         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
17686         for gcc to avoid warnings.
17687         * inet/Makefile (tests): Add tst-checks.
17688         * inet/tst-checks.c: New file.
17690         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
17691         warning.
17693         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
17694         __wmemcmp_sse2.
17696         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
17697         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
17699         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
17701 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
17703         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
17704         problem.
17706         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
17708 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
17710         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
17711         conditional on GCC version.
17712         (__arch_compare_and_exchange_val_8_acq)
17713         (__arch_compare_and_exchange_val_16_acq)
17714         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
17715         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
17716         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
17718 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
17720         * sysdeps/sh/backtrace.c: New file.
17722 2011-12-02  Andreas Schwab  <schwab@redhat.com>
17724         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
17725         parenthesis.
17727 2011-12-01  Andreas Schwab  <schwab@redhat.com>
17729         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
17730         falling back to utime.
17732 2011-11-30  Andreas Schwab  <schwab@redhat.com>
17734         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
17735         expectations for float.
17737 2011-11-29  Andreas Schwab  <schwab@redhat.com>
17739         * locale/weight.h (findidx): Add parameter len.
17740         * locale/weightwc.h (findidx): Likewise.
17741         * posix/fnmatch_loop.c (FCT): Adjust caller.
17742         * posix/regcomp.c (build_equiv_class): Likewise.
17743         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
17744         * posix/regexec.c (check_node_accept_bytes): Likewise.
17745         * string/strcoll_l.c (STRCOLL): Likewise.
17746         * string/strxfrm_l.c (STRXFRM): Likewise.
17748 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
17750         * Makefile.in: Remove CVSOPT handling.
17751         * configure.in: Remove use of AC_REVISION.
17752         * iconvdata/Makefile (distribute): No need to filter out CVS.
17753         * scripts/list-sources.sh: Remove CVS, subversion and monotone
17754         handling.
17756 2011-11-16  Andreas Schwab  <schwab@redhat.com>
17758         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
17759         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
17760         [USE_AS_STRNCASECMP_L]: Likewise.
17761         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
17762         NO_TLS_DIRECT_SEG_REFS.
17763         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
17764         Fix argument offsets for non-PIC.
17765         [USE_AS_STRNCASECMP_L]: Likewise.
17766         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
17767         NO_TLS_DIRECT_SEG_REFS.
17769 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
17771         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
17772         O_CLOEXEC.
17773         * locale/loadlocale.c (_nl_load_locale): Likewise.
17775 2011-11-15  Andreas Schwab  <schwab@redhat.com>
17777         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
17778         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
17779         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
17780         (SYSCALL_GETTIME): Set errno on error.
17782         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
17783         count references to noai6ai_cached.
17785 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
17787         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
17789         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
17790         FD_CLOEXEC for /proc/self/maps.
17792         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
17793         FD_CLOEXEC for /proc/meminfo.
17795         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
17796         gai.conf.
17798         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
17799         FD_CLOEXEC for given file.
17801         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
17803         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
17804         FD_CLOEXEC for /etc/hosts.
17805         (_gethtent): Likewise.
17807         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
17809         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
17810         cancellation and set FD_CLOEXEC for /etc/netgroup.
17812         * nss/nss_files/files-key.c (search): Don't allow cancellation when
17813         reading /etc/publickey.
17815         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
17816         allow cancellation when reading /etc/group.
17818         * nss/nss_files/files-alias.c (internal_setent): Don't allow
17819         cancellation.
17820         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
17822         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
17823         when using data file.
17825         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
17827         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
17828         (write_nis_obj): Use "c" and "e" in fopen.
17830         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
17832         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
17834         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
17836         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
17838         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
17839         locale.alias.
17841         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
17843         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
17845         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
17847         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
17848         file parsing and set FD_CLOEXEC.
17850 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
17852         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
17854 2011-11-14  Andreas Schwab  <schwab@redhat.com>
17856         * malloc/arena.c (arena_get2): Don't call reused_arena when
17857         _int_new_arena failed.
17859 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
17861         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
17862         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
17863         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
17864         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17865         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17866         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
17867         to compile strcasecmp and strncasecmp.
17868         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
17869         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
17871         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
17873 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
17875         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
17876         locale-defines.sym to gen-as-const-headers.
17877         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
17878         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
17879         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
17880         to compile strcasecmp and strncasecmp.
17881         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
17882         strcasecmp_l and strncasecmp_l.
17883         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
17884         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
17885         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
17886         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
17887         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
17888         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
17889         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
17890         * sysdeps/i386/i686/multiarch/strncase.S: New file.
17891         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
17892         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
17893         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
17895 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
17897         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
17898         result of SYSDEP_GETTIME_CPU to retval.
17899         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
17900         parameter list to macro.  Remove trailing semicolon.  Adjust users.
17902         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
17903         variable.
17905         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
17906         mantissa words.
17907         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
17909         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
17910         from unused variable.
17912         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
17913         DWARF definitions.
17914         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
17915         for assembling.
17917         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
17918         over namespaces.
17920         * sunrpc/rpc_prot.c (rejected): Fix case value.
17922         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
17923         unsigned long long int to avoid warnings in shift.
17925         * posix/regex_internal.c (re_string_reconstruct): Actually use result
17926         of use of trans.
17927         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
17928         variable tmp.
17930         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
17931         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
17932         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
17934         * nis/nis_table.c (nis_list): Use variable of correct type for
17935         result of __follow_path call.
17937 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17939         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
17940         of math functions ceil, trunc, floor, round, and sqrt, when
17941         avaliable on the platform.
17942         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
17943         name clash.
17944         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17945         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
17946         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
17948 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
17950         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
17951         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
17953 2011-11-11  Roland McGrath  <roland@hack.frob.com>
17955         * include/unistd.h: Fix __readlink return type.
17956         Reported by Chris Metcalf <cmetcalf@tilera.com>.
17958 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
17960         * stdlib/ucontext.h: Undo last change for makecontext.
17962 2011-11-11  Andreas Schwab  <schwab@redhat.com>
17964         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
17966         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
17967         * setjmp/setjmp.h: Mark functions as non-leaf.
17968         * setjmp/bits/setjmp2.h: Likewise.
17969         * stdlib/ucontext.h: Likewise.
17971 2011-11-10  Andreas Schwab  <schwab@redhat.com>
17973         * malloc/arena.c (_int_new_arena): Don't increment narenas.
17974         (reused_arena): Don't check arena limit.
17975         (arena_get2): Atomically check arena limit.
17977 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
17979         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
17980         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
17982         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
17983         instructions.
17985 2011-11-07  Andreas Schwab  <schwab@redhat.com>
17987         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
17988         handler when locking.
17990         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
17991         Fix size of allocated buffer.
17993 2011-11-04  Andreas Schwab  <schwab@redhat.com>
17995         [BZ #10103]
17996         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
17997         declarations for long double functions.
17998         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
18000         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
18002 2011-11-03  Andreas Schwab  <schwab@redhat.com>
18004         * nscd/nscd.c (main): Don't start AVC thread until credentials are
18005         installed.
18007         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
18008         is disabled.
18010 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18012         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
18014 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
18016         * include/alloca.h (stackinfo_alloca_round): Define.
18017         (extend_alloca): Use it.
18018         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
18019         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
18020         here.
18022         * scripts/check-local-headers.sh: Ignore libaudit.h.
18024         * nscd/Makefile (extra-objs): Make recursively expanded.
18026 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
18028         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
18029         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
18031         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
18032         * posix/tst-rfc3484-2.c: Likewise.
18033         * posix/tst-rfc3484-3.c: Likewise.
18035         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
18036         process_vm_writev.
18037         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
18038         process_vm_writev.
18039         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
18040         process_vm_writev from libc using GLIBC_2.15 version.
18042         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
18044 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
18046         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
18047         stack usage.
18049 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
18051         [BZ #13367]
18052         * nss/getent.c (initgroups_keys): Show error message in case no group
18053         names are given.
18055         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
18056         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
18057         __bump_nl_timestamp.
18058         * nscd/connections (nscd_init): When host database is served open
18059         netlink socket and request notification about configuration changes.
18060         (main_loop_poll): Track netlink file descriptor and bump timestamp
18061         in case data becomes available.
18062         (main_loop_epoll): Likewise.
18063         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
18064         (database_pers_head): Add extra_data fileds.
18065         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
18066         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
18067         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
18068         Adjust caller.
18069         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
18070         in6ai data, call __free_in6ai.
18071         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
18072         Add -DHAVE_NETLINK.
18073         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
18074         interface information.  Reuse previous data if netlink timestamp
18075         is not changed.
18076         (__bump_nl_timestamp): New function.
18077         (__free_in6ai): New function.
18079 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
18081         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
18082         close_not_cancel_no_status here.
18083         (__check_pf): Reorganize code a bit to not call close twice if OOM.
18085 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
18087         [BZ #13276]
18088         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
18089         return value.
18091         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
18092         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
18093         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
18095 2011-07-03  Andreas Jaeger  <aj@suse.de>
18097         [BZ #10709]
18098         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
18099         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
18100         * math/libm-test.inc (sin_test): Add test case.
18102 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
18104         [BZ #13337]
18105         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
18106         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
18108         * elf/chroot_canon.c (chroot_canon): Cleanups.
18110         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
18112         [BZ #13335]
18113         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
18114         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
18116         * string/test-strchr.c: Make usable for strchrnul testing.
18117         * string/test-strchrnul.c: New file.
18118         * string/Makefile (strop-tests): Add strchrnul.
18120         * po/it.po: Update from translation team.
18121         * po/es.po: Likewise.
18123 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
18125         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
18126         the three constants needed as parameters.  Drop the others.
18127         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
18128         __m128i_strloadu_tolower.
18129         Create and initialize variable zero and use it in all the places
18130         where _mm_setzero_si128 was used.
18132         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
18133         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
18134         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
18135         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
18136         anymore.
18137         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
18138         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
18139         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
18140         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
18141         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
18142         __mpranred, __mptan.
18143         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
18144         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
18145         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
18146         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
18147         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
18148         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
18149         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
18150         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
18151         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
18153 2011-10-28  Andreas Schwab  <schwab@redhat.com>
18155         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
18156         redefine if SHARED.
18157         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
18159         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
18160         wide char related routines to wcsmbs subdir.
18162 2011-10-27  Andreas Schwab  <schwab@redhat.com>
18164         [BZ #13344]
18165         * misc/sys/cdefs.h (__THROWNL): Define.
18166         * posix/unistd.h: Use __THREADNL instead of __THREAD
18167         for memory synchronization functions.
18169 2011-10-26  Roland McGrath  <roland@hack.frob.com>
18171         [BZ #13349]
18172         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
18173         doesn't exist.
18174         * manual/stdio.texi (Obstack Streams): Node removed.
18176 2011-10-26  Andreas Schwab  <schwab@redhat.com>
18178         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
18179         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18180         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18182         * math/math_private.h (math_force_eval): Allow non-addressable
18183         arguments.
18184         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
18186 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
18188         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
18189         file is not needed.
18191         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
18192         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
18193         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18194         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18195         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18196         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18197         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
18198         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
18199         Add AVX variants.
18200         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
18201         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
18202         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
18203         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
18204         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
18205         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
18206         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
18207         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
18208         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
18209         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
18210         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
18211         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
18212         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
18213         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
18214         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
18215         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
18216         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
18217         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
18218         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
18220         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
18221         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
18223         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
18224         place.  Use VEX encoding when compiling for AVX.
18226 2011-10-25  Andreas Schwab  <schwab@redhat.com>
18228         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
18229         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18231         * string/test-strchr.c (do_test): Don't generate NUL bytes.
18233 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
18235         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
18236         useless if() expression.
18237         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18238         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18239         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18240         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18241         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18242         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18243         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18244         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18245         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18246         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18247         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18248         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18249         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
18250         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18251         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
18252         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18253         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18254         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18255         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
18257         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
18259 2011-10-25  Andreas Schwab  <schwab@redhat.com>
18261         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
18262         condition.
18263         * elf/dl-fini.c (_dl_sort_fini): Likewise.
18265 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
18267         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
18268         .text section.  Avoid duplicate constants.
18269         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
18270         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18271         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18272         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18273         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18274         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18275         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18276         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18277         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
18278         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
18279         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
18280         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
18281         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
18282         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
18283         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
18284         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
18285         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
18286         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
18287         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18288         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18289         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18290         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18291         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18292         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
18293         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
18294         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
18295         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
18296         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
18297         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
18298         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
18299         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
18300         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
18301         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
18302         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
18303         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
18304         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
18305         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
18306         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
18307         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
18308         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
18309         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
18310         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
18311         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
18312         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
18313         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
18315 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
18317         * sysdeps/x86_64/dla.h: Move to ...
18318         * sysdeps/x86_64/fpu/dla.h: ...here.
18319         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
18320         situations.  Use __builtin_fma only for gcc 4.6 and up.
18322         * config.make.in: Add have-mfma4 entry.
18323         * configure.in: Substitute libc_cv_cc_fma4.
18324         * math/Makefile (dbl-only-routines): Add sincostab.
18325         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
18326         Use __sincostab not sincos.
18327         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
18328         name is a macro.
18329         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18330         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18331         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18332         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
18333         using __copysign.
18334         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
18335         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
18336         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
18337         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
18338         and __inv.
18339         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
18340         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
18341         __copysign.
18342         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
18343         define aliases when function name is a macro.
18344         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
18345         sysdeps/ieee754/dbl-64/sincos.tbl.
18346         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
18347         fma4-enabled routines.
18348         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
18349         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
18350         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
18351         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
18352         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
18353         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
18354         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
18355         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
18356         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
18357         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
18358         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
18359         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
18360         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
18361         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
18362         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
18363         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
18364         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
18365         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
18366         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
18367         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
18368         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
18369         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
18370         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
18371         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
18372         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
18373         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
18374         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
18375         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
18376         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
18377         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
18379         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
18380         rename.
18381         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18382         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18383         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18384         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18385         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18386         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18387         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18388         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18390 2011-10-24  Andreas Schwab  <schwab@redhat.com>
18392         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
18394 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
18396         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
18398         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
18399         prediction.
18400         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
18402         * string/strnlen.c: Don't define STRNLEN, reverse logic.
18403         Remove unused variable magic_bits.
18404         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
18406         * string/strnlen.c: Define and use STRNLEN macro.
18407         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
18408         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
18409         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
18410         * wcsmbs/wcslen.c: Define and use WCSLEN.
18411         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
18412         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
18413         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
18414         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
18415         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
18416         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
18417         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
18419 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18421         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18422         strnlen-sse2-no-bsf.
18423         Rename strlen-no-bsf to strlen-sse2-no-bsf.
18424         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
18425         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
18426         Add strnlen support.
18427         (USE_AS_STRNLEN): New macro.
18428         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
18429         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
18430         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
18431         * sysdeps/x86_64/wcslen.S: New file.
18433 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
18435         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
18436         XMM-moves are used for copying on small sizes.
18438 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18440         * wcsmbs/Makefile (strop-tests): Add wcschr.
18441         * wcsmbs/test-wcschr.c: New file.
18442         * string/test-strchr.c: Update.
18443         Add wcschr support.
18444         (WIDE): New macro.
18446 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18448         * wcsmbs/Makefile (strop-tests): Add wcslen.
18449         * wcsmbs/test-wcslen.c: New file.
18450         * string/test-strlen.c: Update.
18451         Add wcslen support.
18452         (WIDE): New macro.
18454 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
18456         * po/it.po: Update from translation team.
18458 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18460         * sysdeps/x86_64/wcscmp.S: Update.
18461         Fix wrong comparison semantics.
18462         wcscmp shall use signed comparison not unsigned.
18463         Don't use substraction to avoid overflow bug.
18464         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
18465         * wcsmbc/wcscmp.c: Likewise.
18466         * string/test-strcmp.c: Likewise.
18467         Add new tests to check cases with negative values.
18469 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
18471         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
18472         * sysdeps/x86_64/dla.h: ...here.  New file.
18473         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
18474         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18475         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18476         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18477         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18478         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18479         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18480         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18481         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18483 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
18485         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
18486         __ynl_finite aliases.
18488 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
18490         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18492         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
18493         define DLA_FMA.
18494         [DLA_FMA] (EMULV): Use DLA_FMA.
18495         [DLA_FMA] (MUL12): Use EMULV.
18496         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
18497         that are not needed.
18498         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18499         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18500         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18501         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18502         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18503         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18504         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18506 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
18508         * math/s_nan.c: Undef __nan.
18509         * math/s_nanf.c: Undef __nanf.
18510         * math/s_nanl.c: Undef __nanl.
18511         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
18512         "math_private.h".
18514 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
18516         * math/s_catan.c: Add branch predictions.
18517         * math/s_catanf.c: Likewise.
18518         * math/s_catanh.c: Likewise.
18519         * math/s_catanhf.c: Likewise.
18520         * math/s_catanhl.c: Likewise.
18521         * math/s_catanl.c: Likewise.
18522         * math/s_cexp.c: Likewise.
18523         * math/s_cexpf.c: Likewise.
18524         * math/s_cexpl.c: Likewise.
18525         * math/s_clog.c: Likewise.
18526         * math/s_clog10.c: Likewise.
18527         * math/s_clog10f.c: Likewise.
18528         * math/s_clog10l.c: Likewise.
18529         * math/s_clogf.c: Likewise.
18530         * math/s_clogl.c: Likewise.
18531         * math/s_csqrt.c: Likewise.
18532         * math/s_csqrtf.c: Likewise.
18533         * math/s_csqrtl.c: Likewise.
18534         * math/s_ctanf.c: Likewise.
18535         * math/s_ctanh.c: Likewise.
18536         * math/s_ctanhf.c: Likewise.
18537         * math/s_ctanhl.c: Likewise.
18538         * math/s_ctanl.c: Likewise.
18540         * math/math_private.h: Define __nan, __nanf, __nanl.
18541         * math/s_cacosh.c: Include <math_private.h>.
18542         * math/s_cacoshl.c: Likewise.
18543         * math/s_casinh.c: Likewise.
18544         * math/s_casinhf.c: Likewise.
18545         * math/s_casinhl.c: Likewise.
18546         * math/s_ccos.c: Rely entire on ccosh.
18547         * math/s_ccosf.c: Rely entire on ccoshf.
18548         * math/s_ccosl.c: Rely entirely on ccoshl.
18549         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
18550         Remove tests for FE_INVALID.
18551         * math/s_ccoshf.c: Likewise.
18552         * math/s_ccoshl.c: Likewise.
18553         * math/s_csin.c: Likewise.
18554         * math/s_csinf.c: Likewise.
18555         * math/s_csinh.c Likewise.
18556         * math/s_csinhf.c: Likewise.
18557         * math/s_csinhl.c: Likewise.
18558         * math/s_csinl.c: Likewise.
18559         * math/s_ctan.c: Likewise.
18560         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
18561         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
18562         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
18564 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
18566         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
18567         compilation problems.
18569         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
18570         __builtin_expect.
18572 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
18574         * sysdeps/i386/configure.in: Test for -mfma4 option.
18575         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
18576         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
18577         COMMON_CPUID_INDEX_80000001.
18578         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
18579         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
18580         use it if FMA3 is not supported.
18581         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
18583         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
18584         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
18586 2011-10-20  Andreas Schwab  <schwab@redhat.com>
18588         [BZ #12892]
18589         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
18590         it would create a cycle with a link time dependency.
18592 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
18594         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
18595         instruction.
18596         * string/Makefile (strop-tests): Add rawmemchr.
18597         * string/test-rawmemchr.c: New file.
18599         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
18600         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
18601         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
18602         when compiling str{,n}casecmp and when AVX is available.  Hook up
18603         new optimized code in initializers.
18605 2011-10-19  Andreas Schwab  <schwab@redhat.com>
18607         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
18608         __feraiseexcept instead of feraiseexcept.
18610 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
18612         * math/math_private.h: Define defaults for libc_fetestexcept and
18613         libc_feupdateenv.
18614         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
18615         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
18616         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
18617         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
18618         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
18619         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
18620         libc_fetestexcept and libc_feupdateenv.
18622         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
18623         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
18624         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
18625         * sysdeps/x86_64/fpu/math_private.h: Define special version of
18626         libc_feholdexcept_setround.
18628         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
18629         Add s_nearbyint-c and s_nearbyintf-c.
18630         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
18631         nearbyintf inlines.
18632         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
18633         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
18634         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
18635         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
18637         * math/math_private.h: Define defaults for libc_fegetround,
18638         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
18639         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
18640         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
18641         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
18642         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
18643         standard functions.
18644         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18645         Remove comments and hacks for old compiler versions.
18646         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
18647         libc_fegetround, libc_fesetround, libc_feholdexcept, and
18648         libc_feholdexceptl.
18650 2011-10-18  Andreas Schwab  <schwab@redhat.com>
18652         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
18653         (__feraiseexcept_renamed): Add __NTH.
18654         (feraiseexcept): Add __NTH.  Rename local variables to fix
18655         namespace violations.
18657 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
18659         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
18661         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
18663         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
18664         recently added interfaces.
18665         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
18667         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
18668         about macro parameter expansion.
18670         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
18671         __NO_MATH_INLINES is defined.  Cleanups.
18673         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
18674         and __floorf is target has SSE4.1.
18675         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
18676         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
18677         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
18678         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
18680         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
18681         name.
18682         (floorf): Likewise.
18684         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
18686 2011-10-17  Andreas Schwab  <schwab@redhat.com>
18688         * misc/sys/cdefs.h: Fix last change.
18690         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
18691         database lookup.
18693 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
18695         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
18697         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
18698         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18699         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18700         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18701         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18702         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
18703         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18704         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18705         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
18706         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
18707         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
18708         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
18709         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
18710         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
18711         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
18712         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
18713         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
18714         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
18715         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
18716         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
18717         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
18718         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
18720         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
18721         ceil, ceilf, floor, floorf.
18723         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
18724         Perform IRELATIVE relocations last.
18726         * elf/do-rel.h: Add another parameter nrelative, replacing the
18727         local variable with the same name.  Change name of the function
18728         to end in Rel or Rela (uppercase).
18729         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
18730         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
18731         elf_dynamic_do_##reloc function.
18733 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
18735         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
18736         is sufficient, at least on modern CPUs.
18738         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
18740         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
18741         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
18743         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
18744         __expl_finite.
18745         * math/bits/math-finite.h: Add entries for exp.
18746         * math/e_expl.c: Add __*_finite alias.
18747         * sysdeps/i386/fpu/e_exp.S: Likewise.
18748         * sysdeps/i386/fpu/e_expf.S: Likewise.
18749         * sysdeps/i386/fpu/e_expl.c: Likewise.
18750         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18751         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
18752         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18753         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18754         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
18755         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
18756         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
18758         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
18759         is sufficient, at least on modern CPUs.
18761         * ctype/ctype-info.c (__ctype_init): Define.
18762         * include/ctype.h (__ctype_init): Declare.
18763         (__ctype_b_loc): The variable is always initialized.
18764         (__ctype_toupper_loc): Likewise.
18765         (__ctype_tolower_loc): Likewise.
18766         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
18767         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
18769 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
18771         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
18773         * configure.in: Also look in $cxxmachine/include for C++ system
18774         headers.
18776 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18778         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
18779         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
18780         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
18781         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
18782         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
18783         (USE_AS_WMEMCMP): New macro.
18784         Fixing indents.
18785         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
18786         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
18787         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
18788         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
18789         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18790         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
18791         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
18792         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
18793         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
18794         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
18795         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
18796         (USE_AS_WMEMCMP): New macro.
18797         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
18798         * sysdeps/string/test-memcmp.c: Update.
18799         Fix simple_wmemcmp.
18800         Add new tests.
18801         * wcsmbs/wmemcmp.c: Update.
18802         (WMEMCMP): New macro.
18803         Fix overflow bug.
18805 2011-10-12  Andreas Jaeger  <aj@suse.de>
18807         [BZ #13268]
18808         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
18810 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
18812         * libio/iofwide.c (do_length): Avoid warning.
18814         * ctype/ctype.h (__isctype_f): Add missing __THROW.
18816 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
18818         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
18820         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
18821         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
18822         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
18823         * sysdeps/i386/i686/fpu/e_log.S: New file.
18824         * sysdeps/i386/i686/fpu/e_logf.S: New file.
18825         * sysdeps/i386/i686/fpu/e_logl.S: New file.
18827         * ctype/ctype.h: Add support for inlined isXXX functions when
18828         compiling C++ code.
18830 2011-10-14  Andreas Schwab  <schwab@redhat.com>
18832         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18834         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
18836 2011-10-13  Roland McGrath  <roland@hack.frob.com>
18838         [BZ #13291]
18839         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
18841 2011-10-13  Andreas Schwab  <schwab@redhat.com>
18843         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
18844         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
18845         feraiseexcept.
18847         * sysdeps/x86_64/memrchr.S: Check for zero size.
18849         * string/stratcliff.c: Add memrchr tests.
18851 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18853         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18854         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
18855         rawmemchr-sse2 rawmemchr-sse2-bsf.
18856         * sysdeps/i386/i686/multiarch/memchr.S: New file.
18857         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
18858         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
18859         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
18860         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
18861         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
18862         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
18863         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
18864         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
18865         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
18866         * string/memrchr.c (MEMRCHR): New macro.
18868 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
18870         Add integration with gcc's -ffinite-math-only and optimize wrapper
18871         functions in libm.
18872         * Versions.def: Define GLIBC_2.15 version for libm.
18873         * math/Makefile (headers): Add bits/math-finite.h.
18874         * math/bits/math-finite.h: New file.
18875         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
18876         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
18877         * math/e_acoshl.c: Add __*_finite alias.
18878         * math/e_acosl.c: Likewise.
18879         * math/e_asinl.c: Likewise.
18880         * math/e_atan2l.c: Likewise.
18881         * math/e_atanhl.c: Likewise.
18882         * math/e_coshl.c: Likewise.
18883         * math/e_exp10.c: Likewise.
18884         * math/e_exp10f.c: Likewise.
18885         * math/e_exp10l.c: Likewise.
18886         * math/e_exp2l.c: Likewise.
18887         * math/e_fmodl.c: Likewise.
18888         * math/e_gammal_r.c: Likewise.
18889         * math/e_hypotl.c: Likewise.
18890         * math/e_j0l.c: Likewise.
18891         * math/e_j1l.c: Likewise.
18892         * math/e_jnl.c: Likewise.
18893         * math/e_lgammal_r.c: Likewise.
18894         * math/e_log10l.c: Likewise.
18895         * math/e_log2l.c: Likewise.
18896         * math/e_logl.c: Likewise.
18897         * math/e_powl.c: Likewise.
18898         * math/e_sinhl.c: Likewise.
18899         * math/e_sqrtl.c: Likewise.
18900         * math/e_scalb.c: Completely rewritten and optimized.
18901         * math/e_scalbf.c: Likewise.
18902         * math/e_scalbl.c: Likewise.
18903         * math/w_acos.c: Likewise.
18904         * math/w_acosf.c: Likewise.
18905         * math/w_acosl.c: Likewise.
18906         * math/w_acosh.c: Likewise.
18907         * math/w_acoshf.c: Likewise.
18908         * math/w_acoshl.c: Likewise.
18909         * math/w_asin.c: Likewise.
18910         * math/w_asinf.c: Likewise.
18911         * math/w_asinl.c: Likewise.
18912         * math/w_atan2.c: Likewise.
18913         * math/w_atan2f.c: Likewise.
18914         * math/w_atan2l.c: Likewise.
18915         * math/w_atanh.c: Likewise.
18916         * math/w_atanhf.c: Likewise.
18917         * math/w_atanhl.c: Likewise.
18918         * math/w_exp10.c: Likewise.
18919         * math/w_exp10f.c: Likewise.
18920         * math/w_exp10l.c: Likewise.
18921         * math/w_fmod.c: Likewise.
18922         * math/w_fmodf.c: Likewise.
18923         * math/w_fmodl.c: Likewise.
18924         * math/w_j0.c: Likewise.
18925         * math/w_j0f.c: Likewise.
18926         * math/w_j0l.c: Likewise.
18927         * math/w_j1.c: Likewise.
18928         * math/w_j1f.c: Likewise.
18929         * math/w_j1l.c: Likewise.
18930         * math/w_jn.c: Likewise.
18931         * math/w_jnf.c: Likewise.
18932         * math/w_log.c: Likewise.
18933         * math/w_logf.c: Likewise.
18934         * math/w_logl.c: Likewise.
18935         * math/w_log10.c: Likewise.
18936         * math/w_log10f.c: Likewise.
18937         * math/w_log10l.c: Likewise.
18938         * math/w_log2.c: Likewise.
18939         * math/w_log2f.c: Likewise.
18940         * math/w_log2l.c: Likewise.
18941         * math/w_pow.c: Likewise.
18942         * math/w_powf.c: Likewise.
18943         * math/w_powl.c: Likewise.
18944         * math/w_remainder.c: Likewise.
18945         * math/w_remainderf.c: Likewise.
18946         * math/w_remainderl.c: Likewise.
18947         * math/w_scalb.c: Likewise.
18948         * math/w_scalbf.c: Likewise.
18949         * math/w_scalbl.c: Likewise.
18950         * math/w_sqrt.c: Likewise.
18951         * math/w_sqrtf.c: Likewise.
18952         * math/w_sqrtl.c: Likewise.
18953         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
18954         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
18955         used.
18956         * math/math_private.h: Declare __kernel_standard_f.
18957         * math/w_cosh.c: Remove cruft and optimize a bit.
18958         * math/w_coshf.c: Likewise.
18959         * math/w_coshl.c: Likewise.
18960         * math/w_exp2.c: Likewise.
18961         * math/w_exp2f.c: Likewise.
18962         * math/w_exp2l.c: Likewise.
18963         * math/w_hypot.c: Likewise.
18964         * math/w_hypotf.c: Likewise.
18965         * math/w_hypotl.c: Likewise.
18966         * math/w_lgamma.c: Likewise.
18967         * math/w_lgamma_r.c: Likewise.
18968         * math/w_lgammaf.c: Likewise.
18969         * math/w_lgammaf_r.c: Likewise.
18970         * math/w_lgammal.c: Likewise.
18971         * math/w_lgammal_r.c: Likewise.
18972         * math/w_sinh.c: Likewise.
18973         * math/w_sinhf.c: Likewise.
18974         * math/w_sinhl.c: Likewise.
18975         * math/w_tgamma.c: Likewise.
18976         * math/w_tgammaf.c: Likewise.
18977         * math/w_tgammal.c: Likewise.
18978         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18979         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18980         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
18981         Minor optimizations.  Pretty printing.  Remove cruft.
18982         * sysdeps/i386/fpu/e_acosf.S: Likewise.
18983         * sysdeps/i386/fpu/e_acosh.S: Likewise.
18984         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18985         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18986         * sysdeps/i386/fpu/e_acosl.c: Likewise.
18987         * sysdeps/i386/fpu/e_asin.S: Likewise.
18988         * sysdeps/i386/fpu/e_asinf.S: Likewise.
18989         * sysdeps/i386/fpu/e_atan2.S: Likewise.
18990         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
18991         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
18992         * sysdeps/i386/fpu/e_atanh.S: Likewise.
18993         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18994         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18995         * sysdeps/i386/fpu/e_exp10.S: Likewise.
18996         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
18997         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
18998         * sysdeps/i386/fpu/e_exp2.S: Likewise.
18999         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
19000         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
19001         * sysdeps/i386/fpu/e_fmod.S: Likewise.
19002         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
19003         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
19004         * sysdeps/i386/fpu/e_hypot.S: Likewise.
19005         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
19006         * sysdeps/i386/fpu/e_log.S: Likewise.
19007         * sysdeps/i386/fpu/e_log10.S: Likewise.
19008         * sysdeps/i386/fpu/e_log10f.S: Likewise.
19009         * sysdeps/i386/fpu/e_log10l.S: Likewise.
19010         * sysdeps/i386/fpu/e_log2.S: Likewise.
19011         * sysdeps/i386/fpu/e_log2f.S: Likewise.
19012         * sysdeps/i386/fpu/e_log2l.S: Likewise.
19013         * sysdeps/i386/fpu/e_logf.S: Likewise.
19014         * sysdeps/i386/fpu/e_logl.S: Likewise.
19015         * sysdeps/i386/fpu/e_pow.S: Likewise.
19016         * sysdeps/i386/fpu/e_powf.S: Likewise.
19017         * sysdeps/i386/fpu/e_powl.S: Likewise.
19018         * sysdeps/i386/fpu/e_remainder.S: Likewise.
19019         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
19020         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
19021         * sysdeps/i386/fpu/e_scalb.S: Likewise.
19022         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19023         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19024         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
19025         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
19026         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
19027         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
19028         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19029         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19030         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
19031         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19032         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
19033         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
19034         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
19035         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19036         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19037         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
19038         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
19039         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19040         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
19041         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
19042         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19043         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19044         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
19045         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19046         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19047         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
19048         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
19049         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
19050         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
19051         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
19052         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
19053         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
19054         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
19055         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
19056         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
19057         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
19058         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
19059         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19060         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
19061         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
19062         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
19063         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
19064         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
19065         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
19066         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
19067         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
19068         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
19069         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
19070         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
19071         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
19072         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
19073         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
19074         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
19075         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
19076         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
19077         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
19078         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
19079         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
19080         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19081         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
19082         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
19083         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
19084         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
19085         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
19086         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
19087         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
19088         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
19089         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19090         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19091         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
19092         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
19093         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
19094         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
19095         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
19096         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
19097         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
19098         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
19099         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
19100         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
19101         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
19102         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19103         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
19104         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
19105         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
19106         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
19107         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
19108         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
19109         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
19110         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
19111         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
19112         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
19113         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19114         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
19115         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
19116         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
19117         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
19118         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19119         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19120         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
19121         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19122         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
19123         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
19124         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
19125         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
19126         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
19127         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
19128         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
19129         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
19130         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
19131         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19132         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19133         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19134         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19135         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
19136         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19137         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
19138         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
19139         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
19140         (__isnanf): Likewise.
19141         (__isinf_ns): Likewise.
19142         (__isinf_nsf): Likewise.
19143         (__finite): Likewise.
19144         (__finitef): Likewise.
19145         (__ieee754_sqrt): Define as macro.
19146         (__ieee754_sqrtf): Define as macro.
19147         (__ieee754_sqrtl): Define as macro.
19148         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
19149         inlined copy.
19150         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
19151         __FINITE_MATH_ONLY__ consistent.
19152         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
19154 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
19156         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
19157         of rawmemchr.
19159         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
19161 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
19163         * po/ja.po: Update from translation team.
19165 2011-10-08  Roland McGrath  <roland@hack.frob.com>
19167         * locale/programs/locarchive.c (prepare_address_space): New function.
19168         (create_archive, enlarge_archive, open_archive): Use it.
19170         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
19171         inside [SHARED], where it is used.
19173         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
19175         * nss/getent.c (netgroup_keys): Remove unused variable.
19176         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
19178 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
19180         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
19181         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
19182         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
19183         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
19184         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
19185         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
19186         * math/Makefile (libm-calls): Add s_isinf_ns.
19187         * math/divtc3.c: Use __isinf_nsl instead of isinf.
19188         * math/multc3.c: Likewise.
19189         * math/s_casin.c: Likewise.
19190         * math/s_casinf.c: Likewise.
19191         * math/s_casinl.c: Likewise.
19192         * math/s_ccos.c: Likewise.
19193         * math/s_ccosf.c: Likewise.
19194         * math/s_ccosl.c: Likewise.
19195         * math/s_ctan.c: Likewise.
19196         * math/s_ctanf.c: Likewise.
19197         * math/s_ctanh.c: Likewise.
19198         * math/s_ctanhf.c: Likewise.
19199         * math/s_ctanhl.c: Likewise.
19200         * math/s_ctanl.c: Likewise.
19201         * math/w_fmod.c: Likewise.
19202         * math/w_fmodf.c: Likewise.
19203         * math/w_fmodl.c: Likewise.
19204         * math/w_remainder.c: Likewise.
19205         * math/w_remainderf.c: Likewise.
19206         * math/w_remainderl.c: Likewise.
19207         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
19208         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
19209         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
19210         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
19211         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
19212         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
19213         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
19214         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
19216         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
19217         of the number.
19218         * stdio-common/printf_fphex.c: Likewise.
19219         * stdio-common/printf_size.c: Likewise.
19221         * math/e_exp10.c: Include math_private.h using <...> not "...".
19222         * math/e_exp10f.c: Likewise.
19223         * math/e_exp10l.c: Likewise.
19224         * math/e_exp2l.c: Likewise.
19225         * math/e_j0l.c: Likewise.
19226         * math/e_j1l.c: Likewise.
19227         * math/e_jnl.c: Likewise.
19228         * math/e_lgammal_r.c: Likewise.
19229         * math/e_rem_pio2l.c: Likewise.
19230         * math/e_scalb.c: Likewise.
19231         * math/e_scalbf.c: Likewise.
19232         * math/e_scalbl.c: Likewise.
19233         * math/k_cosl.c: Likewise.
19234         * math/k_sinl.c: Likewise.
19235         * math/k_tanl.c: Likewise.
19236         * math/s_cacoshf.c: Likewise.
19237         * math/s_catan.c: Likewise.
19238         * math/s_catanf.c: Likewise.
19239         * math/s_catanh.c: Likewise.
19240         * math/s_catanhf.c: Likewise.
19241         * math/s_catanhl.c: Likewise.
19242         * math/s_catanl.c: Likewise.
19243         * math/s_ccosh.c: Likewise.
19244         * math/s_ccoshf.c: Likewise.
19245         * math/s_ccoshl.c: Likewise.
19246         * math/s_cexp.c: Likewise.
19247         * math/s_cexpf.c: Likewise.
19248         * math/s_cexpl.c: Likewise.
19249         * math/s_clog.c: Likewise.
19250         * math/s_clog10.c: Likewise.
19251         * math/s_clog10f.c: Likewise.
19252         * math/s_clog10l.c: Likewise.
19253         * math/s_clogf.c: Likewise.
19254         * math/s_clogl.c: Likewise.
19255         * math/s_csin.c: Likewise.
19256         * math/s_csinf.c: Likewise.
19257         * math/s_csinh.c: Likewise.
19258         * math/s_csinhf.c: Likewise.
19259         * math/s_csinhl.c: Likewise.
19260         * math/s_csinl.c: Likewise.
19261         * math/s_csqrt.c: Likewise.
19262         * math/s_csqrtf.c: Likewise.
19263         * math/s_csqrtl.c: Likewise.
19264         * math/s_ctan.c: Likewise.
19265         * math/s_ctanf.c: Likewise.
19266         * math/s_ctanh.c: Likewise.
19267         * math/s_ctanhf.c: Likewise.
19268         * math/s_ctanhl.c: Likewise.
19269         * math/s_ctanl.c: Likewise.
19270         * math/s_ldexp.c: Likewise.
19271         * math/s_ldexpf.c: Likewise.
19272         * math/s_ldexpl.c: Likewise.
19273         * math/s_significand.c: Likewise.
19274         * math/s_significandf.c: Likewise.
19275         * math/s_significandl.c: Likewise.
19276         * math/w_acos.c: Likewise.
19277         * math/w_acosf.c: Likewise.
19278         * math/w_acosh.c: Likewise.
19279         * math/w_acoshf.c: Likewise.
19280         * math/w_acoshl.c: Likewise.
19281         * math/w_acosl.c: Likewise.
19282         * math/w_asin.c: Likewise.
19283         * math/w_asinf.c: Likewise.
19284         * math/w_asinl.c: Likewise.
19285         * math/w_atan2.c: Likewise.
19286         * math/w_atan2f.c: Likewise.
19287         * math/w_atan2l.c: Likewise.
19288         * math/w_atanh.c: Likewise.
19289         * math/w_atanhf.c: Likewise.
19290         * math/w_atanhl.c: Likewise.
19291         * math/w_cosh.c: Likewise.
19292         * math/w_coshf.c: Likewise.
19293         * math/w_coshl.c: Likewise.
19294         * math/w_dremf.c: Likewise.
19295         * math/w_exp10.c: Likewise.
19296         * math/w_exp10f.c: Likewise.
19297         * math/w_exp10l.c: Likewise.
19298         * math/w_exp2.c: Likewise.
19299         * math/w_exp2f.c: Likewise.
19300         * math/w_fmod.c: Likewise.
19301         * math/w_fmodf.c: Likewise.
19302         * math/w_fmodl.c: Likewise.
19303         * math/w_hypot.c: Likewise.
19304         * math/w_hypotf.c: Likewise.
19305         * math/w_hypotl.c: Likewise.
19306         * math/w_j0.c: Likewise.
19307         * math/w_j0f.c: Likewise.
19308         * math/w_j0l.c: Likewise.
19309         * math/w_j1.c: Likewise.
19310         * math/w_j1f.c: Likewise.
19311         * math/w_j1l.c: Likewise.
19312         * math/w_jn.c: Likewise.
19313         * math/w_jnf.c: Likewise.
19314         * math/w_jnl.c: Likewise.
19315         * math/w_lgamma.c: Likewise.
19316         * math/w_lgamma_r.c: Likewise.
19317         * math/w_lgammaf.c: Likewise.
19318         * math/w_lgammaf_r.c: Likewise.
19319         * math/w_lgammal.c: Likewise.
19320         * math/w_lgammal_r.c: Likewise.
19321         * math/w_log.c: Likewise.
19322         * math/w_log10.c: Likewise.
19323         * math/w_log10f.c: Likewise.
19324         * math/w_log10l.c: Likewise.
19325         * math/w_log2.c: Likewise.
19326         * math/w_log2f.c: Likewise.
19327         * math/w_log2l.c: Likewise.
19328         * math/w_logf.c: Likewise.
19329         * math/w_logl.c: Likewise.
19330         * math/w_pow.c: Likewise.
19331         * math/w_powf.c: Likewise.
19332         * math/w_powl.c: Likewise.
19333         * math/w_remainder.c: Likewise.
19334         * math/w_remainderf.c: Likewise.
19335         * math/w_remainderl.c: Likewise.
19336         * math/w_scalb.c: Likewise.
19337         * math/w_scalbf.c: Likewise.
19338         * math/w_scalbl.c: Likewise.
19339         * math/w_sinh.c: Likewise.
19340         * math/w_sinhf.c: Likewise.
19341         * math/w_sinhl.c: Likewise.
19342         * math/w_sqrt.c: Likewise.
19343         * math/w_sqrtf.c: Likewise.
19344         * math/w_sqrtl.c: Likewise.
19345         * math/w_tgamma.c: Likewise.
19346         * math/w_tgammaf.c: Likewise.
19347         * math/w_tgammal.c: Likewise.
19349         * po/ja.po: Update from translation team.
19351 2011-09-29  Andreas Jaeger  <aj@suse.de>
19353         [BZ #13179]
19354         * sunrpc/netname.c (netname2host): Fix logic.
19356         [BZ #6779]
19357         [BZ #6783]
19358         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
19359         correctly.
19360         * math/w_remainder.c (__remainder): Likewise.
19361         * math/w_remainderf.c (__remainderf): Likewise.
19362         * math/libm-test.inc (remainder_test): Add test cases.
19364 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19366         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
19367         sdiv_qrnnd.
19369 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
19371         * string/test-memcmp.c: Avoid unncessary #defines.
19372         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
19374 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19376         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
19377         Use new sse2 version for core i3 - i7 as it's faster
19378         than sse42 version.
19379         (bit_Prefer_PMINUB_for_stringop): New.
19380         * sysdeps/x86_64/rawmemchr.S: Update.
19381         Replace with faster SSE2 version.
19382         * sysdeps/x86_64/memrchr.S: New file.
19383         * sysdeps/x86_64/memchr.S: Update.
19384         Replace with faster SSE2 version.
19386 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
19388         * elf/dl-load.c (lose): Add cast to avoid warning.
19390 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
19392         * po/ca.po: Update from translation team.
19394         * inet/getnetgrent_r.c: Hook up nscd.
19395         * nscd/Makefile (routines): Add nscd_netgroup.
19396         (nscd-modules): Add netgroupcache.
19397         (CFLAGS-netgroupcache.c): Define.
19398         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
19399         (cache_search): Add const to second parameter.
19400         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
19401         INNETGR.
19402         (dbs): Add netgrdb entry.
19403         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
19404         (verify_persistent_db): Handle netgrdb.
19405         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
19406         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
19407         GETFDNETGR.
19408         (netgroup_response_header): Define.
19409         (innetgroup_response_header): Define.
19410         (datahead): Add netgroup_response_header and innetgroup_response_header
19411         elements.
19412         * nscd/nscd.conf: Add entries for netgroup cache.
19413         * nscd/nscd.h (dbtype): Add netgrdb.
19414         (_PATH_NSCD_NETGROUP_DB): Define.
19415         (netgroup_iov_disabled): Declare.
19416         (xmalloc, xcalloc, xrealloc): Move declarations here.
19417         (cache_search): Adjust prototype.
19418         Add netgroup-related prototypes.
19419         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
19420         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
19421         (__nscd_innetgr): Declare.
19422         * nscd/selinux.c (perms): Use access_vector_t as element type and
19423         add netgroup-related initializers.
19424         * nscd/netgroupcache.c: New file.
19425         * nscd/nscd_netgroup.c: New file.
19426         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
19427         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
19428         For four parameters use innetgr.
19429         * nss/nss_files/files-init.c: Add definition and callback for netgr.
19430         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
19431         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
19432         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
19434         * nscd/connections.c (register_traced_file): Don't register file
19435         for disabled databases.
19437 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
19439         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
19441         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
19442         from tree and freeing node.
19444 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
19446         * nss/nsswitch.c (__nss_database_lookup): Handle
19447         nss_parse_service_list out of memory case.
19449 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
19451         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
19452         out of memory case.
19454 2011-10-04  Andreas Schwab  <schwab@redhat.com>
19456         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
19457         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
19458         pass it down.
19459         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
19460         elf_machine_rela, elf_machine_lazy_rel.
19461         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
19462         (ELF_DYNAMIC_DO_REL): Likewise.
19463         (ELF_DYNAMIC_DO_RELA): Likewise.
19464         (ELF_DYNAMIC_RELOCATE): Likewise.
19465         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
19466         to ELF_DYNAMIC_DO_REL.
19467         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
19468         (dl_main): In trace mode always set __RTLD_NOIFUNC.
19469         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
19470         elf_machine_rela.
19471         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
19472         skip_ifunc, don't call ifunc function if non-zero.
19473         (elf_machine_rela): Likewise.
19474         (elf_machine_lazy_rel): Likewise.
19475         (elf_machine_lazy_rela): Likewise.
19476         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
19477         (elf_machine_lazy_rel): Likewise.
19478         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
19479         Likewise.
19480         (elf_machine_lazy_rel): Likewise.
19481         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19482         Likewise.
19483         (elf_machine_lazy_rel): Likewise.
19484         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
19485         (elf_machine_lazy_rel): Likewise.
19486         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
19487         (elf_machine_lazy_rel): Likewise.
19488         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19489         (elf_machine_lazy_rel): Likewise.
19490         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
19491         (elf_machine_lazy_rel): Likewise.
19492         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
19493         (elf_machine_lazy_rel): Likewise.
19494         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19495         (elf_machine_lazy_rel): Likewise.
19497 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
19499         * nss/nss_files/files-init.c (_nss_files_init): Use static
19500         initialization for all the *_traced_file variables.
19502 2011-09-28  Andreas Schwab  <schwab@redhat.com>
19504         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19506 2011-09-27  Roland McGrath  <roland@hack.frob.com>
19508         [BZ #13226]
19509         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
19511 2011-09-27  Andreas Schwab  <schwab@redhat.com>
19513         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
19514         Reread the line before reparsing it.
19516 2011-09-26  Andreas Schwab  <schwab@redhat.com>
19518         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
19520 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
19521             Maxim Kuvyrkov  <maxim@codesourcery.com>
19522             Joseph Myers  <joseph@codesourcery.com>
19524         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
19525         if needed for __stack_chk_guard.
19527 2011-09-19  Roland McGrath  <roland@hack.frob.com>
19529         * sysdeps/posix/spawni.c (script_execute): Always define it.
19530         It will be optimized away if unused.
19531         (maybe_script_execute): New function.
19532         (__spawni): Call it.
19534         * Makerules: Don't include tls.make.
19535         (config-tls): Always set to thread.
19536         * tls.make.c: File removed.
19538 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
19540         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
19541         * config.make.in (CPPFLAGS-config): New substituted variable.
19543 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
19545         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
19547         [BZ #13192]
19548         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
19549         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
19551 2011-09-15  Roland McGrath  <roland@hack.frob.com>
19553         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
19554         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
19555         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
19556         (CALL_FAIL): Likewise.
19557         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
19558         (CALL_FAIL): Macro removed.
19559         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
19561 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
19563         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
19564         for __FINITE_MATH_ONLY__ == 1.
19566 2011-09-15  Andreas Schwab  <schwab@redhat.com>
19568         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
19569         __ieee754_sqrt instead of sqrt.
19570         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
19571         __ieee754_sqrtf instead of sqrtf.
19572         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
19573         __floorf instead of floorf.
19574         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
19575         __floorf, __truncf instead of floorf, truncf.
19577 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
19579         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
19581         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
19582         __extern_always_inline.
19583         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
19584         32-bit.
19586 2011-09-14  Andreas Schwab  <schwab@redhat.com>
19588         * elf/rtld.c (dl_main): Also relocate in dependency order when
19589         doing symbol dependency testing.
19591 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
19593         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19594         Always define `refsym'.
19596 2011-09-13  Andreas Schwab  <schwab@redhat.com>
19598         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
19599         (__FD_ELT): Renamed from __FDELT.
19600         * misc/bits/select2.h (__FD_ELT): Likewise.
19601         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
19602         __FD_MASK instead of __FDELT, __FDMASK.
19603         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
19604         Likewise.
19605         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
19606         Likewise.
19608         * elf/Makefile (gen-ldd): Fix pattern.
19610         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
19611         (init_tls): Likewise.
19613 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
19615         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
19617 2011-09-12  Andreas Schwab  <schwab@redhat.com>
19619         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
19620         `struct cmsghdr *' instead of `void *'.
19621         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
19622         Likewise.
19624 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
19626         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
19627         if non-absolute.
19628         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
19629         ldd_rewrite_script.
19631 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
19633         * configure.in: Remove --with-tls option.
19634         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
19635         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
19636         out in case it is missing.
19637         * sysdeps/ia64/elf/configure.in: Likewise.
19638         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
19639         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
19640         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
19641         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
19642         * sysdeps/sh/elf/configure.in: Likewise.
19643         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
19644         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
19645         * sysdeps/x86_64/elf/configure.in: Likewise.
19646         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
19647         * sysdeps/mach/hurd/tls.h: Likewise.
19649         [BZ #13067]
19650         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
19652         [BZ #13090]
19653         * configure.in: Fix use of AC_INIT.
19655         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
19657 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
19659         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
19660         __set_errno.
19661         * malloc/hooks.c: Likewise.
19663         [BZ #11929]
19664         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
19665         variables statically.
19666         (narenas): Initialize.
19667         (list_lock): Initialize.
19668         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
19669         initializtion of main_arena and list_lock.  Small cleanups.
19670         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
19671         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
19672         Add initializers to main_arena and mp_.
19673         (malloc_state): Remove pagesize member.  Change all users to use
19674         GLRO(dl_pagesize).
19676         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
19677         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
19678         is always initialized.
19680         * malloc/malloc.c: Removed unused configurations and dead code.
19681         * malloc/arena.c: Likewise.
19682         * malloc/hooks.c: Likewise.
19683         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
19685         * include/tls.h: Removed.  USE___THREAD must always be defined.
19686         * bits/libc-tsd.h: Don't handle !USE___THREAD.
19687         * elf/dl-libc.c: Likewise.
19688         * elf/dl-tsd.c: Likewise.
19689         * include/errno.h: Likewise.
19690         * include/netdb.h: Likewise.
19691         * include/resolv.h: Likewise.
19692         * inet/herrno-loc.c: Likewise.
19693         * inet/herrno.c: Likewise.
19694         * malloc/arena.c: Likewise.
19695         * malloc/hooks.c: Likewise.
19696         * malloc/malloc.c: Likewise.
19697         * resolv/res-state.c: Likewise.
19698         * resolv/res_libc.c: Likewise.
19699         * sysdeps/i386/dl-machine.h: Likewise.
19700         * sysdeps/ia64/dl-machine.h: Likewise.
19701         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
19702         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
19703         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
19704         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
19705         * sysdeps/sh/dl-machine.h: Likewise.
19706         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
19707         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
19708         * sysdeps/unix/i386/sysdep.S: Likewise.
19709         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19710         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
19711         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
19712         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19713         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
19714         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19715         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
19716         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19717         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19718         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19719         * sysdeps/unix/x86_64/sysdep.S: Likewise.
19720         * sysdeps/x86_64/dl-machine.h: Likewise.
19721         * tls.make.c: Likewise.
19723         * configure.in: Remove --with-__thread option.  Make tests for
19724         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
19725         tls_model attribute fail if no support is available.  Remove
19726         USE_IN_LIBIO.
19727         * Makeconfig: Adjust for dropped configure option.  All features are
19728         now mandatory.
19729         * Makerules: Likewise.
19730         * Versions.def: Likewise.
19731         * argp/argp-fmtstream.c: Likewise.
19732         * argp/argp-fmtstream.h: Likewise.
19733         * argp/argp-help.c: Likewise.
19734         * assert/assert.c: Likewise.
19735         * config.h.in: Likewise.
19736         * config.make.in: Likewise.
19737         * configure: Likewise.
19738         * configure.in: Likewise.
19739         * csu/Versions: Likewise.
19740         * csu/init.c: Likewise.
19741         * elf/tst-audit2.c: Likewise.
19742         * elf/tst-tls10.c: Likewise.
19743         * elf/tst-tls10.h: Likewise.
19744         * elf/tst-tls11.c: Likewise.
19745         * elf/tst-tls12.c: Likewise.
19746         * elf/tst-tls14.c: Likewise.
19747         * elf/tst-tlsmod11.c: Likewise.
19748         * elf/tst-tlsmod12.c: Likewise.
19749         * elf/tst-tlsmod13.c: Likewise.
19750         * elf/tst-tlsmod13a.c: Likewise.
19751         * elf/tst-tlsmod14a.c: Likewise.
19752         * elf/tst-tlsmod15b.c: Likewise.
19753         * elf/tst-tlsmod16a.c: Likewise.
19754         * elf/tst-tlsmod16b.c: Likewise.
19755         * elf/tst-tlsmod7.c: Likewise.
19756         * elf/tst-tlsmod8.c: Likewise.
19757         * elf/tst-tlsmod9.c: Likewise.
19758         * gmon/gmon.c: Likewise.
19759         * grp/fgetgrent_r.c: Likewise.
19760         * grp/putgrent.c: Likewise.
19761         * hurd/fopenport.c: Likewise.
19762         * include/libc-symbols.h: Likewise.
19763         * include/tls.h: Likewise.
19764         * intl/gettextP.h: Likewise.
19765         * intl/loadinfo.h: Likewise.
19766         * locale/global-locale.c: Likewise.
19767         * locale/localeinfo.h: Likewise.
19768         * mach/devstream.c: Likewise.
19769         * malloc/arena.c: Likewise.
19770         * malloc/set-freeres.c: Likewise.
19771         * misc/err.c: Likewise.
19772         * misc/getttyent.c: Likewise.
19773         * misc/mntent_r.c: Likewise.
19774         * posix/getopt.c: Likewise.
19775         * posix/wordexp.c: Likewise.
19776         * pwd/fgetpwent_r.c: Likewise.
19777         * resolv/Versions: Likewise.
19778         * resolv/res_hconf.c: Likewise.
19779         * shadow/fgetspent_r.c: Likewise.
19780         * shadow/putspent.c: Likewise.
19781         * stdio-common/printf_fphex.c: Likewise.
19782         * stdio-common/tmpfile.c: Likewise.
19783         * stdlib/abort.c: Likewise.
19784         * stdlib/fmtmsg.c: Likewise.
19785         * sunrpc/auth_unix.c: Likewise.
19786         * sunrpc/clnt_perr.c: Likewise.
19787         * sunrpc/clnt_tcp.c: Likewise.
19788         * sunrpc/clnt_udp.c: Likewise.
19789         * sunrpc/clnt_unix.c: Likewise.
19790         * sunrpc/openchild.c: Likewise.
19791         * sunrpc/svc_simple.c: Likewise.
19792         * sunrpc/svc_tcp.c: Likewise.
19793         * sunrpc/svc_udp.c: Likewise.
19794         * sunrpc/svc_unix.c: Likewise.
19795         * sunrpc/xdr.c: Likewise.
19796         * sunrpc/xdr_array.c: Likewise.
19797         * sunrpc/xdr_rec.c: Likewise.
19798         * sunrpc/xdr_ref.c: Likewise.
19799         * sunrpc/xdr_stdio.c: Likewise.
19801 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
19803         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19805 2011-07-03  Andreas Jaeger  <aj@suse.de>
19807         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
19808         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
19809         regenerate with gen-libm-tests.pl.
19811 2010-05-12  Petr Baudis  <pasky@suse.cz>
19813         [BZ #11589]
19814         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
19815         around j0() zero points by switching to j1().
19816         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19817         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19818         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19819         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19821 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
19823         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
19824         instead of 0.
19825         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
19826         instead of 0.
19827         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19828         Patch in part by Pavel Roskin <proski@gnu.org>.
19830         [BZ #13138]
19831         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
19832         realloc.
19833         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
19834         Free memory block if necessary.
19836         [BZ #12847]
19837         * libio/genops.c (INTDEF): For string streams the _lock pointer can
19838         be NULL.  Don't lock in this case.
19840 2011-09-09  Roland McGrath  <roland@hack.frob.com>
19842         * elf/elf.h (ELFOSABI_GNU): New macro.
19843         (ELFOSABI_LINUX): Define to that.
19845 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
19847         * string/strncat.c (strncat): Undef the symbol in case it has been
19848         defined in bits/string.h.
19850 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
19852         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
19854         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
19855         link map.
19857 2011-08-17  Andreas Jaeger  <aj@suse.de>
19859         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
19861 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
19862             Ian Lance Taylor  <iant@google.com>
19864         * math/libm-test.inc (lround_test): New testcase.
19865         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
19867 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
19869         * Makefile: Remove support for automatic cvs check-ins.
19870         * Makerules: Likewise.
19871         * config.make.in: Likewise.
19872         * configure.in: Likewise.
19873         * intl/Makefile: Likewise.
19874         * locale/Makefile: Likewise.
19875         * po/Makefile: Likewise.
19876         * posix/Makefile: Likewise.
19877         * sysdeps/gnu/Makefile: Likewise.
19878         * sysdeps/mach/hurd/Makefile: Likewise.
19879         * sysdeps/sparc/sparc32/Makefile: Likewise.
19881         [BZ #13118]
19882         * posix/Makefile (bug-regex32-ENV): Define.
19883         Patch by John Stanley <jpsinthemix@verizon.net>.
19885         * misc/Makefile (headers): Add bits/select2.h.
19886         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
19887         * misc/bits/select2.h: New file.
19888         * include/bits/select2.h: New file.
19889         * debug/Makefile (routines): Add fdelt_chk.
19890         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
19891         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
19892         FD_ISSET.
19893         * debug/fdelt_chk.c: New file.
19895         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
19896         * wcsmbs/test-wmemcmp.c: Likewise.
19897         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
19898         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
19900 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19902         * string/Makefile (strop-tests): Add memcmp.
19903         * string/test-wmemcmp.c: New file.
19904         * string/test-memcmp.c: Add wmemcmp support.
19906 2011-09-08  Roland McGrath  <roland@hack.frob.com>
19908         [BZ #13153]
19909         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
19910         2011-07-19 change.
19912         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
19913         garbage value in a __mach_port_mod_refs call in the cases of the
19914         task-self and thread-self ports.
19916 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19918         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
19920 2011-09-08  Andreas Schwab  <schwab@redhat.com>
19922         * elf/dl-load.c (lose): Check for non-null L.
19924 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
19926         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
19928         * elf/dl-libc.c (dlerror_run): Pass back error code from
19929         dl_catch_error.
19931         [BZ #13123]
19932         * elf/dl-load.c (lose): Free l_origin if it is valid.
19934         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
19935         names.
19936         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
19937         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19938         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19939         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19940         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
19941         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
19943 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19945         * sysdeps/powerpc/fpu/e_hypot.c: New file.
19946         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
19947         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
19948         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
19949         * sysdeps/powerpc/fpu/k_cosf.c: New file.
19950         * sysdeps/powerpc/fpu/k_sinf.c: New file.
19951         * sysdeps/powerpc/fpu/s_cosf.c: New file.
19952         * sysdeps/powerpc/fpu/s_sinf.c: New file.
19953         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
19954         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
19956 2011-08-15  Alan Modra  <amodra@gmail.com>
19958         [BZ #13092]
19959         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
19960         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
19961         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
19962         ppc_mcount to static-only-routines.
19963         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
19964         __mcount_internal.
19965         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
19966         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
19968 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
19970         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
19971         for finite and infinity parameters.
19973 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
19975         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
19976         and add nop instructions for throughput optimization.
19977         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19979 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
19981         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
19982         aligned copy for power7 with vector-scalar instructions.
19983         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
19985 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
19987         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
19988         AVX check.
19990 2011-09-07  Andreas Schwab  <schwab@redhat.com>
19992         [BZ #13144]
19993         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
19994         last change.
19996 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
19998         * sysdeps/unix/sysv/linux/x86_64/init-first.c
19999         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
20000         syscall wrapper around clock_gettime in __vdso_clock_gettime.
20001         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
20002         clock_gettime.
20004 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
20006         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
20007         Forgot to demangle the pointer.
20009         * sysdeps/i386/sysdep.h: Define atom_text_section.
20010         * sysdeps/x86_64/sysdep.h: Likewise.
20011         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
20012         section with atom_text_section.
20013         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
20014         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
20015         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
20016         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
20017         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
20019         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
20020         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
20021         already be defined.  Change to take two parameters and don't assign
20022         result to variable.  Adjust all users.
20023         Define INTERNAL_GETTIME if not already defined.
20024         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
20025         call.
20026         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
20027         HAVE_CLOCK_GETTIME_VSYSCALL.
20028         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
20030         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
20031         gettimeofday vsyscall, just use time.
20033 2011-09-06  Andreas Schwab  <schwab@redhat.com>
20035         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
20036         <errno.h>.
20038 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
20040         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
20041         syscall on x86-64.
20042         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
20043         syscall.
20044         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
20045         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
20046         syscall if possible.
20048 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
20050         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
20051         e_ident.  Don't pass to find_mapsXX.
20052         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
20054 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
20056         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20057         strchr-sse2-no-bsf strrchr-sse2-no-bsf
20058         * sysdeps/x86_64/multiarch/strchr.S: Update.
20059         Check bit_slow_BSF bit.
20060         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20061         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
20062         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
20064 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
20066         [BZ #13134]
20067         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
20068         before glibc 2.15.
20069         (tryshell): Define.
20070         (__spawni): Change last parameter to be flag.  Test
20071         SPAWN_XFLAGS_USE_PATH flag to use path or not.
20072         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
20073         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
20074         * posix/spawni.c: Likewise.
20075         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
20076         * posix/spawnp.c: Likewise.  Change normal version to use
20077         SPAWN_XFLAGS_USE_PATH.
20078         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
20079         SPAWN_XFLAGS_TRY_SHELL.
20081         [BZ #13150]
20082         * posix/glob.h: Remove gcc 1.x support.
20084         [BZ #13068]
20085         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
20087 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
20089         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20090         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
20091         strrchr-sse2-bsf
20092         * sysdeps/i386/i686/multiarch/strchr.S: New file.
20093         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
20094         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
20095         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
20096         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
20097         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
20099 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20101         * sysdeps/x86_64/wcscmp.S: New file.
20103         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
20104         wcscmp-c wcscmp-sse2
20105         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
20106         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
20107         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
20108         * wcsmbs/wcscmp.c: Allow renaming.
20110 2011-09-05  David S. Miller  <davem@davemloft.net>
20112         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
20113         stack slot, rather than the struct return pointer slot.
20114         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
20115         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
20116         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
20117         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
20119 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
20121         * po/ja.po: Update from translation team.
20123         [BZ #13144]
20124         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
20125         kernel in 64-bit binaries.
20127 2011-09-01  David S. Miller  <davem@davemloft.net>
20129         * elf/elf.h (HWCAP_SPARC_*): Move to..
20130         * sysdeps/sparc/sysdep.h: this new file and add new values.
20131         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
20132         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
20133         _DL_HWCAP_COUNT to 24.
20134         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
20135         entries.
20136         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
20137         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
20138         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
20139         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
20140         instead of magic constants.
20141         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20143 2011-08-31  David S. Miller  <davem@davemloft.net>
20145         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
20146         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
20147         Reimplement to do errno handling inline.
20148         (SYSCALL_ERROR_HANDLER): New macro.
20149         (__SYSCALL_STRING): Do not do errno handling in asm.
20150         (__CLONE_SYSCALL_STRING): Delete.
20151         (__INTERNAL_SYSCALL_STRING): Delete.
20152         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
20153         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
20154         (PSEUDO): Reimplement to do errno handling inline.
20155         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
20156         (SYSCALL_ERROR_HANDLER): New macro.
20157         (__SYSCALL_STRING): Do not do errno handling in asm.
20158         (__CLONE_SYSCALL_STRING): Delete.
20159         (__INTERNAL_SYSCALL_STRING): Delete.
20160         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
20161         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
20162         i386.
20163         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
20164         (inline_syscall*): Add 'err' argument.
20165         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
20166         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
20167         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
20168         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
20170         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
20171         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
20173 2011-08-30  Andreas Schwab  <schwab@redhat.com>
20175         * elf/rtld.c (dl_main): Relocate objects in dependency order.
20177 2011-08-29  Jiri Olsa <jolsa@redhat.com>
20179         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
20180         directive.
20182 2011-08-24  David S. Miller  <davem@davemloft.net>
20184         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
20186 2011-08-24  Andreas Schwab  <schwab@redhat.com>
20188         * elf/Makefile: Add rules to build and run unload8 test.
20189         * elf/unload8.c: New file.
20190         * elf/unload8mod1.c: New file.
20191         * elf/unload8mod1x.c: New file.
20192         * elf/unload8mod2.c: New file.
20193         * elf/unload8mod3.c: New file.
20195         * elf/dl-close.c (_dl_close_worker): Reset private search list if
20196         it wasn't used.
20198 2011-08-23  David S. Miller  <davem@davemloft.net>
20200         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
20201         subtract stack bias.
20202         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
20203         %sp not %fp in calculations.
20204         (_JMPBUF_UNWINDS_ADJ): Likewise.
20206         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
20207         (aio_suspend): Call it to force an exception region around the
20208         AIO_MISC_WAIT() invocation.
20210 2011-08-23  Andreas Schwab  <schwab@redhat.com>
20212         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
20213         backslash.
20215 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
20217         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
20218         protection macro.
20219         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
20220         and <dl-machine.h>.
20221         (Elf64_FuncDesc): Remove.
20223 2011-08-22  David S. Miller  <davem@davemloft.net>
20225         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
20226         sigaltstack check, add missing cfi directives.
20227         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
20228         missing cfi directives, and sigaltstack handling.
20230 2011-08-16  Andreas Schwab  <schwab@redhat.com>
20232         [BZ #11724]
20233         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
20234         object is seen twice.
20235         * elf/dl-fini.c (_dl_sort_fini): Likewise.
20237         * elf/Makefile (distribute): Add tst-initorder2.c.
20238         (tests): Add tst-initorder2.
20239         (modules-names): Add tst-initorder2a tst-initorder2b
20240         tst-initorder2c tst-initorder2d.  Add rules to build them.
20241         ($(objpfx)tst-initorder2.out): New rule.
20242         * elf/tst-initorder2.c: New file.
20243         * elf/tst-initorder2.exp: New file.
20245 2011-08-22  Andreas Schwab  <schwab@redhat.com>
20247         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
20249         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
20250         dependencies back to end of function.
20252         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
20253         $(elfobjdir)/ld.so.
20255 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
20257         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
20258         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
20259         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
20260         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
20261         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
20262         of __vdso_gettimeofday.
20263         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
20264         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
20265         attribute_hidden.
20266         (_libc_vdso_platform_setup): Remove initialization of
20267         __vdso_gettimeofday and __vdso_time.
20269 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
20271         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
20272         and fgetc_unlocked.
20273         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
20274         getc_unlocked.
20276         * elf/dl-open.c (add_to_global): Report additions to the global scope
20277         for LD_DEBUG=scopes.
20278         (dl_open_worker): Also print scope of newly loaded dependencies.
20279         (_dl_show_scope): Indicate if there is no scope.
20281         [BZ #13114]
20282         * stdio-common/Makefile (tests): Add bug24.
20283         * stdio-common/bug24.c: New file.
20285 2011-08-19  Andreas Jaeger  <aj@suse.de>
20287         [BZ #13114]
20288         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
20289         non-existant file when using close-on-exec mode.
20291 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
20293         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
20294         the very first instruction.
20296         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
20297         the CFI state in the end.
20298         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
20299         inclusion of dl-trampoline.h.
20300         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
20302 2011-08-19  Andreas Schwab  <schwab@redhat.com>
20304         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
20305         expectations for long double.
20307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
20308         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
20310 2011-08-14  David S. Miller  <davem@davemloft.net>
20312         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
20313         artificual limit depends upon the system page size.
20315 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
20317         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
20318         * resolv/Makefile: Define CFLAGS-libresolv.
20320 2011-08-17  Andreas Schwab  <schwab@redhat.com>
20322         * nss/makedb.c (compute_tables): Make variables used in nested
20323         function static.
20325 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
20327         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
20328         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
20329         if buffer was too small.
20331         * elf/pldd.c (main): Attach to all threads in the process.
20332         Rewrite /proc handling to use *at functions.
20334 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
20336         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
20337         specifies first scope to show.
20338         (dl_open_worker): Update callers.  Move printing scope of new
20339         object to before the relocation.
20340         * elf/rtld.c (dl_main): Update _dl_show_scope call.
20341         * sysdeps/generic/ldsodefs.h: Update declaration.
20343         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
20344         string for the scope number.
20346 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
20348         * nscd/servicescache.c (cache_addserv): Make sure written is always
20349         initialized.
20351 2011-08-14  Roland McGrath  <roland@hack.frob.com>
20353         * sysdeps/i386/i486/bits/atomic.h
20354         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
20355         statement expression, so as to suppress "set but not used" warning.
20356         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
20358         * string/strncat.c (STRNCAT): Use prototype definition.
20360         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
20361         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
20362         -Iprograms here.
20363         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
20364         (localedef-modules): Add localedef.
20365         (locale-modules): Add locale.
20367         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
20368         * elf/rtld.c (dl_main): Invert order of assignment in last change,
20369         to avoid a warning.
20371 2011-08-14  David S. Miller  <davem@davemloft.net>
20373         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
20374         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
20376 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
20378         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
20379         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
20380         * elf/rtld.c (dl_main): Set l_name of vDSO.
20381         Call _dl_show_scope when DL_DEBUG_SCOPES.
20382         (process_dl_debug): Recognize scopes flag and also set it for all.
20383         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
20384         Declare _dl_show_scope.
20386         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
20387         (do_dlopen): Pass caller_dlopen to dl_open.
20388         (__libc_dlopen_mode): Initialize caller_dlopen.
20390         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
20391         of libc.  Make tolower call locale-independent.  Optimize a bit by
20392         using isdigit instead of isalnum.
20393         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
20395 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
20397         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
20398         was a dependency or dynamically loaded.
20400 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
20402         * intl/l10nflist.c: Allow architecture-specific pop function.
20403         * sysdeps/x86_64/l10nflist.c: New file.
20405         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
20406         classification.
20408 2011-08-10  Andreas Schwab  <schwab@redhat.com>
20410         * include/dirent.h: Add libc_hidden_proto for scandirat and
20411         scandirat64.  Don't declare __scandirat64.
20412         * dirent/scandirat.c: Add libc_hidden_def.
20413         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
20414         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
20416 2011-08-10  David S. Miller  <davem@davemloft.net>
20418         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
20419         enum.
20420         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20421         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20422         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20424 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
20426         * Versions.def [libc]: Add GLIBC_2.15.
20427         * dirent/Makefile (routines): Add scandirat and scandirat64.
20428         * dirent/Versions [libc]: Export scandirat and scandirat64 for
20429         GLIBC_2.15.
20430         * dirent/dirent.h: Declare scandirat and scandirat64.
20431         * dirent/scandirat.c: New file.
20432         * dirent/scandirat64.c: New file.
20433         * sysdeps/wordsize-64/scandirat.c: New file.
20434         * sysdeps/wordsize-64/scandirat64.c: New file.
20435         * dirent/opendir.c: Define opendirat.
20436         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
20437         using scandirat.
20438         * dirent/scandir64.c: Adjust for scandir.c change.
20439         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
20440         __scandirat64, and __scandir_cancel_handler.
20441         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
20442         additional parameter and use openat instead of open (outside of ld.so).
20443         Add new __opendir as wrapper around __opendirat.
20444         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
20445         here without requiring old scandirat implementation.
20447 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
20449         * dirent/scandir.c (cancel_handler): Renamed to
20450         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
20451         defined.  Adjust users.
20452         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
20453         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
20455 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
20457         * string/test-string.h (IMPL): Use __STRING to expand name and then
20458         stringify it.
20460         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
20461         of cleanups.
20463 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20465         * string/Makefile: Update.
20466         (strop-tests): Append strncat.
20467         * string/test-wcscmp.c: New file.
20468         New comprehensive test for wcscmp.
20469         * string/test-strcmp.c: Update.
20470         (WIDE): New define.
20472 2011-07-22  Andreas Schwab  <schwab@redhat.com>
20474         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
20475         line.
20477 2011-07-26  Andreas Schwab  <schwab@redhat.com>
20479         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
20480         encoding to ACE if AI_IDN.
20482 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
20484         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
20485         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
20487 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
20489         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
20490         Fix overflow bug in strncat.
20491         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
20493         * string/test-strncat.c: Update.
20494         Add new tests for checking overflow bugs.
20496 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
20498         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20499         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
20500         * sysdeps/i386/i686/multiarch/strcat.S: New file.
20501         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
20502         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
20503         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
20504         * sysdeps/i386/i686/multiarch/strncat.S: New file.
20505         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
20506         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
20508         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
20509         (USE_AS_STRCAT): Define.
20510         Add strcat and strncat support.
20511         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
20513 2011-07-25  Andreas Schwab  <schwab@redhat.com>
20515         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
20516         __n bigger than INT_MAX+1.
20517         (__strncmp_g): Likewise.
20519 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
20521         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
20522         * libio/stido.h: Likewise.
20524         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
20525         (AF_NFC): Define.
20526         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
20527         (AF_NFC): Define.
20529         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
20530         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20531         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20532         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
20533         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20535         [BZ #13021]
20536         * scripts/test-installation.pl: Don't expect libnss_test1 to be
20537         installed.
20539         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
20540         typo.
20541         (_dl_x86_64_save_sse): Likewise.
20543 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
20545         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
20546         OSXSAVE.
20547         (_dl_x86_64_save_sse): Likewise.
20549         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
20551         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
20553 2011-07-21  Andreas Schwab  <schwab@redhat.com>
20555         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
20556         change.
20557         (_dl_x86_64_save_sse): Use correct AVX check.
20559 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20561         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
20562         bug in strncpy/strncat.
20563         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
20565 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
20567         * string/tester.c (test_strcat): Add tests for different alignments
20568         of source and destination.
20569         (test_strncat): Likewise.
20571 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
20573         [BZ #12852]
20574         * posix/glob.c (glob): Check passed in values before using them in
20575         expressions to avoid some overflows.
20576         (glob_in_dir): Likewise.
20578         [BZ #13007]
20579         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
20580         check for AVX enablement so that we don't crash with old kernels and
20581         new hardware.
20582         * elf/tst-audit4.c: Add same checks here.
20583         * elf/tst-audit6.c: Likewise.
20585         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
20587 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
20589         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
20591 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
20593         * po/cs.po: Update from translation team.
20594         * po/bg.po: Likewise.
20596 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
20598         * misc/sys/cdefs.h: Add support for const attribute.
20599         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
20600         to gnu_dev_{major,minor,makedev} functions.
20602 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
20604         * intl/dcigettext.c (get_output_charset): Add missing bracket.
20606 2011-07-20  Andreas Schwab  <schwab@redhat.com>
20608         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
20609         strlen results.
20611 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20613         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
20614         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
20615         register in order to avoid conflicts with the soft frame pointer
20616         being held in r11 when necessary.
20617         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
20618         (INTERNAL_VSYSCALL_NCS): Likewise.
20620 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
20622         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
20623         * elf/dl-fini.c (_dl_fini): Adjust caller.
20624         * elf/dl-close.c (_dl_close_worker): Likewise.
20625         * sysdeps/generic/ldsodefs.h: Adjust declaration.
20627 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
20629         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
20630         "aux_cache->nlibs < 0".
20632         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
20633         in the reload-count case.
20635 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
20637         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20638         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
20639         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
20640         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
20641         * sysdeps/x86_64/multiarch/strcat.S: New file.
20642         * sysdeps/x86_64/multiarch/strncat.S: New file.
20643         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
20644         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
20645         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
20646         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
20647         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
20648         (USE_AS_STRCAT): Define.
20649         Add strcat and strncat support.
20650         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
20651         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
20652         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
20653         * string/strncat.c: Update.
20654         (USE_AS_STRNCAT): Define.
20655         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20656         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
20657         and i7.
20658         * sysdeps/x86_64/multiarch/init-arch.h
20659         (bit_Prefer_PMINUB_for_stringop): New.
20660         (index_Prefer_PMINUB_for_stringop): Likewise.
20661         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
20662         bit_Prefer_PMINUB_for_stringop.
20664 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
20666         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
20667         buffer64.
20668         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
20669         of casting of buffer.
20670         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
20671         buffer32 and buffer64.
20672         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
20673         writes instead of casting of buffer.
20674         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
20675         buffer32.
20676         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
20677         casting of buffer.
20679 2011-07-19  Andreas Schwab  <schwab@redhat.com>
20681         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
20683 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
20685         * nscd/nscd.c (termination_handler): Don't do anything for a database
20686         if it has not yet been initialized.
20688 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
20690         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
20692 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
20694         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
20696 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
20698         * po/nl.po: Update from translation team.
20699         * po/sv.po: Likewise.
20701 2011-07-16  Roland McGrath  <roland@hack.frob.com>
20703         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
20704         now disallowed by GCC.
20706         * configure.in (use-default-link): Default to yes if a test -shared
20707         link meets our qualifications.
20708         * configure: Regenerated.
20710         * config.make.in (output-format): New variable.
20711         * configure.in: Check for ld --print-output-format support.
20712         * configure: Regenerated.
20713         * Makerules ($(common-objpfx)format.lds)
20714         [$(output-format) != unknown]: Just use $(output-format),
20715         instead of the linker-script munging.
20717 2011-07-14  Roland McGrath  <roland@hack.frob.com>
20719         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
20720         of $(common-objpfx)shlib.lds.
20721         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
20723         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
20724         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
20726         * configure.in (-z relro check): Adjust test code to add a large
20727         writable data section after it.
20728         * configure: Regenerated.
20730 2011-07-11  Roland McGrath  <roland@hack.frob.com>
20732         * configure.in (-z relro check): Fix test code to make the variable
20733         truly const.
20734         * configure: Regenerated.
20736 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
20738         * nscd/nscd.h (struct traced_file): Define.
20739         (struct database_dyn): Remove inotify_descr, reset_res, and filename
20740         elements.  Add traced_files.
20741         (inotify_fd): Declare.
20742         (register_traced_file): Declare.
20743         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
20744         (inotify_fd): Export.
20745         (resolv_conf_descr): Remove.
20746         (nscd_init): Move inotify descriptor creation to main.
20747         Don't register files for notification here.
20748         (register_traced_file): New function.
20749         (invalidate_cache): Don't use reset_res to determine whether to call
20750         res_init, go through the list of registered files.
20751         (main_loop_poll): The inotify descriptors are now stored in the
20752         structures for the traced files.
20753         (main_loop_epoll): Likewise
20754         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
20755         to __nss_disable_nscd.
20756         * nscd/cache.c (prune_cache): There is no single inotify descriptor
20757         for a database anymore.  Check the records for all the registered
20758         files instead.
20759         * nss/Makefile (libnss_files-routines): Add files-init.
20760         (libnss_db-routines): Add db-init.
20761         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
20762         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
20763         * nss/nss_db/db-init.c: New file.
20764         * nss/nss_files/files-init.c: New file.
20765         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
20766         __nss_lookup_function.
20767         (__nss_lookup_function): Call nss_load_library.
20768         (nss_load_all_libraries): New function.
20769         (__nss_disable_nscd): Take parameter with callback function for files
20770         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
20771         used for the cached services.
20772         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
20773         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
20774         options for features to all the files in nscd.
20776         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
20778 2011-07-10  Roland McGrath  <roland@hack.frob.com>
20780         * csu/elf-init.c (__libc_csu_init): Comment typo.
20782 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
20784         * po/pl.po: Update from translation team.
20785         * po/ja.po: Likewise.
20786         * po/ru.po: Likewise.
20787         * po/ko.po: Likewise.
20788         * po/fr.po: Likewise.
20790 2011-07-09  Roland McGrath  <roland@hack.frob.com>
20792         * configure.in (.ctors/.dtors header and trailer check):
20793         Use an empirical test on a built program.
20794         * configure: Regenerated.
20796         * configure.in (-z relro check): Use an empirical test on a built DSO.
20797         Detect, but do not require, on ia64.
20798         * configure: Regenerated.
20800         * configure.in (READELF): Find it with AC_CHECK_TOOL.
20801         Update tests that use readelf to use $READELF instead.
20802         * configure: Regenerated.
20804 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
20806         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
20807         if the result is not used.
20809 2011-07-05  Andreas Jaeger  <aj@suse.de>
20811         [BZ#9696]
20812         * stdlib/tst-strtod.c: Add testcase.
20814 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
20816         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
20817         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
20818         The latter has a higher limit.  Take additional parameter to pass to
20819         the new function.
20820         (__pathconf): Pass file to __statfs_link_max.
20821         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
20822         __statfs_link_max.
20823         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
20824         __statfs_link_max.
20826         [BZ #12868]
20827         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
20828         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20829         Handle Lustre.
20830         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
20831         (__statfs_filesize_max): Likewise.
20832         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
20834 2011-07-05  Andreas Jaeger  <aj@suse.de>
20836         * resolv/res_comp.c (dn_skipname): Remove unused variable.
20838 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
20840         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
20841         `status' variable.
20842         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
20843         Likewise.
20845 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
20847         * Makefile (strop-tests): Add strncat.
20848         * string/test-strncat.c: New file.
20850 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
20852         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
20854 2011-06-21  Andreas Jaeger  <aj@suse.de>
20856         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
20857         Copy rule from iconvdata/Makefile.
20859 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
20861         [BZ #12922]
20862         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
20863         but no long options are defined, just return 'W'.
20865 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
20867         [BZ #9696]
20868         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
20870 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
20872         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
20873         netgroups to read.
20874         (innetgr): Likewise.
20876 2011-07-05  Roland McGrath  <roland@hack.frob.com>
20878         * config.make.in (install_root): Default to $(DESTDIR).
20880 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
20882         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
20884 2011-07-02  Roland McGrath  <roland@hack.frob.com>
20886         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
20888         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
20889         containing directory rather than embedding absolute directory names.
20891         * scripts/check-local-headers.sh: Rewritten using awk.
20892         Match by word, not by line.  Print error messages for matches.
20893         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
20895         * Makerules [shlib-lds-flags empty]:
20896         ($(common-objpfx)libc_pic.opts): New target.
20897         ($(common-objpfx)libc_pic.os.clean): New target.
20898         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
20900         * config.make.in (OBJCOPY): New variable.
20901         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
20902         * configure: Regenerated.
20904         * config.make.in (use-default-link): New variable.
20905         * configure.in (use_default_link): Grok --with-default-link to set it.
20906         * configure: Regenerated.
20907         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
20908         (shlib-lds, shlib-lds-flags): Define to empty.
20910         * Makerules (shlib-lds): New variable.
20911         (shlib-lds-flags): New variable.
20912         (build-shlib, build-moduile, build-module-asneeded): Use it.
20913         ($(common-objpfx)libc.so): Use $(shlib-lds).
20914         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
20915         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
20917         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
20918         DT_FLAGS/DT_FLAGS_1 with zero flags.
20920         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
20921         linker script munging.
20923 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
20925         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
20926         as 128-bit value.
20927         * crypt/sha512.c (sha512_process_block): Perform total addition using
20928         128-bit if possible.
20929         (__sha512_finish_ctx): Likewise.
20930         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
20931         as 64-bit value.
20932         * crypt/sha256.c (SWAP64): Define.
20933         (sha256_process_block): Perform total addition using 64-bit if
20934         possible.
20935         (__sha256_finish_ctx): Likewise.
20937 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
20939         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
20940         * nscd/initgrcache.c (addinitgroupsX): Likewise.
20941         * nscd/hstcache.c (cache_addhst): Likewise.
20942         * nscd/grpcache.c (cache_addgr): Likewise.
20943         * nscd/aicache.c (addhstaiX): Likewise
20944         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
20946 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
20948         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
20949         * nscd/initgrcache.c (addinitgroupsX): Likewise.
20950         * nscd/hstcache.c (cache_addhst): Likewise.
20951         * nscd/grpcache.c (cache_addgr): Likewise.
20952         * nscd/aicache.c (addhstaiX): Likewise
20954 2011-07-01  Andreas Schwab  <schwab@redhat.com>
20956         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
20957         domain only when needed.
20959 2011-06-30  Andreas Schwab  <schwab@redhat.com>
20961         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
20962         is always restored.
20964 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
20966         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
20967         are re-adding the entry.
20968         * nscd/servicescache.c (cache_addserv): Likewise.
20970 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
20972         * sysdeps/generic/dl-irel.h: fix protection against multiple
20973         inclusions.
20974         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
20976 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
20978         [BZ #12935]
20979         * malloc/memusage.sh: Fix quoting in message.
20980         * debug/xtrace.sh: Likewise.
20982         * configure.in: Remove support for --experimental-malloc option, make
20983         it the default.
20984         * config.make.in: Likewise.
20985         * malloc/Makefile: Likewise.
20987 2011-06-27  Andreas Schwab  <schwab@redhat.com>
20989         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
20990         two-byte characters.
20992 2011-06-27  Roland McGrath  <roland@hack.frob.com>
20994         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
20995         AC_CACHE_CHECK invocation.
20996         * configure: Regenerated.
20998         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
21000 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
21002         [BZ #12350]
21003         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
21004         bit from old_res_options.
21006         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
21008         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
21009         value type for setfct.
21011 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
21013         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
21014         __gettimeofday instead of gettimeofday.
21016 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
21018         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
21020 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
21022         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
21024         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
21025         info.
21027 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
21029         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21030         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
21031         strcpy-sse2-unaligned strncpy-sse2-unaligned
21032         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
21033         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
21034         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
21035         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
21036         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
21037         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
21038         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
21039         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
21040         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
21041         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
21042         (STRCPY): Support SSE2 and SSSE3 versions.
21044 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
21046         [BZ #12874]
21047         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
21048         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
21049         kernels which artificially limit size of requests.
21051 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
21053         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21054         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
21055         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
21056         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
21057         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
21058         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
21059         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
21060         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
21061         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
21062         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
21063         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
21064         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
21065         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
21066         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
21067         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
21068         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21069         Enable unaligned load optimization for Intel Core i3, i5 and i7
21070         processors.
21071         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
21072         Define.
21073         (index_Fast_Unaligned_Load): Define.
21074         (HAS_FAST_UNALIGNED_LOAD): Define.
21076 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
21078         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
21080 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
21082         [BZ #12907]
21083         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
21084         until it is clear that the information is realy needed.
21085         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
21087 2011-06-22  Andreas Schwab  <schwab@redhat.com>
21089         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
21091 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
21093         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
21094         /sys/devices/system/cpu/online if it is usable.
21096         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
21097         reading the information from the /proc filesystem to once a second.
21099 2011-06-21  Andreas Jaeger  <aj@suse.de>
21101         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
21102         NULL after inclusion of kernel headers.
21104 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
21106         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
21107         calls to internal_setent.
21109         [BZ #12885]
21110         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
21111         addresses using gethostbyname4_r ignore IPv4 addresses.
21113         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
21114         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
21116         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
21118 2011-06-20  David S. Miller  <davem@davemloft.net>
21120         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
21121         inclusions.
21122         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
21124         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
21125         (elf_irel): Use it.
21126         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
21127         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
21128         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
21129         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
21130         * sysdeps/x86_64/dl-irel.h: Likewise.
21132         * elf/dl-runtime.c: Use elf_ifunc_invoke.
21133         * elf/dl-sym.c: Likewise.
21135 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
21137         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
21138         need to dereference resplen2.
21140 2011-06-14  Andreas Schwab  <schwab@redhat.com>
21142         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
21144 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
21146         * Makeconfig: Define vardbdir and inst_vardbdir.
21147         * nss/Makefile: Add rules to install db-Makefile.
21149         * nss/nss_db/db-XXX.c: Cleanup.
21151         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
21152         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
21153         GLIBC_PRIVATE.
21154         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
21155         * nss/makedb.c: Implement -g option to specify that value strings
21156         are generated and should not be added to table iterated over for
21157         get*ent calls.
21158         * nss/nss_db/db-initgroups.c: New file.
21160         * nss/getent.c: Add support for initgroups lookups through getgrouplist
21161         interface.
21163         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
21164         (internal_getgrouplist): Adjust to name change.
21165         Update use_initgroups_entry if this is not the first call.
21166         * nss/databases.def: Add initgroups entry.
21168         * nss/makedb.c (compute_tables): Check result of multiple hash table
21169         sizes to minimize maximum chain length.
21171 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
21173         * Versions.def: Add entry for libnss_db.
21174         * shlib-versions: Likewise.
21175         * nss/Makefile: Add rules to build libnss_db.
21176         * nss/Versions: Add libnss_db information.  Organize libnss_files
21177         entries better.
21178         * nss/db-Makefile: Add gshadow support.  Change rules for the new
21179         makedb progra.  Some minor improvements to generate smaller files.
21180         * nss/nss_db/nss_db.h: Move NSS database header data structures to
21181         here from...
21182         * nss/makedb.c: ...here.
21183         Improve database format to be smaller and require less memory at
21184         runtime.
21185         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
21186         db anymore.
21187         * nss/nss_db/db-netgrp.c: Likewise.
21188         * nss/nss_db/db-open.c: Likewise.
21189         * nss/nss_files/flies-XXX.x: Adjust comments.
21190         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
21191         * nss/nss_files/files-grp.c: Likewise.
21192         * nss/nss_files/files-hosts.c: Likewise.
21193         * nss/nss_files/files-network.c: Likewise.
21194         * nss/nss_files/files-proto.c: Likewise.
21195         * nss/nss_files/files-pwd.c: Likewise.
21196         * nss/nss_files/files-rpc.c: Likewise.
21197         * nss/nss_files/files-service.c: Likewise.
21198         * nss/nss_files/files-sgrp.c: Likewise.
21199         * nss/nss_files/files-spwd.c: Likewise.
21200         * nss/nss_db/db-alias.c: Removed.
21201         * nss/nss_db/dummy-db.h: Removed.
21203 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
21205         * nss/makedb.c: Rewritten to not use database library.
21206         * nss/Makefile: Update to build new makedb program.
21208 2011-06-14  Andreas Jaeger  <aj@suse.de>
21210         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
21211         memset declaration.
21213 2011-06-10  Andreas Schwab  <schwab@redhat.com>
21215         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
21216         tmpbuf.
21218 2011-06-10  Roland McGrath  <roland@hack.frob.com>
21220         * Makerules (shlib.lds): Fail if the linker script comes out empty.
21221         * elf/Makefile ($(objpfx)ld.so): Likewise.
21223         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
21224         Don't list ld.so twice in dependencies.
21226         * posix/bug-regex31.c: Include <stdlib.h>.
21228         * nscd/hstcache.c (cache_addhst): Remove unused variable.
21230         * nis/nss_compat/compat-spwd.c
21231         (getspent_next_nss_netgr): Remove unused variable.
21232         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
21234         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
21235         nonmembers" output to use the right array.
21237         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
21239         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
21241         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
21242         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
21243         * catgets/gencat.c (read_input_file): Likewise.
21244         * locale/programs/locarchive.c (enlarge_archive): Likewise.
21246         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
21247         variable definition inside #if's controlling its use.
21249         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
21251         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
21253         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
21255         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
21256         unreachable code.
21258         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
21260         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
21261         * configure: Regenerated.
21263         * Makerules: Revert last change.
21264         * elf/Makefile: Likewise.
21266 2011-06-09  Roland McGrath  <roland@hack.frob.com>
21268         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
21269         * elf/Makefile ($(objpfx)librtld.os): Likewise.
21270         (reloc-link): Likewise.
21272 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
21274         * elf/Makefile: Add rules to build pldd.
21275         * elf/pldd.c: New file.
21276         * elf/pldd-xx.c: New file.
21278 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
21280         * version.h: Update for 2.15 development version.
21282 2011-06-07  David S. Miller  <davem@davemloft.net>
21284         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
21285         ifuncs.
21286         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
21287         elf_machine_lazy_rel): Likewise.
21288         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
21289         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
21290         elf_machine_lazy_rel): Likewise.
21291         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
21292         dl_hwcap via passed in argument.
21293         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
21294         Likewise.
21296 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21298         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
21300 2011-06-06  Roland McGrath  <roland@hack.frob.com>
21302         [BZ #12849]
21303         * manual/fdl-1.1.texi: New file, verbatim from:
21304         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
21305         * manual/lgpl-2.1.texi: New file, verbatim from:
21306         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
21307         * manual/Makefile (licenses): New variable, list those new file names.
21308         (texis): Use it.
21309         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
21311         * manual/fdl.texi: File removed.
21312         * manual/lesser.texi: File removed.
21313         * manual/libc.texinfo (Copying, Documentation License):
21314         Use new @include file names, put @appendix directive before @include.
21316 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
21318         [BZ #12841]
21319         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
21320         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
21321         (mq_open): Add __NTH.
21323 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
21325         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21326         Assume Intel Core i3/i5/i7 processor if AVX is available.
21328 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
21330         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
21331         typo.
21333 2011-05-31  Andreas Schwab  <schwab@redhat.com>
21335         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
21336         memory.  Use alloca_account.  Fix memory leak when retrying.
21338 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
21340         * version.h (RELEASE): Bump for 2.14 release.
21341         * include/features.h (__GLIBC_MINOR__): Bump to 14.
21343         * config.make.in (RANLIB): Remove entry.
21345 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
21347         * po/Makefile (po-sed-cmd): Add ksh to extensions.
21348         (libc.pot): Work around missing support for .ksh extension in xgettext.
21350         [BZ #12684]
21351         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
21352         if both request failed.
21353         (send_dg): In case of server errors clear resplen or *resplen2.
21355         [BZ #12454]
21356         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
21357         when there are multiple maps.
21358         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
21359         (_dl_fini): Remove test here.
21361         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
21363 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
21365         [BZ #12350]
21366         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
21367         bit from old_res_options.
21368         (gaih_inet): Likewise.
21370         [BZ #11099]
21371         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
21372         as signed.
21374         * resolv/res_init.c (res_setoptions): Make the code more compact.
21376         [BZ #11558]
21377         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
21378         set RES_USEVC.
21380         [BZ #11634]
21381         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
21383         * malloc/malloc.h: Mark malloc hook variables as deprecated.
21385         [BZ #11781]
21386         * malloc/malloc.h: Declare malloc hook variables as volatile.
21388         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
21389         in last patch.
21391         [BZ #11799]
21392         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
21393         raise in the comment.
21394         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
21395         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
21396         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
21398 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
21400         [BZ #12811]
21401         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
21402         grow the buffers more if it already has to be sufficient.
21403         (build_wcs_upper_buffer): Likewise.
21404         * posix/regexec.c (check_matching): Likewise.
21405         (clean_state_log_if_needed): Likewise.
21406         (extend_buffers): Don't enlarge buffers beyond size of the input
21407         buffer.
21408         Patches mostly by Emil Wojak <emil@wojak.eu>.
21409         * posix/bug-regex32.c: New file.
21410         * posix/Makefile (tests): Add bug-regex32.
21412         * locale/findlocale.c (_nl_find_locale): Return right away if
21413         _nl_explode_name failed.
21414         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
21416         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
21418         * debug/xtrace.sh: Unify messages.
21419         * malloc/memusage.sh: Likewise.
21421         [BZ #12813]
21422         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
21423         time symbol from vDSO.  Substitute with vsyscall if not available.
21424         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
21425         __vdso_time.
21427         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
21428         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
21429         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
21430         Add sendmmsg and internal_sendmmsg.
21431         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
21432         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
21433         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
21435         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
21436         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
21437         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
21439 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
21441         [BZ #12813]
21442         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
21443         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
21444         available.
21445         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
21446         __vdso_getcpu.
21448         [BZ #12814]
21449         * iconvdata/Makefile (tests): Add bug-iconv9.
21450         * iconvdata/bug-iconv9.c: New file.
21452 2011-05-27  Andreas Schwab  <schwab@redhat.com>
21454         [BZ #12814]
21455         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
21457 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
21459         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
21460         (struct user_regs_struct): Change intcs field back to cs.
21462 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
21464         * po/ja.po: Update from translation team.
21466 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
21468         [BZ #12795]
21469         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
21470         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
21472 2011-05-20  Andreas Schwab  <schwab@redhat.com>
21474         * stdlib/longlong.h: Update from GCC.
21476 2011-05-23  Andreas Schwab  <schwab@redhat.com>
21478         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
21479         parameter name.
21480         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
21481         Add parameter name.
21482         (__sysconf): Pass it down.
21484 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
21486         [BZ #12671]
21487         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
21488         some situations.
21489         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
21490         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
21491         add in in __libc_use_alloca calls.  Adjust callers.
21492         (glob): Use malloc in some situations.
21494         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
21495         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
21496         pltexit.
21498 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
21500         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
21501         and CLOCK_BOOTTIME_ALARM.
21503         [BZ #12782]
21504         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
21505         is returned.
21507         * string/_strerror.c (__strerror_r): Print negative errors as signed
21508         numbers.
21510         [BZ #12777]
21511         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
21512         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
21513         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
21515         * configure.in: Fix typo in redirection and correct removal of test
21516         files in two cases.
21518         [BZ #12788]
21519         * locale/setlocale.c (new_composite_name): Fix test to check for
21520         identical name of all categories.
21522         [BZ #12792]
21523         * libio/filedoalloc.c (local_isatty): New function.
21524         (_IO_file_doallocate): Use local_isatty.
21525         * stdio-common/perror.c (perror): In case a new stream is used
21526         forward the stream error.
21527         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
21528         error flag.
21530 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
21532         [BZ #11869]
21533         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
21534         alloca.
21535         * include/alloca.h (extend_alloca_account): Define.
21537         [BZ #11857]
21538         * posix/regex.h: Fix comments with documentation of user-accessible
21539         fields after compilation and describe correct free'ing of pattern
21540         after re_compile_pattern.
21541         Patch by Reuben Thomas <rrt@sc3d.org>.
21543 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
21545         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
21546         and -mno-altivec to prevent the compiler from using Altivec and/or
21547         VSX instructions when the corresponding registers are not available.
21549 2011-05-19  Andreas Schwab  <schwab@redhat.com>
21551         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
21553 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
21555         * libio/freopen.c (freopen): Use __dup2, not dup2.
21556         * libio/freopen64.c (freopen64): Likewise.
21558 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
21560         [BZ #12775]
21561         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
21562         * math/Makefile (tests): Add test-powl.
21563         (CFLAGS-test-powl.c): Define.
21564         * math/test-powl.c: New file.
21566 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
21568         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
21570 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
21572         [BZ #11837]
21573         * iconvdata/gb18030.c: Update to GB18020-2005.
21575 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
21577         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
21578         RE_SYNTAX_POSIX_AWK): Update to match recent development.
21579         Patch by Aharon Robbins <arnold@skeeve.com>.
21581         [BZ #11892]
21582         * stdlib/putenv.c (putenv): Don't always create copy of the variable
21583         on the stack.
21585         [BZ #11895]
21586         * misc/pselect.c (__pselect): Handle timeout value errors hidden
21587         through underflows.
21589         [BZ #12766]
21590         * misc/error.c (error_at_line): Ensure file_name and old_file_name
21591         point to strings before performing equality test for error_one_per_line
21592         mode.
21594         [BZ #11697]
21595         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
21597         [BZ #11820]
21598         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
21599         (struct user_fpregs_struct): Avoid __uint*_t types.
21601         [BZ #6420]
21602         * malloc/mtrace.c (tr_where): Add additional parameter to point to
21603         symbol info.  Use it instead of calling _dl_addr locally.
21604         (lock_and_info): New function.
21605         (tr_freehook): Call lock_and_info and pass symbol info as additional
21606         parameter to tr_where.
21607         (tr_mallochook): Likewise.
21608         (tr_reallochook): Likewise.
21609         (tr_memalignhook): Likewise.
21611         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
21612         used and couldn't be at all thread-safe.
21614 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
21616         * libio/freopen.c (freopen): Don't close old file descriptor
21617         before the new one is opened.  Instead dup the new file descriptor
21618         to the old one after the new stream is created.
21619         * libio/freopen64.c (freopen64): Likewise.
21620         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
21621         * libio/fileops.c (_IO_new_file_close_it): Handle new
21622         _IO_FLAGS2_NOCLOSE flag.
21623         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
21624         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
21625         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
21626         _IO_FLAGS2_NOCLOSE flag.
21627         * include/unistd.h: Add hidden_proto for dup3.
21628         Define __have_dup3.
21629         * io/dup3.c: Define hidden symbol.
21630         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
21632         [BZ #7101]
21633         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
21634         when an incomplete long option is used.
21635         * posix/tst-getopt_long1.c: New file.
21636         * posix/Makefile (tests): Add tst-getopt_long1.
21638         [BZ #10138]
21639         * scripts/config.guess: Update from autoconf-2.68.
21640         * scripts/config.sub: Likewise.
21642         [BZ #10157]
21643         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
21644         tests into ...
21645         (has_cpuclock): ...this.  New function.
21646         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
21647         macro here based on has_cpuclock code.
21649         [BZ #10149]
21650         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21651         First byte (not low byte) is now always NUL.
21652         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
21654         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21655         Use non-cancelable interfaces.
21657         [BZ #9809]
21658         * locale/iso-639.def: Add entry for Sorani.
21660         [BZ #11901]
21661         * include/stdlib.h: Move include protection to the right place.
21662         Define abort_msg_s.  Declare __abort_msg with it.
21663         * stdlib/abort.c (__abort_msg): Adjust type.
21664         * assert/assert.c (__assert_fail_base): New function.  Majority
21665         of code from __assert_fail.  Allocate memory for __abort_msg with
21666         mmap.
21667         (__assert_fail): Now call __assert_fail_base.
21668         * assert/assert-perr.c: Remove bulk of implementation.  Use
21669         __assert_fail_base.
21670         * include/assert.hL Declare __assert_fail_base.
21671         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
21672         mmap.
21673         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
21675 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
21677         [BZ #11952]
21678         [BZ #12453]
21679         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
21680         until all modules are registered in the DTV.
21681         * elf/Makefile: Add rules to build and run tst-tls19.
21682         * elf/tst-tls19.c: New file.
21683         * elf/tst-tls19mod1.c: New file.
21684         * elf/tst-tls19mod2.c: New file.
21685         * elf/tst-tls19mod3.c: New file.
21686         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
21688         [BZ #12083]
21689         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
21690         correctly.
21692         [BZ #12601]
21693         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
21694         two-byte sequence errors.
21695         * iconvdata/Makefile (tests): Add bug-iconv8.
21696         * iconvdata/bug-iconv8.c: New file.
21698         [BZ #12626]
21699         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
21700         buf2 definition.
21702         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
21704         [BZ #12432]
21705         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
21706         (dummy_getcfa): New function.
21707         (init): Get _Unwind_GetCFA address, use dummy if not found.
21708         (backtrace_helper): In recursion check, also check whether CFA changes.
21709         (__backtrace): Completely initialize arg.
21711         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
21712         storing incomplete byte sequence in state object.  Avoid testing for
21713         guaranteed too small input if we know there is enough data available.
21715 2011-05-11  Andreas Schwab  <schwab@redhat.com>
21717         * Makeconfig (+link-pie): Indent.
21718         * Rules (binaries-pie): Define if $(have-fpie) and
21719         $(build-shared).
21720         (binaries-shared): Also filter out $(binaries-pie).
21721         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
21722         * nscd/Makefile (others-pie): Add nscd.
21723         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
21724         ($(objpfx)nscd): Remove command override.
21725         * login/Makefile (others-pie): Add pt_chown.
21726         ($(objpfx)pt_chown): Remove command override.
21727         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
21728         remove command overrides.
21730 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
21732         * libio/tst_putwc.c: Fix error messages.
21734         [BZ #12724]
21735         * libio/fileops.c (_IO_new_file_close_it): Always flush when
21736         currently writing and seek to current position when not.
21737         * libio/Makefile (tests): Add bug-fclose1.
21738         * libio/bug-fclose1.c: New file.
21740 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
21742         [BZ #12511]
21743         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
21744         don't set DF_1_NODELETE here.
21745         (do_lookup_x): When entering new entry test for copy relocation
21746         and if necessary set DF_1_NODELETE flag.
21747         * elf/tst-unique4.cc: New file.
21748         * elf/tst-unique4.h: New file.
21749         * elf/tst-unique4lib.cc: New file.
21750         * elf/Makefile: Add rules to build and run tst-unique4.
21751         Patch by Piotr Bury <pbury@goahead.com>.
21753 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
21755         [BZ #12052]
21756         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
21758         [BZ #12625]
21759         * misc/mntent_r.c (addmntent): Flush the stream after the output
21761         [BZ #12393]
21762         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
21763         (is_trusted_path_normalize): Skip initial colon.  Append slash
21764         to empty buffer.  Duplicate is_trusted_path code but allow
21765         constructed patch to be prefix.
21766         (is_dst): Allow $ORIGIN followed by /.
21767         (_dl_dst_substitute): Correct clearing of check_for_trusted.
21768         Correct testing of result of is_trusted_path_normalize
21769         (decompose_rpath): Fix warning.
21771 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
21773         [BZ #11257]
21774         * grp/initgroups.c (internal_getgrouplist): When we found the service
21775         list through the initgroups entry in nsswitch.conf do not always
21776         continue on a successful lookup.  Don't always use the
21777         __nss_group_database value if it is set.
21778         * nss/nsswitch.conf (initgroups): Change action for successful db
21779         lookup to continue for compatibility.
21781 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
21783         [BZ #11532]
21784         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
21785         and CP774 modules.
21786         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
21787         and CP774 modules.
21788         * iconvdata/tst-tables.sh: Likewise.
21789         * iconvdata/cp770.c: New file.
21790         * iconvdata/cp771.c: New file.
21791         * iconvdata/cp772.c: New file.
21792         * iconvdata/cp773.c: New file.
21793         * iconvdata/cp774.c: New file.
21794         * iconvdata/testdata/CP770: New file.
21795         * iconvdata/testdata/CP770..UTF8: New file.
21796         * iconvdata/testdata/CP771: New file.
21797         * iconvdata/testdata/CP771..UTF8: New file.
21798         * iconvdata/testdata/CP772: New file.
21799         * iconvdata/testdata/CP772..UTF8: New file.
21800         * iconvdata/testdata/CP773: New file.
21801         * iconvdata/testdata/CP773..UTF8: New file.
21802         * iconvdata/testdata/CP774: New file.
21803         * iconvdata/testdata/CP774..UTF8: New file.
21805         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
21806         END CHARMAP line.
21807         * iconvdata/gen-8bit-gap.sh: Likewise.
21808         * iconvdata/gen-8bit.sh: Likewise.
21810         * locale/iso-639.def: Add ary entry.
21812         [BZ #11258]
21813         * locale/C-translit.h.in: Add U20A1 transliteration.
21815         [BZ #12178]
21816         * locale/iso-639.def: Add wae entry.
21817         Patch by Kevin Bortis <bortis@translate-wae.ch>.
21819         [BZ #12545]
21820         * locale/programs/localedef.c (construct_output_path): Use ssize_t
21821         for n.
21823         [BZ #12711]
21824         * locale/C-translit.h.in: Add entry for U20B9.
21825         Patch by pravin.d.s@gmail.com.
21827 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
21829         [BZ #12713]
21830         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
21831         ENAMETOOLONG use generic getcwd.
21832         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
21833         in rtld.  Use *stat64.
21834         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
21835         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
21836         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
21837         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
21838         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
21839         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
21840         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
21841         __fstatat64 macros.
21842         * include/dirent.h: Add libc_hidden_proto for rewinddir.
21843         * dirent/rewinddir.c: Add libc_hidden_def.
21844         * sysdeps/mach/hurd/rewinddir.c: Likewise.
21845         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
21847         * include/dirent.h (__alloc_dir): Add flags parameter.
21848         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
21849         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
21850         __alloc_dir.
21851         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
21852         from fdopendir if O_CLOEXEC is already set.
21854 2011-03-15  Alan Modra  <amodra@gmail.com>
21856         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
21857         l_tls_firstbyte_offset non-zero.  Save padding offset in
21858         l_tls_firstbyte_offset for later use.
21859         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
21860         freeing static tls block.
21862 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
21864         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
21865         where #ifdef was intended.  The intent is to prevent ARG_MAX from
21866         being defined by the kernel headers.
21868 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
21870         [BZ #12734]
21871         * resolv/resolv.h: Define RES_NOTLDQUERY.
21872         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
21873         no-tld-query and set RES_NOTLDQUERY.
21874         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
21875         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
21876         modern BIND to search name as TLD unless forbidden.
21878 2011-05-07  Petr Baudis  <pasky@suse.cz>
21879             Ulrich Drepper  <drepper@gmail.com>
21881         [BZ #12393]
21882         * elf/dl-load.c (fillin_rpath): Move trusted path check...
21883         (is_trusted_path): ...to here.
21884         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
21885         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
21886         using is_trusted_path_normalize() in setuid scripts.
21888 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
21890         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
21891         __BEGIN/__END_DECLS.
21893 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
21895         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
21896         NSS_STATUS_NOTFOUND if no record was found.
21898 2011-05-05  Andreas Schwab  <schwab@redhat.com>
21900         * sunrpc/Makefile (headers): Add rpc/netdb.h.
21901         (headers-not-in-tirpc): Remove rpc/netdb.h
21902         * resolv/netdb.h: Revert last change.
21904 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
21906         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
21907         circular dependency between libgcc.a and libc.a.
21909 2011-05-05  Andreas Schwab  <schwab@redhat.com>
21911         * resolv/netdb.h: Don't include <rpc/netdb.h>.
21912         * nis/Makefile: Don't install rpcsvc/*.
21913         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
21914         instead of <rpc/types.h>.
21915         (MAXHOSTNAMELEN): Define.
21917 2011-05-03  Andreas Schwab  <schwab@redhat.com>
21919         * elf/ldconfig.c (add_dir): Don't crash on empty path.
21921 2011-04-28  Maciej Babinski  <mbabinski@google.com>
21923         [BZ #12714]
21924         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
21925         gethostbyname4_r when IPv6 results are possible.
21927 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
21929         [BZ #12723]
21930         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
21931         _PC_PIPE_BUF handling.
21933 2011-04-30  Bruno Haible  <bruno@clisp.org>
21935         [BZ #12717]
21936         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
21937         * resolv/netdb.h (getnameinfo): Change type of flags parameter
21938         to 'int'.
21939         * inet/getnameinfo.c (getnameinfo): Likewise.
21941 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
21943         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
21944         to groups setting in database lookup.
21945         * nss/nsswitch.conf: Add initgroups entry.
21947 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
21949         [BZ #12685]
21950         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
21951         mode string.
21952         Patch by Eric Blake <eblake@redhat.com>.
21954 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
21956         * sunrpc/Makefile (need-export-routines): Add svc_run.
21957         (routines): Remove svc_run.
21958         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
21959         * sunrpc/clnt_perr.c (clnt_perrno): Export.
21960         * sunrpc/svc_run.c (svc_run): Likewise.
21961         * sunrpc/svc_udp.c (svcudp_create): Likewise.
21963 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
21965         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
21966         problem in reallocation in last patch.
21968 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
21970         * sunrpc/Makefile: Move inclusion of Rules.
21972 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
21974         * nss/nss_files/files-initgroups.c: New file.
21975         * nss/Makefile (libnss_files-routines): Add files-initgroups.
21976         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
21977         _nss_files_initgroups_dyn.
21979 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
21981         * elf/elf.h (R_ARM_IRELATIVE): Define.
21983 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
21985         * po/ru.po: Update from translation team.
21987 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
21989         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
21990         dependencies.
21992 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
21994         [BZ #12653]
21995         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
21996         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
21997         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
21998         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21999         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22001 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
22003         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
22004         differing bytes.
22005         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22006         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22007         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22009 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
22011         [BZ #12420]
22012         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
22013         storing it.
22014         * stdlib/bug-getcontext.c: New file.
22015         * stdlib/Makefile: Add rules to build and run bug-getcontext.
22017 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22019         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
22020         instructions into .machine "z9-109".
22021         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
22022         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
22024 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22026         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
22027         between environment variables and auxiliary vector.
22029 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
22031         * Makefile: Add rules to build linkobj/libc.so.
22032         * include/libc-symbols.h: Define libc_hidden_nolink.
22033         * include/rpc/auth.h: Mark functions which are to be hidden.
22034         * include/rpc/auth_des.h: Likewise.
22035         * include/rpc/auth_unix.h: Likewise.
22036         * include/rpc/clnt.h: Likewise.
22037         * include/rpc/des_crypt.h: Likewise.
22038         * include/rpc/key_prot.h: Likewise.
22039         * include/rpc/pmap_clnt.h: Likewise.
22040         * include/rpc/pmap_prot.h: Likewise.
22041         * include/rpc/pmap_rmt.h: Likewise.
22042         * include/rpc/rpc_msg.h: Likewise.
22043         * include/rpc/svc.h: Likewise.
22044         * include/rpc/svc_auth.h: Likewise.
22045         * include/rpc/xdr.h: Likewise.
22046         * nis/Makefile: Link all DSOs against linkobj/libc.so.
22047         * nss/Makefile: Likewise.
22048         * sunrpc/Makefile: Don't install headers.  Build library with normal
22049         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
22050         * sunrpc/auth_des.c: Hide exported symbols by default, export some
22051         for the compat linking library.  Remove use of INTDEF/INTUSE.
22052         * sunrpc/auth_none.c: Likewise.
22053         * sunrpc/auth_unix.c: Likewise.
22054         * sunrpc/authdes_prot.c: Likewise.
22055         * sunrpc/authuxprot.c: Likewise.
22056         * sunrpc/clnt_gen.c: Likewise.
22057         * sunrpc/clnt_perr.c: Likewise.
22058         * sunrpc/clnt_raw.c: Likewise.
22059         * sunrpc/clnt_simp.c: Likewise.
22060         * sunrpc/clnt_tcp.c: Likewise.
22061         * sunrpc/clnt_udp.c: Likewise.
22062         * sunrpc/clnt_unix.c: Likewise.
22063         * sunrpc/des_crypt.c: Likewise.
22064         * sunrpc/des_soft.c: Likewise.
22065         * sunrpc/get_myaddr.c: Likewise.
22066         * sunrpc/key_call.c: Likewise.
22067         * sunrpc/key_prot.c: Likewise.
22068         * sunrpc/netname.c: Likewise.
22069         * sunrpc/pm_getmaps.c: Likewise.
22070         * sunrpc/pm_getport.c: Likewise.
22071         * sunrpc/pmap_clnt.c: Likewise.
22072         * sunrpc/pmap_prot.c: Likewise.
22073         * sunrpc/pmap_prot2.c: Likewise.
22074         * sunrpc/pmap_rmt.c: Likewise.
22075         * sunrpc/publickey.c: Likewise.
22076         * sunrpc/rpc_cmsg.c: Likewise.
22077         * sunrpc/rpc_common.c: Likewise.
22078         * sunrpc/rpc_dtable.c: Likewise.
22079         * sunrpc/rpc_prot.c: Likewise.
22080         * sunrpc/rpc_thread.c: Likewise.
22081         * sunrpc/rtime.c: Likewise.
22082         * sunrpc/svc.c: Likewise.
22083         * sunrpc/svc_auth.c: Likewise.
22084         * sunrpc/svc_authux.c: Likewise.
22085         * sunrpc/svc_raw.c: Likewise.
22086         * sunrpc/svc_run.c: Likewise.
22087         * sunrpc/svc_simple.c: Likewise.
22088         * sunrpc/svc_tcp.c: Likewise.
22089         * sunrpc/svc_udp.c: Likewise.
22090         * sunrpc/svc_unix.c: Likewise.
22091         * sunrpc/svcauth_des.c: Likewise.
22092         * sunrpc/xcrypt.c: Likewise.
22093         * sunrpc/xdr.c: Likewise.
22094         * sunrpc/xdr_array.c: Likewise.
22095         * sunrpc/xdr_float.c: Likewise.
22096         * sunrpc/xdr_intXX_t.c: Likewise.
22097         * sunrpc/xdr_mem.c: Likewise.
22098         * sunrpc/xdr_rec.c: Likewise.
22099         * sunrpc/xdr_ref.c: Likewise.
22100         * sunrpc/xdr_sizeof.c: Likewise.
22101         * sunrpc/xdr_stdio.c: Likewise.
22103 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
22105         [BZ #12650]
22106         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
22107         * sysdeps/ia64/dl-tls.h: Likewise.
22108         * sysdeps/powerpc/dl-tls.h: Likewise.
22109         * sysdeps/s390/dl-tls.h: Likewise.
22110         * sysdeps/sh/dl-tls.h: Likewise.
22111         * sysdeps/sparc/dl-tls.h: Likewise.
22112         * sysdeps/x86_64/dl-tls.h: Likewise.
22113         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
22115 2011-03-14  Andreas Schwab  <schwab@redhat.com>
22117         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
22118         rpath element also skip the following colon.
22119         (expand_dynamic_string_token): Add is_path parameter and pass
22120         down to DL_DST_REQUIRED and _dl_dst_substitute.
22121         (decompose_rpath): Call expand_dynamic_string_token with
22122         non-zero is_path.  Ignore empty rpaths.
22123         (_dl_map_object_from_fd): Call expand_dynamic_string_token
22124         with zero is_path.
22126 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
22128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
22129         Make cancelable.
22131 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
22133         [BZ #12655]
22134         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
22135         Patch by Filipe David Manana <fdmanana@apache.org>.
22137 2011-04-07  Andreas Schwab  <schwab@redhat.com>
22139         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
22140         Maintain aligned stack.
22141         (CHECK_RSP): Remove unused macro.
22143 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
22145         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
22146         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
22148 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
22150         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
22152         * include/features.h: Mention __USE_XOPEN2K8 in comment.
22154 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
22156         [BZ #12518]
22157         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
22158         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
22159         * sysdeps/x86_64/memmove.c: New file.
22160         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
22161         (memcpy): Renamed to ...
22162         (__new_memcpy): This.
22163         (memcpy): Provide GLIBC_2_14 memcpy.
22164         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
22165         (memcpy): Provide GLIBC_2_2_5 memcpy.
22167 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
22169         [BZ #12631]
22170         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
22172 2011-03-30  Andreas Schwab  <schwab@redhat.com>
22174         * misc/syncfs.c: New file.
22175         * misc/Makefile (routines): Add syncfs.
22176         * posix/unistd.h: Declare syncfs.
22177         * sysdeps/unix/syscalls.list: Add syncfs.
22179 2011-04-01  Andreas Schwab  <schwab@redhat.com>
22181         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
22182         open_by_handle_at.
22183         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
22184         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
22185         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22186         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22187         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22188         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
22189         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22191 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
22193         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
22194         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
22195         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
22196         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22197         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22198         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22199         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22201         * io/Makefile: Compile fallocate.c, fallocate64.c, and
22202         sync_file_range.c with -fexceptions.
22203         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
22204         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
22205         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
22206         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
22207         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
22208         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
22209         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
22210         sync_file_range as cancellation point
22211         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
22212         now a wrapper around __call_sync_file_range with cancellation handling.
22213         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
22214         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
22215         function name to __call_sync_file_range.
22216         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
22217         Add call_sync_file_range.
22219 2011-04-01  Andreas Schwab  <schwab@redhat.com>
22221         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22222         bits/timex.h.
22224 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
22226         * iconv/iconv.h: Fix typo in comment.
22227         * io/fcntl.h: Likewise.
22228         * libio/stdio.h: Likewise.
22229         * posix/spawn.h: Likewise.
22230         * posix/unistd.h: Likewise.
22231         * stdlib/stdlib.h: Likewise.
22232         * time/time.h: Likewise.
22233         * wcsmbs/wchar.h: Likewise.
22235         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
22236         open_by_handle): Add.
22237         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
22238         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
22239         Augment a few comments.
22240         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
22241         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22242         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22243         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22244         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22245         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
22246         open_by_handle.
22248         * io/fcntl.h (AT_EMPTY_PATH): Define.
22250 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
22252         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
22253         * sysdeps/unix/sysv/linux/bits/time.h: New file.
22254         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
22255         to...
22256         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
22257         * Versions.def: Add GLIBC_2.14.
22258         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
22259         Export.
22261 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
22263         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
22264         round counter.
22265         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
22267 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
22269         [BZ #12597]
22270         * string/test-strncmp.c (do_page_test): New function.
22271         (check2): Likewise.
22272         (test_main): Call check2.
22273         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
22275 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
22277         [BZ #12587]
22278         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
22279         Handle cache information in CPU leaf 4.
22280         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
22282 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
22284         [BZ #12583]
22285         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
22286         character representation.
22287         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
22289 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
22291         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
22292         END(__isnan) to END(__isnanf) to match function entry point/label
22293         EALIGN(__isnanf,...).
22295 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
22297         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
22299 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
22301         [BZ #12510]
22302         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
22303         copy from the symbol referenced in the relocation to initialize the
22304         used variable.
22305         Patch by Piotr Bury <pbury@goahead.com>.
22306         * elf/Makefile: Add rules to build and tst-unique3.
22307         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
22308         * elf/tst-unique3.cc: New file.
22309         * elf/tst-unique3.h: New file.
22310         * elf/tst-unique3lib.cc: New file.
22311         * elf/tst-unique3lib2.cc: New file.
22313         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
22315 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
22317         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
22318         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
22319         to _start.
22321 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
22323         * elf/dl-load.c (_dl_map_object): If we are looking for the first
22324         to-be-loaded object along a path to loader is ld.so.
22326 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
22327             Ulrich Drepper  <drepper@gmail.com>
22329         * sysdeps/x86_64/memset.S: After aligning destination, code
22330         branches to different locations depending on the value of
22331         misalignment, when multiarch is enabled. Fix this.
22333 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
22335         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
22336         Set _x86_64_preferred_memory_instruction for AMD processsors.
22337         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22338         Set bit_Prefer_SSE_for_memop for AMD processors.
22340 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
22342         * libio/fmemopen.c (fmemopen): Optimize a bit.
22344 2011-03-03  Andreas Schwab  <schwab@redhat.com>
22346         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
22348 2011-03-03  Roland McGrath  <roland@redhat.com>
22350         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
22352 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
22354         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
22355         __bzero_ultra1 instead of __memset_ultra1.
22357 2011-02-23  Andreas Schwab  <schwab@redhat.com>
22358             Ulrich Drepper  <drepper@gmail.com>
22360         [BZ #12509]
22361         * include/link.h (struct link_map): Add l_orig_initfini.
22362         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
22363         returning unsuccessfully.
22364         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
22365         close of a file loaded at startup, restore the original l_initfini
22366         list.
22367         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
22368         list, store the pointer.
22369         * elf/Makefile ($(objpfx)noload-mem): New rule.
22370         (noload-ENV): Define.
22371         (tests): Add $(objpfx)noload-mem.
22372         * elf/noload.c: Include <memcheck.h>.
22373         (main): Call mtrace.  Close all opened handles.
22375 2011-02-17  Andreas Schwab  <schwab@redhat.com>
22377         [BZ #12454]
22378         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
22379         dependencies are missing.
22381 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22383         Fix __if_freereq crash: Unlike the generic version which uses free,
22384         Hurd needs munmap.
22385         * sysdeps/mach/hurd/ifreq.h: New file.
22387 2011-01-27  Petr Baudis  <pasky@suse.cz>
22388             Ulrich Drepper  <drepper@gmail.com>
22390         [BZ 12445]#
22391         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
22392         to extend_alloca().
22393         * stdio-common/bug23.c: New file.
22394         * stdio-common/Makefile (tests): Add bug23.
22396 2010-09-28  Andreas Schwab  <schwab@redhat.com>
22397             Ulrich Drepper  <drepper@gmail.com>
22399         [BZ #12489]
22400         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
22401         before performing relro protection.  At old place add assertion
22402         to make sure nothing changed.
22404 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
22405             Glauber de Oliveira Costa  <glommer@gmail.com>
22407         * elf/elf.h: Add new ARM TLS relocs.
22409 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
22411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
22412         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
22413         cast from r3.
22414         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
22415         'tests' variable.
22416         * sysdeps/wordsize-64/tst-writev.c: New file.
22418 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
22420         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
22421         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
22422         insns in _dl_start to prevent a TOC reference before relocs are
22423         resolved.
22425 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
22427         [BZ #12469]
22428         * Makeconfig: Remove RANLIB definition.
22429         * Makerules: Don't use RANLIB.
22430         * aclocal.m4: Remove ranlib test.
22431         * configure.in: No need to check for ranlib.
22432         * elf/rtld-Rules: Don't use RANLIB.
22434 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22436         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
22437         protection macro.
22438         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
22439         inclusion protection macro.
22441         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
22442         SIGRTMIN and SIGRTMAX and print information in that case only when
22443         SIGRTMIN is defined.
22445 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
22447         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
22448         arginfo fn returning -1.
22450         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
22451         and thousands string is zero terminated.
22453 2011-02-03  Andreas Schwab  <schwab@redhat.com>
22455         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
22456         sysdeps/unix/sysv/linux/bits/socket.h.
22458 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22460         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
22461         (__CPU_COUNT): Remove old macros.
22462         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
22463         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
22464         (__CPU_ALLOC, __CPU_FREE): Add macros.
22465         (__sched_cpualloc, __sched_cpufree): Add declarations.
22467 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
22469         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
22470         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
22471         * nscd/aicache.c (addhstaiX): Return timeout of added value.
22472         (readdhstai): Return value of addhstaiX call.
22473         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
22474         (addgrbyX): Return value returned by cache_addgr.
22475         (readdgrbyname): Return value returned by addgrbyX.
22476         (readdgrbygid): Likewise.
22477         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
22478         (addpwbyX): Return value returned by cache_addpw.
22479         (readdpwbyname): Return value returned by addhstbyX.
22480         (readdpwbyuid): Likewise.
22481         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
22482         (addservbyX): Return value returned by cache_addserv.
22483         (readdservbyname): Return value returned by addservbyX:
22484         (readdservbyport): Likewise.
22485         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
22486         (addhstbyX): Return value returned by cache_addhst.
22487         (readdhstbyname): Return value returned by addhstbyX.
22488         (readdhstbyaddr): Likewise.
22489         (readdhstbynamev6): Likewise.
22490         (readdhstbyaddrv6): Likewise.
22491         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
22492         (readdinitgroups): Return value returned by addinitgroupsX.
22493         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
22494         (prune_cache): Keep track of timeout value of re-added entries.
22495         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
22496         * nscd/nscd.h: Adjust prototypes of readd* functions.
22498 2011-02-04  Roland McGrath  <roland@redhat.com>
22500         * nis/nis_server.c (nis_servstate): Use the right name for 0.
22501         (nis_stats): Likewise.
22502         * nis/nis_modify.c (nis_modify): Likewise.
22503         * nis/nis_remove.c (nis_remove): Likewise.
22504         * nis/nis_add.c (nis_add): Likewise.
22506         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
22508         * posix/fnmatch_loop.c: Add some consts.
22510         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
22512 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
22514         [BZ #12460]
22515         * config.make.in (config-cflags-novzeroupper): Define.
22516         * configure.in: Substitute libc_cv_cc_novzeroupper.
22517         * elf/Makefile (AVX-CFLAGS): Define.
22518         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
22519         (CFLAGS-tst-auditmod4a.c): Likewise.
22520         (CFLAGS-tst-auditmod4b.c): Likewise.
22521         (CFLAGS-tst-auditmod6b.c): Likewise.
22522         (CFLAGS-tst-auditmod6c.c): Likewise.
22523         (CFLAGS-tst-auditmod7b.c): Likewise.
22524         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
22526 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
22528         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
22529         function to the callback.
22530         Patch partly by Jiri Olsa <jolsa@redhat.com>.
22532 2011-02-02  Andreas Schwab  <schwab@redhat.com>
22534         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
22535         of errno.
22537 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
22539         [BZ #11724]
22540         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
22541         of constructors.
22542         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
22543         of destructors.
22544         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
22546         [BZ #11724]
22547         * elf/Makefile: Add rules to build and run new test.
22548         * elf/tst-initorder.c: New file.
22549         * elf/tst-initorder.exp: New file.
22550         * elf/tst-initordera1.c: New file.
22551         * elf/tst-initordera2.c: New file.
22552         * elf/tst-initordera3.c: New file.
22553         * elf/tst-initordera4.c: New file.
22554         * elf/tst-initorderb1.c: New file.
22555         * elf/tst-initorderb2.c: New file.
22556         * elf/tst-order-a1.c: New file.
22557         * elf/tst-order-a2.c: New file.
22558         * elf/tst-order-a3.c: New file.
22559         * elf/tst-order-a4.c: New file.
22560         * elf/tst-order-b1.c: New file.
22561         * elf/tst-order-b2.c: New file.
22562         * elf/tst-order-main.c: New file.
22563         New test case by George Gensure <werkt0@gmail.com>.
22565 2010-10-01  Andreas Schwab  <schwab@redhat.com>
22567         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
22568         decoding ACE if AI_CANONIDN.
22570 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
22572         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
22574 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
22576         * version.h (RELEASE): Bump for 2.13 release.
22577         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
22579         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
22581         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
22582         MADV_NOHUGEPAGE.
22583         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
22584         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
22585         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22586         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
22587         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22588         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
22590         * posix/getconf.c: Update copyright year.
22591         * catgets/gencat.c: Likewise.
22592         * csu/version.c: Likewise.
22593         * debug/catchsegv.sh: Likewise.
22594         * debug/xtrace.sh: Likewise.
22595         * elf/ldconfig.c: Likewise.
22596         * elf/ldd.bash.in: Likewise.
22597         * elf/sprof.c (print_version): Likewise.
22598         * iconv/iconv_prog.c: Likewise.
22599         * iconv/iconvconfig.c: Likewise.
22600         * locale/programs/locale.c: Likewise.
22601         * locale/programs/localedef.c: Likewise.
22602         * malloc/memusage.sh: Likewise.
22603         * malloc/mtrace.pl: Likewise.
22604         * nscd/nscd.c (print_version): Likewise.
22605         * nss/getent.c: Likewise.
22607         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
22608         PF_CAIF, and PF_ALG.
22609         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22611 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
22613         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
22614         (modules-names): Use them.
22615         (ifunc-test-modules, ifunc-pie-tests): Define.
22616         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
22617         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
22618         (test-extras): Likewise.
22619         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
22620         $(compile-command.c).
22621         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
22622         (all-built-dso): Define.
22623         (check-textrel.out, check-execstack.out): Depend on it.
22625         * configure.in: Don't override --enable-multi-arch.
22627 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
22629         [BZ #6812]
22630         * nscd/hstcache.c (tryagain): Define.
22631         (cache_addhst): Return tryagain not notfound for temporary errors.
22632         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
22633         failed.
22635 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
22637         [BZ #10563]
22638         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
22639         to make the syscall.
22640         * sysdeps/unix/sysv/linux/setgroups.c: New file.
22642         [BZ #12378]
22643         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
22644         and fall back to matching as normal character if the string ends before
22645         the matching ']' is found.  This is what POSIX requires.
22646         * posix/testfnm.c: Adjust test result.
22647         * posix/globtest.sh: Adjust test result.  Add new test.
22648         * posix/tst-fnmatch.input: Likewise.
22649         * posix/tst-fnmatch2.c: Add new test.
22651 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
22653         * elf/Makefile (check-execstack): Revert last change.  Depend on
22654         check-execstack.h.
22655         (check-execstack.h): New target.
22656         (generated): Add check-execstack.h.
22657         * elf/check-execstack.c: Include "check-execstack.h".
22658         (main): Revert last change.
22659         (handle_file): Return zero if GNU_STACK is absent and
22660         DEFAULT_STACK_PERMS doesn't include PF_X.
22662 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
22664         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
22665         in child fails because the descriptor is already closed.
22666         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
22667         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
22668         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
22670         [BZ #12397]
22671         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
22672         syscall.
22674         [BZ #10484]
22675         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
22676         temporary buffer used to handle multi lookups locally.
22677         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
22679 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
22681         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
22682         loader is ld.so.
22684 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
22686         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
22687         alignment for SSE2.
22689 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
22691         [BZ #12394]
22692         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
22693         characters.  When rounding increased number of integer digits recompute
22694         number of groups.
22695         * stdio-common/tst-grouping.c: New file.
22696         * stdio-common/Makefile: Add rules to build and run tst-grouping.
22698 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
22700         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
22701         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
22703         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
22704         void.
22705         * bits/select.h: Likewise.
22707 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
22709         * po/ja.po: Update from translation team.
22711 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
22713         [BZ #11155]
22714         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
22715         implementation just like for lxstat, fxstatat, et al.
22717 2010-12-27  Jim Meyering  <meyering@redhat.com>
22719         [BZ #12348]
22720         * posix/regexec.c (build_trtable): Return failure indication upon
22721         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
22723 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
22725         [BZ #12201]
22726         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
22727         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
22728         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
22729         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
22731         [BZ #12207]
22732         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
22734         [BZ #12204]
22735         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
22736         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
22738 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
22740         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
22741         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
22742         script has SORT_BY_INIT_PRIORITY.
22743         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
22744         NO_CTORS_DTORS_SECTIONS is defined.
22745         * elf/soinit.c: Likewise.
22746         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
22747         NO_CTORS_DTORS_SECTIONS is defined.
22748         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
22749         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
22750         * sysdeps/sh/init-first.c: Likewise.
22751         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
22753 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
22755         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
22756         always use the slow path.
22758 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
22760         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
22761         similar rule which adds the sysdep directories to the header search in
22762         order to pick up the correct platform stackinfo.h.
22763         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
22764         perform test if it is, otherwise return successfully without testing.
22765         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
22766         DEFAULT_STACK_PERMS define in stackinfo.h.
22767         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
22768         defined in stackinfo.h.
22769         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
22770         DEFAULT_STACK_PERMS defined in stackinfo.h.
22771         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
22772         * sysdeps/ia64/stackinfo.h: Likewise.
22773         * sysdeps/s390/stackinfo.h: Likewise.
22774         * sysdeps/sh/stackinfo.h: Likewise.
22775         * sysdeps/sparc/stackinfo.h: Likewise.
22776         * sysdeps/x86_64/stackinfo.h: Likewise.
22777         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
22778         PF_X for powerpc64.  Retain PF_X for powerpc32.
22780 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
22782         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
22783         accurately.
22784         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
22785         GETDENTS_64BIT_ALIGNED.
22787 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
22789         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
22791 2010-12-10  Andreas Schwab  <schwab@redhat.com>
22793         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
22794         _GNU_SOURCE.
22796         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
22797         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
22798         Remove __restrict.
22799         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
22800         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
22802 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
22804         [BZ #11655]
22805         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
22806         are initialized.
22808 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
22810         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
22812 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
22814         * po/it.po: Update from translation team.
22816 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
22818         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
22819         unused codes.
22821 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
22823         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
22825 2010-11-24  Andreas Schwab  <schwab@redhat.com>
22827         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
22828         specially.
22829         (gaih_getanswer_slice): Likewise.
22831 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
22833         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
22835 2010-05-31  Petr Baudis  <pasky@suse.cz>
22837         [BZ #11149]
22838         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
22839         silently even in the chroot mode.
22841 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
22843         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
22844         last patch a bit.  Pretty printing
22846 2010-05-31  Petr Baudis <pasky@suse.cz>
22848         [BZ #10085]
22849         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
22850         initialization of skip_initgroups_dyn.
22852 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
22854         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
22855         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
22857 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
22859         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
22861 2010-11-11  Andreas Schwab  <schwab@redhat.com>
22863         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
22864         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
22865         (tst-fnmatch-ENV): Set MALLOC_TRACE.
22866         ($(objpfx)tst-fnmatch-mem): New rule.
22867         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
22868         * posix/tst-fnmatch.c (main): Call mtrace.
22870 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
22872         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22873         Support Intel processor model 6 and model 0x2c.
22875 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
22877         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
22878           signed comparison.
22880 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
22882         [BZ #12205]
22883         * string/test-strncasecmp.c (check_result): New function.
22884         (do_one_test): Use it.
22885         (check1): New function.
22886         (test_main): Use it.
22887         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
22888         Support strcasecmp and strncasecmp.
22890 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
22892         [BZ #12194]
22893         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
22894         * sysdeps/x86_64/bits/byteswap.h: Likewise.
22896 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
22898         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
22899         IFUNC support.
22900         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22901         memset-x86-64.
22902         * sysdeps/x86_64/multiarch/bzero.S: New file.
22903         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
22904         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
22905         * sysdeps/x86_64/multiarch/memset.S: New file.
22906         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
22907         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22908         Set bit_Prefer_SSE_for_memop for Intel processors.
22909         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
22910         Define.
22911         (index_Prefer_SSE_for_memop): Define.
22912         (HAS_PREFER_SSE_FOR_MEMOP): Define.
22914 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
22916         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
22917         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
22919 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
22921         [BZ #12191]
22922         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
22923         (__x86_64_raw_data_cache_size_half): Likewise.
22924         (__x86_64_raw_shared_cache_size): Likewise.
22925         (__x86_64_raw_shared_cache_size_half): Likewise.
22927         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
22928         (__x86_64_raw_data_cache_size_half): Likewise.
22929         (__x86_64_raw_shared_cache_size): Likewise.
22930         (__x86_64_raw_shared_cache_size_half): Likewise.
22931         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
22932         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
22933         and __x86_64_raw_shared_cache_size_half.  Round
22934         __x86_64_data_cache_size_half, __x86_64_data_cache_size
22935         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
22936         to multiple of 256 bytes.
22938 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
22940         [BZ #12167]
22941         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
22942         of inacessible symlinks.  Verify result of symlink before returning it.
22943         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
22944         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
22946 2010-10-28  Erich Ritz  <erichritz@gmail.com>
22948         * math/math.h (isinf): Fix typo in comment.
22950 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
22952         * po/da.po: Update from translation team.
22954 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
22956         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
22957         is added to the list.
22959 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22960             Ulrich Drepper  <drepper@gmail.com>
22962         * elf/dl-object.c (_dl_new_object): Don't append the new object to
22963         the global list here.  Move code to...
22964         (_dl_add_to_namespace_list): ...here.  New function.
22965         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
22966         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
22967         * elf/dl-load.c (lose): Don't remove the element from the list.
22968         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
22969         (_dl_map_object): Likewise.
22971 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
22973         [BZ #12159]
22974         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
22975         into all bytes of SSE register.
22976         Patch by Richard Li <richardpku@gmail.com>.
22978 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
22980         [BZ #12140]
22981         * malloc/malloc.c (_int_free): Fill correct number of bytes when
22982         perturbing.
22984 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
22986         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
22987         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
22988         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
22989         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
22990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
22991         submachine.
22992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
22994 2010-10-22  Andreas Schwab  <schwab@redhat.com>
22996         * include/dlfcn.h (__RTLD_SECURE): Define.
22997         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
22998         mode & __RTLD_SECURE instead.
22999         (open_path): Rename preloaded parameter to secure.
23000         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
23001         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
23002         * elf/dl-deps.c (openaux): Likewise.
23003         * elf/rtld.c (struct map_args): Remove is_preloaded.
23004         (map_doit): Don't use it.
23005         (dl_main): Likewise.
23006         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
23007         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
23009 2010-09-09  Andreas Schwab  <schwab@redhat.com>
23011         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
23012         (sysd-rules-targets): Remove duplicates.
23013         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
23014         rtld-%.$o dependency.
23016 2010-10-18  Andreas Schwab  <schwab@redhat.com>
23018         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
23019         _dl_map_object do it.
23021 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
23023         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
23024         fast fma builtins, define the macros in the C99 standard.
23025         (FP_FAST_FMAF): Likewise.
23026         (FP_FAST_FMAL): Likewise.
23027         * sysdeps/x86_64/bits/mathdef.h: Likewise.
23029         * bits/mathdef.h: Update copyright year.
23030         * sysdeps/powerpc/bits/mathdef.h: Likewise.
23032 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
23034         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
23035         builtins, define the macros in the C99 standard.
23036         (FP_FAST_FMAF): Likewise.
23037         (FP_FAST_FMAL): Likewise.
23038         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
23039         multiply/add.
23040         (FP_FAST_FMAF): Likewise.
23042 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
23044         [BZ #3268]
23045         * math/libm-test.inc (fma_test): Some new testcases.
23046         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
23047         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
23048         y and infinite z.  Do multiplication by C already in long double.
23049         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
23050         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
23051         y and infinite z.  Do bitwise or of inexact bit into u.d.
23052         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
23053         * sysdeps/i386/fpu/s_fmaf.S: Removed.
23054         * sysdeps/i386/fpu/s_fma.S: Removed.
23055         * sysdeps/i386/fpu/s_fmal.S: Removed.
23057 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
23059         [BZ #3268]
23060         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
23061         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
23062         computation is not scheduled after fetestexcept.  Fix value
23063         of minimum denormal long double.
23065 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
23067         [BZ #3268]
23068         * math/libm-test.inc (fma_test): Add some more tests.
23069         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
23070         correctly.
23072 2010-10-15  Andreas Schwab  <schwab@redhat.com>
23074         * scripts/data/localplt-s390-linux-gnu.data: New file.
23075         * scripts/data/localplt-s390x-linux-gnu.data: New file.
23077 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
23079         [BZ #3268]
23080         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
23081         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
23082         instead of dbl-64.
23083         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
23084         inlines.
23085         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
23086         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
23087         if one of x and y is very large and the other is subnormal.
23088         * sysdeps/s390/fpu/s_fmaf.c: New file.
23089         * sysdeps/s390/fpu/s_fma.c: New file.
23090         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
23091         * sysdeps/powerpc/fpu/s_fma.S: New file.
23092         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
23093         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
23094         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
23096 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
23098         [BZ #3268]
23099         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
23100         fma tests.
23101         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
23102         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
23103         * sysdeps/i386/i686/multiarch/s_fma.c: Include
23104         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
23105         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
23106         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
23107         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
23109 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
23111         [BZ #12078]
23112         * posix/regcomp.c (parse_branch): One more memory leak plugged.
23113         * posix/bug-regex31.input: Add test case.
23115 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
23117         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
23118         * posix/bug-regex31.input: New file.
23120         [BZ #12078]
23121         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
23122         (parse_sub_exp): Fix last change, use postorder.
23124         * posix/bug-regex31.c: New file.
23125         * posix/Makefile: Add rules to build and run bug-regex31.
23127         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
23129         [BZ #12078]
23130         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
23132         [BZ #12108]
23133         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
23134         to have entries in sys_siglist.
23136         [BZ #12093]
23137         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
23138         be NULL.
23140 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
23142         [BZ #3268]
23143         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
23144         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
23145         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
23146         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
23147         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
23148         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
23149         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
23150         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
23151         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
23152         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
23153         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
23154         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
23155         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
23156         * math/ftestexcept.c (fetestexcept): Likewise.
23157         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
23158         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
23159         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
23160         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
23161         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
23162         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
23163         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
23165 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
23167         [BZ #12107]
23168         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
23169         newline.
23171 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
23173         * string/bug-strstr1.c: New file.
23174         * string/Makefile: Add rules to build and run bug-strstr1.
23176 2010-10-05  Eric Blake  <eblake@redhat.com>
23178         [BZ #12092]
23179         * string/str-two-way.h (two_way_long_needle): Always clear memory
23180         when skipping input due to the shift table.
23182 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
23184         [BZ #12005]
23185         * malloc/mcheck.c: Handle large requests.
23187         [BZ #12077]
23188         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
23189         for strncmp and strncasecmp.
23190         * string/stratcliff.c: Add tests for strcmp and strncmp.
23191         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
23193 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
23195         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
23196         __set_fpscr.
23198 2010-09-30  Andreas Jaeger  <aj@suse.de>
23200         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
23201         (CGROUP_SUPER_MAGIC): Define.
23202         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23203         Handle btrfs and cgroup file systems.
23204         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
23205         Likewise.
23207 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
23209         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
23210         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
23212 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23214         [BZ #12067]
23215         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
23216         trying to locate the ELF header.
23218 2010-09-27  Andreas Schwab  <schwab@redhat.com>
23220         [BZ #11611]
23221         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
23222         Mask out sign-bit copies when constructing f_fsid.
23224 2010-09-24  Petr Baudis <pasky@suse.cz>
23226         * debug/stack_chk_fail_local.c: Add missing licence exception.
23227         * debug/warning-nop.c: Likewise.
23229 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
23231         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
23232         implementing getdents64 using getdents syscall, set d_type if
23233         __ASSUME_GETDENTS32_D_TYPE.
23235 2010-09-16  Andreas Schwab  <schwab@redhat.com>
23237         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
23238         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
23240 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
23242         [BZ #12037]
23243         * posix/unistd.h: Undo change of feature selection for ftruncate from
23244         2010-01-11.
23246 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
23248         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
23249         detection.
23251 2010-09-20  Andreas Schwab  <schwab@redhat.com>
23253         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
23254         fanotify_mark.
23255         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
23257 2010-09-14  Andreas Schwab  <schwab@redhat.com>
23259         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
23260         variables after CHECK_SP call.
23261         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
23263 2010-09-13  Andreas Schwab  <schwab@redhat.com>
23264             Ulrich Drepper  <drepper@redhat.com>
23266         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
23267         re-relocationg ld.so.
23268         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
23269         _dl_init_paths call.
23270         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
23271         here anymore.
23273 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
23275         * resolv/res_init.c (__res_vinit): Count the default server we added.
23277 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
23278             Ulrich Drepper  <drepper@redhat.com>
23280         [BZ #11968]
23281         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
23282         (____longjmp_chk): Use %ebx for saving value across system call.
23283         Add unwind info.
23285 2010-09-06  Andreas Schwab  <schwab@redhat.com>
23287         * manual/Makefile: Don't mix pattern rules with normal rules.
23289 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
23291         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
23292         operation.
23293         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
23294         * libio/iofopncook.c (_IO_cookie_init): Likewise.
23295         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
23296         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
23297         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23298         Likewise.
23300 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
23302         [BZ #11979]
23303         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
23304         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
23306 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
23308         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
23309         * sysdeps/x86_64/addmul_1.S: Likewise.
23310         * sysdeps/x86_64/lshift.S: Likewise.
23311         * sysdeps/x86_64/mul_1.S: Likewise.
23312         * sysdeps/x86_64/rshift.S: Likewise.
23313         * sysdeps/x86_64/sub_n.S: Likewise.
23314         * sysdeps/x86_64/submul_1.S: Likewise.
23316 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23318         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
23319         Define __sched_param instead of SCHED_* and sched_param when
23320         <bits/sched.h> is included with __need_schedparam defined.
23321         * bits/sched.h [__need_schedparam]
23322         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
23323         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
23324         (__defined_schedparam): Define to 1.
23325         (__sched_param): New structure, identical to sched_param.
23326         (__need_schedparam): Undefine.
23328 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
23330         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
23331         (epoll_create1): Declare.
23333         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
23335 2010-08-31  Andreas Schwab  <schwab@redhat.com>
23337         [BZ #7066]
23338         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
23339         shifting retval into place.
23341 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
23343         * nis/rpcsvc/nis.h: Update copyright notice.
23344         * nis/rpcsvc/nis.x: Likewise.
23345         * nis/rpcsvc/nis_callback.h: Likewise.
23346         * nis/rpcsvc/nis_callback.x: Likewise.
23347         * nis/rpcsvc/nis_object.x: Likewise.
23348         * nis/rpcsvc/nis_tags.h: Likewise.
23349         * nis/rpcsvc/yp.h: Likewise.
23350         * nis/rpcsvc/yp.x: Likewise.
23351         * nis/rpcsvc/ypupd.h: Likewise.
23352         * nis/yp_xdr.c: Likewise.
23353         * nis/ypupdate_xdr.c: Likewise.
23355         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
23356         mainly the body of pmap_getport.  Add parameters to specify timeouts.
23357         (pmap_getport): Use __libc_rpc_getport.
23358         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
23359         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
23360         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
23362 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
23364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
23365         fanotify_mark.
23367 2010-08-27  Roland McGrath  <roland@redhat.com>
23369         * sysdeps/i386/i686/multiarch/Makefile
23370         (CFLAGS-varshift.c): New variable.
23372 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
23374         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
23375         * sysdeps/i386/i686/multiarch/varshift.c: New file.
23377         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
23379         * sysdeps/x86_64/strlen.S: Minimal code improvement.
23381 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
23383         * sysdeps/x86_64/strlen.S: Unroll the loop.
23384         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23385         strlen-sse2 strlen-sse2-bsf.
23386         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
23387         __strlen_no_bsf if bit_Slow_BSF is set.
23388         (__strlen_sse42): Removed.
23389         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
23390         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
23392 2010-08-25  Roland McGrath  <roland@redhat.com>
23394         * sysdeps/x86_64/multiarch/varshift.S: File removed.
23395         * sysdeps/x86_64/multiarch/varshift.c: New file.
23396         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
23397         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
23398         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
23399         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23401 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
23403         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23404         strlen-sse2 strlen-sse2-bsf.
23405         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
23406         __strlen_sse2_bsf if bit_Slow_BSF is unset.
23407         (__strlen_sse2): Removed.
23408         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
23409         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
23410         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
23411         bit_Slow_BSF for Atom.
23412         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
23413         (index_Slow_BSF): Define.
23414         (HAS_SLOW_BSF): Define.
23416 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
23418         [BZ #10851]
23419         * resolv/res_init.c (__res_vinit): When no server address at all
23420         is given default to loopback.
23422 2010-08-24  Roland McGrath  <roland@redhat.com>
23424         * configure.in: Remove config-name.h generation.
23425         * configure: Regenerated.
23426         * config-name.in: File removed.
23427         * scripts/config-uname.sh: New file.
23428         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
23429         ($(objdir)config-name.h): New target.
23431         * sunrpc/rpc_parse.h: Avoid nested comment.
23433 2010-08-24  Richard Henderson  <rth@redhat.com>
23434             Ulrich Drepper  <drepper@redhat.com>
23435             H.J. Lu  <hongjiu.lu@intel.com>
23437         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
23438         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
23439         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
23440         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
23441         _mm_alignr_epi8 with _mm_loadu_si128.
23442         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
23443         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
23444         (__m128i_shift_right): Removed.
23445         * sysdeps/i386/i686/multiarch/varshift.h: New file.
23446         * sysdeps/i386/i686/multiarch/varshift.S: New file.
23447         * sysdeps/x86_64/multiarch/varshift.h: New file.
23448         * sysdeps/x86_64/multiarch/varshift.S: New file.
23450 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
23452         * configure.in: Move assembler checks to before sysdep dir checking.
23454 2010-08-20  Petr Baudis  <pasky@suse.cz>
23456         * LICENSES: Sync the sunrpc license.
23458 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
23460         * sunrpc/auth_des.c: Update copyright notice once again.
23461         * sunrpc/auth_none.c: Likewise.
23462         * sunrpc/auth_unix.c: Likewise.
23463         * sunrpc/authdes_prot.c: Likewise.
23464         * sunrpc/authuxprot.c: Likewise.
23465         * sunrpc/bindrsvprt.c: Likewise.
23466         * sunrpc/clnt_gen.c: Likewise.
23467         * sunrpc/clnt_perr.c: Likewise.
23468         * sunrpc/clnt_raw.c: Likewise.
23469         * sunrpc/clnt_simp.c: Likewise.
23470         * sunrpc/clnt_tcp.c: Likewise.
23471         * sunrpc/clnt_udp.c: Likewise.
23472         * sunrpc/clnt_unix.c: Likewise.
23473         * sunrpc/des_crypt.c: Likewise.
23474         * sunrpc/des_soft.c: Likewise.
23475         * sunrpc/get_myaddr.c: Likewise.
23476         * sunrpc/getrpcport.c: Likewise.
23477         * sunrpc/key_call.c: Likewise.
23478         * sunrpc/key_prot.c: Likewise.
23479         * sunrpc/openchild.c: Likewise.
23480         * sunrpc/pm_getmaps.c: Likewise.
23481         * sunrpc/pm_getport.c: Likewise.
23482         * sunrpc/pmap_clnt.c: Likewise.
23483         * sunrpc/pmap_prot.c: Likewise.
23484         * sunrpc/pmap_prot2.c: Likewise.
23485         * sunrpc/pmap_rmt.c: Likewise.
23486         * sunrpc/rpc/auth.h: Likewise.
23487         * sunrpc/rpc/auth_unix.h: Likewise.
23488         * sunrpc/rpc/clnt.h: Likewise.
23489         * sunrpc/rpc/des_crypt.h: Likewise.
23490         * sunrpc/rpc/key_prot.h: Likewise.
23491         * sunrpc/rpc/netdb.h: Likewise.
23492         * sunrpc/rpc/pmap_clnt.h: Likewise.
23493         * sunrpc/rpc/pmap_prot.h: Likewise.
23494         * sunrpc/rpc/pmap_rmt.h: Likewise.
23495         * sunrpc/rpc/rpc.h: Likewise.
23496         * sunrpc/rpc/rpc_des.h: Likewise.
23497         * sunrpc/rpc/rpc_msg.h: Likewise.
23498         * sunrpc/rpc/svc.h: Likewise.
23499         * sunrpc/rpc/svc_auth.h: Likewise.
23500         * sunrpc/rpc/types.h: Likewise.
23501         * sunrpc/rpc/xdr.h: Likewise.
23502         * sunrpc/rpc_clntout.c: Likewise.
23503         * sunrpc/rpc_cmsg.c: Likewise.
23504         * sunrpc/rpc_common.c: Likewise.
23505         * sunrpc/rpc_cout.c: Likewise.
23506         * sunrpc/rpc_dtable.c: Likewise.
23507         * sunrpc/rpc_hout.c: Likewise.
23508         * sunrpc/rpc_main.c: Likewise.
23509         * sunrpc/rpc_parse.c: Likewise.
23510         * sunrpc/rpc_parse.h: Likewise.
23511         * sunrpc/rpc_prot.c: Likewise.
23512         * sunrpc/rpc_sample.c: Likewise.
23513         * sunrpc/rpc_scan.c: Likewise.
23514         * sunrpc/rpc_scan.h: Likewise.
23515         * sunrpc/rpc_svcout.c: Likewise.
23516         * sunrpc/rpc_tblout.c: Likewise.
23517         * sunrpc/rpc_util.c: Likewise.
23518         * sunrpc/rpc_util.h: Likewise.
23519         * sunrpc/rpcinfo.c: Likewise.
23520         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
23521         * sunrpc/rpcsvc/key_prot.x: Likewise.
23522         * sunrpc/rpcsvc/klm_prot.x: Likewise.
23523         * sunrpc/rpcsvc/mount.x: Likewise.
23524         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
23525         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
23526         * sunrpc/rpcsvc/rex.x: Likewise.
23527         * sunrpc/rpcsvc/rstat.x: Likewise.
23528         * sunrpc/rpcsvc/rusers.x: Likewise.
23529         * sunrpc/rpcsvc/sm_inter.x: Likewise.
23530         * sunrpc/rpcsvc/spray.x: Likewise.
23531         * sunrpc/rpcsvc/yppasswd.x: Likewise.
23532         * sunrpc/rtime.c: Likewise.
23533         * sunrpc/svc.c: Likewise.
23534         * sunrpc/svc_auth.c: Likewise.
23535         * sunrpc/svc_authux.c: Likewise.
23536         * sunrpc/svc_raw.c: Likewise.
23537         * sunrpc/svc_run.c: Likewise.
23538         * sunrpc/svc_simple.c: Likewise.
23539         * sunrpc/svc_tcp.c: Likewise.
23540         * sunrpc/svc_udp.c: Likewise.
23541         * sunrpc/svc_unix.c: Likewise.
23542         * sunrpc/svcauth_des.c: Likewise.
23543         * sunrpc/xcrypt.c: Likewise.
23544         * sunrpc/xdr.c: Likewise.
23545         * sunrpc/xdr_array.c: Likewise.
23546         * sunrpc/xdr_float.c: Likewise.
23547         * sunrpc/xdr_mem.c: Likewise.
23548         * sunrpc/xdr_rec.c: Likewise.
23549         * sunrpc/xdr_ref.c: Likewise.
23550         * sunrpc/xdr_sizeof.c: Likewise.
23551         * sunrpc/xdr_stdio.c: Likewise.
23553         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
23554         handling.
23556 2010-08-19  Andreas Schwab  <schwab@redhat.com>
23558         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
23560 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
23562         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
23563         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
23564         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
23565         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
23566         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
23567         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
23568         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
23569         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
23570         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
23571         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
23572         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
23573         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
23574         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
23575         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
23577 2010-07-26  Anton Blanchard  <anton@samba.org>
23579         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
23580         * malloc/arena.c (heap_trim): Likewise.
23582 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
23584         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
23585         here.  Not...
23586         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
23587         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
23589 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
23591         * sysdeps/i386/elf/Makefile: New file.
23593 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
23595         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
23596         from fanotify_init.
23597         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
23598         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
23600 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
23602         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
23603         of strncasecmp_l.
23604         * sysdeps/multiarch/strcmp.S: Likewise.
23606 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
23608         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
23609         strncase_l-nonascii.
23610         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
23611         Add strncase_l-ssse3.
23612         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
23613         * sysdeps/x86_64/strcmp.S: Likewise.
23614         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
23615         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
23616         * sysdeps/x86_64/strncase.S: New file.
23617         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
23618         * sysdeps/x86_64/strncase_l.S: New file.
23619         * string/Makefile (strop-tests): Add strncasecmp.
23620         * string/test-strncasecmp.c: New file.
23622         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
23623         warning.
23625         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
23626         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
23628 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
23630         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
23632 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
23634         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
23635         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
23636         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
23638 2010-05-01  Alan Modra  <amodra@gmail.com>
23640         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
23641         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
23642         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
23643         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
23644         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
23645         tidying.  Don't tail-call __sigjmp_save for static lib.
23646         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
23647         save location.
23648         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
23649         (CALL_MCOUNT): Add eh info, and nop after bl.
23650         (TAIL_CALL_SYSCALL_ERROR): New macro.
23651         (PSEUDO_RET): Use it.
23652         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
23653         Correct save location of integer regs and cr.
23654         (_dl_profile_resolve): Correct cr save location.  Delete nops
23655         after bl when SHARED.  Reduce cfi size a little by better
23656         placement of cfi directives.
23657         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
23658         make a stack frame.  Instead use parm save area as a temp.
23659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
23660         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
23661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
23662         Don't make a stack frame for parent, use parm save area.
23663         Increase child stack frame to 112 bytes.  Don't save unused reg,
23664         and adjust reg usage.  Set up cfi on error recovery and
23665         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
23666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
23667         (__makecontext): Add dummy nop after jump to exit.
23668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
23669         Use correct parm save area and cr save, reduce stack frame.
23670         Correct cfi for possible PSEUDO_RET frame setup.
23671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
23672         Branch to local label emitted by PSEUDO_RET rather than
23673         __syscall_error.
23675 2010-08-12  Andreas Schwab  <schwab@redhat.com>
23677         [BZ #11904]
23678         * locale/programs/locale.c (print_assignment): New function.
23679         (show_locale_vars): Use it.
23681 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
23683         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
23684         field.
23685         (struct statfs64): Likewise.
23686         (_STATFS_F_FLAGS): Define.
23687         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
23688         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23689         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
23690         (ST_VALID): Define locally.
23691         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
23692         __statvfs_getflags, use the provided value.
23693         * sysdeps/unix/sysv/linux/kernel-features.h: Define
23694         __ASSUME_STATFS_F_FLAGS.
23696         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
23698         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
23699         Add sys/fanotify.h.
23700         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
23701         fanotify_mask for GLIBC_2.13.
23702         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
23703         fanotify_init and fanotify_mark.
23704         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
23705         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
23707         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
23708         Add prlimit.
23709         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
23710         prlimit64 for GLIBC_2.13.
23711         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
23712         prlimit64.
23713         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
23714         syscall.
23715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
23716         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
23717         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
23718         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
23719         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
23720         add prlimit alias.
23721         * sysdeps/unix/sysv/linux/prlimit.c: New file.
23723         [BZ #11903]
23724         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
23725         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
23727         * nss/Makefile: Add rules to build and run tst-nss-test1.
23728         * shlib-versions: Add entry for libnss_test1.
23729         * nss/nss_test1.c: New file.
23730         * nss/tst-nss-test1.c: New file.
23732         * nss/nsswitch.c (__nss_database_custom): Define new variable.
23733         (__nss_configure_lookup): Set appropriate entry in
23734         __nss_configure_lookup to true.
23735         * nss/nsswitch.h: Define enum with indeces of databases in
23736         databases and __nss_database_custom arrays.  Declare
23737         __nss_database_custom.
23738         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
23739         to avoid using nscd when custom rules are installed.
23740         * nss/getXXbyYY_r.c: Likewise.
23741         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23743         * nss/nss_files/files-parse.c: Whitespace fixes.
23745 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
23747         [BZ #11883]
23748         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
23749         * posix/fnmatch_loop.c: Likewise.
23751 2010-07-17  Andi Kleen  <ak@linux.intel.com>
23753         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
23754         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
23755         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
23756         * Versions.def [GLIBC_2.13]: Add.
23758 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
23760         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
23761         Also fail if tpwd after pwuid call is NULL.
23763 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23765         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
23766         when converting to ms.
23768 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23770         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
23771         EOPNOTSUPP errors with ENOTTY.
23772         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
23773         EOPNOTSUPP errors with ENOTTY.
23775 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
23777         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
23778         Add strcasecmp_l-ssse3.
23779         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
23780         strcasecmp.
23781         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
23782         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
23783         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
23785 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
23787         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
23789         * string/Makefile (strop-tests): Add strcasecmp.
23790         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
23791         strcasecmp_l-nonascii.
23792         (gen-as-const-headers): Add locale-defines.sym.
23793         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
23794         * sysdeps/x86_64/strcasecmp.S: New file.
23795         * sysdeps/x86_64/strcasecmp_l.S: New file.
23796         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
23797         * sysdeps/x86_64/locale-defines.sym: New file.
23798         * string/test-strcasecmp.c: New file.
23800         * string/test-strcasestr.c: Test both ends of the range of characters.
23801         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
23803 2010-07-29  Roland McGrath  <roland@redhat.com>
23805         [BZ #11856]
23806         * manual/locale.texi (Yes-or-No Questions): Fix example code.
23808 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
23810         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
23811         for ld.so.
23813 2010-07-27  Andreas Schwab  <schwab@redhat.com>
23815         * manual/memory.texi (Malloc Tunable Parameters): Document
23816         M_PERTURB.
23818 2010-07-26  Roland McGrath  <roland@redhat.com>
23820         [BZ #11840]
23821         * configure.in (-fgnu89-inline check): Set and substitute
23822         gnu89_inline, not libc_cv_gnu89_inline.
23823         * configure: Regenerated.
23824         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
23826 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
23828         * string/test-strnlen.c: New file.
23829         * string/Makefile (strop-tests): Add strnlen.
23830         * string/tester.c (test_strnlen): Add a few more test cases.
23831         * string/tst-strlen.c: Better error reporting.
23833         * sysdeps/x86_64/strnlen.S: New file.
23835 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
23837         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
23838         lower-latency instructions.
23840 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
23842         * string/test-strcasestr.c: New file.
23843         * string/test-strstr.c: New file.
23844         * string/Makefile (strop-tests): Add strstr and strcasestr.
23845         * string/str-two-way.h: Don't undefine MAX.
23846         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
23848 2010-07-21  Andreas Schwab  <schwab@redhat.com>
23850         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23851         strcasestr-nonascii.
23852         (CFLAGS-strcasestr-nonascii.c): Define.
23853         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
23854         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
23855         Remove unused attribute.
23857 2010-07-20  Roland McGrath  <roland@redhat.com>
23859         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
23860         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
23861         ld.so.cache was broken.  With it, there is no way to disable dsocaps
23862         like LD_HWCAP_MASK can disable hwcaps.
23864 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
23866         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
23868 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
23870         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
23871         call in strcasestr.
23872         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
23873         __strcasestr_sse42_nonascii.
23874         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
23875         strcasestr-nonascii.c.
23876         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
23878 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
23880         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
23881         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
23882         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
23883         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
23885 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
23887         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
23888         fcntl.
23890 2010-07-06  Andreas Schwab  <schwab@redhat.com>
23892         [BZ #11577]
23893         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
23894         dl_signal_cerror.
23896 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
23898         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
23899         _PC_PIPE_BUF using F_GETPIPE_SZ.
23901 2010-07-05  Roland McGrath  <roland@redhat.com>
23903         * manual/arith.texi (Rounding Functions): Fix rint description
23904         implicit in round description.
23906 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
23908         * elf/Makefile: Fix linking for a few tests to make recent linker
23909         happy.
23911 2010-06-30  Andreas Schwab  <schwab@redhat.com>
23913         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
23914         $(common-objpfx)libc_nonshared.a.
23916 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
23918         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
23919         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
23920         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
23921         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
23922         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
23923         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
23924         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
23925         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
23926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
23927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
23928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
23929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
23930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
23931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
23932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
23933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
23934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
23935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
23936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
23937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
23938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
23939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
23940         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
23941         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
23942         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
23943         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
23944         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
23945         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
23946         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
23947         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
23948         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
23949         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
23950         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
23951         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
23952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
23953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
23954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
23955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
23956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
23957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
23958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
23959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
23960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
23961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
23962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
23963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
23964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
23965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
23967 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
23969         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
23970         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
23971         * string/memmove.c (memmove): Renamed to ...
23972         (MEMMOVE): ...this.  Default to memmove.
23973         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
23974         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
23975         (END_CHK): Define.
23976         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23977         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
23978         mempcpy-ssse3-back memmove-ssse3-back.
23979         * sysdeps/x86_64/multiarch/bcopy.S: New file .
23980         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
23981         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
23982         * sysdeps/x86_64/multiarch/memcpy.S: New file.
23983         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
23984         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
23985         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
23986         * sysdeps/x86_64/multiarch/memmove.c: New file.
23987         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
23988         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
23989         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
23990         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
23991         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
23992         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
23993         Define.
23994         (index_Fast_Copy_Backward): Define.
23995         (HAS_ARCH_FEATURE): Define.
23996         (HAS_FAST_REP_STRING): Define.
23997         (HAS_FAST_COPY_BACKWARD): Define.
23999 2010-06-21  Andreas Schwab  <schwab@redhat.com>
24001         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
24002         Restore proper fallback handling.
24004 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
24006         [BZ #11701]
24007         * posix/group_member.c (__group_member): Correct checking loop.
24009         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
24010         OOM in getpwuid_r correctly.  Return error number when the caller
24011         should return, otherwise -1.
24012         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
24013         call returning > 0 value.
24014         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
24016 2010-06-07  Andreas Schwab  <schwab@redhat.com>
24018         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
24019         libc_nonshared.a from targets in modules-names.
24021 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
24023         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
24024         requires it.
24026 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
24028         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
24029         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
24030         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
24031         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
24033 2010-06-02  Andreas Schwab  <schwab@redhat.com>
24035         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
24037 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
24039         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
24040         and F_GETPIPE_SZ.
24041         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
24042         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24043         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24044         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24045         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24046         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
24048 2010-06-14  Roland McGrath  <roland@redhat.com>
24050         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
24052 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
24054         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
24055         __REDIRECT followed by __THROW.
24056         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
24057         * posix/getopt.h (getopt): Likewise.
24059 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
24061         * hurd/lookup-at.c (__file_name_lookup_at): Accept
24062         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
24063         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
24064         in AT_FLAGS.
24065         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
24066         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
24068 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
24070         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
24072 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
24074         [BZ #11640]
24075         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24076         Properly check family and model.
24078 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
24080         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
24082 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
24084         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
24086 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
24088         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
24089         symbol reference.
24091 2010-05-19  Andreas Schwab  <schwab@redhat.com>
24093         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
24094         symbol reference.
24096 2010-05-21  Andreas Schwab  <schwab@redhat.com>
24098         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
24099         and internal_recvmmsg.
24100         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
24101         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
24102         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
24103         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
24105         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
24106         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
24107         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
24109 2010-05-20  Andreas Schwab  <schwab@redhat.com>
24111         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
24113 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
24115         POWER7 optimizations.
24116         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
24117         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
24119 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
24121         * version.h: Update for 2.13 development version.
24123 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
24125         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
24126         exceptions.  Return 0.
24128 2010-05-07  Roland McGrath  <roland@redhat.com>
24130         * elf/ldconfig.c (main): Add a const.
24132 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
24134         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
24135         (args_options): Add no-idn option.
24136         (ahosts_keys_int): Add idn_flags to ai_flags.
24137         (parse_option): Handle 'i' option to clear idn_flags.
24139         * malloc/malloc.c (_int_free): Possible race in the most recently
24140         added check.  Only act on the data if no current modification
24141         happened.
24143 See ChangeLog.17 for earlier changes.