Define flags for fallocate
[glibc.git] / ChangeLog
blobec80b446b174a2d1fb102963b0cf739156c15eb0
1 2013-01-10  Andreas Schwab  <schwab@suse.de>
3         [BZ #14964]
4         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
5         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
7 2013-01-09  David S. Miller  <davem@davemloft.net>
9         [BZ# 15003]
10         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
11         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
12         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
13         TCP_FASTOPEN): Define.
14         (tcp_repair_opt): New structure.
15         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
16         enum values.
17         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
18         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
19         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
20         (tcp_cookie_transactions): New structure.
22 2013-01-09  Anton Blanchard  <anton@samba.org>
24         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
25         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
26         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
27         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
29 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
31         * include/features.h (__USE_ANSI): Remove.
33 2013-01-09  Roland McGrath  <roland@hack.frob.com>
35         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
37         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
39 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
41         * sysdeps/s390/fpu/libm-test-ulps: Update.
43         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
46         (__acr): Likewise.
47         (__cpy): Likewise.
48         (norm): Likewise.
49         (denorm): Likewise.
50         (__mp_dbl): Likewise.
51         (__dbl_mp): Likewise.
52         (add_magnitudes): Likewise.
53         (sub_magnitudes): Likewise.
54         (__add): Likewise.
55         (__sub): Likewise.
56         (__mul): Likewise.
57         (__inv): Likewise.
58         (__dvd): Likewise.
59         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
60         (__acr): Likewise.
61         (__cpy): Likewise.
62         (norm): Likewise.
63         (denorm): Likewise.
64         (__mp_dbl): Likewise.
65         (__dbl_mp): Likewise.
66         (add_magnitudes): Likewise.
67         (sub_magnitudes): Likewise.
68         (__add): Likewise.
69         (__sub): Likewise.
70         (__mul): Likewise.
71         (__inv): Likewise.
72         (__dvd): Likewise.
73         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
74         (__acr): Likewise.
75         (__cpy): Likewise.
76         (norm): Likewise.
77         (denorm): Likewise.
78         (__mp_dbl): Likewise.
79         (__dbl_mp): Likewise.
80         (add_magnitudes): Likewise.
81         (sub_magnitudes): Likewise.
82         (__add): Likewise.
83         (__sub): Likewise.
84         (__mul): Likewise.
85         (__inv): Likewise.
86         (__dvd): Likewise.
88 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
90         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
91         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
92         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
93         2 && __USE_EXTERN_INLINES]: Likewise.
95 2013-01-08  Andreas Jaeger  <aj@suse.de>
97         [BZ# 14985]
98         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
99         Remove.
100         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
101         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
103 2013-01-07  Anton Blanchard  <anton@samba.org>
105         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
106         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
107         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
108         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
109         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
110         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
111         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
112         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
113         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
114         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
115         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
116         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
117         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
118         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
119         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
120         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
121         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
122         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
123         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
124         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
125         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
126         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
127         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
128         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
129         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
130         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
131         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
132         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
133         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
134         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
135         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
136         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
137         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
138         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
139         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
140         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
141         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
142         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
143         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
144         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
145         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
146         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
147         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
149 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
151         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
152         (__MALLOC_PMT): Likewise.
153         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
154         [__GNUC__], only on [_LIBC].
155         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
156         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
157         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
158         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
159         forward declaration.
160         (realloc_hook_ini): Likewise.
161         (memalign_hook_ini): Likewise.
162         (__libc_memalign): Do not use __MALLOC_PMT in variable
163         declaration.
164         (__libc_valloc): Likewise.
165         (__libc_pvalloc): Likewise.
166         (__libc_calloc): Likewise.
167         (__posix_memalign): Likewise.
169         [BZ #14996]
170         * math/s_casinh.c: Include <float.h>.
171         (__casinh): Do not do computation with squaring and square root
172         for large arguments.
173         * math/s_casinhf.c: Include <float.h>.
174         (__casinhf): Do not do computation with squaring and square root
175         for large arguments.
176         * math/s_casinhl.c: Include <float.h>.
177         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
178         (__casinhl): Do not do computation with squaring and square root
179         for large arguments.
180         * math/libm-test.inc (casin_test): Add more tests.
181         (casinh_test): Likewise.
182         * sysdeps/i386/fpu/libm-test-ulps: Update.
183         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
185 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
187         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
188         (__x86_64_raw_data_cache_size): Likewise.
189         (__x86_64_data_cache_size_half): Likewise.
190         (__x86_64_raw_data_cache_size_half): Likewise.
191         (__x86_64_shared_cache_size): Likewise.
192         (__x86_64_raw_shared_cache_size): Likewise.
193         (__x86_64_shared_cache_size_half): Likewise.
194         (__x86_64_raw_shared_cache_size_half): Likewise.
195         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
196         to ...
197         (__x86_data_cache_size): This.
198         (__x86_64_raw_data_cache_size): Renamed to ...
199         (__x86_raw_data_cache_size): This.
200         (__x86_64_data_cache_size_half): Renamed to ...
201         (__x86_data_cache_size_half): This.
202         (__x86_64_raw_data_cache_size_half): Renamed to ...
203         (__x86_raw_data_cache_size_half): This.
204         (__x86_64_shared_cache_size): Renamed to ...
205         (__x86_shared_cache_size): This.
206         (__x86_64_raw_shared_cache_size): Renamed to ...
207         (__x86_raw_shared_cache_size): This.
208         (__x86_64_shared_cache_size_half): Renamed to ...
209         (__x86_shared_cache_size_half): This.
210         (__x86_64_raw_shared_cache_size_half): Renamed to ...
211         (__x86_raw_shared_cache_size_half): This.
212         * sysdeps/x86_64/memcpy.S: Updated.
213         * sysdeps/x86_64/memset.S: Likewise.
214         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
215         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
216         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
218 2013-01-04  David S. Miller  <davem@davemloft.net>
220         * sysdeps/sparc/fpu/libm-test-ulps: Update.
222 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
224         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
225         1 to avoid redefinition warning.
226         (__USE_GNU): Don't define.
227         (init_signaling_nan): Protoize.
229         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
231 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
233         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
234         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
235         (__cpymn): Likewise.
236         (norm): Remove commented code.
237         (denorm): Likewise.
238         (__mp_dbl): Likewise.
239         (__inv): Likewise.
240         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
241         (__cpymn): Likewise.
242         (norm): Remove commented code.
243         (denorm): Likewise.
244         (__mp_dbl): Likewise.
245         (__inv): Likewise.
247         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
248         mp_no value for 1.0 and 2.0.
249         (norm): Use RADIXI instead of radixi.d.
250         (denorm): Likewise.
251         (__mul): Use 0.0 instead of zero.d.
252         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
253         mp_no value for 1.0 and 2.0.
254         (norm): Use RADIXI instead of radixi.d.
255         (denorm): Likewise.
256         (__mul): Use 0.0 instead of zero.d.
258 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
260         [BZ #14994]
261         * math/s_casinh.c (__casinh): Reduce finite argument to first
262         quadrant then set signs of results at the end.
263         * math/s_casinhf.c (__casinhf): Likewise.
264         * math/s_casinhl.c (__casinhl): Likewise.
265         * math/libm-test.inc (casin_test): Add more tests.
266         (casinh_test): Likewise.
267         * sysdeps/i386/fpu/libm-test-ulps: Update.
268         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
270 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
272         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
274         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
276         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
277         declarations.
278         (denorm): Likewise.
279         (__mp_dbl): Likewise.
280         (__inv): Likewise.
282         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
283         and adjust the header comment.
285         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
286         variable name from declaration.
288 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
290         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
291         Initialize COMMON_CPUID_INDEX_7 element.
292         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
293         (CPUID_RTM): Likewise.
294         (HAS_RTM): Likewise.
295         (COMMON_CPUID_INDEX_7): New enum.
297 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
299         [BZ #14981]
300         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
301         size is zero, record memory as freed.
303 2013-01-03  Andreas Jaeger  <aj@suse.de>
305         * po/ia.po: Add new Interlingua translation.
307 2012-01-03  Allan McRae  <allan@archlinux.org>
309         * locale/programs/localedef.c: Fix description of '--posix' flag.
311 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
313         * NEWS: Update dates in second copyright notice.
314         * README: Update copyright dates in example.
315         * manual/libc.texinfo: Update copyright dates.
316         * scripts/test-installation.pl: Update copyright date in --version
317         output.
319         * hurd/ctty-input.c: Fix copyright notice formatting.
320         * hurd/ctty-output.c: Likewise.
321         * hurd/dtable.c: Likewise.
322         * hurd/hurd-raise.c: Likewise.
323         * hurd/hurdprio.c: Likewise.
324         * hurd/msgportdemux.c: Likewise.
325         * misc/sys/file.h: Likewise.
326         * misc/sys/ioctl.h: Likewise.
327         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
328         * sysdeps/mach/hurd/chdir.c: Likewise.
329         * sysdeps/mach/hurd/fchdir.c: Likewise.
330         * sysdeps/mach/hurd/rename.c: Likewise.
331         * sysdeps/mach/hurd/rmdir.c: Likewise.
332         * sysdeps/mach/hurd/seekdir.c: Likewise.
333         * sysdeps/mach/hurd/setsid.c: Likewise.
334         * sysdeps/posix/wait3.c: Likewise.
336         * All files with FSF copyright notices: Update copyright dates
337         using scripts/update-copyrights.
338         * intl/plural.c: Regenerated.
339         * locale/programs/charmap-kw.h: Likewise.
340         * locale/programs/locfile-kw.h: Likewise.
342 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
344         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
345         four values.
347         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
348         calculation loop and add branch prediction.
350         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
351         check access beyond bounds of m1np.
353         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
354         MPTWO.
355         (__inv): Remove local variable MPTWO to use the global
356         constant.
357         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
358         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
359         variable MPTWO.
360         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
361         MP3HALFS static const.
363 2013-01-01  David S. Miller  <davem@davemloft.net>
365         * po/ca.po: Update from translation team.
367 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
369         * scripts/update-copyrights: New file.
370         * Makeconfig: Reformat copyright notice.
371         * ctype/ctype.h: Likewise.
372         * debug/swprintf_chk.c: Likewise.
373         * elf/dl-cache.c: Likewise.
374         * elf/dl-debug.c: Likewise.
375         * elf/dl-object.c: Likewise.
376         * grp/initgroups.c: Likewise.
377         * hurd/Makefile: Likewise.
378         * hurd/hurd/signal.h: Likewise.
379         * hurd/hurdfault.c: Likewise.
380         * hurd/hurdioctl.c: Likewise.
381         * hurd/hurdlookup.c: Likewise.
382         * hurd/intr-msg.c: Likewise.
383         * iconv/gconv_open.c: Likewise.
384         * libio/swprintf.c: Likewise.
385         * locale/lc-ctype.c: Likewise.
386         * locale/nl_langinfo.c: Likewise.
387         * mach/Machrules: Likewise.
388         * mach/Makefile: Likewise.
389         * malloc/obstack.h: Likewise.
390         * manual/Makefile: Likewise.
391         * manual/tsort.awk: Likewise.
392         * misc/bits/stab.def: Likewise.
393         * nis/nis_print_group_entry.c: Likewise.
394         * nis/nis_table.c: Likewise.
395         * nis/nss_compat/compat-pwd.c: Likewise.
396         * nis/nss_compat/compat-spwd.c: Likewise.
397         * po/Makefile: Likewise.
398         * posix/fnmatch.c: Likewise.
399         * posix/regex.h: Likewise.
400         * resolv/Makefile: Likewise.
401         * resolv/nss_dns/dns-network.c: Likewise.
402         * resolv/res_hconf.c: Likewise.
403         * scripts/gen-sorted.awk: Likewise.
404         * soft-fp/soft-fp.h: Likewise.
405         * stdio-common/printf.h: Likewise.
406         * stdlib/monetary.h: Likewise.
407         * stdlib/random.c: Likewise.
408         * stdlib/random_r.c: Likewise.
409         * sysdeps/generic/Makefile: Likewise.
410         * sysdeps/gnu/Makefile: Likewise.
411         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
412         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
413         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
414         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
415         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
416         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
417         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
418         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
419         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
420         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
421         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
422         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
423         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
424         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
425         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
426         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
427         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
428         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
429         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
430         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
431         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
432         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
433         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
434         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
435         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
436         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
437         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
438         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
439         * sysdeps/mach/hurd/errnos.awk: Likewise.
440         * sysdeps/mach/hurd/fork.c: Likewise.
441         * sysdeps/mach/hurd/getcwd.c: Likewise.
442         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
443         * sysdeps/mach/hurd/mmap.c: Likewise.
444         * sysdeps/mach/hurd/utimes.c: Likewise.
445         * sysdeps/mach/hurd/xmknod.c: Likewise.
446         * sysdeps/posix/profil.c: Likewise.
447         * sysdeps/posix/readdir_r.c: Likewise.
448         * sysdeps/powerpc/bits/mathdef.h: Likewise.
449         * sysdeps/powerpc/bits/setjmp.h: Likewise.
450         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
451         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
452         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
453         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
454         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
455         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
456         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
457         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
458         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
459         * sysdeps/pthread/lio_listio.c: Likewise.
460         * sysdeps/sparc/dl-procinfo.h: Likewise.
461         * sysdeps/unix/i386/sysdep.S: Likewise.
462         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
463         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
464         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
465         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
467         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
468         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
469         * sysdeps/unix/sysv/linux/speed.c: Likewise.
470         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
471         * sysdeps/wordsize-32/divdi3.c: Likewise.
472         * time/sys/time.h: Likewise.
473         * wcsmbs/Makefile: Likewise.
475 2013-01-01  David S. Miller  <davem@davemloft.net>
477         * po/fr.po: Update from translation team.
479         * catgets/gencat.c: Update copyright year.
480         * csu/version.c: Likewise.
481         * debug/catchsegv.sh: Likewise.
482         * debug/pcprofiledump.c: Likewise.
483         * debug/xtrace.sh: Likewise.
484         * elf/ldconfig.c: Likewise.
485         * elf/ldd.bash.in: Likewise.
486         * elf/pldd.c: Likewise.
487         * elf/sotruss.ksh: Likewise.
488         * elf/sprof.c: Likewise.
489         * iconv/iconv_prog.c: Likewise.
490         * iconv/iconvconfig.c: Likewise.
491         * locale/programs/locale.c: Likewise.
492         * locale/programs/localedef.c: Likewise.
493         * login/programs/pt_chown.c: Likewise.
494         * malloc/memusage.sh: Likewise.
495         * malloc/memusagestat.c: Likewise.
496         * malloc/mtrace.pl: Likewise.
497         * nscd/nscd.c: Likewise.
498         * nss/getent.c: Likewise.
499         * nss/makedb.c: Likewise.
500         * posix/getconf.c: Likewise.
502 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
504         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
505         numbers.
507 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
509         * math/bits/mathcalls.h (modf): Use __nonnull.
511 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
513         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
514         (split): Use macro CN instead of the bare value.
515         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
516         could be used.
517         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
518         instead of the bare value.
519         (power1): Likewise.
521 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
523         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
524         __ATAN_TWOM.
525         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
527         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
528         their values.
529         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
530         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
531         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
532         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
534 2012-12-28  Andreas Jaeger  <aj@suse.de>
536         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
537         values are from Linux 3.7.
539         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
540         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
542 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
544         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
545         TRUE case.
547         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
548         (norm): Likewise.
549         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
550         variables with preprocessor constants.
551         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
552         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
553         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
555 2012-12-27  Bruno Haible  <bruno@clisp.org>
557         [BZ #14317]
558         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
559         only if needed.
561 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
563         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
564         and use variable directly.
565         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
567         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
568         MPONE.
569         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
570         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
571         variable MPONE.
572         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
573         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
574         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
575         include directive.  Remove local variable MPONE.
576         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
577         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
578         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
580 2012-12-25  David S. Miller  <davem@davemloft.net>
582         * version.h (RELEASE): Set to "development".
583         (VERSION): Set to "2.17.90".
584         * NEWS: Add 2.18 section.
586 2012-12-21  David S. Miller  <davem@davemloft.net>
588         * po/hr.po: Update from translation team.
590 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
592         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
594 2012-12-19  Steve Ellcey  <sellcey@mips.com>
596         * NEWS:  Mention new memcpy for MIPS.
598 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
600         * manual/contrib.texi (Contributors): Spelling correction.
602 2012-12-15  David S. Miller  <davem@davemloft.net>
604         * po/ru.po: Update from translation team.
606 2012-12-13  David S. Miller  <davem@davemloft.net>
608         * NEWS: Mention IFUNC testsuite enhancements.
610         * po/pl.po: Update from translation team.
611         * po/bg.po: Likewise.
613         * manual/contrib.texi (Contributors): Update entries for Hongjiu
614         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
616 2012-12-11  David S. Miller  <davem@davemloft.net>
618         * po/sv.po: Update from translation team.
620         * po/vi.po: Update from translation team.
622         * po/cs.po: Update from translation team.
624         * po/de.po: Update from translation team.
625         * po/eo.po: Likewise.
626         * po/nl.po: Likewise.
628 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
630         [BZ #14246]
631         * manual/argp.texi (Argp Helper Functions): Move node to follow
632         Argp Parsing State.
634         [BZ #14872]
635         * manual/conf.texi (Limits on File System Capacity): Mention if
636         terminating null is included in the max size.
638 2012-12-10  Andreas Jaeger  <aj@suse.de>
640         * po/cs.po: Update from translation team.
642 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
644         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
645         void pointer and cast to uintptr_t.
646         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
647         path.
648         * sysdeps/s390/s390-64/memcpy.S: Likewise.
649         * sysdeps/s390/s390-64/memset.S: Likewise.
651 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
653         [BZ #14833]
654         * menual/message.texi (Message Translation): Fix typos.
655         (Helper programs for gettext): Likewise.
657 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
659         [BZ #14898]
660         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
661         Change to -1.
663 2012-12-07  David S. Miller  <davem@davemloft.net>
665         * po/libc.pot: Update.
667 2012-12-07  Richard Henderson  <rth@redhat.com>
669         [BZ #10114]
670         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
671         normal/normal case to before the switch.
672         (_FP_DIV): Likewise.
674 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
675             Mike Frysinger  <vapier@gentoo.org>
677         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
678         check for __NR_fadvise64_64.
680 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
682         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
683         0, not just to plain "0" as a statement.
684         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
685         with cw.
687 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
689         * NEWS: Use sourceware.org in Bugzilla URL.
691 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
694         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
696         * stdio-common/tst-put-error.c (do_test): Add newline to the
697         padded test to ensure flush.
699 2012-12-05  Jeff Law  <law@redhat.com>
701         * sunrpc/etc.rpc (fedfs_admin): Add entry.
703 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
705         * README: Don't refer to ports add-on as distributed separately.
706         Mention AArch64 in list of systems supported in the ports add-on.
708         * LICENSES: Add more non-FSF copyright and license notices.
710         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
711         ((unused)).
713         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
715         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
716         10000 as width of padded output.
718 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
720         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
722         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
723         variable LX with __attribute__ ((unused)).
724         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
725         Likewise.
726         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
727         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
728         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
729         with __attribute__ ((unused)).
731 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
733         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
735 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
737         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
738         (CFLAGS-nldbl-acos.c): New variable.
739         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
740         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
741         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
742         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
743         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
744         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
745         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
746         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
747         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
748         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
749         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
750         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
751         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
752         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
753         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
754         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
755         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
756         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
757         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
758         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
759         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
760         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
761         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
762         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
763         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
764         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
765         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
766         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
767         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
768         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
769         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
770         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
771         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
772         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
773         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
774         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
775         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
776         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
777         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
778         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
779         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
780         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
781         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
782         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
783         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
784         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
785         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
786         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
787         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
788         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
789         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
790         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
791         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
792         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
793         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
794         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
795         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
796         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
797         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
798         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
799         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
800         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
801         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
802         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
803         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
804         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
805         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
806         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
807         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
808         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
809         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
810         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
811         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
812         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
813         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
814         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
815         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
816         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
817         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
818         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
819         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
820         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
821         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
822         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
823         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
824         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
825         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
826         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
827         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
828         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
829         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
830         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
831         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
832         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
833         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
834         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
835         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
838         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
840         [BZ #14914]
841         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
842         whole low double instead of just low 47 bits when splitting values
843         into two parts.
845 2012-12-03  Allan McRae  <allan@archlinux.org>
847         * manual/stdio.texi (Predefined Printf Handlers): Remove
848         @hsep and @vsep usage.
850 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
852         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
853         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
855 2012-12-03  Jeff Law  <law@redhat.com>
857         * time/sys/time.h (settimeofday): Do not mark TV argument
858         as __nonnull.
860 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
862         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
863         when currently writing and seek to current position when not.
864         * libio/Makefile (tests): Remove bug-fclose1.
865         * libio/bug-fclose1.c: Delete.
867 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
869         * manual/arith.texi (feenableexcept): Fix typo.
870         (fedisableexcept): Likewise.
872 2012-11-30  Roland McGrath  <roland@hack.frob.com>
874         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
875         second, differently-typed declaration, rather than a cast.
877 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
879         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
880         * include/rpc/svc.h: ... here.
882 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
884         [BZ #13013]
885         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
886         depending n and resplen2 to catch cases where answer
887         equals answerp2.
889 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
891         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
892         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
894 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
896         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
898 2012-11-29  Roland McGrath  <roland@hack.frob.com>
900         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
902 2012-11-28  Jeff Law  <law@redhat.com>
904         [BZ #13761]
905         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
906         dataset_temporary.  Track alloca usage into alloca_used.
907         If dataset is large allocate and release it via malloc/free.
909 2012-06-04  Florian Weimer  <fweimer@redhat.com>
911         [BZ #14197]
912         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
914 2012-11-28  David S. Miller  <davem@davemloft.net>
916         * sysdeps/sparc/fpu/libm-test-ulps: Update.
918 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
920         [BZ #14803]
921         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
922         of pi/2 rounded to nearest to 64 bits.
923         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
924         nearest to 64 bits.
925         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
926         bits.
928 2012-11-28  Jeff Law <law@redhat.com>
929             Martin Osvald <mosvald@redhat.com>
931         [BZ #14889]
932         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
933         * sunrpc/svc.c: Include time.h.
934         (__svc_accept_failed): New function.
935         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
936         any reason other than EINTR, call __svc_accept_failed.
937         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
938         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
940 2012-11-28  Andreas Schwab  <schwab@suse.de>
942         * scripts/abilist.awk: Also handle indirect functions in .opd
943         section.
945 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
947         [BZ #13881]
948         * sysdeps/x86/fpu/powl_helper.c: New file.
949         * sysdeps/x86/fpu/Makefile: Likewise.
950         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
951         (p3): New object.
952         (__ieee754_powl): Use __powl_helper for finite arguments except
953         integer exponents below 8.
954         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
955         (p3): New object.
956         (__ieee754_powl): Use __powl_helper for finite arguments except
957         integer exponents below 8.
958         * math/libm-test.inc (pow_test): Add more tests and enable some
959         previously disabled tests.
960         * sysdeps/i386/fpu/libm-test-ulps: Update.
961         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
963 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
964             Carlos O'Donell  <carlos_odonell@mentor.com>
966         * nss/makedb.c (is_prime): Assert that input is odd and greater
967         than 4.  Note that fact in a comment too.
968         (next_prime): Add 4 to input.
970 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
972         [BZ #11741]
973         * libio/Makefile (tests): Add test case tst-fwrite-error.
974         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
975         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
976         * libio/tst-fwrite-error.c: New test case.
978 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
980         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
981         before casting to void *.
982         * include/libc-internal.h (__pointer_type): New macro.
983         (__integer_if_pointer_type_sub): Likewise.
984         (__integer_if_pointer_type): Likewise.
985         (cast_to_integer): Likewise.
986         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
987         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
988         before casting to atomic64_t.
989         (atomic_exchange_acq): Likewise.
990         (__arch_exchange_and_add_body): Likewise.
991         (__arch_add_body): Likewise.
992         (atomic_add_negative): Likewise.
993         (atomic_add_zero): Likewise.
995 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
997         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
998         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
999         (add_fdes): Likewise.
1000         (linear_search_fdes): Likewise.
1001         (binary_search_unencoded_fdes): Likewise.
1003 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
1005         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
1007 2012-11-24  Adam Conrad  <adconrad@0c3.net>
1009         * configure.in: Autodetect C++ header directories.
1010         * configure: Regenerated.
1012 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
1014         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
1016 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
1018         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1020 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
1022         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
1023         LDBL_MANT_DIG == 106]: Disable some tests.
1024         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
1025         Likewise.
1026         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
1027         Likewise.
1029         [BZ #14871]
1030         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
1031         input for small inputs.  Return +/- pi/2 for large inputs.
1032         * math/libm-test.inc (atan_test): Add more tests.
1034         * sysdeps/generic/unwind-dw2-fde-glibc.c
1035         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
1036         __attribute__ ((unused)).
1038         [BZ #14645]
1039         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
1040         x * y if x and y are nonzero and z is zero.
1042         [BZ #14811]
1043         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
1044         nonzero exponents with absolute value below 0x1p-117 to +/-
1045         0x1p-117.
1047         [BZ #14869]
1048         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
1049         up arguments below 2**-450, not just those below 2**-500.
1050         * math/libm-test.inc (hypot_test): Add another test.
1052         [BZ #14868]
1053         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
1054         Return a+b for ratio over 2**120, not 2**60.
1055         * math/libm-test.inc (hypot_test): Add another test.
1057         * math/libm-test.inc (clog_test): Use
1058         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
1059         (clog10_test): Likewise.
1061         [BZ #6778]
1062         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
1064 2012-11-22  Andreas Schwab  <schwab@suse.de>
1066         * sysdeps/i386/fpu/libm-test-ulps: Update.
1068 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
1070         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
1071         printf output with newline.
1073 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
1075         [BZ #14865]
1076         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
1077         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
1078         -z nodlopen, -z initfirst and -z execstack support.
1079         * configure: Regenerated.
1081         * elf/elf.h (DF_1_NODIRECT): New macro.
1082         (DF_1_IGNMULDEF): Likewise.
1083         (DF_1_NOKSYMS): Likewise.
1084         (DF_1_NOHDR): Likewise.
1085         (DF_1_EDITED): Likewise.
1086         (DF_1_NORELOC): Likewise.
1087         (DF_1_SYMINTPOSE): Likewise.
1088         (DF_1_GLOBAUDIT): Likewise.
1089         (DF_1_SINGLETON): Likewise.
1090         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
1091         DT_1_SUPPORTED_MASK bits.
1092         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
1094 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
1096         * sysdeps/unix/make-syscalls.sh: Document prefixes.
1098 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
1100         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
1101         macro.
1103         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
1104         (sendmmsg): Move declarations...
1105         * socket/sys/socket.h: ... here.
1106         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
1107         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
1108         include it from...
1109         * socket/recvmmsg.c: ... this new file.
1110         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
1111         (sendmmsg): Rename to __sendmmsg, create weak alias and make
1112         definition of __sendmmsg hidden.
1113         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
1114         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
1115         Move ENOSYS stub into and include it from...
1116         * socket/sendmmsg.c: ... this new file.
1117         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
1118         (sysdep_routines): Move recvmmsg and sendmmsg...
1119         * socket/Makefile (routines): ... here.
1120         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
1121         (GLIBC_PRIVATE): Add __sendmmsg.
1122         * include/sys/socket.h (__sendmmsg): Add declarations.
1123         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
1124         sendmmsg.
1126 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
1128         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
1129         variable I1 with __attribute__ ((unused)).
1130         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
1132 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
1134         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
1135         DUMMY variables with __attribute__ ((unused)).
1137         * bits/byteswap.h: Include <bits/types.h>.
1138         (__bswap_64): Use __uint64_t instead of unsigned long long int.
1140 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
1142         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
1143         string_t.  Do not manually set errno.
1144         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
1145         length with __strnlen.  Make sure to both set errno and return it on
1146         failure.
1148 2012-11-19  David S. Miller  <davem@davemloft.net>
1150         With help from Joseph Myers.
1151         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
1152         very large arguments properly.
1153         * math/libm-test.inc (atan_test): New tests.
1154         (atan2_test): New tests.
1155         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1156         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1158 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
1160         [BZ #14856]
1161         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
1162         Define to 3.
1164         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
1165         [POSIX] (EADDRNOTAVAIL): Likewise.
1166         [POSIX] (EAFNOSUPPORT): Likewise.
1167         [POSIX] (EALREADY): Likewise.
1168         [POSIX] (ECONNABORTED): Likewise.
1169         [POSIX] (ECONNREFUSED): Likewise.
1170         [POSIX] (ECONNRESET): Likewise.
1171         [POSIX] (EDESTADDRREQ): Likewise.
1172         [POSIX] (EDQUOT): Likewise.
1173         [POSIX] (EHOSTUNREACH): Likewise.
1174         [POSIX] (EIDRM): Likewise.
1175         [POSIX] (EISCONN): Likewise.
1176         [POSIX] (ELOOP): Likewise.
1177         [POSIX] (EMULTIHOP): Likewise.
1178         [POSIX] (ENETDOWN): Likewise.
1179         [POSIX] (ENETUNREACH): Likewise.
1180         [POSIX] (ENOBUFS): Likewise.
1181         [POSIX] (ENODATA): Likewise.
1182         [POSIX] (ENOLINK): Likewise.
1183         [POSIX] (ENOMSG): Likewise.
1184         [POSIX] (ENOPROTOOPT): Likewise.
1185         [POSIX] (ENOSR): Likewise.
1186         [POSIX] (ENOSTR): Likewise.
1187         [POSIX] (ENOTCONN): Likewise.
1188         [POSIX] (ENOTSOCK): Likewise.
1189         [POSIX] (EOPNOTSUPP): Likewise.
1190         [POSIX] (EOVERFLOW): Likewise.
1191         [POSIX] (EPROTO): Likewise.
1192         [POSIX] (EPROTONOSUPPORT): Likewise.
1193         [POSIX] (EPROTOTYPE): Likewise.
1194         [POSIX] (ESTALE): Likewise.
1195         [POSIX] (ETIME): Likewise.
1196         [POSIX] (ETXTBSY): Likewise.
1197         [POSIX] (EWOULDBLOCK): Likewise.
1198         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
1199         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
1200         [POSIX] (SEEK_CUR): Likewise.
1201         [POSIX] (SEEK_END): Likewise.
1202         [POSIX || UNIX98] (mode_t): Do not require.
1203         [POSIX] (off_t): Likewise.
1204         [POSIX] (pid_t): Likewise.
1205         [POSIX] (sys/stat.h): Do not allow header.
1206         [POSIX] (unistd.h): Likewise.
1207         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
1208         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
1209         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
1210         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
1211         require.
1212         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
1213         sigevent): Specify elements.
1214         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
1215         entry.
1216         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
1217         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
1219         * conform/data/cpio.h-data [POSIX]: Disable whole file.
1220         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
1221         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
1222         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
1223         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
1224         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
1225         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
1226         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
1227         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
1228         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
1229         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
1230         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
1231         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
1232         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
1233         Likewise.
1234         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
1235         Likewise.
1236         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
1237         Likewise.
1238         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
1239         Likewise.
1240         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
1241         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
1242         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
1243         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
1244         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
1245         Specify lower bound on value.
1246         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
1247         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
1248         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
1249         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
1250         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
1251         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
1252         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
1253         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
1254         value.
1255         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
1256         as optional.
1257         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
1258         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
1259         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
1260         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
1261         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
1262         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
1263         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
1264         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
1265         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
1266         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
1267         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
1268         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
1269         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
1270         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
1271         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
1272         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
1273         entry.
1274         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
1275         optional.
1276         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
1277         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
1278         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
1279         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
1280         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
1281         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
1282         Likewise.
1283         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
1284         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
1285         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
1286         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
1287         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
1288         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
1289         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
1290         as optional.
1291         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
1292         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
1293         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
1294         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
1295         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
1296         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
1297         specify as optional.
1298         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
1299         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
1300         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
1301         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
1302         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
1303         [XPG3] (NL_LANGMAX): Likewise.
1304         [POSIX || XPG3] (NL_MSGMAX): Likewise.
1305         [POSIX || XPG3] (NL_NMAX): Likewise.
1306         [POSIX || XPG3] (NL_SETMAX): Likewise.
1307         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
1308         [XPG3] (NZERO): Likewise.
1309         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
1310         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
1311         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
1312         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
1313         (REG_ERANGE): Expect.
1314         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
1315         optional-constant.
1316         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
1317         Use (void) in prototype.
1318         [POSIX] (*_t): Allow.
1319         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
1320         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
1321         (WRDE_BADVAL): Expect.
1323         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
1324         expect.
1325         [XPG3 || XPG4] (O_RSYNC): Likewise.
1326         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
1327         Likewise.
1328         [XPG3 || XPG4] (pthread_sigmask): Likewise.
1329         [XPG3 || XPG4] (sigqueue): Likewise.
1330         [XPG3 || XPG4] (sigtimedwait): Likewise.
1331         [XPG3 || XPG4] (sigwaitinfo): Likewise.
1332         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
1333         [XPG3 || XPG4] (vsnprintf): Likewise.
1334         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
1335         Likewise.
1336         [XPG3 || XPG4] (blksize_t): Likewise.
1337         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
1338         Likewise.
1339         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
1340         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
1341         [XPG3 || XPG4] (struct itimerspec): Likewise.
1342         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
1343         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
1344         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
1345         [XPG3 || XPG4] (clockid_t): Likewise.
1346         [XPG3 || XPG4] (timer_t): Likewise.
1347         [XPG3 || XPG4] (clock_getres): Likewise.
1348         [XPG3 || XPG4] (clock_gettime): Likewise.
1349         [XPG3 || XPG4] (clock_settime): Likewise.
1350         [XPG3 || XPG4] (nanosleep): Likewise.
1351         [XPG3 || XPG4] (timer_create): Likewise.
1352         [XPG3 || XPG4] (timer_delete): Likewise.
1353         [XPG3 || XPG4] (timer_gettime): Likewise.
1354         [XPG3 || XPG4] (timer_getoverrun): Likewise.
1355         [XPG3 || XPG4] (timer_settime): Likewise.
1356         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
1357         [XPG3 || XPG4] (getlogin_r): Likewise.
1358         [XPG3 || XPG4] (pread): Likewise.
1359         [XPG3 || XPG4] (pthread_atfork): Likewise.
1360         [XPG3 || XPG4] (pwrite): Likewise.
1362         [BZ #14835]
1363         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
1364         <bits/siginfo.h>.
1366 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
1368         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
1369         finalizing MALLSTREAM.
1371         * sysdeps/mach/hurd/syncfs.c: New file.
1373 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
1375         [BZ #14719]
1376         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
1377         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
1378         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
1379         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
1380         (_nss_dns_gethostbyname4_r): Likewise.
1381         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
1382         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
1384 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
1386         [BZ #13763]
1387         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
1389 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
1391         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
1392         * elf/cache.c (print_entry): Print ",AArch64" for
1393         FLAG_AARCH64_LIB64
1395         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
1396         * elf/cache.c (print_entry): Print ",hard-float" for
1397         FLAG_ARM_LIBHF.
1399 2012-11-18  David S. Miller  <davem@davemloft.net>
1401         With help from Joseph Myers.
1402         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
1403         cutoff to 2**-13.
1404         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
1405         cutoff to 2**-25.
1406         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
1407         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
1408         small.
1409         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
1410         * math/libm-test.inc (y0_test): New tests.
1411         (y1_test): New tests.
1412         * sysdeps/i386/fpu/libm-test-ulps: Update.
1413         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1414         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1416 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
1418         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
1419         64-bit targets.
1420         * configure: Regenerated.
1422 2012-11-17  David S. Miller  <davem@davemloft.net>
1424         [BZ #14811]
1425         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
1426         nonzero exponents with absolute value below 0x1p-128 to +/-
1427         0x1p-128.
1429 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
1431         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
1433         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
1435         * posix/getconf-speclist.c: New file.
1436         * posix/posix-envs.def: Likewise.
1437         * posix/confstr.c (START_ENV_GROUP): New macro.
1438         (END_ENV_GROUP): Likewise.
1439         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
1440         (KNOWN_PRESENT_ENV_STRING): Likewise.
1441         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
1442         (UNKNOWN_ENVIRONMENT): Likewise.
1443         (confstr): Include posix-envs.def instead of handling
1444         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
1445         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
1446         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
1447         (END_ENV_GROUP): Likewise.
1448         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
1449         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
1450         (UNKNOWN_ENVIRONMENT): Likewise.
1451         (__sysconf): Include posix-envs.def instead of handling associated
1452         cases directly here.
1453         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
1454         preprocessing getconf-speclist.c rather than running getconf or
1455         generating empty file.
1457 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
1459         * scripts/check-local-headers.sh: Ignore 'mach' headers.
1461 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
1463         [BZ #14672]
1464         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
1466 2012-11-16  David S. Miller  <davem@davemloft.net>
1468         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
1469         smaller than LDBL_EPSILON/2.0L, just return xm1.
1471 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
1473         * elf/tst-array1.c (init): Set constructor priority to 1000.
1474         (fini): Set destructor priority to 1000.
1475         * elf/tst-array2dep.c: Likewise.
1477 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
1479         [BZ #11741]
1480         * libio/fileops.c (_IO_new_file_write): Correctly return error.
1481         (_IO_new_file_xsputn): Also return EOF if none of the input
1482         data was written when overflow failed.
1483         * libio/iopadn.c (_IO_padn): Likewise.
1484         * libio/iowpadn.c (_IO_wpadn): Likewise.
1485         * stdio-common/tst-put-error.c: Add copyright notice.
1486         (do_test): Add case for printing padded string.
1487         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
1488         _IO_padn returned error.
1489         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
1490         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
1491         return EOF.
1493 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
1495         * libio/libioP.h: Add comment note that the references to C++
1496         bits are now obsolete.
1498 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
1500         * math/libm-test.inc (check_complex): Use asprintf.
1502 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
1504         * debug/pcprofiledump.c (print_version): Update copyright year.
1505         * malloc/memusagestat.c (print_version): Likewise.
1507 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
1509         [BZ #14831]
1510         * elf/Makefile (tests): Add tst-audit8.
1511         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
1512         ($(objpfx)tst-audit8.out): New target.
1513         (tst-audit8-ENV): New variable.
1514         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
1515         audit if l_reloc_result is NULL.
1516         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
1517         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
1518         * elf/tst-audit8.c: New file.
1520 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
1522         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
1523         * misc/Makefile (CFLAGS-select.c): Define.
1524         * posix/Makefile (CFLAGS-pause.c): Define.
1526 2012-11-13  David S. Miller  <davem@davemloft.net>
1528         * crypt/Makefile: Move test targets after toplevel Rules
1529         inclusion.  Grab any necessary sysdep routines when linking.
1530         * crypt/md5.c (md5_process_block): Remove define, we will always
1531         name it __md5_process_block.
1532         (md5_finish_ctx): Update md5_process_block call.
1533         (md5_stream): Likewise.
1534         (md5_process_bytes): Likewise.
1535         (md5_process_block): Rename to __md5_process_block and move to ...
1536         * crypt/md5-block.c: ... here.
1537         * crypt/sha256.c (sha256_process_block): Move to ...
1538         * crypt/sha256-block.c: ... here.
1539         * crypt/sha512.c (sha512_process_block): Move to ...
1540         * crypt/sha512-block.c: ... here.
1541         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
1542         path.
1543         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
1544         * sysdeps/sparc/sparc64/multiarch/Makefile
1545         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
1546         crypt subdir.
1547         (localedef-aux): Add md5 crypto assembler when in locale subdir.
1548         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
1549         multiarch changes.
1550         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
1551         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
1552         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
1553         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
1554         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
1555         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
1556         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
1557         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
1558         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
1559         file.
1560         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
1561         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
1562         file.
1563         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
1565 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
1567         * timezone/tzselect.ksh: Update from tzcode git revision
1568         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
1569         * timezone/zdump.c: Likewise.
1570         * timezone/zic.c: Likewise.
1571         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
1572         in TZVERSION setting, not $(PKGVERSION).
1573         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
1574         REPORT_BUGS_TO settings.
1576         [BZ #14838]
1577         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
1578         macro.
1580 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
1582         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
1583         detection to immediately after _FP_ROUND().
1584         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
1585         bits are 0.
1587 2012-11-11  David S. Miller  <davem@davemloft.net>
1589         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
1590         inttypes.h
1591         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
1592         __close rather than their public counterparts.
1594 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
1596         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
1597         file.
1598         [UNIX98] (sem_timedwait): Do not expect.
1599         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
1600         [XPG4 || UNIX98] (sockatmark): Do not expect.
1601         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
1602         (clock_getcpuclockid): Do not expect.
1603         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
1604         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
1605         Do not expect.
1606         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
1607         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
1608         [UNIX98] (vwscanf): Likewise.
1609         [UNIX98] (vswscanf): Likewise.
1611 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
1613         * timezone/version.h: Remove file.
1614         * timezone/README: Do not refer to version.h.
1615         * timezone/Makefile ($(objpfx)zic.o): New dependency on
1616         $(objpfx)version.h.
1617         ($(objpfx)zdump.o): Likewise.
1618         ($(objpfx)version.h): New target.
1620         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
1621         2012i.
1622         * timezone/README: Don't mention modification to tzselect.ksh.
1623         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
1624         work on unmodified tzselect.ksh.  Substitute version numbers in
1625         tzselect.ksh.
1627         * Makefile (format-me): Remove.
1628         (INSTALL): Adjust indentation.  Use commands directly instead of
1629         using $(format-me).
1631         * aclocal.m4 (ACX_PKGVERSION): New macro.
1632         (ACX_BUGURL): Likewise.
1633         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
1634         (PKGVERSION): New AC_DEFINE_UNQUOTED.
1635         (REPORT_BUGS_TO): Likewise.
1636         * configure: Regenerated.
1637         * config.h.in (PKGVERSION): New macro.
1638         (REPORT_BUGS_TO): Likewise.
1639         * config.make.in (PKGVERSION): New variable.
1640         (PKGVERSION_TEXI): Likewise.
1641         (REPORT_BUGS_TO): Likewise.
1642         (REPORT_BUGS_TEXI): Likewise.
1643         * Makefile (format-me): Use -I$(common-objpfx)manual.
1644         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
1645         ($(common-objpfx)manual/%): New target.
1646         (manual/%): Remove target.
1647         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
1648         (print_version): Use PKGVERSION.
1649         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
1650         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
1651         and REPORT_BUGS_TO.
1652         ($(objpfx)xtrace): Likewise.
1653         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
1654         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
1655         (print_version): Use PKGVERSION.
1656         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
1657         (do_version): Use PKGVERSION.
1658         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
1659         REPORT_BUGS_TO.
1660         (common-ldd-rewrite): Likewise.
1661         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
1662         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
1663         (print_version): Use PKGVERSION.
1664         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
1665         * elf/pldd.c (argp_program_bug_address): Remove variable.
1666         (more_help): New function.
1667         (argp): Use more_help.
1668         (print_version): Use PKGVERSION.
1669         * elf/sln.c (main): Use PKGVERSION.
1670         (usage): Use REPORT_BUGS_TO.
1671         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
1672         (top level): Use PKGVERSION.
1673         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
1674         (print_version): Use PKGVERSION.
1675         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
1676         (print_version): Use PKGVERSION.
1677         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
1678         (print_version): Use PKGVERSION.
1679         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
1680         (print_version): Use PKGVERSION.
1681         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
1682         (print_version): Use PKGVERSION.
1683         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
1684         (print_version): Use PKGVERSION.
1685         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
1686         and BUGURL.
1687         ($(objpfx)memusage): Likewise.
1688         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
1689         (do_version): Use PKGVERSION.
1690         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
1691         (print_version): Use PKGVERSION.
1692         * malloc/mtrace.pl ($PACKAGE): Remove variable.
1693         ($PKGVERSION): New variable.
1694         ($REPORT_BUGS_TO): Likewise.
1695         (usage): Use $REPORT_BUGS_TO.
1696         (top level): Use $PKGVERSION.
1697         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
1698         ($(objpfx)pkgvers.texi): New rule.
1699         ($(objpfx)stamp-pkgvers): Likewise.
1700         * manual/install.texi: Include pkgvers.texi.
1701         (--with-pkgversion): Document new configure option.
1702         (--with-bugurl): Likewise.
1703         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
1704         than necessarily for this particular distribution.  Use
1705         REPORT_BUGS_TO for where to report bugs.
1706         * INSTALL: Regenerated.
1707         * manual/libc.texinfo: Include pkgvers.texi.
1708         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
1709         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
1710         (print_version): Use PKGVERSION.
1711         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
1712         (print_version): Use PKGVERSION.
1713         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
1714         (print_version): Use PKGVERSION.
1715         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
1716         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
1717         macro.
1718         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
1719         (print_version): Use PKGVERSION.
1720         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
1721         (print_version): Use PKGVERSION.
1722         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
1723         and PKGVERSION.
1725         * timezone/checktab.awk: Update from tzcode 2012i.
1726         * timezone/ialloc.c: Likewise.
1727         * timezone/private.h: Likewise.
1728         * timezone/scheck.c: Likewise.
1729         * timezone/tzfile.h: Likewise.
1730         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
1731         (TZVERSION): Hardcode tzcode version number.
1732         * timezone/zdump.c: Update from tzcode 2012i.
1733         * timezone/zic.c: Likewise.
1734         * timezone/version.h: New file.
1735         * timezone/README: Describe version.h.  Update upstream location.
1737         [BZ #14824]
1738         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
1739         (mktemp): Enable declaration.
1740         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
1741         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
1742         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
1743         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
1744         Likewise.
1745         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
1746         Likewise.
1747         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
1748         Likewise.
1749         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
1750         Likewise.
1751         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
1752         Likewise.
1753         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
1754         Likewise.
1756         [BZ #14821]
1757         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
1758         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
1759         for copies of such integer values.
1760         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
1761         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
1763 2012-11-09  Andreas Jaeger  <aj@suse.de>
1765         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
1766         definitions and declarations that are provided by
1767         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
1769 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1771         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
1772         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
1773         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
1774         definition.
1776 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
1778         * elf/elf.h: Update comment before AArch64 relocations.
1780 2012-11-07  David S. Miller  <davem@davemloft.net>
1782         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
1783         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1784         (__start_context): Declare.
1785         (__makecontext_ret): Delete.
1786         (__makecontext): Hook up __start_context instead of
1787         __makecontext_ret.
1788         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
1789         (sysdep_routines): Add __start_context when in stdlib.
1791 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
1793         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
1794         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
1795         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
1796         hardcoded "nm".
1797         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
1798         (READELF): New variable.  Use it instead of hardcoded "readelf".
1800 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
1802         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
1803         * sysdeps/x86/Makefile: Here.
1804         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
1805         * sysdeps/x86/tst-xmmymm.sh: This.
1807 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
1809         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
1810         expectations.
1811         [UNIX98] (pthread_barrier_t): Do not expect.
1812         [UNIX98] (pthread_barrierattr_t): Likewise.
1813         [UNIX98] (pthread_spinlock_t): Likewise.
1814         [UNIX98] (pthread_barrier_destroy): Likewise.
1815         [UNIX98] (pthread_barrier_init): Likewise.
1816         [UNIX98] (pthread_barrier_wait): Likewise.
1817         [UNIX98] (pthread_barrierattr_destroy): Likewise.
1818         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
1819         [UNIX98] (pthread_barrierattr_init): Likewise.
1820         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
1821         [UNIX98] (pthread_getcpuclockid): Likewise.
1822         [UNIX98] (pthread_mutex_timedlock): Likewise.
1823         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
1824         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
1825         [UNIX98] (pthread_sigmask): Likewise.
1826         [UNIX98] (pthread_spin_destroy): Likewise.
1827         [UNIX98] (pthread_spin_init): Likewise.
1828         [UNIX98] (pthread_spin_lock): Likewise.
1829         [UNIX98] (pthread_spin_trylock): Likewise.
1830         [UNIX98] (pthread_spin_unlock): Likewise.
1831         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
1832         Do not expect.
1833         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
1834         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
1835         [XPG3 || XPG4] (pthread_cond_t): Likewise.
1836         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
1837         [XPG3 || XPG4] (pthread_key_t): Likewise.
1838         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
1839         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
1840         [XPG3 || XPG4] (pthread_once_t): Likewise.
1841         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
1842         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
1843         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
1844         [XPG3 || XPG4] (pthread_t): Likewise.
1846         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
1847         not expect.
1848         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
1850         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
1851         Change function return type to int.
1853         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
1854         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
1855         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
1856         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
1857         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
1858         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
1859         [!POSIX] (posix_madvise): Likewise.
1860         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
1861         && !UNIX98].
1862         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
1863         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
1864         (mode_t): Likewise.
1865         (posix_mem_offset): Likewise.
1866         (posix_typed_mem_get_info): Likewise.
1867         (posix_typed_mem_open): Likewise.
1869         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
1870         Change condition to [XOPEN2K8].
1872         * conform/conformtest.pl: Preprocess allow-header data with -x c
1873         instead of from stdin.
1874         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
1875         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
1876         [C99-based standards] (cerfc): Likewise.
1877         [C99-based standards] (cexp2): Likewise.
1878         [C99-based standards] (cexpm1): Likewise.
1879         [C99-based standards] (clog10): Likewise.
1880         [C99-based standards] (clog1p): Likewise.
1881         [C99-based standards] (clog2): Likewise.
1882         [C99-based standards] (clgamma): Likewise.
1883         [C99-based standards] (ctgamma): Likewise.
1884         [C99-based standards] (cerff): Likewise.
1885         [C99-based standards] (cerfcf): Likewise.
1886         [C99-based standards] (cexp2f): Likewise.
1887         [C99-based standards] (cexpm1f): Likewise.
1888         [C99-based standards] (clog10f): Likewise.
1889         [C99-based standards] (clog1pf): Likewise.
1890         [C99-based standards] (clog2f): Likewise.
1891         [C99-based standards] (clgammaf): Likewise.
1892         [C99-based standards] (ctgammaf): Likewise.
1893         [C99-based standards] (cerfl): Likewise.
1894         [C99-based standards] (cerfcl): Likewise.
1895         [C99-based standards] (cexp2l): Likewise.
1896         [C99-based standards] (cexpm1l): Likewise.
1897         [C99-based standards] (clog10l): Likewise.
1898         [C99-based standards] (clog1pl): Likewise.
1899         [C99-based standards] (clog2l): Likewise.
1900         [C99-based standards] (clgammal): Likewise.
1901         [C99-based standards] (ctgammal): Likewise.
1902         * conform/data/inttypes.h-data [C99-based standards]: Include
1903         stdint.h-data.  Remove all expectations for stdint.h contents.
1904         [C99-based standards] (PRI*): Do not allow.
1905         [C99-based standards] (SCN*): Likewise.
1906         [C99-based standards] (*_t): Likewise.
1907         [C99-based-standards] (PRId8): Expect macro.
1908         [C99-based-standards] (PRIi8): Likewise.
1909         [C99-based-standards] (PRIo8): Likewise.
1910         [C99-based-standards] (PRIu8): Likewise.
1911         [C99-based-standards] (PRIx8): Likewise.
1912         [C99-based-standards] (PRIX8): Likewise.
1913         [C99-based-standards] (SCNd8): Likewise.
1914         [C99-based-standards] (SCNi8): Likewise.
1915         [C99-based-standards] (SCNo8): Likewise.
1916         [C99-based-standards] (SCNu8): Likewise.
1917         [C99-based-standards] (SCNx8): Likewise.
1918         [C99-based-standards] (PRIdLEAST8): Likewise.
1919         [C99-based-standards] (PRIiLEAST8): Likewise.
1920         [C99-based-standards] (PRIoLEAST8): Likewise.
1921         [C99-based-standards] (PRIuLEAST8): Likewise.
1922         [C99-based-standards] (PRIxLEAST8): Likewise.
1923         [C99-based-standards] (PRIXLEAST8): Likewise.
1924         [C99-based-standards] (SCNdLEAST8): Likewise.
1925         [C99-based-standards] (SCNiLEAST8): Likewise.
1926         [C99-based-standards] (SCNoLEAST8): Likewise.
1927         [C99-based-standards] (SCNuLEAST8): Likewise.
1928         [C99-based-standards] (SCNxLEAST8): Likewise.
1929         [C99-based-standards] (PRIdFAST8): Likewise.
1930         [C99-based-standards] (PRIiFAST8): Likewise.
1931         [C99-based-standards] (PRIoFAST8): Likewise.
1932         [C99-based-standards] (PRIuFAST8): Likewise.
1933         [C99-based-standards] (PRIxFAST8): Likewise.
1934         [C99-based-standards] (PRIXFAST8): Likewise.
1935         [C99-based-standards] (SCNdFAST8): Likewise.
1936         [C99-based-standards] (SCNiFAST8): Likewise.
1937         [C99-based-standards] (SCNoFAST8): Likewise.
1938         [C99-based-standards] (SCNuFAST8): Likewise.
1939         [C99-based-standards] (SCNxFAST8): Likewise.
1940         [C99-based-standards] (PRId16): Likewise.
1941         [C99-based-standards] (PRIi16): Likewise.
1942         [C99-based-standards] (PRIo16): Likewise.
1943         [C99-based-standards] (PRIu16): Likewise.
1944         [C99-based-standards] (PRIx16): Likewise.
1945         [C99-based-standards] (PRIX16): Likewise.
1946         [C99-based-standards] (SCNd16): Likewise.
1947         [C99-based-standards] (SCNi16): Likewise.
1948         [C99-based-standards] (SCNo16): Likewise.
1949         [C99-based-standards] (SCNu16): Likewise.
1950         [C99-based-standards] (SCNx16): Likewise.
1951         [C99-based-standards] (PRIdLEAST16): Likewise.
1952         [C99-based-standards] (PRIiLEAST16): Likewise.
1953         [C99-based-standards] (PRIoLEAST16): Likewise.
1954         [C99-based-standards] (PRIuLEAST16): Likewise.
1955         [C99-based-standards] (PRIxLEAST16): Likewise.
1956         [C99-based-standards] (PRIXLEAST16): Likewise.
1957         [C99-based-standards] (SCNdLEAST16): Likewise.
1958         [C99-based-standards] (SCNiLEAST16): Likewise.
1959         [C99-based-standards] (SCNoLEAST16): Likewise.
1960         [C99-based-standards] (SCNuLEAST16): Likewise.
1961         [C99-based-standards] (SCNxLEAST16): Likewise.
1962         [C99-based-standards] (PRIdFAST16): Likewise.
1963         [C99-based-standards] (PRIiFAST16): Likewise.
1964         [C99-based-standards] (PRIoFAST16): Likewise.
1965         [C99-based-standards] (PRIuFAST16): Likewise.
1966         [C99-based-standards] (PRIxFAST16): Likewise.
1967         [C99-based-standards] (PRIXFAST16): Likewise.
1968         [C99-based-standards] (SCNdFAST16): Likewise.
1969         [C99-based-standards] (SCNiFAST16): Likewise.
1970         [C99-based-standards] (SCNoFAST16): Likewise.
1971         [C99-based-standards] (SCNuFAST16): Likewise.
1972         [C99-based-standards] (SCNxFAST16): Likewise.
1973         [C99-based-standards] (PRId32): Likewise.
1974         [C99-based-standards] (PRIi32): Likewise.
1975         [C99-based-standards] (PRIo32): Likewise.
1976         [C99-based-standards] (PRIu32): Likewise.
1977         [C99-based-standards] (PRIx32): Likewise.
1978         [C99-based-standards] (PRIX32): Likewise.
1979         [C99-based-standards] (SCNd32): Likewise.
1980         [C99-based-standards] (SCNi32): Likewise.
1981         [C99-based-standards] (SCNo32): Likewise.
1982         [C99-based-standards] (SCNu32): Likewise.
1983         [C99-based-standards] (SCNx32): Likewise.
1984         [C99-based-standards] (PRIdLEAST32): Likewise.
1985         [C99-based-standards] (PRIiLEAST32): Likewise.
1986         [C99-based-standards] (PRIoLEAST32): Likewise.
1987         [C99-based-standards] (PRIuLEAST32): Likewise.
1988         [C99-based-standards] (PRIxLEAST32): Likewise.
1989         [C99-based-standards] (PRIXLEAST32): Likewise.
1990         [C99-based-standards] (SCNdLEAST32): Likewise.
1991         [C99-based-standards] (SCNiLEAST32): Likewise.
1992         [C99-based-standards] (SCNoLEAST32): Likewise.
1993         [C99-based-standards] (SCNuLEAST32): Likewise.
1994         [C99-based-standards] (SCNxLEAST32): Likewise.
1995         [C99-based-standards] (PRIdFAST32): Likewise.
1996         [C99-based-standards] (PRIiFAST32): Likewise.
1997         [C99-based-standards] (PRIoFAST32): Likewise.
1998         [C99-based-standards] (PRIuFAST32): Likewise.
1999         [C99-based-standards] (PRIxFAST32): Likewise.
2000         [C99-based-standards] (PRIXFAST32): Likewise.
2001         [C99-based-standards] (SCNdFAST32): Likewise.
2002         [C99-based-standards] (SCNiFAST32): Likewise.
2003         [C99-based-standards] (SCNoFAST32): Likewise.
2004         [C99-based-standards] (SCNuFAST32): Likewise.
2005         [C99-based-standards] (SCNxFAST32): Likewise.
2006         [C99-based-standards] (PRId64): Likewise.
2007         [C99-based-standards] (PRIi64): Likewise.
2008         [C99-based-standards] (PRIo64): Likewise.
2009         [C99-based-standards] (PRIu64): Likewise.
2010         [C99-based-standards] (PRIx64): Likewise.
2011         [C99-based-standards] (PRIX64): Likewise.
2012         [C99-based-standards] (SCNd64): Likewise.
2013         [C99-based-standards] (SCNi64): Likewise.
2014         [C99-based-standards] (SCNo64): Likewise.
2015         [C99-based-standards] (SCNu64): Likewise.
2016         [C99-based-standards] (SCNx64): Likewise.
2017         [C99-based-standards] (PRIdLEAST64): Likewise.
2018         [C99-based-standards] (PRIiLEAST64): Likewise.
2019         [C99-based-standards] (PRIoLEAST64): Likewise.
2020         [C99-based-standards] (PRIuLEAST64): Likewise.
2021         [C99-based-standards] (PRIxLEAST64): Likewise.
2022         [C99-based-standards] (PRIXLEAST64): Likewise.
2023         [C99-based-standards] (SCNdLEAST64): Likewise.
2024         [C99-based-standards] (SCNiLEAST64): Likewise.
2025         [C99-based-standards] (SCNoLEAST64): Likewise.
2026         [C99-based-standards] (SCNuLEAST64): Likewise.
2027         [C99-based-standards] (SCNxLEAST64): Likewise.
2028         [C99-based-standards] (PRIdFAST64): Likewise.
2029         [C99-based-standards] (PRIiFAST64): Likewise.
2030         [C99-based-standards] (PRIoFAST64): Likewise.
2031         [C99-based-standards] (PRIuFAST64): Likewise.
2032         [C99-based-standards] (PRIxFAST64): Likewise.
2033         [C99-based-standards] (PRIXFAST64): Likewise.
2034         [C99-based-standards] (SCNdFAST64): Likewise.
2035         [C99-based-standards] (SCNiFAST64): Likewise.
2036         [C99-based-standards] (SCNoFAST64): Likewise.
2037         [C99-based-standards] (SCNuFAST64): Likewise.
2038         [C99-based-standards] (SCNxFAST64): Likewise.
2039         [C99-based-standards] (PRIdMAX): Likewise.
2040         [C99-based-standards] (PRIiMAX): Likewise.
2041         [C99-based-standards] (PRIoMAX): Likewise.
2042         [C99-based-standards] (PRIuMAX): Likewise.
2043         [C99-based-standards] (PRIxMAX): Likewise.
2044         [C99-based-standards] (PRIXMAX): Likewise.
2045         [C99-based-standards] (SCNdMAX): Likewise.
2046         [C99-based-standards] (SCNiMAX): Likewise.
2047         [C99-based-standards] (SCNoMAX): Likewise.
2048         [C99-based-standards] (SCNuMAX): Likewise.
2049         [C99-based-standards] (SCNxMAX): Likewise.
2050         [C99-based-standards] (PRIdPTR): Likewise.
2051         [C99-based-standards] (PRIiPTR): Likewise.
2052         [C99-based-standards] (PRIoPTR): Likewise.
2053         [C99-based-standards] (PRIuPTR): Likewise.
2054         [C99-based-standards] (PRIxPTR): Likewise.
2055         [C99-based-standards] (PRIXPTR): Likewise.
2056         [C99-based-standards] (SCNdPTR): Likewise.
2057         [C99-based-standards] (SCNiPTR): Likewise.
2058         [C99-based-standards] (SCNoPTR): Likewise.
2059         [C99-based-standards] (SCNuPTR): Likewise.
2060         [C99-based-standards] (SCNxPTR): Likewise.
2061         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
2062         allow.
2063         * conform/data/stdint.h-data: Update comments to clarify
2064         requirements.
2065         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
2066         type.
2067         [C99-based standards] (INT8_MAX): Likewise.
2068         [C99-based standards] (INT16_MIN): Likewise.
2069         [C99-based standards] (INT16_MAX): Likewise.
2070         [C99-based standards] (INT32_MIN): Likewise.
2071         [C99-based standards] (INT32_MAX): Likewise.
2072         [C99-based standards] (INT64_MIN): Likewise.
2073         [C99-based standards] (INT64_MAX): Likewise.
2074         [C99-based standards] (UINT8_MAX): Likewise.
2075         [C99-based standards] (UINT16_MAX): Likewise.
2076         [C99-based standards] (UINT32_MAX): Likewise.
2077         [C99-based standards] (UINT64_MAX): Likewise.
2078         [C99-based standards] (INT_LEAST8_MIN): Likewise.
2079         [C99-based standards] (INT_LEAST8_MAX): Likewise.
2080         [C99-based standards] (INT_LEAST16_MIN): Likewise.
2081         [C99-based standards] (INT_LEAST16_MAX): Likewise.
2082         [C99-based standards] (INT_LEAST32_MIN): Likewise.
2083         [C99-based standards] (INT_LEAST32_MAX): Likewise.
2084         [C99-based standards] (INT_LEAST64_MIN): Likewise.
2085         [C99-based standards] (INT_LEAST64_MAX): Likewise.
2086         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
2087         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
2088         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
2089         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
2090         [C99-based standards] (INT_FAST8_MIN): Likewise.
2091         [C99-based standards] (INT_FAST8_MAX): Likewise.
2092         [C99-based standards] (INT_FAST16_MIN): Likewise.
2093         [C99-based standards] (INT_FAST16_MAX): Likewise.
2094         [C99-based standards] (INT_FAST32_MIN): Likewise.
2095         [C99-based standards] (INT_FAST32_MAX): Likewise.
2096         [C99-based standards] (INT_FAST64_MIN): Likewise.
2097         [C99-based standards] (INT_FAST64_MAX): Likewise.
2098         [C99-based standards] (UINT_FAST8_MAX): Likewise.
2099         [C99-based standards] (UINT_FAST16_MAX): Likewise.
2100         [C99-based standards] (UINT_FAST32_MAX): Likewise.
2101         [C99-based standards] (UINT_FAST64_MAX): Likewise.
2102         [C99-based standards] (INTPTR_MIN): Likewise.
2103         [C99-based standards] (INTPTR_MAX): Likewise.
2104         [C99-based standards] (UINTPTR_MAX): Likewise.
2105         [C99-based standards] (INTMAX_MIN): Likewise.
2106         [C99-based standards] (INTMAX_MAX): Likewise.
2107         [C99-based standards] (UINTMAX_MAX): Likewise.
2108         [C99-based standards] (PTRDIFF_MIN): Likewise.
2109         [C99-based standards] (PTRDIFF_MAX): Likewise.
2110         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
2111         [C99-based standards] (SIZE_MAX): Likewise.
2112         [C99-based standards] (WCHAR_MAX): Likewise.
2113         [C99-based standards] (WINT_MAX): Likewise.
2114         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
2115         constraint on value.
2116         [C99-based standards] (WCHAR_MIN): Likewise.
2117         [C99-based standards] (WINT_MIN): Likewise.
2118         [C99-based standards] (*_t): Allow.
2119         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
2120         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
2121         Include math.h-data and complex.h-data.  Remove all expectations
2122         of math.h and complex.h contents.
2123         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
2124         at end of line.
2125         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
2126         (struct tm): Expect tag.
2127         [C99-based-standards] (wcstof): Expect function.
2128         [C99-based-standards] (wcstold): Likewise.
2129         [C99-based-standards] (wcstoll): Likewise.
2130         [C99-based-standards] (wcstoull): Likewise.
2131         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
2132         macro-int-constant.  Specify type.
2133         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
2134         constraint on value.
2135         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
2136         Specify type.
2137         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
2138         Specify value.
2139         [ISO C standards]: Do not allow headers.
2140         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
2141         wcs[abcdefghijklmnopqrstuvwxyz]*.
2142         [ISO C standards] (*_t): Do not allow.
2143         * conform/data/wctype.h-data [C99-based standards] (iswblank):
2144         Expect function.
2145         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
2146         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
2147         Specify type.
2148         [ISO C standards]: Do not allow headers.
2149         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
2150         is[abcdefghijklmnopqrstuvwxyz]*.
2151         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
2152         to[abcdefghijklmnopqrstuvwxyz]*.
2153         [ISO C standards] (*_t): Do not allow.
2154         * conform/data/stdalign.h-data: New file.
2155         * conform/data/stdbool.h-data: Likewise.
2156         * conform/data/stdnoreturn.h-data: Likewise.
2158 2012-11-07  Roland McGrath  <roland@hack.frob.com>
2160         [BZ #14815]
2161         * manual/filesys.texi (Directory Entries): Typo fix.
2162         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
2164 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
2166         * elf/elf.h (EM_AARCH64): New macro.
2167         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
2168         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
2169         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
2170         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
2171         (R_AARCH64_TLSDESC): Likewise.
2172         (NT_ARM_TLS): Likewise.
2173         (NT_ARM_HW_BREAK): Likewise.
2174         (NT_ARM_HW_WATCH): Likewise.
2176 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
2178         [BZ #14811]
2179         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
2180         (__ieee754_powl): Saturate nonzero exponents with absolute value
2181         below 0x1p-79 to +/- 0x1p-79.
2182         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
2183         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
2184         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
2185         nonzero exponents with absolute value below 0x1p-32 to +/-
2186         0x1p-32.
2187         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
2188         (__ieee754_powl): Saturate nonzero exponents with absolute value
2189         below 0x1p-79 to +/- 0x1p-79.
2190         * math/libm-test.inc (pow_test): Add more tests.
2192 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2194         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
2195         _dl_s390_cap_flags with kernel. Increase string length.
2196         (_dl_s390_platforms): Add z196 and zEC12.
2198 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
2200         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
2201         Change XOPEN21K to XOPEN2K.
2203 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
2205         * string/memmove.c: Use memcpy when possible.
2207 2012-11-06  Andreas Jaeger  <aj@suse.de>
2209         * po/eo.po: Update from translation team.
2211 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
2213         [BZ #14793]
2214         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
2215         exponent and small x and y exponents, scale x or y up.  Increase
2216         by 2 the exponent used in scaling up.
2217         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2218         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2219         * math/libm-test.inc (fma_test): Add more tests.
2220         (fma_test_towardzero): Likewise.
2221         (fma_test_downward): Likewise.
2222         (fma_test_upward): Likewise.
2224 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
2226         [BZ #14805]
2227         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
2228         fenv_t *.
2230         [BZ #14801]
2231         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
2232         namespace for names of struct fields.
2233         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
2234         fenv_t fields.
2235         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
2236         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
2238 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2240         [BZ #3665]
2241         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
2243 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
2245         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
2246         PTR_DEMANGLE.
2248         [BZ #5246]
2249         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
2250         PTR_DEMANGLE.
2252 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
2254         [BZ #14797]
2255         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
2256         definitely overflow as x * y not x * y + z.
2257         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2258         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2259         * math/libm-test.inc (fma_test): Add more tests.
2260         (fma_test_towardzero): Likewise.
2261         (fma_test_downward): Likewise.
2262         (fma_test_upward): Likewise.
2264 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
2266         [BZ #157]
2268         * include/stub-tag.h: Remove file.
2269         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
2270         '#include' of it.
2271         * manual/maint.texi (Porting): Don't reference it.
2272         * Makerules ($(objpfx)stubs): Likewise.
2273         * dirent/closedir.c: Don't include <stub-tag.h>.
2274         * dirent/dirfd.c: Likewise.
2275         * dirent/fdopendir.c: Likewise.
2276         * dirent/getdents.c: Likewise.
2277         * dirent/getdents64.c: Likewise.
2278         * dirent/opendir.c: Likewise.
2279         * dirent/readdir.c: Likewise.
2280         * dirent/readdir64.c: Likewise.
2281         * dirent/readdir64_r.c: Likewise.
2282         * dirent/readdir_r.c: Likewise.
2283         * dirent/rewinddir.c: Likewise.
2284         * dirent/seekdir.c: Likewise.
2285         * dirent/telldir.c: Likewise.
2286         * gmon/profil.c: Likewise.
2287         * grp/setgroups.c: Likewise.
2288         * inet/if_index.c: Likewise.
2289         * io/access.c: Likewise.
2290         * io/chdir.c: Likewise.
2291         * io/chmod.c: Likewise.
2292         * io/chown.c: Likewise.
2293         * io/close.c: Likewise.
2294         * io/dup.c: Likewise.
2295         * io/dup2.c: Likewise.
2296         * io/dup3.c: Likewise.
2297         * io/euidaccess.c: Likewise.
2298         * io/faccessat.c: Likewise.
2299         * io/fchdir.c: Likewise.
2300         * io/fchmod.c: Likewise.
2301         * io/fchmodat.c: Likewise.
2302         * io/fchown.c: Likewise.
2303         * io/fchownat.c: Likewise.
2304         * io/fcntl.c: Likewise.
2305         * io/flock.c: Likewise.
2306         * io/fstatfs.c: Likewise.
2307         * io/fstatfs64.c: Likewise.
2308         * io/fstatvfs.c: Likewise.
2309         * io/fstatvfs64.c: Likewise.
2310         * io/futimens.c: Likewise.
2311         * io/fxstat.c: Likewise.
2312         * io/fxstat64.c: Likewise.
2313         * io/fxstatat.c: Likewise.
2314         * io/fxstatat64.c: Likewise.
2315         * io/getcwd.c: Likewise.
2316         * io/isatty.c: Likewise.
2317         * io/lchmod.c: Likewise.
2318         * io/lchown.c: Likewise.
2319         * io/link.c: Likewise.
2320         * io/linkat.c: Likewise.
2321         * io/lseek.c: Likewise.
2322         * io/lseek64.c: Likewise.
2323         * io/lxstat64.c: Likewise.
2324         * io/mkdir.c: Likewise.
2325         * io/mkdirat.c: Likewise.
2326         * io/mkfifo.c: Likewise.
2327         * io/mkfifoat.c: Likewise.
2328         * io/open.c: Likewise.
2329         * io/open64.c: Likewise.
2330         * io/openat.c: Likewise.
2331         * io/openat64.c: Likewise.
2332         * io/pipe.c: Likewise.
2333         * io/pipe2.c: Likewise.
2334         * io/poll.c: Likewise.
2335         * io/posix_fadvise.c: Likewise.
2336         * io/posix_fadvise64.c: Likewise.
2337         * io/posix_fallocate.c: Likewise.
2338         * io/posix_fallocate64.c: Likewise.
2339         * io/read.c: Likewise.
2340         * io/readlink.c: Likewise.
2341         * io/readlinkat.c: Likewise.
2342         * io/rmdir.c: Likewise.
2343         * io/sendfile.c: Likewise.
2344         * io/sendfile64.c: Likewise.
2345         * io/statfs.c: Likewise.
2346         * io/statfs64.c: Likewise.
2347         * io/statvfs.c: Likewise.
2348         * io/statvfs64.c: Likewise.
2349         * io/symlink.c: Likewise.
2350         * io/symlinkat.c: Likewise.
2351         * io/ttyname.c: Likewise.
2352         * io/ttyname_r.c: Likewise.
2353         * io/umask.c: Likewise.
2354         * io/unlink.c: Likewise.
2355         * io/unlinkat.c: Likewise.
2356         * io/utime.c: Likewise.
2357         * io/utimensat.c: Likewise.
2358         * io/write.c: Likewise.
2359         * io/xmknod.c: Likewise.
2360         * io/xmknodat.c: Likewise.
2361         * io/xstat.c: Likewise.
2362         * io/xstat64.c: Likewise.
2363         * login/getpt.c: Likewise.
2364         * login/grantpt.c: Likewise.
2365         * login/unlockpt.c: Likewise.
2366         * math/e_acoshl.c: Likewise.
2367         * math/e_acosl.c: Likewise.
2368         * math/e_asinl.c: Likewise.
2369         * math/e_atan2l.c: Likewise.
2370         * math/e_atanhl.c: Likewise.
2371         * math/e_coshl.c: Likewise.
2372         * math/e_expl.c: Likewise.
2373         * math/e_fmodl.c: Likewise.
2374         * math/e_gammal_r.c: Likewise.
2375         * math/e_hypotl.c: Likewise.
2376         * math/e_j0l.c: Likewise.
2377         * math/e_j1l.c: Likewise.
2378         * math/e_jnl.c: Likewise.
2379         * math/e_lgammal_r.c: Likewise.
2380         * math/e_log10l.c: Likewise.
2381         * math/e_log2l.c: Likewise.
2382         * math/e_logl.c: Likewise.
2383         * math/e_powl.c: Likewise.
2384         * math/e_rem_pio2l.c: Likewise.
2385         * math/e_sinhl.c: Likewise.
2386         * math/e_sqrtl.c: Likewise.
2387         * math/fclrexcpt.c: Likewise.
2388         * math/fedisblxcpt.c: Likewise.
2389         * math/feenablxcpt.c: Likewise.
2390         * math/fegetenv.c: Likewise.
2391         * math/fegetexcept.c: Likewise.
2392         * math/fegetround.c: Likewise.
2393         * math/feholdexcpt.c: Likewise.
2394         * math/fesetenv.c: Likewise.
2395         * math/fesetround.c: Likewise.
2396         * math/feupdateenv.c: Likewise.
2397         * math/fgetexcptflg.c: Likewise.
2398         * math/fraiseexcpt.c: Likewise.
2399         * math/fsetexcptflg.c: Likewise.
2400         * math/ftestexcept.c: Likewise.
2401         * math/k_cosl.c: Likewise.
2402         * math/k_rem_pio2l.c: Likewise.
2403         * math/k_sinl.c: Likewise.
2404         * math/k_tanl.c: Likewise.
2405         * math/s_asinhl.c: Likewise.
2406         * math/s_atanl.c: Likewise.
2407         * math/s_cbrtl.c: Likewise.
2408         * math/s_erfl.c: Likewise.
2409         * math/s_expm1l.c: Likewise.
2410         * math/s_log1pl.c: Likewise.
2411         * math/s_tanhl.c: Likewise.
2412         * misc/acct.c: Likewise.
2413         * misc/brk.c: Likewise.
2414         * misc/chflags.c: Likewise.
2415         * misc/chroot.c: Likewise.
2416         * misc/fchflags.c: Likewise.
2417         * misc/fgetxattr.c: Likewise.
2418         * misc/flistxattr.c: Likewise.
2419         * misc/fremovexattr.c: Likewise.
2420         * misc/fsetxattr.c: Likewise.
2421         * misc/fsync.c: Likewise.
2422         * misc/ftruncate.c: Likewise.
2423         * misc/futimes.c: Likewise.
2424         * misc/futimesat.c: Likewise.
2425         * misc/getdomain.c: Likewise.
2426         * misc/getdtsz.c: Likewise.
2427         * misc/gethostid.c: Likewise.
2428         * misc/gethostname.c: Likewise.
2429         * misc/getloadavg.c: Likewise.
2430         * misc/getpagesize.c: Likewise.
2431         * misc/getsysstats.c: Likewise.
2432         * misc/getxattr.c: Likewise.
2433         * misc/gtty.c: Likewise.
2434         * misc/ioctl.c: Likewise.
2435         * misc/lgetxattr.c: Likewise.
2436         * misc/listxattr.c: Likewise.
2437         * misc/llistxattr.c: Likewise.
2438         * misc/lremovexattr.c: Likewise.
2439         * misc/lsetxattr.c: Likewise.
2440         * misc/lutimes.c: Likewise.
2441         * misc/madvise.c: Likewise.
2442         * misc/mincore.c: Likewise.
2443         * misc/mlock.c: Likewise.
2444         * misc/mlockall.c: Likewise.
2445         * misc/mmap.c: Likewise.
2446         * misc/mprotect.c: Likewise.
2447         * misc/msync.c: Likewise.
2448         * misc/munlock.c: Likewise.
2449         * misc/munlockall.c: Likewise.
2450         * misc/munmap.c: Likewise.
2451         * misc/preadv.c: Likewise.
2452         * misc/preadv64.c: Likewise.
2453         * misc/ptrace.c: Likewise.
2454         * misc/pwritev.c: Likewise.
2455         * misc/pwritev64.c: Likewise.
2456         * misc/readv.c: Likewise.
2457         * misc/reboot.c: Likewise.
2458         * misc/remap_file_pages.c: Likewise.
2459         * misc/removexattr.c: Likewise.
2460         * misc/revoke.c: Likewise.
2461         * misc/select.c: Likewise.
2462         * misc/setdomain.c: Likewise.
2463         * misc/setegid.c: Likewise.
2464         * misc/seteuid.c: Likewise.
2465         * misc/sethostid.c: Likewise.
2466         * misc/sethostname.c: Likewise.
2467         * misc/setregid.c: Likewise.
2468         * misc/setreuid.c: Likewise.
2469         * misc/setxattr.c: Likewise.
2470         * misc/sstk.c: Likewise.
2471         * misc/stty.c: Likewise.
2472         * misc/swapoff.c: Likewise.
2473         * misc/swapon.c: Likewise.
2474         * misc/sync.c: Likewise.
2475         * misc/syncfs.c: Likewise.
2476         * misc/syscall.c: Likewise.
2477         * misc/truncate.c: Likewise.
2478         * misc/ualarm.c: Likewise.
2479         * misc/usleep.c: Likewise.
2480         * misc/ustat.c: Likewise.
2481         * misc/utimes.c: Likewise.
2482         * misc/vhangup.c: Likewise.
2483         * misc/writev.c: Likewise.
2484         * posix/_exit.c: Likewise.
2485         * posix/alarm.c: Likewise.
2486         * posix/execve.c: Likewise.
2487         * posix/fexecve.c: Likewise.
2488         * posix/fork.c: Likewise.
2489         * posix/fpathconf.c: Likewise.
2490         * posix/getaddrinfo.c: Likewise.
2491         * posix/getegid.c: Likewise.
2492         * posix/geteuid.c: Likewise.
2493         * posix/getgid.c: Likewise.
2494         * posix/getgroups.c: Likewise.
2495         * posix/getlogin.c: Likewise.
2496         * posix/getlogin_r.c: Likewise.
2497         * posix/getpgid.c: Likewise.
2498         * posix/getpid.c: Likewise.
2499         * posix/getppid.c: Likewise.
2500         * posix/getresgid.c: Likewise.
2501         * posix/getresuid.c: Likewise.
2502         * posix/getsid.c: Likewise.
2503         * posix/getuid.c: Likewise.
2504         * posix/glob64.c: Likewise.
2505         * posix/nanosleep.c: Likewise.
2506         * posix/pathconf.c: Likewise.
2507         * posix/pause.c: Likewise.
2508         * posix/posix_madvise.c: Likewise.
2509         * posix/pread.c: Likewise.
2510         * posix/pread64.c: Likewise.
2511         * posix/pwrite.c: Likewise.
2512         * posix/pwrite64.c: Likewise.
2513         * posix/sched_getaffinity.c: Likewise.
2514         * posix/sched_getp.c: Likewise.
2515         * posix/sched_gets.c: Likewise.
2516         * posix/sched_primax.c: Likewise.
2517         * posix/sched_primin.c: Likewise.
2518         * posix/sched_rr_gi.c: Likewise.
2519         * posix/sched_setaffinity.c: Likewise.
2520         * posix/sched_setp.c: Likewise.
2521         * posix/sched_sets.c: Likewise.
2522         * posix/sched_yield.c: Likewise.
2523         * posix/setgid.c: Likewise.
2524         * posix/setlogin.c: Likewise.
2525         * posix/setpgid.c: Likewise.
2526         * posix/setresgid.c: Likewise.
2527         * posix/setresuid.c: Likewise.
2528         * posix/setsid.c: Likewise.
2529         * posix/setuid.c: Likewise.
2530         * posix/sleep.c: Likewise.
2531         * posix/spawni.c: Likewise.
2532         * posix/sysconf.c: Likewise.
2533         * posix/times.c: Likewise.
2534         * posix/wait.c: Likewise.
2535         * posix/wait3.c: Likewise.
2536         * posix/wait4.c: Likewise.
2537         * posix/waitpid.c: Likewise.
2538         * resolv/gai_sigqueue.c: Likewise.
2539         * resource/getpriority.c: Likewise.
2540         * resource/getrlimit.c: Likewise.
2541         * resource/getrusage.c: Likewise.
2542         * resource/nice.c: Likewise.
2543         * resource/setpriority.c: Likewise.
2544         * resource/setrlimit.c: Likewise.
2545         * resource/ulimit.c: Likewise.
2546         * rt/aio_cancel.c: Likewise.
2547         * rt/aio_fsync.c: Likewise.
2548         * rt/aio_read.c: Likewise.
2549         * rt/aio_sigqueue.c: Likewise.
2550         * rt/aio_suspend.c: Likewise.
2551         * rt/aio_write.c: Likewise.
2552         * rt/clock_getres.c: Likewise.
2553         * rt/clock_gettime.c: Likewise.
2554         * rt/clock_nanosleep.c: Likewise.
2555         * rt/clock_settime.c: Likewise.
2556         * rt/lio_listio.c: Likewise.
2557         * rt/mq_close.c: Likewise.
2558         * rt/mq_getattr.c: Likewise.
2559         * rt/mq_notify.c: Likewise.
2560         * rt/mq_open.c: Likewise.
2561         * rt/mq_receive.c: Likewise.
2562         * rt/mq_send.c: Likewise.
2563         * rt/mq_setattr.c: Likewise.
2564         * rt/mq_timedreceive.c: Likewise.
2565         * rt/mq_timedsend.c: Likewise.
2566         * rt/mq_unlink.c: Likewise.
2567         * rt/shm_open.c: Likewise.
2568         * rt/shm_unlink.c: Likewise.
2569         * rt/timer_create.c: Likewise.
2570         * rt/timer_delete.c: Likewise.
2571         * rt/timer_getoverr.c: Likewise.
2572         * rt/timer_gettime.c: Likewise.
2573         * rt/timer_settime.c: Likewise.
2574         * setjmp/__longjmp.c: Likewise.
2575         * setjmp/setjmp.c: Likewise.
2576         * signal/kill.c: Likewise.
2577         * signal/killpg.c: Likewise.
2578         * signal/raise.c: Likewise.
2579         * signal/sigaction.c: Likewise.
2580         * signal/sigaltstack.c: Likewise.
2581         * signal/sigblock.c: Likewise.
2582         * signal/sigignore.c: Likewise.
2583         * signal/sigintr.c: Likewise.
2584         * signal/signal.c: Likewise.
2585         * signal/sigpause.c: Likewise.
2586         * signal/sigpending.c: Likewise.
2587         * signal/sigqueue.c: Likewise.
2588         * signal/sigreturn.c: Likewise.
2589         * signal/sigset.c: Likewise.
2590         * signal/sigsetmask.c: Likewise.
2591         * signal/sigstack.c: Likewise.
2592         * signal/sigsuspend.c: Likewise.
2593         * signal/sigtimedwait.c: Likewise.
2594         * signal/sigvec.c: Likewise.
2595         * signal/sigwait.c: Likewise.
2596         * signal/sigwaitinfo.c: Likewise.
2597         * signal/sysv_signal.c: Likewise.
2598         * socket/accept.c: Likewise.
2599         * socket/accept4.c: Likewise.
2600         * socket/bind.c: Likewise.
2601         * socket/connect.c: Likewise.
2602         * socket/getpeername.c: Likewise.
2603         * socket/getsockname.c: Likewise.
2604         * socket/getsockopt.c: Likewise.
2605         * socket/isfdtype.c: Likewise.
2606         * socket/listen.c: Likewise.
2607         * socket/recv.c: Likewise.
2608         * socket/recvfrom.c: Likewise.
2609         * socket/recvmsg.c: Likewise.
2610         * socket/send.c: Likewise.
2611         * socket/sendmsg.c: Likewise.
2612         * socket/sendto.c: Likewise.
2613         * socket/setsockopt.c: Likewise.
2614         * socket/shutdown.c: Likewise.
2615         * socket/sockatmark.c: Likewise.
2616         * socket/socket.c: Likewise.
2617         * socket/socketpair.c: Likewise.
2618         * stdio-common/ctermid.c: Likewise.
2619         * stdio-common/cuserid.c: Likewise.
2620         * stdio-common/remove.c: Likewise.
2621         * stdio-common/rename.c: Likewise.
2622         * stdio-common/renameat.c: Likewise.
2623         * stdio-common/tempname.c: Likewise.
2624         * stdlib/getcontext.c: Likewise.
2625         * stdlib/makecontext.c: Likewise.
2626         * stdlib/setcontext.c: Likewise.
2627         * stdlib/swapcontext.c: Likewise.
2628         * stdlib/system.c: Likewise.
2629         * streams/fattach.c: Likewise.
2630         * streams/fdetach.c: Likewise.
2631         * streams/getmsg.c: Likewise.
2632         * streams/getpmsg.c: Likewise.
2633         * streams/putmsg.c: Likewise.
2634         * streams/putpmsg.c: Likewise.
2635         * sysdeps/unix/bsd/getpt.c: Likewise.
2636         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
2637         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
2638         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
2640         Likewise.
2641         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
2642         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
2643         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2644         * sysvipc/msgctl.c: Likewise.
2645         * sysvipc/msgget.c: Likewise.
2646         * sysvipc/msgrcv.c: Likewise.
2647         * sysvipc/msgsnd.c: Likewise.
2648         * sysvipc/semctl.c: Likewise.
2649         * sysvipc/semget.c: Likewise.
2650         * sysvipc/semop.c: Likewise.
2651         * sysvipc/semtimedop.c: Likewise.
2652         * sysvipc/shmat.c: Likewise.
2653         * sysvipc/shmctl.c: Likewise.
2654         * sysvipc/shmdt.c: Likewise.
2655         * sysvipc/shmget.c: Likewise.
2656         * termios/tcdrain.c: Likewise.
2657         * termios/tcflow.c: Likewise.
2658         * termios/tcflush.c: Likewise.
2659         * termios/tcgetattr.c: Likewise.
2660         * termios/tcgetpgrp.c: Likewise.
2661         * termios/tcsendbrk.c: Likewise.
2662         * termios/tcsetattr.c: Likewise.
2663         * termios/tcsetpgrp.c: Likewise.
2664         * time/adjtime.c: Likewise.
2665         * time/clock.c: Likewise.
2666         * time/getitimer.c: Likewise.
2667         * time/gettimeofday.c: Likewise.
2668         * time/setitimer.c: Likewise.
2669         * time/settimeofday.c: Likewise.
2670         * time/stime.c: Likewise.
2671         * time/time.c: Likewise.
2673 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
2675         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
2676         /usr/old/bin.
2678         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
2679         instead of spaces.
2680         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
2682 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
2684         [BZ #14796]
2685         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
2686         FE_TONEAREST before applying Dekker multiplication and Knuth
2687         addition.  Clear inexact exceptions and check for exact zero
2688         results afterwards.
2689         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2690         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2691         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2692         * math/libm-test.inc (fma_test): Add more tests.
2693         (fma_test_towardzero): Likewise.
2694         (fma_test_downward): Likewise.
2695         (fma_test_upward): Likewise.
2696         * sysdeps/generic/math_private.h (default_libc_fesetround): New
2697         function.
2698         (libc_fesetround): New macro.
2699         (libc_fesetroundf): Likewise.
2700         (libc_fesetroundl): Likewise.
2701         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
2702         function.
2703         (libc_fesetround_387): Likewise.
2704         (libc_fesetroundf): New macro.
2705         (libc_fesetround): Likewise.
2706         (libc_fesetroundl): Likewise.
2707         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
2708         function.
2709         (libc_fesetroundf): New macro.
2710         (libc_fesetround): Likewise.
2711         (libc_fesetroundl): Likewise.
2712         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
2713         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
2714         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
2715         libm_hidden_ver.
2716         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
2717         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
2718         libm_hidden_def.
2719         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
2720         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
2721         libm_hidden_ver.
2722         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
2723         libm_hidden_def.
2725         [BZ #3439]
2726         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
2727         integer constant usable in #if and use that to give value to enum
2728         constant.
2729         (FE_DIVBYZERO): Likewise.
2730         (FE_UNDERFLOW): Likewise.
2731         (FE_OVERFLOW): Likewise.
2732         (FE_INVALID): Likewise.
2733         (FE_INVALID_SNAN): Likewise.
2734         (FE_INVALID_ISI): Likewise.
2735         (FE_INVALID_IDI): Likewise.
2736         (FE_INVALID_ZDZ): Likewise.
2737         (FE_INVALID_IMZ): Likewise.
2738         (FE_INVALID_COMPARE): Likewise.
2739         (FE_INVALID_SOFTWARE): Likewise.
2740         (FE_INVALID_SQRT): Likewise.
2741         (FE_INVALID_INTEGER_CONVERSION): Likewise.
2742         (FE_TONEAREST): Likewise.
2743         (FE_TOWARDZERO): Likewise.
2744         (FE_UPWARD): Likewise.
2745         (FE_DOWNWARD): Likewise.
2746         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
2747         (FE_DIVBYZERO): Likewise.
2748         (FE_OVERFLOW): Likewise.
2749         (FE_UNDERFLOW): Likewise.
2750         (FE_INEXACT): Likewise.
2751         (FE_TONEAREST): Likewise.
2752         (FE_DOWNWARD): Likewise.
2753         (FE_UPWARD): Likewise.
2754         (FE_TOWARDZERO): Likewise.
2755         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
2756         (FE_UNDERFLOW): Likewise.
2757         (FE_OVERFLOW): Likewise.
2758         (FE_DIVBYZERO): Likewise.
2759         (FE_INVALID): Likewise.
2760         (FE_TONEAREST): Likewise.
2761         (FE_TOWARDZERO): Likewise.
2762         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
2763         (FE_OVERFLOW): Likewise.
2764         (FE_UNDERFLOW): Likewise.
2765         (FE_DIVBYZERO): Likewise.
2766         (FE_INEXACT): Likewise.
2767         (FE_TONEAREST): Likewise.
2768         (FE_TOWARDZERO): Likewise.
2769         (FE_UPWARD): Likewise.
2770         (FE_DOWNWARD): Likewise.
2771         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
2772         (FE_DIVBYZERO): Likewise.
2773         (FE_OVERFLOW): Likewise.
2774         (FE_UNDERFLOW): Likewise.
2775         (FE_INEXACT): Likewise.
2776         (FE_TONEAREST): Likewise.
2777         (FE_DOWNWARD): Likewise.
2778         (FE_UPWARD): Likewise.
2779         (FE_TOWARDZERO): Likewise.
2781 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
2783         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
2785 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
2787         * scripts/cross-test-ssh.sh (command): Use newlines to separate
2788         commands.  Quote $PWD.
2789         (blacklist_exports): Don't use remove_newlines.  Replace "declare
2790         -x" by "export".
2791         (remove_newlines): Remove.
2793 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
2795         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
2796         * stdlib/stdlib.h (atof): Moved to ...
2797         * include/bits/stdlib-float.h: Here.  New file.
2798         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
2799         * stdlib/bits/stdlib-float.h: New file.
2800         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
2801         -mno-sse -mno-mmx.
2802         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
2803         <xmmintrin.h>.
2805 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
2807         * conform/conformtest.pl (@headers): Add fenv.h.
2808         * conform/data/fenv.h-data: New file.
2809         * include/fenv.h [_ISOMAC]: Disable all contents of file except
2810         include of <math/fenv.h>.
2812         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
2813         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
2814         && !UNIX98].  Enables tests for XOPEN2K8.
2815         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
2816         POSIX2008]: Likewise.
2818         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
2819         (struct rusage): Do not expect type or its members.
2821         [BZ #3439]
2822         * math/math.h (FP_NAN): Define macro to integer constant usable in
2823         #if and use that to give value to enum constant.
2824         (FP_INFINITE): Likewise.
2825         (FP_ZERO): Likewise.
2826         (FP_SUBNORMAL): Likewise.
2827         (FP_NORMAL): Likewise.
2829 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
2831         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
2832         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
2833         arguments.
2835 2012-11-02  Roland McGrath  <roland@hack.frob.com>
2837         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
2838         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
2839         autoconf-time if not.
2840         * configure.in: Remove AC_PREREQ.
2842 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2844         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
2845         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
2846         of the internal implementation.
2848 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
2850         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
2851         except include of <misc/sys/syslog.h>.
2853 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
2855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
2856         function returns with a NULL context exit with zero.
2858 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2860         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
2862 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
2864         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
2865         (run_program_cmd): This.
2866         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
2867         (tst_langinfo): New variable.  Use it.
2869 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
2871         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
2872         floating point opcodes.
2874 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
2876         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
2877         variable.
2879         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
2881         * sysdeps/mach/hurd/powerpc: Remove directory.
2882         * sysdeps/mach/powerpc: Likewise.
2884 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
2886         * scripts/check-local-headers.sh: Ignore c++ headers.
2888 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
2890         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
2891         __libc_cleanup_region_start argument.
2893 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
2895         [BZ #14784]
2896         [BZ #14785]
2897         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
2898         x * y using scaling, not as x * y + z.
2899         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2900         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2901         * math/libm-test.inc (fma_test): Add more tests.
2902         (fma_test_towardzero): Likewise.
2903         (fma_test_downward): Likewise.
2904         (fma_test_upward): Likewise.
2906 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
2908         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
2910 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
2912         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
2913         New variable.
2915 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
2917         * rt/tst-shm.c (worker): Correct checking for mmap failure.
2919 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
2921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2922         Fix sort order.
2923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2924         Likewise.
2926 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2929         Fix the order of the list for glibc 2.17.
2930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2931         Likewise.
2933 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
2935         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2937 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
2939         [BZ #14610]
2940         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
2941         for low part of x being zero before using __atanl (y).
2942         * math/libm-test.inc (atan2_test): Add another test.
2944         * manual/install.texi (Configuring and compiling): Document
2945         general use of test-wrapper and test-wrapper-env.
2946         * INSTALL: Regenerated.
2948         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
2949         (__fma): Do not extract and scale down low bits on after-rounding
2950         systems when result rounded to normal precision would have normal
2951         exponent.
2952         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
2953         (__fmal): Do not extract and scale down low bits on after-rounding
2954         systems when result rounded to normal precision would have normal
2955         exponent.
2956         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
2957         (__fmal): Do not extract and scale down low bits on after-rounding
2958         systems when result rounded to normal precision would have normal
2959         exponent.
2960         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
2961         macro.
2962         (fma_test): Add more tests.
2963         (fma_test_towardzero): Likewise.
2964         (fma_test_downward): Likewise.
2965         (fma_test_upward): Likewise.
2967 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
2969         * sysdeps/i386/tininess.h: Renamed to ...
2970         * sysdeps/x86/tininess.h: This.
2971         * sysdeps/x86_64/tininess.h: Removed.
2973 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
2975         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
2976         input.  Use $(build-program-cmd).
2977         ($(objpfx)tst-array1-static.out): Likewise.
2978         ($(objpfx)tst-array2.out): Likewise.
2979         ($(objpfx)tst-array3.out): Likewise.
2980         ($(objpfx)tst-array4.out): Likewise.
2981         ($(objpfx)tst-array5.out): Likewise.
2982         ($(objpfx)tst-array5-static.out): Likewise.
2984 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
2986         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
2987         if defined.
2989         * nss/nsswitch.h (nss_interface_function): Provide new
2990         macro for use with NSS functions.
2991         * grp/initgroups.c: Use new macro.
2992         * nss/getXXbyYY.c: Likewise.
2993         * nss/getXXbyYY_r.c: Likewise.
2994         * nss/getXXent.c: Likewise.
2995         * nss/getXXent_r.c: Likewise.
2996         * sysdeps/posix/getaddrinfo.c: Likewise.
2998 2012-10-30  Andreas Jaeger  <aj@suse.de>
3000         * po/ru.po: Update Russion translation from translation project.
3002 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
3004         [BZ #14152]
3005         [BZ #14783]
3006         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
3007         result and shift together with sticky bit instead of replicating
3008         round-to-nearest rounding.
3009         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3010         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3011         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
3012         missing underflow exceptions.
3013         (fma_test_towardzero): Add more tests.
3014         (fma_test_downward): Likewise.
3015         (fma_test_upward): Likewise.
3017         [BZ #14047]
3018         * sysdeps/generic/tininess.h: New file.
3019         * sysdeps/i386/tininess.h: Likewise.
3020         * sysdeps/sh/tininess.h: Likewise.
3021         * sysdeps/x86_64/tininess.h: Likewise.
3022         * stdlib/tst-strtod-underflow.c: Likewise.
3023         * stdlib/tst-tininess.c: Likewise.
3024         * stdlib/strtod_l.c: Include <tininess.h>.
3025         (round_and_return): Do not set errno for exact underflow cases.
3026         Force an underflow exception when setting errno for underflow.
3027         Determine underflow based on rounding to normal precision if
3028         TININESS_AFTER_ROUNDING.
3029         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
3030         ERANGE for exact underflow cases.
3031         * stdlib/Makefile (tests): Add tst-tininess and
3032         tst-strtod-underflow.
3033         ($(objpfx)tst-tininess): Use $(link-libm).
3034         ($(objpfx)tst-strtod-underflow): Likewise.
3036 2012-10-30  Andreas Jaeger  <aj@suse.de>
3038         [BZ#14767]
3039         * elf/Makefile (tests): Remove conditional for have-initfini-array
3040         since this is now always required and the variable does not exist
3041         anymore.
3042         (tests-static): Likewise.
3043         (modules-names): Likewise.
3045         * po/eo.po: Add Esperanto translation from translation project.
3047         * elf/tst-array1.c (fini_array): Make writeable so that it can be
3048         merged with constructor/destructor.
3049         (init_array): Likewise.
3050         * elf/tst-array2dep.c (fini_array): Likewise.
3051         (init_array): Likewise.
3053 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
3055         * manual/message.texi: Delete @cartouche tags.
3057 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
3059         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
3060         EOPNOTSUPP.
3061         * sysdeps/mach/hurd/fsync.c: Likewise.
3063         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
3064         [_POSIX_REALTIME_SIGNALS]: Change condition to
3065         [_POSIX_REALTIME_SIGNALS > 0].
3067 2012-10-27  Andreas Jaeger  <aj@suse.de>
3069         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
3070         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
3071         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
3072         [__WORDSIZE != 64]: Likewise.
3074 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
3076         *  iconvdata/tst-table.sh: Remove ${SHELL}.
3077         *  iconvdata/tst-tables.sh: Likewise.
3079 2012-10-25  David S. Miller  <davem@davemloft.net>
3081         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3082         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
3083         of strtoull.
3085         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
3086         ifunc-impl-list.c
3087         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3088         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
3089         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
3090         file.
3092 2012-10-25  Roland McGrath  <roland@hack.frob.com>
3094         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3095         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
3096         __getdirentries.
3098 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
3099             Jim Blandy  <jimb@codesourcery.com>
3101         * scripts/cross-test-ssh.sh: New file.
3102         * manual/install.texi (Configuring and compiling): Document use of
3103         cross-test-ssh.sh.
3104         * INSTALL: Regenerated.
3106 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
3108         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
3109         EOPNOTSUPP.
3111 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
3113         * Makeconfig (run-program-prefix): Fix comment.
3115 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
3116             Jim Blandy  <jimb@codesourcery.com>
3118         * Makeconfig (test-wrapper): New variable,
3119         (test-wrapper-env): Likewise.
3120         [$(cross-compiling) = yes && $(test-wrapper) != ""]
3121         (run-built-tests): Define to yes.
3122         (run-program-prefix): Use $(test-wrapper).
3123         (built-program-cmd): Likewise.
3124         * Rules (make-test-out): Use $(test-wrapper-env) and
3125         $(host-built-program-cmd).
3126         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
3127         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
3128         tst-pathopt.sh.
3129         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
3130         $(test-wrapper-env) to tst-rtld-load-self.sh.
3131         ($(objpfx)order2.out): Use $(test-wrapper).
3132         ($(objpfx)tst-initorder.out): Likewise.
3133         ($(objpfx)tst-initorder2.out): Likewise.
3134         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
3135         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
3136         (test_wrapper_env): New variable.  Use it to run ld.so.
3137         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
3138         Use it to run ld.so.
3139         (test_wrapper_env): Likewise.
3140         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
3141         $(test-wrapper) to run-iconv-test.sh.
3142         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
3143         (ICONV): Use $test_wrapper.
3144         * posix/Makefile ($(objpfx)globtest.out): Pass
3145         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
3146         globtest.sh, not $(run-program-prefix).
3147         * posix/globtest.sh (run_via_rtld_prefix): New variable.
3148         (test_wrapper): Likewise.
3149         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
3150         set together with run_via_rtld_prefix.
3151         (run_program_prefix): Define in terms of test_wrapper and
3152         run_via_rtld_prefix.
3154 2012-10-24  Roland McGrath  <roland@hack.frob.com>
3156         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
3157         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
3158         Targets removed.
3160         [BZ #14743]
3161         * include/time.h: Remove librt_hidden_proto (clock_gettime).
3162         Declare __clock_getres, __clock_gettime, __clock_settime,
3163         __clock_nanosleep, and __clock_getcpuclockid.
3164         * rt/clock_gettime.c: Define __clock_gettime as an alias.
3165         Remove librt_hidden_def (clock_gettime).
3166         * sysdeps/unix/clock_gettime.c: Likewise.
3167         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
3168         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
3169         * rt/clock_getres.c: Define __clock_getres as an alias.
3170         * sysdeps/posix/clock_getres.c: Likewise.
3171         * rt/clock_settime.c: Define __clock_settime as an alias.
3172         * sysdeps/unix/clock_settime.c: Likewise.
3173         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
3174         * sysdeps/unix/clock_nanosleep.c: Likewise.
3175         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
3176         * rt/clock-compat.c: New file.
3177         * rt/Makefile (librt-routines): Add clock-compat and move
3178         $(clock-routines) to ...
3179         (routines): ... here, new variable.
3180         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
3181         Don't add get_clockfreq here.
3182         * rt/Versions (libc: GLIBC_2.17): New version set.
3183         Add clock_* symbols here.
3184         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
3185         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
3186         (GLIBC_2.17): Add clock_* symbols.
3187         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
3188         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
3189         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
3190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3191         Likewise.
3192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3193         Likewise.
3194         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
3195         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
3196         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
3197         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
3198         * NEWS: Mention the move.
3200         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
3201         Use __open, __read, __close rather than their public counterparts.
3202         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3203         (__get_clockfreq_via_cpuinfo): Likewise.
3204         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
3205         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
3207         * config.h.in (HAVE_IFUNC): New #undef.
3208         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
3209         was successful.
3210         * configure: Regenerated.
3212 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
3214         * configure.in: Move READELF check to start of file.
3215         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
3216         libc_cv_asm_gnu_indirect_function in the process.
3217         * configure: Regenerated.
3219 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
3221         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
3222         send the output to /dev/null.
3223         (libc_cv_cc_with_libunwind): Likewise.
3224         (libc_cv_as_noexecstack): Likewise.
3225         * configure: Regenerate.
3227 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
3229         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
3231         * posix/globtest.sh (TMPDIR): Do not set.
3232         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
3233         (testout): Likewise.
3235 2012-10-24  Andreas Jaeger  <aj@suse.de>
3237         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
3238         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
3239         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
3240         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
3241         posix_fadvise64, posix_fallocate64.
3243         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
3244         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
3245         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
3246         Likewise.
3247         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
3248         Likewise.
3249         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
3251         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
3252         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
3253         <bits/fcntl-linux.h>.
3254         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
3256         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
3257         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
3258         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
3259         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
3260         [__WORDSIZE != 64]: Likewise.
3262 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
3264         * Makeconfig (run-built-tests): New variable.
3265         * Rules [$(cross-compiling) = yes]: Change condition to
3266         [$(run-built-tests) = no].
3267         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
3268         to [$(run-built-tests) = yes].
3269         * elf/Makefile [$(cross-compiling) = no]: Likewise
3270         * grp/Makefile [$(cross-compiling) = no]: Likewise.
3271         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
3272         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
3273         * intl/Makefile [$(cross-compiling) = no]: Likewise.
3274         * io/Makefile [$(cross-compiling) = no]: Likewise.
3275         * libio/Makefile [$(cross-compiling) = no]: Likewise.
3276         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
3277         * misc/Makefile [$(cross-compiling) = no]: Likewise.
3278         * posix/Makefile [$(cross-compiling) = no]: Likewise.
3279         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
3280         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
3281         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
3282         * string/Makefile [$(cross-compiling) = no]: Likewise.
3284         * posix/Makefile ($(objpfx)globtest.out): Pass
3285         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
3286         $(rtld-installed-name).
3287         * posix/globtest.sh (elf_objpfx): Remove variable.
3288         (rtld_installed_name): Likewise.
3289         (library_path): Likewise.
3290         (run_program_prefix): New variable.  Use for running globtest
3291         binary.
3293 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
3294             Joseph Myers  <joseph@codesourcery.com>
3296         * Makeconfig (host-built-program-cmd): New variable.
3297         * elf/Makefile (tst-stackguard1-ARGS): Use
3298         $(host-built-program-cmd).
3299         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
3300         (tst-spawn-ARGS): Likewise.
3301         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
3303 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
3304             Jim Blandy  <jimb@codesourcery.com>
3306         * Makeconfig (run-via-rtld-prefix): New variable.
3307         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
3308         (built-program-cmd): Likewise.
3310 2012-10-22  Andreas Jaeger  <aj@suse.de>
3312         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
3313         __O_RSYNC if it exists, otherwise to O_SYNC.
3315 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
3316             Joseph Myers  <joseph@codesourcery.com>
3318         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
3319         /dev/null.
3320         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
3321         from /dev/null
3322         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
3323         /dev/null.
3325 2012-10-22  Andreas Jaeger  <aj@suse.de>
3327         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
3328         Define always.
3329         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
3331         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3332         bits/fcntl-linux.h.
3334         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
3335         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
3337         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
3338         to __O_LARGEFILE.
3339         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
3340         to __O_LARGEFILE.
3342 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
3343             Joseph Myers  <joseph@codesourcery.com>
3345         * config.make.in (NM): New variable.
3347 2012-10-21  Andreas Jaeger  <aj@suse.de>
3349         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
3350         definitions and declarations that are provided by
3351         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
3353 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
3355         [BZ #14683]
3356         * elf/Makefile (tests-static): Add tst-leaks1-static.
3357         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
3358         ($(objpfx)tst-leaks1-static): New rule.
3359         ($(objpfx)tst-leaks1-static-mem): Likewise.
3360         (tst-leaks1-static-ENV): New macro.
3361         * elf/dl-open.c (dl_open_worker): Check the main application
3362         only if SHARED is defined.
3363         * elf/tst-leaks1-static.c: New file.
3365 2012-10-20  Andreas Jaeger  <aj@suse.de>
3367         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
3368         generic values for Linux.
3369         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
3370         and declarations that are provided by <bits/fcntl-linux.h> and
3371         include <bits/fcntl-linux.h>.
3372         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3373         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
3375 2012-10-20  Roland McGrath  <roland@hack.frob.com>
3377         * io/fcntl.h: Move include of <bits/types.h> to the top and
3378         include it unconditionally.
3380 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
3382         * wcsmbs/Makefile (tests-ifunc): New variable.
3383         (tests): Add $(tests-ifunc).
3384         * wcsmbs/test-wcschr-ifunc.c: New file.
3385         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
3386         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
3387         * wcsmbs/test-wcslen-ifunc.c: Likewise.
3388         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
3389         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
3391         * string/Makefile (tests-ifunc): New variable.
3392         (tests): Add $(tests-ifunc).
3393         * string/test-memccpy.c (TEST_NAME): New macro.
3394         * string/test-memchr.c (TEST_NAME): Likewise.
3395         * string/test-memcmp.c (TEST_NAME): Likewise.
3396         * string/test-memcpy.c (TEST_NAME): Likewise.
3397         * string/test-memmem.c (TEST_NAME): Likewise.
3398         * string/test-memmove.c (TEST_NAME): Likewise.
3399         * string/test-memset.c (TEST_NAME): Likewise.
3400         * string/test-rawmemchr.c (TEST_NAME): Likewise.
3401         * string/test-stpcpy.c (TEST_NAME): Likewise.
3402         * string/test-stpncpy.c (TEST_NAME): Likewise.
3403         * string/test-strcasecmp.c (TEST_NAME): Likewise.
3404         * string/test-strcasestr.c (TEST_NAME): Likewise.
3405         * string/test-strcat.c (TEST_NAME): Likewise.
3406         * string/test-strchr.c (TEST_NAME): Likewise.
3407         * string/test-strcmp.c(TEST_NAME): Likewise.
3408         * string/test-strcpy.c (TEST_NAME): Likewise.
3409         * string/test-strcspn.c (TEST_NAME): Likewise.
3410         * string/test-strlen.c (TEST_NAME): Likewise.
3411         * string/test-strncasecmp.c (TEST_NAME): Likewise.
3412         * string/test-strncmp.c (TEST_NAME): Likewise.
3413         * string/test-strncpy.c (TEST_NAME): Likewise.
3414         * string/test-strnlen.c (TEST_NAME): Likewise.
3415         * string/test-strpbrk.c (TEST_NAME): Likewise.
3416         * string/test-strrchr.c (TEST_NAME): Likewise.
3417         * string/test-strspn.c (TEST_NAME): Likewise.
3418         * string/test-strstr.c (TEST_NAME): Likewise.
3419         * string/test-bcopy-ifunc.c: New file.
3420         * string/test-bzero-ifunc.c: Likewise.
3421         * string/test-memccpy-ifunc.c: Likewise.
3422         * string/test-memchr-ifunc.c: Likewise.
3423         * string/test-memcmp-ifunc.c: Likewise.
3424         * string/test-memcpy-ifunc.c: Likewise.
3425         * string/test-memmem-ifunc.c: Likewise.
3426         * string/test-memmove-ifunc.c: Likewise.
3427         * string/test-mempcpy-ifunc.c: Likewise.
3428         * string/test-memset-ifunc.c: Likewise.
3429         * string/test-rawmemchr-ifunc.c: Likewise.
3430         * string/test-stpcpy-ifunc.c: Likewise.
3431         * string/test-stpncpy-ifunc.c: Likewise.
3432         * string/test-strcasecmp-ifunc.c: Likewise.
3433         * string/test-strcasestr-ifunc.c: Likewise.
3434         * string/test-strcat-ifunc.c: Likewise.
3435         * string/test-strchr-ifunc.c: Likewise.
3436         * string/test-strchrnul-ifunc.c: Likewise.
3437         * string/test-strcmp-ifunc.c: Likewise.
3438         * string/test-strcpy-ifunc.c: Likewise.
3439         * string/test-strcspn-ifunc.c: Likewise.
3440         * string/test-strlen-ifunc.c: Likewise.
3441         * string/test-strncasecmp-ifunc.c: Likewise.
3442         * string/test-strncat-ifunc.c: Likewise.
3443         * string/test-strncmp-ifunc.c: Likewise.
3444         * string/test-strncpy-ifunc.c: Likewise.
3445         * string/test-strnlen-ifunc.c: Likewise.
3446         * string/test-strpbrk-ifunc.c: Likewise.
3447         * string/test-strrchr-ifunc.c: Likewise.
3448         * string/test-strspn-ifunc.c: Likewise.
3449         * string/test-strstr-ifunc.c: Likewise.
3451         * debug/Makefile (tests-ifunc): New variable.
3452         (tests): Add $(tests-ifunc).
3453         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
3454         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
3455         * debug/test-stpcpy_chk-ifunc.c: New file.
3456         * debug/test-strcpy_chk-ifunc.c: Likewise.
3458 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
3460         [BZ #13601]
3461         * elf/dl-load.c (open_verify): Retry read if the entire ELF
3462         header is not read in.
3464 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
3466         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
3467         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
3468         directly.  Pass built executable to script as
3469         $(built-program-cmd).
3470         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
3471         $testprogram without using LD_LIBRARY_PATH and $ldso.
3473         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
3474         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
3475         $(rtld-installed-name).
3476         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
3477         (rtld_installed_name): Likewise.
3478         (library_path): Likewise.
3479         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
3480         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
3481         $(run-program-prefix) to tst-tables.sh.
3482         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
3483         it to run tst-table-from and tst-table-to.
3484         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
3485         Pass it to tst-table.sh.
3486         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
3487         $(run-program-prefix) to tst-gettext.sh.
3488         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
3489         tst-translit.sh.
3490         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
3491         tst-gettext2.sh.
3492         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
3493         to run tst-gettext.
3494         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
3495         to run tst-gettext2.
3496         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
3497         to run tst-translit.
3498         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
3499         $(run-program-prefix) to tst-mtrace.sh.
3500         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
3501         to run tst-mtrace.
3502         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
3503         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
3504         $(rtld-installed-name).
3505         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
3506         (rtld_installed_name): Likewise.
3507         (run_program_prefix): New variable.  Use it to run wordexp-test.
3509         * Makeconfig (ARCH): Remove all definitions.
3510         (machine): Likewise.
3511         [ARCH]: Remove conditional code.
3512         [!objdir]: Give error.
3513         [!objdir] (objpfx): Remove.
3514         [!objdir] (common-objpfx): Likewise.
3515         [!objdir] (common-objdir): Likewise.
3516         * configure.in (config_makefile): Remove.  Hardcode Makefile in
3517         AC_CONFIG_FILES call.
3518         * configure: Regenerated.
3520         [BZ #13888]
3521         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
3522         or TMPDIR.
3523         (testout): Likewise.
3525         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
3526         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
3527         $(rtld-installed-name).
3528         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
3529         (rtld_installed_name): Likwise.
3530         (runit): Remove function.
3531         (run_getconf): New variable,  Use it for running getconf binary.
3533 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
3535         [BZ #14716]
3536         * string/test-memmem.c (check_result): New function.
3537         (do_one_test): Use it.
3538         (check1): New function.
3539         (test_main): Use it.
3541 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
3543         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
3545 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
3547         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
3548         (_G_LSEEK64): Likewise.
3549         (_G_MMAP64): Likewise.
3550         (_G_FSTAT64): Likewise.
3551         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
3552         (_G_LSEEK64): Likewise.
3553         (_G_MMAP64): Likewise.
3554         (_G_FSTAT64): Likewise.
3555         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
3556         unconditional.  Call __mmap64 directly.
3557         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
3558         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
3559         __lseek64 directly.
3560         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
3561         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
3562         __mmap64 directly.
3563         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
3564         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
3565         __lseek64 directly.
3566         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
3567         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
3568         __lseek64 directly.
3569         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
3570         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
3571         __lseek64 directly.
3572         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
3573         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
3574         __fxstat64 directly.
3575         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
3576         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
3577         unconditional.
3578         (freopen64) [!_G_OPEN64]: Remove conditional code.
3579         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
3580         unconditional.
3581         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
3582         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
3583         unconditional.
3584         (ftello64) [!_G_LSEEK64]: Remove conditional code.
3585         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
3586         unconditional.
3587         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
3588         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
3589         unconditional.
3590         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
3591         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
3592         unconditional.
3593         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
3594         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
3595         unconditional.
3596         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
3597         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
3598         unconditional.
3599         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
3601 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
3603         [BZ #12140]
3604         * manual/memory.texi (Malloc Tunable Parameters): Add note
3605         about free list pointers overwriting some perturb bytes.
3606         Wording suggested by Roland McGrath.
3608 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
3610         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
3611         (lgamma_test): Likewise.
3612         (tgamma_test): Likewise.
3614 2012-10-16  Florian Weimer  <fweimer@redhat.com>
3616         [BZ #14700]
3617         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
3618         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
3620 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
3622         * NEWS: Mention BZ #14716.
3623         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
3624         when removing AVAILABLE1_USES_J macro.
3626 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
3628         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
3629         (__bswap_64): __uint64_t for unsigned 64-bit int.
3631 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
3633         * include/string.h (memmem): Declare libc hidden alias.
3634         * string/memmem.c (memmem): Define libc hidden alias.
3635         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
3636         __read, __close instead of open, read, close.
3638 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
3640         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
3641         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
3642         global and hidden.
3643         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
3644         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
3645         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
3646         Likewise.
3647         (__rawmemchr_sse2): Likewise.
3648         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
3649         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
3650         (__strchr_sse2): Likewise.
3651         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
3652         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
3653         (__strcasecmp_sse2): Likewise.
3654         (__strncasecmp_sse2): Likewise.
3655         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
3656         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
3657         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
3658         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
3659         (__strrchr_sse2): Likewise.
3660         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
3661         ifunc-impl-list.c.
3662         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3663         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3664         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3665         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
3666         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3667         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3668         * sysdeps/x86_64/multiarch/memset.S: Likewise.
3669         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3670         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
3671         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
3672         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
3673         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
3674         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
3675         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3676         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3677         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3678         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3679         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3680         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
3681         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
3682         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
3683         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
3684         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
3685         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
3686         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
3687         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3688         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3689         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
3690         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3691         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3693         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
3694         global and hidden.
3695         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
3696         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
3697         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
3698         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
3699         Likewise.
3700         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
3701         Likewise.
3702         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
3703         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
3704         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
3705         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
3706         ifunc-impl-list.c.
3707         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3708         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3709         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3710         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3711         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3712         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3713         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3714         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3715         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3716         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3717         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3718         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3719         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3720         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
3721         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
3722         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3723         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
3724         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
3725         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3726         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3727         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3728         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3729         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3730         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3731         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3732         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
3733         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
3734         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
3735         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
3736         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3737         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
3738         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3739         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3740         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
3741         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3742         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3743         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3744         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3745         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3746         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3747         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
3749         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
3750         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
3751         * include/ifunc-impl-list.h: New file.
3752         * misc/ifunc-impl-list.c: Likewise.
3753         * misc/Makefile (routines): Add ifunc-impl-list.
3754         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
3755         * string/test-string.h: Include <ifunc-impl-list.h>.
3756         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
3757         impl_array): New variables.
3758         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
3759         are defined.
3760         (test_init): Call __libc_ifunc_impl_list to initialize
3761         func_list if TEST_IFUNC and TEST_NAME are defined.
3763         * string/Makefile (strop-tests): Add bcopy and bzero.
3764         * string/test-bcopy.c: New file.
3765         * string/test-bzero.c: Likewise.
3766         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
3767         defined.
3768         * string/test-memset.c: Support bzero test if TEST_BZERO is
3769         defined.
3770         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
3771         __libc_memmove.
3772         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
3773         __libc_memset.
3774         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
3775         of memset.
3777 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
3779         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
3780         * configure: Regenerated.
3782         * Makeconfig (+link-static-before-libc): Don't include
3783         $(link-static-libc).
3785         * libio/libio.h (_IO_pos_t): Remove.
3787 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
3789         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
3790         McGrath.
3792 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
3794         * crypt/crypt-entry.c: Include fips-private.h.
3795         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
3796         * crypt/md5c-test.c (main): Tolerate disabled MD5.
3797         * sysdeps/unix/sysv/linux/fips-private.h: New file.
3798         * sysdeps/generic/fips-private.h: New file, dummy fallback.
3800 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
3802         * crypt/crypt-private.h: Include stdbool.h.
3803         (_ufc_setup_salt_r): Return bool.
3804         * crypt/crypt-entry.c: Include errno.h.
3805         (__crypt_r): Return NULL with EINVAL for bad salt.
3806         * crypt/crypt_util.c (bad_for_salt): New.
3807         (_ufc_setup_salt_r): Check that salt is long enough and within
3808         the specified alphabet.
3809         * crypt/badsalttest.c: New file.
3810         * crypt/Makefile (tests): Add it.
3811         ($(objpfx)badsalttest): New.
3813 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
3815         * NEWS: Add entry for BZ #14602.
3817 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
3819         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
3820         type-generic.
3821         * math/libm-test.inc: Update comment listing what functions and
3822         macros are tested.
3823         (isgreater_test): New function.
3824         (isgreaterequal_test): Likewise.
3825         (isless_test): Likewise.
3826         (islessequal_test): Likewise.
3827         (islessgreater_test): Likewise.
3828         (isunordered_test): Likewise.
3829         (main): Call the new functions.
3831 2012-10-09  Roland McGrath  <roland@hack.frob.com>
3833         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
3834         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
3835         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
3836         * sysdeps/i386/configure: Regenerated.
3837         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
3838         * sysdeps/mach/configure: Regenerated.
3839         * sysdeps/mach/hurd/configure: Regenerated.
3840         * sysdeps/powerpc/configure: Regenerated.
3841         * sysdeps/powerpc/powerpc32/configure: Regenerated.
3842         * sysdeps/powerpc/powerpc64/configure: Regenerated.
3843         * sysdeps/s390/s390-32/configure: Regenerated.
3844         * sysdeps/s390/s390-64/configure: Regenerated.
3845         * sysdeps/sh/configure: Regenerated.
3846         * sysdeps/sparc/configure: Regenerated.
3847         * sysdeps/unix/sysv/linux/configure: Regenerated.
3848         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
3849         * sysdeps/x86_64/configure: Regenerated.
3851         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
3852         defined.  Don't check if MAP is NULL.
3854 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
3856         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
3857         (_G_stat64): Likewise.
3858         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
3859         (_G_stat64): Likewise.
3860         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
3861         instead of struct _G_stat64.
3862         * libio/fileops.c (mmap_remap_check): Likewise.
3863         (decide_maybe_mmap): Likewise.
3864         (_IO_new_file_seekoff): Likewise.
3865         (_IO_file_stat): Likewise.
3866         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
3867         _G_off64_t.
3868         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
3869         instead of struct _G_stat64.
3870         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
3872 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
3874         [BZ #14602]
3875         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3876         Replace with ...
3877         (CHECK_EOL): New macro.
3878         (two_way_short_needle): Check beginning of haystack for EOL.  Use
3879         CHECK_EOL.
3880         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3881         Replace with CHECK_EOL.
3882         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3883         Replace with CHECK_EOL.
3885 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
3887         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
3888         type-generic.
3889         * math/libm-test.inc: Update comment listing what functions and
3890         macros are tested.
3891         (finite_test): New function.
3892         (isinf_test): Likewise.
3893         (isnan_test): Likewise.
3894         (fpclassify_test): Test subnormal input.
3895         (isfinite_test): Likewise.
3896         (isnormal_test): Likewise.
3897         (main): Call the new functions.
3899 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
3901         [BZ #14660]
3902         * Makerules (%.dynsym): Force C locale when running
3903         $(OBJDUMP) --dynamic-syms.
3905 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
3907         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
3908         <stdint.h>.
3910 2012-10-06  David S. Miller  <davem@davemloft.net>
3912         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
3913         upper 32-bits of the length value in %o2 since we use branch-on-register
3914         tests which consider the entire 64-bit register.
3916 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
3918         * string/test-strstr.c (check2): Add a test for page boundary.
3920 2012-10-05  David S. Miller  <davem@davemloft.net>
3922         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
3923         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
3924         file.
3925         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
3926         sysdep_routines.
3927         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
3928         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
3929         and bzero when HWCAP_SPARC_CRYPTO is present.
3931 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
3933         [BZ #14602]
3934         * string/test-strstr.c (check2): New function.
3935         (test_main): Call check2.
3937         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
3938         and bug-strchr1.
3939         * string/bug-strcasestr1.c (do_test): Moved to ...
3940         * string/test-strcasestr.c (check1): Here.  New function.
3941         (do_one_test): Break out result checking code into ...
3942         (check_result): This.  New function.
3943         (do_one_test): Call check_result.
3944         (test_main): Call check1.
3945         * string/bug-strchr1.c (do_test): Moved to ...
3946         * string/test-strchr.c (check1): Here.  New function.
3947         (do_one_test): Break out result checking code into ...
3948         (check_result): This.  New function.
3949         (do_one_test): Call check_result.
3950         (test_main): Call check1.
3951         * string/bug-strstr1.c (main): Moved to ...
3952         * string/test-strchr.c (check1): Here.  New function.
3953         (do_one_test): Break out result checking code into ...
3954         (check_result): This.  New function.
3955         (do_one_test): Call check_result.
3956         (test_main): Call check1.
3957         * string/bug-strcasestr1.c: Removed.
3958         * string/bug-strchr1.c: Likewise.
3959         * string/bug-strstr1.c: Likewise.
3961         * elf/Makefile (dl-routines): Add hwcaps.
3962         * elf/dl-support.c (_dl_important_hwcaps): Removed.
3963         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
3964         (_dl_important_hwcaps): Moved to ...
3965         * elf/dl-hwcaps.c: Here.  New file.
3966         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
3968         [BZ #14557]
3969         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
3970         if IS_IN_rtld isn't defined.
3972         * elf/dl-support.c (_dl_sysinfo_map): New.
3973         Include "get-dynamic-info.h" and "setup-vdso.h".
3974         (_dl_non_dynamic_init): Call setup_vdso.
3975         * elf/dynamic-link.h: Don't include <assert.h>.
3976         (elf_get_dynamic_info): Moved to ...
3977         * elf/get-dynamic-info.h: Here.  New file.
3978         * elf/dynamic-link.h: Include "get-dynamic-info.h".
3979         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
3980         * elf/setup-vdso.h: Here.  New file.
3981         * elf/rtld.c: Include "setup-vdso.h".
3982         (dl_main): Call setup_vdso.
3984 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
3986         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
3987         creal in comment listing functions tested.  List finite, isinf,
3988         isnan, isless, islessequal, isgreater, isgreaterequal,
3989         islessgreater, isunordered, lgamma_r and pow10 as functions and
3990         macros not tested.  Mention which functions not tested are aliases
3991         for other functions.  Fix typo.  Note that signs of NaNs are not
3992         tested.
3994         * scripts/config.guess: Update from config.git.
3995         * scripts/config.sub: Likewise.
3997 2012-10-04  Roland McGrath  <roland@hack.frob.com>
3999         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
4000         * misc/madvise.c (madvise): Renamed to __madvise.
4001         Make madvise a weak alias.
4002         * include/sys/mman.h: Declare __madvise.
4003         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
4004         * sysdeps/unix/syscalls.list
4005         (madvise): Make __madvise the strong name, and madvise a weak alias.
4006         * sysdeps/unix/sysv/linux/syscalls.list
4007         (madvise, mmap): Remove redundant entries.
4008         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
4009         * malloc/malloc.c (mtrim): Likewise.
4010         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
4012 2012-10-03  Roland McGrath  <roland@hack.frob.com>
4014         * sysdeps/mach/hurd/dl-cache.c: File removed.
4015         * config.h.in (USE_LDCONFIG): New #undef.
4016         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
4017         * configure: Regenerated.
4018         * elf/Makefile (dl-routines): Add dl-cache only under
4019         [$(use-ldconfig) = yes].
4020         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
4021         cache on [USE_LDCONFIG].
4022         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
4023         [USE_LDCONFIG].
4024         * elf/rtld.c (dl_main): Likewise.
4026 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
4028         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
4029         _SC_LEVEL4_CACHE_LINESIZE.
4031 2012-10-03  Roland McGrath  <roland@hack.frob.com>
4033         * sysdeps/unix/bsd/confstr.h: File removed.
4035 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
4037         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
4038         sys/sdt-config.h.
4040 2012-10-02  Roland McGrath  <roland@hack.frob.com>
4042         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
4043         Make 'mapoff' field ElfW(Off) rather than off_t.
4045 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
4047         * nscd/Makefile: Remove nscd-cflags and all its users.
4048         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
4049         (CFLAGS-nonlib): Add compiler flags for nscd modules.
4051         [BZ #10631]
4052         * malloc.c (malloc_printerr): Clarify error message.
4054 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
4056         [BZ #14648]
4057         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4058         Set bit_FMA_Usable if FMA is supported.
4059         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
4060         macro.
4061         (bit_FMA4_Usable): Updated.
4062         (index_FMA_Usable): New macro.
4063         (CPUID_FMA): Likewise
4064         (HAS_FMA): Defined with bit_FMA_Usable.
4066 2012-10-01  Roland McGrath  <roland@hack.frob.com>
4068         * bits/types.h (__swblk_t): Type removed.
4069         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
4070         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
4071         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4072         (__SWBLK_T_TYPE): Likewise.
4073         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
4074         (__SWBLK_T_TYPE): Likewise.
4075         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4076         (__SWBLK_T_TYPE): Likewise.
4077         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4078         (__SWBLK_T_TYPE): Likewise.
4080 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
4081             Honza Horak <hhorak@redhat.com>
4083         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
4084         (xdr_mapname): Use YPMAXMAP as maxsize.
4085         (xdr_peername): Use YPMAXPEER as maxsize.
4086         (xdr_keydat): Use YPAXRECORD as maxsize.
4087         (xdr_valdat): Use YPMAXRECORD as maxsize.
4089 2012-10-01  Roland McGrath  <roland@hack.frob.com>
4091         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
4093         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
4094         * csu/init-first.c: ... here.
4095         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
4096         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
4097         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
4098         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
4099         * sysdeps/i386/init-first.c: File removed.
4100         * sysdeps/sh/init-first.c: File removed.
4102 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
4104         [BZ #14645]
4105         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
4106         if x * y might underflow to zero and z is zero.
4107         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4108         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4109         * math/libm-test.inc (min_subnorm_value): New variable.
4110         (fma_test): Add more tests.
4111         (fma_test_towardzero): Likewise.
4112         (fma_test_downward): Likewise
4113         (fma_test_upward): Likewise.
4114         (initialize): Set min_subnorm_value.
4116 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
4118         [BZ #14638]
4119         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
4120         0 + 0.
4121         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
4122         mode for addition resulting in exact zero.
4123         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
4124         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
4125         exact 0 + 0.
4126         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4127         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4128         * math/libm-test.inc (fma_test): Add more tests.
4129         (fma_test_towardzero): New function.
4130         (fma_test_downward): Likewise.
4131         (fma_test_upward): Likewise.
4132         (main): Call the new functions.
4134 2012-09-28  David S. Miller  <davem@davemloft.net>
4136         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
4138 2012-09-28  Roland McGrath  <roland@hack.frob.com>
4140         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
4141         instead of SIGALRM.
4143         * sysdeps/gnu/_G_config.h: Moved to ...
4144         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
4145         * sysdeps/mach/hurd/_G_config.h: Moved to ...
4146         * sysdeps/generic/_G_config.h: ... here.
4148         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
4150         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
4152         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
4153         Conditionalize target on [libnss_test1.so-version].
4155         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
4157         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
4158         (elfobjdir): Move out of conditionals.
4160         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
4161         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
4162         (__nss_lookup_function): Conditionalize label remove_from_tree on
4163         [!DO_STATIC_NSS || SHARED], matching its only use.
4165 2012-09-28  David S. Miller  <davem@davemloft.net>
4167         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
4168         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
4169         file.
4170         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
4171         sysdep_routines.
4172         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
4173         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
4174         when HWCAP_SPARC_CRYPTO is present.
4176 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
4178         * io/tst-mknodat.c: Create a FIFO instead of a socket.
4180 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
4182         [BZ #6530]
4183         * stdio-common/vfprintf.c (process_string_arg): Revert
4184         2000-07-22 change.
4186 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
4188         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
4189         for testcase.
4190         * stdio-common/tst-sprintf.c: Include <locale.h>
4191         (main): Test sprintf's handling of incomplete multibyte
4192         characters.
4194 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
4196         * elf/dl-runtime.c (VERSYMIDX): Removed.
4197         * elf/dl-version.c (VERSYMIDX): Likewise.
4198         * elf/do-rel.h (VERSYMIDX): Likewise.
4199         (VALIDX): Likewise.
4200         * elf/dynamic-link.h (VERSYMIDX): Likewise.
4201         * elf/rtld.c (VALIDX): Likewise.
4202         (ADDRIDX): Likewise.
4203         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
4204         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
4205         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
4206         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
4207         (VALIDX): Likewise.
4208         (ADDRIDX): Likewise.
4210 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
4212         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
4214 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
4216         [BZ #11438]
4217         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
4218         to global scope.
4219         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
4220         addresses are in the same scope as 192.0.2/24.
4221         * posix/gai.conf: Document new scope table defaults.
4223 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4225         [BZ #5298]
4226         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
4227         for ftell.  Compute offsets from write pointers instead.
4228         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
4230 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4232         [BZ #14543]
4233         * libio/Makefile (tests): New test case tst-fseek.
4234         * libio/tst-fseek.c: New test case to verify that fseek/ftell
4235         combination works in wide mode.
4236         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
4237         state when the external buffer state changes.
4239 2012-09-27  David S. Miller  <davem@davemloft.net>
4241         [BZ #14376]
4242         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
4243         pass reloc->r_addend in as the 'high' argument to
4244         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
4246         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4248 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
4250         * rt/tst-aio2.c: Include <pthread.h>.
4251         * rt/tst-aio3.c: Likewise.
4253 2012-09-27  Steve Ellcey  <sellcey@mips.com>
4255         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
4257 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
4259         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
4260         contents on [SHARED].
4262 2012-09-26  Marek Polacek  <polacek@redhat.com>
4264         [BZ #14530]
4265         [BZ #13741]
4266         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
4267         for C++ and GCC <4.3 as well as for non GCC compilers.
4269 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
4271         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4273 2012-09-25  Roland McGrath  <roland@hack.frob.com>
4275         * Makefile.in (all, install): Declare with .PHONY.
4276         Reported by Michael Hope <michael.hope@linaro.org>.
4278 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4280         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
4281         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
4282         system header.
4283         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
4284         Likewise.
4285         (sydep_routines): Add the new and the internal functions.
4286         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
4287         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
4288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
4289         (GLIBC_2.17): Add the new function.
4290         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
4291         (GLIBC_2.17): Likewise.
4292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
4293         (GLIBC_2.17): Likewise.
4294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
4295         (GLIBC_2.17): Likewise.
4296         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
4298 2012-09-25  Alan Modra  <amodra@gmail.com>
4300         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
4301         Add release barrier before setting once_control to say
4302         initialisation is done.  Add hints on lwarx.  Use macro in
4303         place of isync.
4304         (clear_once_control): Add release barrier.
4306 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
4308         [BZ #13629]
4309         * math/s_clog.c (__clog): Handle more values close to |z| = 1
4310         specially.
4311         * math/s_clog10.c (__clog10): Likewise.
4312         * math/s_clog10f.c (__clog10f): Likewise.
4313         * math/s_clog10l.c (__clog10l): Likewise.
4314         * math/s_clogf.c (__clogf): Likewise.
4315         * math/s_clogl.c (__clogl): Likewise.
4316         * math/Makefile (libm-calls): Add x2y2m1.
4317         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
4318         (__x2y2m1): Likewise.
4319         (__x2y2m1l): Likewise.
4320         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
4321         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
4322         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
4323         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
4324         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
4325         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
4326         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
4327         * sysdeps/i386/fpu/libm-test-ulps: Update.
4328         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4330         [BZ #14621]
4331         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
4332         int as type of variable DEPTH.
4333         (glob): Use size_t instead of int as type of variables NEWCOUNT
4334         and OLD_PATHC.
4336 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
4338         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
4339         Add s_sincosf-sse2.
4340         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
4341         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
4342         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
4343         macros for using routine as __sincosf_ia32.
4344         Use macro for function declaration and weak_alias.
4345         * sysdeps/i386/fpu/libm-test-ulps: Update.
4347         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
4348         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4350         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
4351         subnormal argument.
4352         * math/s_cexpf.c (__cexpf): Likewise.
4353         * math/s_csinf.c (__csinf): Likewise.
4354         * math/s_csinhf.c (__csinhf): Likewise.
4355         * math/s_ctanf.c (__ctanf): Likewise.
4356         * math/s_ctanhf.c (__ctanhf): Likewise.
4357         * math/s_ccosh.c (__ccoshf): Likewise.
4358         * math/s_cexp.c (__cexpl): Likewise.
4359         * math/s_csin.c (__csin): Likewise.
4360         * math/s_csinh.c (__csinh): Likewise.
4361         * math/s_ctan.c (__ctan): Likewise.
4362         * math/s_ctanh.c (ctanh): Likewise.
4363         * math/s_ccoshl.c (__ccoshl): Likewise.
4364         * math/s_cexpl.c (__cexpl): Likewise.
4365         * math/s_csinl.c (__csinl): Likewise.
4366         * math/s_csinhl.c (__csinhl): Likewise.
4367         * math/s_ctanl.c (__ctanl): Likewise.
4368         * math/s_ctanhl.c (__ctanhl): Likewise.
4370 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
4372         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
4373         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
4374         (_IO_off_t): Define to __off_t, not _G_off_t.
4375         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
4376         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
4377         (_IO_wint_t): Define to wint_t, not _G_wint_t.
4378         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
4379         type of __dummy and __dummy2 fields.
4380         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
4381         (_G_ssize_t): Likewise.
4382         (_G_off_t): Likewise.
4383         (_G_pid_t): Likewise.
4384         (_G_uid_t): Likewise.
4385         (_G_wchar_t): Likewise.
4386         (_G_wint_t): Likewise.
4387         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
4388         (_G_ssize_t): Likewise.
4389         (_G_off_t): Likewise.
4390         (_G_pid_t): Likewise.
4391         (_G_uid_t): Likewise.
4392         (_G_wchar_t): Likewise.
4393         (_G_wint_t): Likewise.
4394         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
4395         (_G_ssize_t): Likewise.
4396         (_G_off_t): Likewise.
4397         (_G_pid_t): Likewise.
4398         (_G_uid_t): Likewise.
4399         (_G_wchar_t): Likewise.
4400         (_G_wint_t): Likewise.
4402 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
4404         * malloc/arena.c: Include malloc-sysdep.h.
4405         (shrink_heap): Use check_may_shrink_heap to decide if madvise
4406         is sufficient to shrink the heap or an unmap is needed.
4407         * sysdeps/generic/malloc-sysdep.h: New file.  Define
4408         new function check_may_shrink_heap.
4409         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
4410         new function check_may_shrink_heap.
4412 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
4414         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
4415         comments.
4417 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
4419         * catgets/test-gencat.sh: Add "set -e".
4420         * elf/tst-pathopt.sh: Likewise.
4421         * grp/tst_fgetgrent.sh: Likewise.
4422         * iconvdata/run-iconv-test.sh: Likewise.
4423         * intl/tst-gettext.sh: Likewise.
4424         * intl/tst-gettext2.sh: Likewise.
4425         * intl/tst-gettext4.sh: Likewise.
4426         * intl/tst-gettext6.sh: Likewise.
4427         * intl/tst-translit.sh: Likewise.
4428         * io/ftwtest-sh: Likewise.
4429         * libio/test-freopen.sh: Likewise.
4430         * malloc/tst-mtrace.sh: Likewise.
4431         * posix/globtest.sh: Likewise.
4432         * posix/tst-getconf.sh: Likewise.
4433         * posix/wordexp-tst.sh: Likewise.
4434         * stdio-common/tst-printf.sh: Likewise.
4435         * stdio-common/tst-unbputc.sh: Likewise.
4436         * stdlib/tst-fmtmsg.sh: Likewise.
4437         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
4438         * catgets/Makefile: Do not specify -e option when running
4439         testsuite shell scripts.
4440         * elf/Makefile: Likewise.
4441         * grp/Makefile: Likewise.
4442         * iconvdata/Makefile: Likewise.
4443         * intl/Makefile: Likewise.
4444         * io/Makefile: Likewise.
4445         * libio/Makefile: Likewise.
4446         * malloc/Makefile: Likewise.
4447         * posix/Makefile: Likewise.
4448         * stdio-common/Makefile: Likewise.
4449         * stdlib/Makefile: Likewise.
4450         * sysdeps/x86_64/Makefile: Likewise.
4452         * io/ftwtest-sh: Add copyright header.
4453         * posix/globtest.sh: Likewise.
4454         * posix/tst-getconf.sh: Likewise.
4455         * posix/wordexp-tst.sh: Likewise.
4456         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
4458 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
4460         [BZ #13679]
4461         * Makeconfig (+link): Defined as $(+link-static) if
4462         $(build-shared) isn't yes.
4463         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
4464         isn't yes.
4465         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
4467         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
4469         [BZ #14562]
4470         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
4471         new chunk size with MALLOC_ALIGN_MASK.
4473 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
4475         [BZ #5044]
4476         * stdio-common/printf_fphex.c: Include <stdbool.h> and
4477         <rounding-mode.h>.
4478         (__printf_fphex): Determine rounding using get_rounding_mode and
4479         round_away.
4480         * stdio-common/tst-printf-round.c (struct hex_test): New
4481         structure.
4482         (hex_tests): New variable.
4483         (test_hex_in_one_mode): New function.
4484         (do_test): Also run tests for hex float output.
4486 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
4488         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
4489         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
4490         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
4491         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
4492         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
4493         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
4494         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
4495         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
4497 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
4499         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
4500         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
4501         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
4502         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
4504 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
4506         [BZ #14579]
4507         * elf/rtld.c (dl_main): Limit the check for self loading to normal
4508         mode only.
4509         * elf/tst-rtld-load-self.sh: New test.
4510         * elf/Makefile: Run it.
4512 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
4514         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
4515         (tst-writev-ENV): Remove.
4516         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
4518 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
4520         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
4522 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
4524         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
4525         unconditional.
4526         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
4527         Likewise.
4528         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
4529         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
4530         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
4531         Likewise.
4533 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
4535         [BZ #14587]
4536         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
4537         * config.make.in (have-cpp-asm-debuginfo): Removed.
4538         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
4539         * configure: Regenerated.
4541 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
4543         [BZ #5044]
4544         * stdio-common/printf_fp.c: Include <stdbool.h> and
4545         <rounding-mode.h>.
4546         (___printf_fp): Determine rounding using get_rounding_mode and
4547         round_away.
4548         * stdio-common/tst-printf-round.c: New file.
4549         * stdio-common/Makefile (tests): Add tst-printf-round.
4550         (link-libm): New variable.
4551         ($(objpfx)tst-printf-round): Depend in $(link-libm).
4553 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
4555         [BZ #14576]
4556         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
4557         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
4558         Likewise.
4559         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
4560         Likewise.
4562 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
4564         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
4565         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4566         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4567         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4569 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
4571         [BZ #14518]
4572         * include/rounding-mode.h: New file.
4573         * sysdeps/generic/get-rounding-mode.h: Likewise.
4574         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
4575         * stdlib/strtod_l.c: Include <rounding-mode.h>.
4576         (MAX_VALUE): New macro.
4577         (MIN_VALUE): Likewise.
4578         (overflow_value): New function.
4579         (underflow_value): Likewise.
4580         (round_and_return): Use overflow_value and underflow_value to
4581         determine return values in overflow and underflow cases.  Use
4582         round_away to determine rounding depending on rounding mode.
4583         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
4584         determine return values in overflow and underflow cases.
4585         * stdlib/tst-strtod-round.c: Include <fenv.h>.
4586         (struct test_results): New structure.
4587         (struct test): Use struct test_results to store expected results
4588         for all rounding modes.
4589         (TEST): Include expected results for all rounding modes.
4590         (test_in_one_mode): New function.
4591         (do_test): Use test_in_one_mode to compute and check results.
4592         Check results for all rounding modes.
4593         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
4594         $(link-libm).
4596 2012-12-09  Allan McRae  <allan@archlinux.org>
4598         * sysdeps/i386/fpu/libm-test-ulps: Update
4600 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
4602         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
4603         (_G_int32_t): Likewise.
4604         (_G_uint16_t): Likewise.
4605         (_G_uint32_t): Likewise.
4606         (_G_HAVE_BOOL): Likewise.
4607         (_G_HAVE_ATEXIT): Likewise.
4608         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4609         (_G_HAVE_IO_FILE_OPEN): Likewise.
4610         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
4611         (_G_int32_t): Likewise.
4612         (_G_uint16_t): Likewise.
4613         (_G_uint32_t): Likewise.
4614         (_G_HAVE_BOOL): Likewise.
4615         (_G_HAVE_ATEXIT): Likewise.
4616         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4617         (_G_HAVE_IO_FILE_OPEN): Likewise.
4618         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
4619         (_G_int32_t): Likewise.
4620         (_G_uint16_t): Likewise.
4621         (_G_uint32_t): Likewise.
4622         (_G_HAVE_BOOL): Likewise.
4623         (_G_HAVE_ATEXIT): Likewise.
4624         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4625         (_G_HAVE_IO_FILE_OPEN): Likewise.
4627 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
4629         * csu/libc-tls.c: Update copyright years.
4631 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
4633         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
4634         [!_G_USING_THUNKS]: Remove conditional code.
4635         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
4636         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
4638         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
4639         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
4640         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4641         (_G_VTABLE_LABEL_PREFIX): Likewise.
4642         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4643         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4644         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4645         (_G_VTABLE_LABEL_PREFIX): Likewise.
4646         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
4647         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4648         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4649         (_G_VTABLE_LABEL_PREFIX): Likewise.
4650         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
4652 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
4654         * libio/Makefile: Include ../Makeconfig before tests.
4655         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
4656         only if $(build-shared) is yes.
4658         * iconv/gconv_db.c: Update copyright years.
4660 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
4662         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
4663         unwind info if defined PIC. Fix special cases description.
4664         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
4666         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
4667         DP_HI_MASK entry.
4668         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
4670 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
4672         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
4674         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
4675         is NULL.
4677         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
4678         (LDLIBS-tst-chk4): This.
4679         (LDFLAGS-tst-chk5): Renamed to ...
4680         (LDLIBS-tst-chk5): This.
4681         (LDFLAGS-tst-chk6): Renamed to ...
4682         (LDLIBS-tst-chk6): This.
4683         (LDFLAGS-tst-lfschk4): Renamed to ...
4684         (LDLIBS-tst-lfschk4): This.
4685         (LDFLAGS-tst-lfschk5): Renamed to ...
4686         (LDLIBS-tst-lfschk5): This.
4687         (LDFLAGS-tst-lfschk6): Renamed to ...
4688         (LDLIBS-tst-lfschk6): This.
4690         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
4691         on $(common-objpfx)soversions.mk.
4693 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
4695         [BZ #10014]
4696         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
4697         example host name.
4699 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
4701         * malloc/arena.c (arena_get_retry): New function that gets
4702         another arena for the caller to try its request on.
4703         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
4704         current arena cannot fulfill the request.
4705         (__libc_memalign): Likewise.
4706         (__libc_memalign): Likewise.
4707         (__libc_pvalloc): Likewise.
4708         (__libc_calloc): Likewise.
4710 2012-09-05  John Tobey  <john.tobey@gmail.com>
4712         [BZ #13542]
4713         * manual/arith.texi (Operations on Complex): Fix description
4714         of carg branch cut.
4716 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
4718         [BZ #10014]
4719         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
4720         host name.
4722         [BZ #10038]
4723         * manual/memory.texi (Memory): Make order of menu items match
4724         order of sections.
4726 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
4728         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
4729         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
4730         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
4732 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
4734         * csu/libc-tls.c (static_dtv): Renamed to ...
4735         (_dl_static_dtv): This.  Make it global.
4736         (_dl_initial_dtv): Removed.
4737         (__libc_setup_tls): Updated.
4738         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
4739         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
4740         DL_INITIAL_DTV.
4742 2012-09-06  Petr Machata  <pmachata@redhat.com>
4744         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
4745         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
4746         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
4747         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
4749 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
4751         [BZ #14545]
4752         * csu/libc-tls.c (_dl_initial_dtv): New variable.
4753         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
4754         freeing dtv[-1].
4756 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
4758         [BZ #14544]
4759         * Makeconfig (link-static-before-libc): Replace $(+prector)
4760         with $(+prectorT).
4761         (link-static-after-libc): Replace $(+postctor) with
4762         $(+postctorT).
4763         (link-bounded): Replace $(+prector)/$(+postctor) with
4764         $(+prectorT)/$(+postctorT).
4765         (+prectorT): New macro.
4766         (+postctorT): Likewise.
4768 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
4770         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
4771         (round_str): Handle values above the maximum for IBM long double
4772         as inexact.
4773         * stdlib/tst-strtod-round.c (tests): Regenerated.
4775 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4777         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
4778         assembler flag.
4779         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
4780         zarch_nohighgprs around the zarch optimized routines.
4781         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
4782         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
4783         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
4784         for zarch.
4786 2012-09-05  David S. Miller  <davem@davemloft.net>
4788         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4790         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
4791         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
4792         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
4793         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
4794         entries.
4796 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
4798         * malloc/arena.c: Fold copyright years.
4799         * malloc/mcheck.c, malloc/memusage.c: Likewise.
4801 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
4803         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
4805 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
4807         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
4809 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
4811         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
4812         change internal state upon failure.
4814 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
4816         * malloc/mcheck.c (mcheck_check_all): Fix typo.
4817         * malloc/memusage.c (mmap): Likewise.
4818         (mmap64, mremap): Likewise.  Adjust name in comment.
4820 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
4822         * libio/fileops.c: Fix typos in comments.
4823         * libio/oldfileops.c: Likewise.
4824         * libio/wfileops.c: Likewise.
4826 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
4828         [BZ #1349]
4829         * malloc/Makefile (tests): Add tst-malloc-usable test case.
4830         (tst-malloc-usable-ENV): Set environment for test case.
4831         * malloc/hooks.c (malloc_check_get_size): New function to get
4832         requested size.
4833         * malloc/malloc.c (musable): Use malloc_check_get_size.
4834         * malloc/tst-malloc-usable.c: New test case.
4836 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
4838         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
4840 2012-09-05  Allan McRae  <allan@archlinux.org>
4842         [BZ #13966]
4843         * configure.in (CXX_SYSINCLUDES): Use compiler output to
4844         determine header location.
4845         * configure: Regenerated.
4847 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
4849         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
4850         float format.
4851         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
4852         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
4853         format.
4854         (test): Regenerate.
4856 2012-09-04  David S. Miller  <davem@davemloft.net>
4858         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
4859         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
4860         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
4862 2012-09-04  Florian Weimer  <fweimer@redhat.com>
4864         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
4865         failures.
4867         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
4869 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
4871         [BZ #9914]
4872         * libio/iogetdelim.c: Include <limits.h>.
4873         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
4874         + len + 1 would overflow.
4876 2012-09-03  Andreas Jaeger  <aj@suse.de>
4878         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4879         * sysdeps/i386/fpu/libm-test-ulps: Update.
4881 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
4883         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
4884         Add s_sinf-sse2, s_conf-sse2.
4886         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
4887         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
4888         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
4889         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
4891         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
4892         for using routine as __sinf_ia32.
4893         Use macro for function declaration and weak_alias.
4894         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
4895         for using routine as __cosf_ia32.
4896         Use macro for function declaration and weak_alias.
4898         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
4899         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
4901         * sysdeps/x86_64/fpu/s_sinf.S: New file.
4902         * sysdeps/x86_64/fpu/s_cosf.S: New file.
4903         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4905         * math/libm-test.inc (cos_test): Add more test cases.
4906         (sin_test): Likewise.
4907         (sincos_test): Likewise.
4909 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4911         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
4912         (IFUNC_RESOLVE): Make pointers to the specialized implementations
4913         hidden.
4914         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
4916 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
4918         [BZ #14538]
4919         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
4920         first element of the GOT.
4921         (elf_machine_load_address): Return the difference between
4922         the runtime address of _DYNAMIC and elf_machine_dynamic ().
4924 2012-09-01  Allan McRae  <allan@archlinux.org>
4926         [BZ #13412]
4927         * configure.in (AWK): Require gawk version 3.0 or later.
4928         * configure: Regenerated.
4930 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
4932         * sysdeps/unix/sysv/linux/kernel-features.h
4933         (__ASSUME_POSIX_CPU_TIMERS): Remove.
4934         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4935         [__NR_clock_getres]: Make code unconditional.
4936         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
4937         (clock_getcpuclockid): Remove code left unreachable by removal of
4938         conditionals.
4939         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
4940         code unconditional.
4941         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
4942         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4943         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
4944         Make code unconditional.
4945         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
4946         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4947         * sysdeps/unix/sysv/linux/clock_settime.c
4948         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
4949         conditional code.
4950         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
4951         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4953 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
4955         [BZ #14476]
4956         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
4957         scripts/test-installation.pl.
4959         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
4960         and $ld_so_version if it is set.
4962 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
4964         [BZ #14516]
4965         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
4966         failure if reading from procfs failed.
4967         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
4969 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
4971         * sysdeps/unix/sysv/linux/kernel-features.h
4972         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
4973         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
4974         Remove conditional code.
4975         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4976         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
4977         Remove conditional code.
4978         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4979         * sysdeps/unix/sysv/linux/i386/fxstat.c
4980         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4981         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4982         * sysdeps/unix/sysv/linux/i386/fxstatat.c
4983         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4984         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4985         * sysdeps/unix/sysv/linux/i386/lxstat.c
4986         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4987         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4988         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
4989         Remove conditional code.
4990         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4991         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
4992         Remove conditional code.
4993         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4994         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
4995         <kernel-features.h>.
4996         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
4997         Remove.
4998         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
4999         Remove conditional code.
5000         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5001         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
5002         Remove conditional.
5004 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
5006         [BZ #5400]
5007         * NEWS: Add fixed bug number.
5009 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
5011         [BZ #14519]
5012         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
5013         underflowing exponent in case of negative sign.
5014         * stdlib/tst-strtod-round-data: Add more tests.
5015         * stdlib/tst-strtod-round.c (tests): Regenerated.
5017         [BZ #3479]
5018         * stdlib/strtod_l.c (NDIG): Remove.
5019         (HEXNDIG): Likewise.
5020         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
5021         smallest representable value.
5022         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
5023         lie within an exact representation of 1/2 ulp of the result.
5024         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
5025         unconditionally.
5026         (TENS_P9_IDX): Define unconditionally.
5027         (TENS_P9_SIZE): Likewise.
5028         (TENS_P10_IDX): Likewise.
5029         (TENS_P10_SIZE): Likewise.
5030         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
5031         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
5032         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
5033         entries for 10^2^13 and 10^2^14.
5034         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
5035         (TENS_P13_IDX): Define.
5036         (TENS_P13_SIZE): Likewise.
5037         (TENS_P14_IDX): Likewise.
5038         (TENS_P14_SIZE): Likewise.
5039         (_fpioconst_pow10): Change array size to
5040         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
5041         unconditional.
5042         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
5043         1024]: Add entries for 10^2^13 and 10^2^14.
5044         [LAST_POW10 > _LAST_POW10]: Remove #error.
5045         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
5046         (_fpioconst_pow10): Change array size to
5047         FPIOCONST_POW10_ARRAY_SIZE.
5048         * stdlib/gen-fpioconst.c: New file.
5049         * stdlib/gen-tst-strtod-round.c: Likewise.
5050         * stdlib/tst-strtod-round-data: Likewise.
5051         * stdlib/tst-strtod-round.c: Likewise.
5052         * stdlib/Makefile (tests): Add tst-strtod-round.
5054         [BZ #14459]
5055         * stdlib/strtod_l.c: Include <stdint.h>.
5056         (NDEBUG): Do not define.
5057         (round_and_return): Change EXPONENT parameter to type intmax_t.
5058         Rearrange calculations to avoid internal overflow possibilities.
5059         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
5060         Rearrange calculations to avoid internal overflow possibilities.
5061         Assert that number fits inside MPNSIZE limbs.
5062         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
5063         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
5064         calculations and add assertions to avoid internal overflow
5065         possibilities.  Add casts to avoid signed/unsigned operations.
5066         * stdlib/tst-strtod-overflow.c: New file.
5067         * stdlib/Makefile (tests): Add tst-strtod-overflow.
5069 2012-08-25  Marek Polacek  <polacek@redhat.com>
5071         * time/time.h: Fix some typos in comments.
5073 2012-08-23  Roland McGrath  <roland@hack.frob.com>
5075         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
5076         * posix/tst-rfc3484-2.c: Likewise.
5077         * posix/tst-rfc3484-3.c: Likewise.
5079 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
5081         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
5082         (EF_ARM_ABI_FLOAT_HARD): Likewise.
5084 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
5086         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
5087         #include of fxstatat64.c.
5089 2012-08-22  Roland McGrath  <roland@hack.frob.com>
5091         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
5092         * shadow/getspent_r.c: Likewise.
5093         * shadow/getspnam.c: Likewise.
5094         * shadow/getspnam_r.c: Likewise.
5095         * gshadow/getsgent.c: Likewise.
5096         * gshadow/getsgent_r.c: Likewise.
5097         * gshadow/getsgnam.c: Likewise.
5098         * gshadow/getsgnam_r.c: Likewise.
5099         * inet/getnetbyad.c: Likewise.
5100         * inet/getnetbyad_r.c: Likewise.
5101         * inet/getnetbynm.c: Likewise.
5102         * inet/getnetbynm_r.c: Likewise.
5103         * inet/getnetent.c: Likewise.
5104         * inet/getnetent_r.c: Likewise.
5105         * inet/getproto.c: Likewise.
5106         * inet/getproto_r.c: Likewise.
5107         * inet/getprtent.c: Likewise.
5108         * inet/getprtent_r.c: Likewise.
5109         * inet/getprtname.c: Likewise.
5110         * inet/getprtname_r.c: Likewise.
5111         * inet/getrpcbyname.c: Likewise.
5112         * inet/getrpcbyname_r.c: Likewise.
5113         * inet/getrpcbynumber.c: Likewise.
5114         * inet/getrpcbynumber_r.c: Likewise.
5115         * inet/getrpcent.c: Likewise.
5116         * inet/getrpcent_r.c: Likewise.
5117         * inet/getaliasent.c: Likewise.
5118         * inet/getaliasent_r.c: Likewise.
5119         * inet/getaliasname.c: Likewise.
5120         * inet/getaliasname_r.c: Likewise.
5121         * nscd/getgrgid_r.c: Likewise.
5122         * nscd/getgrnam_r.c: Likewise.
5123         * nscd/gethstbyad_r.c: Likewise.
5124         * nscd/gethstbynm3_r.c: Likewise.
5125         * nscd/getpwnam_r.c: Likewise.
5126         * nscd/getpwuid_r.c: Likewise.
5127         * nscd/getsrvbynm_r.c: Likewise.
5128         * nscd/getsrvbypt_r.c: Likewise.
5129         * nscd/gai.c: Likewise.
5131         * configure.in (build_nscd): New substituted variable, set
5132         by --disable-build-nscd and defaults to $use_nscd.
5133         * configure: Regenerated.
5134         * config.make.in (build-nscd): New substituted variable.
5135         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
5136         Change conditional to require [$(build-nscd) = yes] as well.
5137         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
5139         [BZ# 13696]
5140         * configure.in (use_nscd): New substituted variable, set by
5141         --disable-nscd.  If enabled, define USE_NSCD.
5142         * configure: Regenerated.
5143         * config.h.in: Add USE_NSCD.
5144         * config.make.in (use-nscd): New substituted variable.
5145         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
5146         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
5147         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
5148         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
5149         (CFLAGS-getgrnam_r.c): Likewise.
5150         (CFLAGS-initgroups.c): Likewise.
5151         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
5152         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
5153         Variables removed.
5154         * inet/getnetgrent_r.c
5155         (nscd_setnetgrent): New function, broken out of ...
5156         (setnetgrent): ... here.  Call it.
5157         (innetgr): Conditionalize nscd bits on [USE_NSCD].
5158         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
5159         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
5160         * nscd/Makefile (routines, aux): Move definitions after include of
5161         Makeconfig.  Conditionalize on [$(use-nscd) != no].
5162         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
5163         Conditionalize on [USE_NSCD].
5164         (is_nscd, nscd_init_cb): Likewise.
5165         (nss_load_library): Conditionalize init callback on [USE_NSCD].
5166         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
5167         * nss/nss_db/db-init.c: Likewise.
5168         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
5169         [USE_NSCD].
5170         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
5171         (make_request): Use it.
5172         (cache_valid_p): New function.
5173         (__check_pf): Use it.
5174         * NEWS: Add item for --disable-nscd.
5176 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
5178         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
5179         to support sed >= 4.2.1-20-ga9bf076.
5180         * configure: Regenerated.
5182 2012-08-22  Roland McGrath  <roland@hack.frob.com>
5184         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
5185         Conditionalize whole body on [IREL].
5187 2012-08-22  Jeff Law <law@redhat.com>
5189         [BZ #14505]
5190         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
5191         if the family is PF_UNSPEC.
5193 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
5195         * Makerules (lib-version): Rename from V.
5196         (install-lib-nosubdir): Change V to lib-version.
5198 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
5200         [BZ #14252]
5201         * powerpc32/power6/wcschr.c: New file.
5202         * powerpc32/power6/wcscpy.c: New file.
5203         * powerpc32/power6/wcsrchr.c: New file.
5204         * powerpc64/power6/wcschr.c: New file.
5205         * powerpc64/power6/wcscpy.c: New file.
5206         * powerpc64/power6/wcsrchr.c: New file.
5208 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
5210         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
5211         (two_way_short_needle): Use it.
5212         * string/strstr.c (AVAILABLE1_USES_J): Define.
5213         * string/strcasestr.c: Likewise.
5215         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
5216         array references.
5217         * string/strcasestr.c (TOLOWER): Make side-effect safe.
5219         [BZ #11607]
5220         * NEWS: Add an entry.
5221         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
5222         define their defaults.
5223         (two_way_short_needle): Detect end-of-string on-the-fly.
5224         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
5225         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
5226         * string/bug-strcasestr1.c: New test.
5227         * string/Makefile: Run it.
5229 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
5231         [BZ #11607]
5232         * string/str-two-way.h (two_way_short_needle): Optimize matching of
5233         the first character.
5235 2012-08-21  Roland McGrath  <roland@hack.frob.com>
5237         * csu/elf-init.c (__libc_csu_irel): Function removed.
5238         * csu/libc-start.c (apply_irel): New function.
5239         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
5241 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
5243         * sysdeps/unix/sysv/linux/kernel-features.h
5244         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
5245         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
5246         <kernel-features.h>.
5247         [__NR_fadvise64_64]: Make code unconditional.
5248         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
5249         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
5250         !__NR_fadvise64_64)]: Likewise.
5251         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
5252         !__NR_fadvise64_64))]: Likewise.
5253         [__NR_fadvise64]: Make code unconditional.
5254         [!__NR_fadvise64]: Remove conditional code.
5255         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
5256         <kernel-features.h>.
5257         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
5258         unconditional.
5259         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
5260         conditional code.
5261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
5262         not include <kernel-features.h>.
5263         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
5264         unconditional.
5265         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
5266         conditional code.
5267         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
5268         include <kernel-features.h>.
5269         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
5270         unconditional.
5271         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
5272         conditional code.
5274 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
5276         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
5277         slight instruction rearrangements per scrollpipe analysis.
5278         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
5280 2012-08-20  Roland McGrath  <roland@hack.frob.com>
5282         * manual/syslog.texi (syslog; vsyslog, closelog):
5283         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
5284         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
5286         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
5287         DSOCAPS to match condition on defining it.
5289 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
5291         * sysdeps/unix/sysv/linux/kernel-features.h
5292         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
5293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
5294         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5295         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
5297         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5298         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
5300         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5301         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5303         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
5304         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
5306         * sysdeps/unix/sysv/linux/kernel-features.h
5307         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
5308         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
5309         unconditional.
5310         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5311         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
5312         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
5313         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5314         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
5315         Make code unconditional.
5316         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5317         (__mmap64) [!__NR_mmap2]: Likewise.
5318         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
5319         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
5320         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5321         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
5322         [__NR_mmap2]: Make code unconditional.
5323         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5324         (__mmap64) [!__NR_mmap2]: Likewise.
5326 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5328         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
5330 2012-08-18  Andreas Jaeger  <aj@suse.de>
5332         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
5334 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
5336         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
5337         * include/unistd.h (__have_sock_cloexec): Likewise.
5338         (__have_pipe2): Likewise.
5339         (__have_dup3): Likewise.
5341 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
5343         [BZ #9685]
5344         * include/unistd.h (__have_pipe2): Change define into an extern int.
5345         (__have_dup3): Likewise.
5346         * socket/have_sock_cloexec.c: Include fcntl.h.
5347         (__have_pipe2): New variable.
5348         (__have_dup3): Likewise.
5350 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
5352         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
5354 2012-08-17  Marek Polacek  <polacek@redhat.com>
5356         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
5357         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
5359 2012-08-17  Roland McGrath  <roland@hack.frob.com>
5361         * configure.in: Add AC_SUBST for sysheaders.
5362         * configure: Regenerated.
5363         * config.make.in (sysheaders): New substituted variable.
5365         * sysdeps/unix/mkfifo.c: Moved ...
5366         * sysdeps/posix/mkfifo.c: ... here.
5367         * sysdeps/unix/mkfifoat.c: Moved ...
5368         * sysdeps/posix/mkfifoat.c: ... here.
5370         * sysdeps/unix/utime.c: Moved ...
5371         * sysdeps/posix/utime.c: ... here.
5373         * sysdeps/unix/time.c: Moved ...
5374         * sysdeps/posix/time.c: ... here.
5375         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
5376         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
5378         * sysdeps/unix/nice.c: Moved ...
5379         * sysdeps/posix/nice.c: ... here.
5381         * sysdeps/unix/alarm.c: Moved ...
5382         * sysdeps/posix/alarm.c: ... here.
5384         * intl/Makefile ($(codeset_mo)): Depend on the input file.
5386 2012-08-17  Jeff Law <law@redhat.com>
5388         * intl/Makefile (codeset_mo): New variable.
5389         ($(codeset_mo)): New target.
5390         (tst-codeset.out): Depend on that.  Remove explicit rule.
5391         (tst-gettext3.out, tst-gettext5.out): Likewise.
5392         (LOCPATH-ENV, tst-codeset-ENV): New variables.
5393         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
5394         * intl/tst-codeset.sh: Remove.
5395         * intl/tst-gettext3.sh: Likewise.
5396         * intl/tst-gettext5.sh: Likewise.
5398 2012-08-17  Roland McGrath  <roland@hack.frob.com>
5400         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
5401         * sysdeps/unix/syscalls.list: ... here.
5403         * sysdeps/posix/getaddrinfo.c
5404         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
5405         (gaiconf_init, gaiconf_reload): Use them.
5406         [!_STATBUF_ST_NSEC]
5407         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
5408         Define using time_t rather than struct timespec.
5410         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
5411         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
5412         Macros removed.
5413         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
5414         [!NO_THREADS].
5415         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
5416         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
5417         Likewise.
5419         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
5420         __libc_cleanup_push argument.
5422         * bits/param.h: New file.
5423         * misc/sys/param.h: New file.
5424         * include/sys/param.h: New file.
5425         * misc/Makefile (headers): Add bits/param.h.
5426         * sysdeps/generic/sys/param.h: File removed.
5427         * sysdeps/unix/sysv/linux/bits/param.h: New file.
5428         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
5429         * sysdeps/mach/hurd/bits/param.h: New file.
5430         * sysdeps/mach/hurd/sys/param.h: File removed.
5432         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
5433         last change.
5435         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
5436         [_IO_MTSAFE_IO].
5437         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
5438         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
5439         New macros.
5441         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
5442         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
5443         rather than -D_IO_MTSAFE_IO conditionally.
5444         * stdio-common/Makefile (CPPFLAGS): Likewise.
5445         * wcsmbs/Makefile (CPPFLAGS): Likewise.
5446         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
5447         Use $(libio-mtsafe).
5448         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
5449         of -D_IO_MTSAFE_IO.
5450         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
5451         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
5452         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
5453         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
5454         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
5455         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
5456         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
5457         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
5458         (CFLAGS-fread_u_chk.c): Likewise.
5459         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
5460         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
5461         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
5462         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
5463         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
5464         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
5465         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
5466         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
5467         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
5469         * libio/Makefile: Test [$(libc-reentrant) = yes]
5470         instead of [$(filter %REENTRANT, $(defines)) nonempty].
5472         * Makeconfig
5473         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
5474         * sysdeps/pthread/configure: File removed.
5475         * sysdeps/pthread/Makeconfig: New file.
5476         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
5477         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
5479 2012-08-16  Gary Benson  <gbenson@redhat.com>
5481         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
5482         unmapping the first object in a namespace.
5484 2012-08-16  Roland McGrath  <roland@hack.frob.com>
5486         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
5487         (__internal_setnetgrent): ... this.  Add internal_function to
5488         definition.  Add libc_hidden_def.
5489         (setnetgrent): Update caller.
5490         (internal_endnetgrent): Renamed to ...
5491         (__internal_endnetgrent): ... this.  Add internal_function to
5492         definition.  Add libc_hidden_def.
5493         (endnetgrent): Update caller.
5494         (internal_getnetgrent_r): Renamed to ...
5495         (__internal_getnetgrent_r): ... this.  Add internal_function to
5496         definition.  Add libc_hidden_def.
5497         (__getnetgrent_r): Update caller.
5498         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
5500 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
5502         * stdlib/longlong.h: Update from GCC.
5504 2012-08-16  Roland McGrath  <roland@hack.frob.com>
5506         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
5507         on _QL, which is set by umul_ppmm but never used.
5508         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
5509         variables, which are set by GMP macros but never used.
5510         * stdio-common/_itowa.c (_itowa): Likewise.
5511         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
5512         * stdlib/mod_1.c (mpn_mod_1): Likewise.
5514 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
5516         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
5517         struct La_sh_regs is not constant.
5518         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
5519         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
5520         and struct La_sparc64_regs are not constant.
5522 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
5524         * sysdeps/unix/sysv/linux/kernel-features.h
5525         (__ASSUME_POSIX_TIMERS): Remove.
5526         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
5527         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5528         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
5529         Make code unconditional.
5530         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5531         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
5532         Make code unconditional.
5533         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5534         * sysdeps/unix/sysv/linux/clock_nanosleep.c
5535         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
5536         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5537         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
5538         Make code unconditional.
5539         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5540         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
5541         (__libc_missing_posix_timers): Remove.
5543 2012-08-15  Roland McGrath  <roland@hack.frob.com>
5545         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
5546         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
5548         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
5550         * elf/dl-sym.c: Include <stdlib.h>.
5552         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
5553         constants, which avoids warnings in 32-bit builds.
5555         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
5556         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
5558         * misc/lseek.c: File moved to ...
5559         * io/lseek.c: ... here.
5561         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
5563         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
5564         shifting LEN more than 31 bits at once.
5566 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5568         [BZ #14195]
5569         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
5570         segmentation fault for a case of two empty input strings.
5571         * string/test-strncasecmp.c (check1): Renamed to...
5572         (bz12205): ...this.
5573         (bz14195): Add new testcase for two empty input strings and N > 0.
5574         (test_main): Call new testcase, adapt for renamed function.
5576 2012-08-15  Andreas Jaeger  <aj@suse.de>
5578         [BZ #14090]
5579         * crypt/md5test2.c: New test, based on test supplied by Serge
5580         Belyshev <belyshev@depni.sinp.msu.ru>.
5581         * crypt/Makefile (xtests): Add md5test-giant..
5582         * crypt/Makefile ($(objpfx)md5test-giant): Add.
5584 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
5586         [BZ #14090]
5587         * crypt/md5.c (md5_process_block): Don't assume the buffer
5588         length is less than 2**32.
5589         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
5590         length is less than 2**64.
5592 2012-08-15  Roland McGrath  <roland@hack.frob.com>
5594         * string/str-two-way.h: Include <sys/param.h>.
5595         (MAX): Macro removed.
5597         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
5598         Move #define and #undef of memmove to just before and after
5599         including <string.h>.
5601         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
5602         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
5603         and after including <string.h>.  Move declarations of
5604         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
5605         to before #include "string/memmove.c".
5607         * include/dirent.h: Declare __getdirentries.
5609         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
5610         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
5612 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
5614         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
5615         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
5616         * sysdeps/i386/configure: Regenerated.
5617         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
5618         STABS_CURRENT_FILE, and STABS_FUN.
5619         (END): Remove call to STABS_FUN_END.
5620         (STABS_CURRENT_FILE1): Delete.
5621         (STABS_CURRENT_FILE): Likewise.
5622         (STABS_FUN): Likewise.
5623         (STABS_FUN_END): Likewise.
5624         (STABS_FUN2): Likewise.
5625         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
5626         * sysdeps/x86_64/configure: Regenerated.
5628 2012-08-14  Roland McGrath  <roland@hack.frob.com>
5630         * elf/dl-open.c: Include <atomic.h>.
5631         * elf/dl-lookup.c: Likewise.
5633 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
5635         * sysdeps/unix/sysv/linux/kernel-features.h
5636         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
5637         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
5638         unconditionally.
5639         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
5640         unconditionally.
5641         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
5642         condition on __ASSUME_CLONE_THREAD_FLAGS.
5644 2012-08-14  Andreas Jaeger  <aj@suse.de>
5646         * sysdeps/i386/fpu/libm-test-ulps: Update.
5648 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
5650         * include/atomic.h (atomic_exchange_and_add): Split into ...
5651         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
5652         New atomic macros.
5654 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
5656         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5658 2012-08-13  Jeff Law <law@redhat.com>
5660         * manual/stdio.texi (snprintf): Clarify handling of the trailing
5661         null byte in the output string.
5663 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
5665         * sysdeps/unix/sysv/linux/kernel-features.h
5666         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
5667         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
5668         (__ASSUME_ARG_MAX_STACK_BASED): Define.
5669         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
5670         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
5671         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
5672         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
5674 2012-08-09  Jeff Law <law@redhat.com>
5676         [BZ #13939]
5677         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
5678         When avoid_arena is set, don't retry in the that arena.  Pick the
5679         next one, whatever it might be.
5680         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
5681         (arena_lock): Pass in new parameter to arena_get2.
5682         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
5683         arena_get2.
5684         (__libc_malloc): Unify retrying after main arena failure with
5685         __libc_memalign version.
5686         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
5688 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
5690         [BZ #14166]
5691         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
5692         to __redirect_strstr.
5693         (__strstr_sse42): Use typeof __redirect_strstr.
5694         (__strstr_ia32): Likewise.
5695         (__libc_strstr): New prototype.
5696         (strstr): Renamed to ...
5697         (__libc_strstr): This.
5698         (strstr): New strong alias of __libc_strstr.
5699         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
5700         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
5701         __redirect_time.
5702         Include <time.h>.
5703         (__libc_time): New prototype.
5704         (time_ifunc): Replace time with __libc_time.
5705         (time): New strong alias and hidden definition of __libc_time.
5706         (__GI_time): Remove strong alias.
5707         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
5708         Include <stddef.h>.
5709         (memmove): Redefined to __redirect_memmove.
5710         (__memmove_sse2): Use typeof __redirect_memmove.
5711         (__memmove_ssse3): Likewise.
5712         (__memmove_ssse3_back): Likewise.
5713         (__libc_memmove): New prototype.
5714         (memmove): Renamed to ...
5715         (__libc_memmove): This.
5716         (memmove): New strong alias of __libc_memmove.
5718 2012-08-08  Mark Salter  <msalter@redhat.com>
5720         * elf/elf.h
5721         (R_MN10300_TLS_GD): Define.
5722         (R_MN10300_TLS_LD): Likewise.
5723         (R_MN10300_TLS_LDO): Likewise.
5724         (R_MN10300_TLS_GOTIE): Likewise.
5725         (R_MN10300_TLS_IE): Likewise.
5726         (R_MN10300_TLS_LE): Likewise.
5727         (R_MN10300_TLS_DTPMOD): Likewise.
5728         (R_MN10300_TLS_DTPOFF): Likewise.
5729         (R_MN10300_TLS_TPOFF): Likewise.
5730         (R_MN10300_SYM_DIFF): Likewise.
5731         (R_MN10300_ALIGN): Likewise.
5732         (R_MN10300_NUM): Update.
5734 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
5736         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
5737         Remove.
5739 2012-08-08  Roland McGrath  <roland@hack.frob.com>
5741         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
5743         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
5744         sysdeps/unix -> sysdeps/posix move.
5745         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
5747 2012-08-07      Allan McRae     <allan@archlinux.org>
5749         [BZ #14303]
5750         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
5751         (SUNOS_CPP): Likewise.
5752         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
5753         not found.
5754         (open_input): Call CPP using execvp.
5756 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
5758         * sysdeps/unix/sysv/linux/kernel-features.h
5759         (__ASSUME_PROT_GROWSUPDOWN): Remove.
5760         (__ASSUME_NO_CLONE_DETACHED): Likewise.
5761         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
5762         (__ASSUME_WAITID_SYSCALL): Likewise.
5763         * sysdeps/unix/sysv/linux/dl-execstack.c
5764         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
5765         code unconditional.
5766         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
5767         conditional code.
5768         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
5769         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
5770         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
5771         code.
5772         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
5773         unconditional.
5774         [__ASSUME_WAITID_SYSCALL]: Likewise.
5775         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
5777 2012-08-07  Roland McGrath  <roland@hack.frob.com>
5779         * sysdeps/unix/closedir.c: Renamed to ...
5780         * sysdeps/posix/closedir.c: ... here.
5781         * sysdeps/unix/dirfd.c: Renamed to ...
5782         * sysdeps/posix/dirfd.c: ... here.
5783         * sysdeps/unix/dirstream.h: Renamed to ...
5784         * sysdeps/posix/dirstream.h: ... here.
5785         * sysdeps/unix/fdopendir.c: Renamed to ...
5786         * sysdeps/posix/fdopendir.c: ... here.
5787         * sysdeps/unix/opendir.c: Renamed to ...
5788         * sysdeps/posix/opendir.c: ... here.
5789         * sysdeps/unix/readdir.c: Renamed to ...
5790         * sysdeps/posix/readdir.c: ... here.
5791         * sysdeps/unix/readdir_r.c: Renamed to ...
5792         * sysdeps/posix/readdir_r.c: ... here.
5793         * sysdeps/unix/rewinddir.c: Renamed to ...
5794         * sysdeps/posix/rewinddir.c: ... here.
5795         * sysdeps/unix/seekdir.c: Renamed to ...
5796         * sysdeps/posix/seekdir.c: ... here.
5797         * sysdeps/unix/telldir.c: Renamed to ...
5798         * sysdeps/posix/telldir.c: ... here.
5799         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
5800         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
5801         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
5802         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
5804         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
5805         * bits/fcntl.h: ... here.
5807         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
5808         not 0.
5809         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
5810         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
5811         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
5812         (struct flock): Move l_start, l_len to the beginning.
5813         Use __pid_t for l_pid.
5814         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
5815         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
5816         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
5817         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
5818         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
5819         [__USE_LARGEFILE64] (struct flock64): New type.
5820         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
5822         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
5823         * bits/dirent.h: ... here.
5825         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
5826         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
5828 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
5830         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5831         Change from 2.6.0 to 2.6.16.
5832         * sysdeps/unix/sysv/linux/configure: Regenerated.
5833         * sysdeps/unix/sysv/linux/kernel-features.h
5834         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
5835         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
5836         version.
5837         (__ASSUME_UTIMES): Likewise.
5838         (__ASSUME_CLONE_STOPPED): Remove.
5839         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
5840         architectures, not kernel version.
5841         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
5842         (__ASSUME_NO_CLONE_DETACHED): Likewise.
5843         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
5844         (__ASSUME_WAITID_SYSCALL): Likewise.
5845         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
5846         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
5847         * README: State 2.6.16 as minimum Linux kernel version.  Do not
5848         refer to older versions.
5850 2012-08-06  Roland McGrath  <roland@hack.frob.com>
5852         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
5853         Define alphasort64 as an alias.
5854         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
5855         Define versionsort64 as an alias.
5856         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
5857         Define scandir64 as an alias.
5858         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
5859         Define scandirat64 as an alias.
5860         * dirent/alphasort64.c (alphasort64):
5861         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
5862         * dirent/versionsort64.c: Likewise.
5863         * dirent/scandir64.c: Likewise.
5864         * dirent/scandirat64.c: Likewise.
5865         * sysdeps/wordsize-64/alphasort.c: File removed.
5866         * sysdeps/wordsize-64/alphasort64.c: File removed.
5867         * sysdeps/wordsize-64/scandir.c: File removed.
5868         * sysdeps/wordsize-64/scandir64.c: File removed.
5869         * sysdeps/wordsize-64/scandirat.c: File removed.
5870         * sysdeps/wordsize-64/scandirat64.c: File removed.
5871         * sysdeps/wordsize-64/versionsort.c: File removed.
5872         * sysdeps/wordsize-64/versionsort64.c: File removed.
5873         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
5874         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
5875         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
5876         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
5877         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
5878         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
5879         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
5880         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
5882         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
5883         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
5884         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
5885         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5886         [defined __arch64__ || defined __sparcv9]
5887         (__INO_T_MATCHES_INO64_T): New macro.
5888         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5889         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
5890         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
5891         * sysdeps/unix/sysv/linux/bits/dirent.h
5892         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
5893         (_DIRENT_MATCHES_DIRENT64): New macro.
5895         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
5896         Define lockf64 as an alias.
5897         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
5898         Define fseeko64 as an alias.
5899         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
5900         Define ftello64 as an alias.
5901         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
5902         Define _IO_fgetpos64 and fgetpos64 as aliases.
5903         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
5904         Define _IO_fsetpos64 and fsetpos64 as aliases.
5905         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
5906         Conditionalize body on this.
5907         * libio/fseeko64.c: Likewise.
5908         * libio/ftello64.c: Likewise.
5909         * libio/iofgetpos64.c: Likewise.
5910         * libio/iofsetpos64.c: Likewise.
5911         * sysdeps/wordsize-64/lockf.c: File removed.
5912         * sysdeps/wordsize-64/lockf64.c: File removed.
5913         * sysdeps/wordsize-64/fseeko.c: File removed.
5914         * sysdeps/wordsize-64/fseeko64.c: File removed.
5915         * sysdeps/wordsize-64/ftello.c: File removed.
5916         * sysdeps/wordsize-64/ftello64.c: File removed.
5917         * sysdeps/wordsize-64/iofgetpos.c: File removed.
5918         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
5919         * sysdeps/wordsize-64/iofsetpos.c: File removed.
5920         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
5921         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
5922         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
5923         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
5924         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
5925         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
5926         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
5927         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
5928         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
5929         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
5930         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
5932         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
5933         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
5934         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
5935         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5936         [defined __arch64__ || defined __sparcv9]
5937         (__OFF_T_MATCHES_OFF64_T): New macro.
5938         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5939         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
5940         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5941         (__OFF_T_MATCHES_OFF64_T): New macro.
5943 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
5945         * stdlib/secure-getenv.c (__secure_getenv): Replace
5946         GLIBC_2_16 with GLIBC_2_17.
5948 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
5950         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
5951         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
5953 2012-08-03  David S. Miller  <davem@davemloft.net>
5955         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5957 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
5959         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
5960         Remove.
5961         (__ASSUME_CORRECT_SI_PID): Likewise.
5962         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
5963         (__ASSUME_TMPFS_NAME): Likewise.
5964         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
5965         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
5966         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
5967         (HAVE_AUX_SECURE): Make definition unconditional.
5968         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
5969         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
5971 2012-08-03  Roland McGrath  <roland@hack.frob.com>
5973         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
5974         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
5975         * sysdeps/mach/hurd/eloop-threshold.h: New file.
5976         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
5977         __eloop_threshold instead of SYMLOOP_MAX.
5979         * sysdeps/generic/eloop-threshold.h: New file.
5980         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
5981         of MAXSYMLINKS.
5982         * elf/chroot_canon.c (chroot_canon): Likewise.
5984 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
5986         [BZ #13717]
5987         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5988         Change to 2.6.0 everywhere.
5989         * sysdeps/unix/sysv/linux/configure: Regenerated.
5990         * sysdeps/unix/sysv/linux/kernel-features.h
5991         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
5992         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
5993         kernel versions.
5994         (__ASSUME_POSIX_TIMERS): Define unconditionally.
5995         (__ASSUME_FUTEX_REQUEUE): Remove.
5996         (__ASSUME_STATFS64): Define unconditionally.
5997         (__ASSUME_AT_SECURE): Likewise.
5998         (__ASSUME_CORRECT_SI_PID): Likewise.
5999         (__ASSUME_TGKILL): Define without depending on kernel version for
6000         i386.
6001         (__ASSUME_UTIMES): Likewise.
6002         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
6003         kernel version.
6004         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
6005         (__ASSUME_TMPFS_NAME): Likewise.
6006         * README: Update reference to Linux kernel versions.
6008 2012-08-02  Marek Polacek  <polacek@redhat.com>
6010         [BZ# 14150]
6011         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
6012         libc_cv_asm_type_prefix with %.
6013         * configure: Regenerated.
6014         * include/libc-symbols.h: Remove comment about
6015         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
6016         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
6017         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
6018         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
6019         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
6020         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
6021         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
6022         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
6023         * elf/tst-unique2mod1.c: Likewise.
6024         * elf/tst-unique1mod2.c: Likewise.
6025         * elf/tst-unique1mod1.c: Likewise.
6026         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
6027         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
6028         Replace ASM_TYPE_DIRECTIVE with .type.
6029         * sysdeps/s390/s390-64/sysdep.h: Likewise.
6030         * sysdeps/i386/sysdep.h: Likewise.
6031         * sysdeps/x86_64/sysdep.h: Likewise.
6032         * sysdeps/sh/sysdep.h: Likewise.
6033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
6034         Do not define ASM_TYPE_DIRECTIVE.
6035         * sysdeps/powerpc/sysdep.h: Likewise.
6036         * sysdeps/powerpc/powerpc32/sysdep.h:
6037         Replace ASM_TYPE_DIRECTIVE with .type.
6038         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
6039         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6040         * sysdeps/i386/fpu/e_powf.S: Likewise.
6041         * sysdeps/i386/fpu/e_expl.S: Likewise.
6042         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6043         * sysdeps/i386/fpu/e_acosh.S: Likewise.
6044         * sysdeps/i386/fpu/e_pow.S: Likewise.
6045         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
6046         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6047         * sysdeps/i386/fpu/s_expm1.S: Likewise.
6048         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
6049         * sysdeps/i386/fpu/e_log2.S: Likewise.
6050         * sysdeps/i386/fpu/e_log2l.S: Likewise.
6051         * sysdeps/i386/fpu/e_scalb.S: Likewise.
6052         * sysdeps/i386/fpu/e_powl.S: Likewise.
6053         * sysdeps/i386/fpu/e_log10f.S: Likewise.
6054         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
6055         * sysdeps/i386/fpu/e_logl.S: Likewise.
6056         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
6057         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
6058         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
6059         * sysdeps/i386/fpu/e_log2f.S: Likewise.
6060         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6061         * sysdeps/i386/fpu/e_log.S: Likewise.
6062         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6063         * sysdeps/i386/fpu/e_logf.S: Likewise.
6064         * sysdeps/i386/fpu/e_log10l.S: Likewise.
6065         * sysdeps/i386/fpu/e_atanh.S: Likewise.
6066         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
6067         * sysdeps/i386/fpu/e_log10.S: Likewise.
6068         * sysdeps/i386/fpu/s_frexp.S: Likewise.
6069         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6070         * sysdeps/i386/fpu/s_asinh.S: Likewise.
6071         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
6072         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6073         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
6074         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
6075         * sysdeps/i386/i686/strtok.S: Likewise.
6076         * sysdeps/i386/i386-mcount.S: Likewise.
6077         * sysdeps/i386/strtok.S: Likewise.
6078         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
6079         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6080         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6081         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6082         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
6083         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6084         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
6085         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
6086         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6087         * sysdeps/x86_64/_mcount.S: Likewise.
6088         * sysdeps/x86_64/strtok.S: Likewise.
6089         * sysdeps/sh/_mcount.S: Likewise.
6091 2012-08-01  Roland McGrath  <roland@hack.frob.com>
6093         * libio/iofopen.c: Include <fcntl.h>.
6094         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
6095         (_IO_fopen64, fopen64): Define as aliases.
6096         * libio/iofopen64.c: Include <fcntl.h>.
6097         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
6098         Conditionalize body on this.
6099         * sysdeps/wordsize-64/iofopen.c: File removed.
6100         * sysdeps/wordsize-64/iofopen64.c: File removed.
6102 2012-08-01  Marek Polacek  <polacek@redhat.com>
6104         * libc/Makeconfig: Use elf in place of binfmt-subdir.
6105         Use dlfcn directly instead of a variable.
6106         (binfmt-subdir): Do not define.
6107         (dlfcn): Likewise.
6109 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
6111         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
6112         Remove all definitions.
6113         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
6114         <kernel-features.h>.
6115         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
6116         (miss_F_GETOWN_EX): Remove all definitions.
6117         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
6118         macro definition.
6119         [!__ASSUME_FCNTL64]: Remove conditional code.
6120         [__ASSUME_FCNTL64]: Make code unconditional.
6121         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
6122         <kernel-features.h>.
6123         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
6124         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
6125         (lockf64) [__NR_fcntl64]: Make code unconditional.
6126         (lockf64) [__ASSUME_FCNTL64]: Likewise.
6128         * sysdeps/unix/sysv/linux/kernel-features.h
6129         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
6130         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
6131         Make code unconditional.
6132         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
6133         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
6134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
6135         [__NR_vfork]: Make code unconditional.
6136         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
6137         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
6138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
6139         [__NR_vfork]: Make code unconditional.
6140         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
6141         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
6143 2012-08-01  Roland McGrath  <roland@hack.frob.com>
6145         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
6146         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
6148         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6149         Define mkstemp64 as an alias.
6150         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6151         Define mkstemps64 as an alias.
6152         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6153         Define mkostemp64 as an alias.
6154         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6155         Define mkostemps64 as an alias.
6156         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
6157         Conditionalize body on this.
6158         * misc/mkostemp64.c: Likewise.
6159         * misc/mkostemps64.c: Likewise.
6160         * misc/mkstemps64.c: Likewise.
6161         * sysdeps/wordsize-64/mkstemp64.c: File removed.
6162         * sysdeps/wordsize-64/mkostemp64.c: File removed.
6163         * sysdeps/wordsize-64/mkostemp.c: File removed.
6164         * sysdeps/wordsize-64/mkstemp.c: File removed.
6165         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
6166         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
6167         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
6168         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
6170         [BZ #14138]
6171         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
6172         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
6173         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
6174         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
6176         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
6177         compat_symbol macros from <shlib-compat.h> rather than the underlying
6178         default_symbol_version and symbol_version macros, so that DEFAULT
6179         lines in shlib-versions are respected.
6180         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
6182 2012-08-01  Florian Weimer  <fweimer@redhat.com>
6184         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
6185         Declare with warn_unused_result.
6186         (setgid, setregid, setegid, setresgid): Likewise.
6187         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
6188         Likewise.
6189         * WUR-REPORT: Remove set*id functions.
6191 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
6193         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
6195 2012-07-31  Roland McGrath  <roland@hack.frob.com>
6197         * include/sys/socket.h (__libc_accept, __libc_accept4):
6198         Add attribute_hidden.
6199         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
6201         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
6202         use of PTR_MANGLE.
6203         * inet/getnetgrent_r.c (setup): Likewise.
6205         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
6207 2012-07-31  David S. Miller  <davem@davemloft.net>
6209         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6211 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
6213         [BZ #13629]
6214         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
6215         value between 1.0 and 2.0 and smaller part has absolute value less
6216         than 1.0.
6217         * math/s_clog10.c (__clog10): Likewise.
6218         * math/s_clog10f.c (__clog10f): Likewise.
6219         * math/s_clog10l.c (__clog10l): Likewise.
6220         * math/s_clogf.c (__clogf): Likewise.
6221         * math/s_clogl.c (__clogl): Likewise.
6222         * math/libm-test.inc (clog_test): Add more tests.
6223         (clog10_test): Likewise.
6224         * sysdeps/i386/fpu/libm-test-ulps: Update.
6225         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6227 2012-07-31  Florian Weimer  <fweimer@redhat.com>
6229         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
6230         Exit with zero in case no suitable GID is found, and write a
6231         message to standard error.
6233 2012-07-30  Roland McGrath  <roland@hack.frob.com>
6235         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
6236         rather than to 1.
6237         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
6238         (MAXPATHLEN): Removed.
6239         (NOGROUP, NODEV): New macros.
6240         (setbit, clrbit, isset, isclr): New macros.
6241         (howmany, roundup, powerof2): New macros.
6242         (DEV_BSIZE): New macro.
6244         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
6245         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
6247         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
6248         definition on [!__NO_LONG_DOUBLE_MATH].
6250         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
6251         PTR_MANGLE and PTR_DEMANGLE.
6253         * socket/accept4.c (accept4): Rename to __libc_accept4.
6254         Define accept4 as a weak alias.
6256         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
6257         on [_DIRENT_HAVE_D_TYPE].
6258         * io/ftw.c (ftw_dir): Likewise.
6260         * io/xmknod.c (__xmknod): Don't check PATH for being null.
6262         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
6264         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
6265         Use the BSD numbers rather than the arbitrary ones we had.
6266         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
6267         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
6268         (SIGXCPU, SIGXFSZ): New macros.
6269         (_NSIG): Now 32.
6271         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
6272         initializer on [_LIBC_REENTRANT].
6274         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
6275         definitions inside [_POSIX_MAPPED_FILES].
6277         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
6279         * dirent/opendir.c: Include <fcntl.h>.
6281         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
6282         (__libc_getspecific): Likewise.
6283         (__libc_key_create): Likewise.
6285         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
6286         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
6287         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
6288         (tmpfile64): Define as alias.
6289         * sysdeps/wordsize-64/tmpfile.c: File removed.
6290         * sysdeps/wordsize-64/tmpfile64.c: File removed.
6291         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
6292         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
6294         * stdio-common/vfscanf.c: Include <stdbool.h>.
6295         * nss/makedb.c: Likewise.
6296         * stdio-common/_i18n_number.h: Likewise.
6297         * argp/argp-help.c: Likewise.
6298         * posix/wordexp.c: Likewise.
6299         * sysdeps/posix/spawni.c: Likewise.
6300         * nss/nss_files/files-initgroups.c: Likewise.
6301         * stdio-common/reg-modifier.c: Include <stdlib.h>.
6302         * nss/nss_files/files-initgroups.c: Likewise.
6303         * nss/nss_db/db-netgrp.c: Likewise.
6304         * nss/nss_db/db-initgroups.c: Likewise.
6305         * io/fchmodat.c: Include <sys/stat.h>.
6307         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
6308         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
6310         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
6311         [HAVE_MMAP].
6313         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
6314         Add multiple inclusion protection.
6316 2012-07-27  David S. Miller  <davem@davemloft.net>
6318         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6320 2012-07-27  Gary Benson  <gbenson@redhat.com>
6322         [BZ #14298]
6323         * elf/rtld.c: Include <stap-probe.h>.
6324         (dl_main): Added static probes "init_start" and "init_complete".
6325         * elf/dl-load.c: Include <stap-probe.h>.
6326         (lose): Take new parameter "nsid".
6327         Added static probe "map_failed".
6328         (_dl_map_object_from_fd): Pass namespace id to lose.
6329         Added static probe "map_start".
6330         (open_verify): Pass namespace id to lose.
6331         * elf/dl-open.c: Include <stap-probe.h>.
6332         (dl_open_worker) Added static probes "map_complete", "reloc_start"
6333         and "reloc_complete".
6334         * elf/dl-close.c: Include <stap-probe.h>.
6335         (_dl_close_worker): Added static probes "unmap_start" and
6336         "unmap_complete".
6337         * elf/rtld-debugger-interface.txt: New file documenting the above.
6339 2012-07-26  Roland McGrath  <roland@hack.frob.com>
6341         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
6342         rather than a string variable.
6343         * sunrpc/rpc_main.c (h_output): Likewise.
6344         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
6346 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
6348         * inet/check_native.c: New file.
6350 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
6352         [BZ #13629]
6353         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
6354         if larger part has absolute value 1.0.
6355         * math/s_clog10.c (__clog10): Likewise.
6356         * math/s_clog10f.c (__clog10f): Likewise.
6357         * math/s_clog10l.c (__clog10l): Likewise.
6358         * math/s_clogf.c (__clogf): Likewise.
6359         * math/s_clogl.c (__clogl): Likewise.
6360         * math/libm-test.inc (clog_test): Add more tests.
6361         (clog10_test): Likewise.
6362         * sysdeps/i386/fpu/libm-test-ulps: Update.
6363         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6365         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
6366         (pltexit): Likewise.
6367         (La_regs): Likewise.
6368         (La_retval): Likewise.
6369         (int_retval): Likewise.
6370         Update #error for removed macros to refer only to definitions in
6371         tst-audit.h.
6372         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
6373         macro.
6374         (pltexit): Likewise.
6375         (La_regs): Likewise.
6376         (La_retval): Likewise.
6377         (int_retval): Likewise.
6378         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
6379         macro.
6380         (pltexit): Likewise.
6381         (La_regs): Likewise.
6382         (La_retval): Likewise.
6383         (int_retval): Likewise.
6384         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
6385         macro.
6386         (pltexit): Likewise.
6387         (La_regs): Likewise.
6388         (La_retval): Likewise.
6389         (int_retval): Likewise.
6390         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
6391         macro.
6392         (pltexit): Likewise.
6393         (La_regs): Likewise.
6394         (La_retval): Likewise.
6395         (int_retval): Likewise.
6396         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
6397         macro.
6398         (pltexit): Likewise.
6399         (La_regs): Likewise.
6400         (La_retval): Likewise.
6401         (int_retval): Likewise.
6402         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
6403         macro.
6404         (pltexit): Likewise.
6405         (La_regs): Likewise.
6406         (La_retval): Likewise.
6407         (int_retval): Likewise.
6408         * sysdeps/generic/tst-audit.h: Update comment to refer only to
6409         macro definitions in tst-audit.h.
6410         * sysdeps/i386/tst-audit.h: New file.
6411         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
6412         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
6413         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
6414         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
6415         * sysdeps/sh/tst-audit.h: Likewise.
6416         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
6417         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
6418         * sysdeps/x86_64/tst-audit.h: Likewise.
6420 2012-07-26  Andreas Jaeger  <aj@suse.de>
6422         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
6423         ptrace.
6425         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
6426         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
6427         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
6428         PTRACE_O_MASK.
6429         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
6430         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
6431         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
6433         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
6434         value.
6436         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
6437         _sigsys.
6438         (si_call_addr, si_syscall, si_arch): Define new macro.
6439         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
6440         _sigsys.
6441         (si_call_addr, si_syscall, si_arch): Define new marcro.
6442         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
6443         _sigsys.
6444         (si_call_addr, si_syscall, si_arch): Define new macro.
6445         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
6446         _sigsys.
6447         (si_call_addr, si_syscall, si_arch): Define new macro.
6449 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
6451         [BZ #13717]
6452         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6453         Change to 2.4.21 where previously 2.4.1.
6454         * sysdeps/unix/sysv/linux/configure: Regenerated.
6455         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
6456         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
6457         Linux kernel version.
6458         (__ASSUME_STD_AUXV): Remove.
6459         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
6460         kernel version.
6461         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
6462         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
6463         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
6464         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
6465         (__ASSUME_NETLINK_SUPPORT): Likewise.
6466         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
6467         (__no_netlink_support): Remove conditional definition.
6468         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
6469         Remove.
6470         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
6471         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
6472         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
6473         (if_nameindex_ioctl): Remove.
6474         (if_nameindex_netlink): Do not handle __no_netlink_support.
6475         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
6476         code.
6477         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
6478         Remove conditional code.
6479         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
6480         code.
6481         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
6482         unconditional.
6483         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
6484         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
6485         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
6486         Remove.
6487         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
6488         [!__ASSUME_STD_AUXV]: Remove conditional code.
6489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
6490         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
6491         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
6492         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
6493         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
6494         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
6495         code.
6496         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
6497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
6498         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
6499         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
6500         conditional code.
6501         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
6502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
6503         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
6504         code.
6505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
6506         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
6507         conditional code.
6508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
6509         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6510         code unconditional.
6511         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6512         conditional code.
6513         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6514         unconditional.
6515         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6516         conditional code.
6517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6518         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6519         unconditional.
6520         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6521         conditional code.
6522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
6523         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6524         code unconditional.
6525         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6526         conditional code.
6527         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6528         unconditional.
6529         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6530         conditional code.
6531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
6532         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6533         code unconditional.
6534         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6535         conditional code.
6536         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6537         unconditional.
6538         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6539         conditional code.
6541 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
6543         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
6544         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
6545         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6546         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
6547         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
6548         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
6549         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
6550         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
6551         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
6552         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
6553         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
6554         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
6555         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
6556         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
6557         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
6558         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
6559         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
6560         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
6561         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
6562         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
6563         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
6564         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
6565         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
6567 2012-07-25  Florian Weimer  <fweimer@redhat.com>
6569         * Versions.def: Add GLIBC_2.17.
6570         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
6571         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
6572         Introduce __libc_secure_getenv.
6573         * stdlib/Versions (2.17): Add secure_getenv
6574         (GLIBC_PRIVATE): Add __libc_secure_getenv.
6575         * stdlib/secure-getenv.c: Rename __secure_getenv to
6576         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
6577         symbol __secure_getenv for GLIBC_2.0.
6578         * stdlib/tst-secure-getenv.c: New.
6579         * stdlib/Makefile (tests): Add testcase.
6580         * manual/startup.texi (Environment Access): Document
6581         secure_getenv.
6582         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
6583         __libc_secure_getenv.
6584         * inet/ruserpass.c (ruserpass): Likewise.
6585         * malloc/mtrace.c (mtrace): Likewise.
6586         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
6587         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
6588         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
6589         * sysdeps/posix/tempname.c: Likewise.  Evaluate
6590         HAVE_SECURE_GETENV.
6591         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
6592         __secure_getenv to __libc_secure_getenv.
6593         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
6594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6595         Likewise.
6596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6597         Likewise.
6598         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
6599         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
6600         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6601         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
6602         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
6603         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6604         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
6606 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
6608         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
6609         (struct La_i86_retval): Likewise.
6610         (struct La_x86_64_regs): Likewise.
6611         (struct La_x86_64_retval): Likewise.
6612         (struct La_x32_regs): Likewise.
6613         (struct La_x32_retval): Likewise.
6614         (struct La_ppc32_regs): Likewise.
6615         (struct La_ppc32_retval): Likewise.
6616         (struct La_ppc64_regs): Likewise.
6617         (struct La_ppc64_retval): Likewise.
6618         (struct La_sh_regs): Likewise.
6619         (struct La_sh_retval): Likewise.
6620         (struct La_s390_32_regs): Likewise.
6621         (struct La_s390_32_retval): Likewise.
6622         (struct La_s390_64_regs): Likewise.
6623         (struct La_s390_64_retval): Likewise.
6624         (struct La_sparc32_regs): Likewise.
6625         (struct La_sparc32_retval): Likewise.
6626         (struct La_sparc64_regs): Likewise.
6627         (struct La_sparc64_retval): Likewise.
6628         (struct audit_ifaces): Remove architecture-specific pltenter and
6629         pltexit members.
6630         * sysdeps/i386/ldsodefs.h: New file.
6631         * sysdeps/powerpc/ldsodefs.h: Likewise.
6632         * sysdeps/s390/ldsodefs.h: Likewise.
6633         * sysdeps/sh/ldsodefs.h: Likewise.
6634         * sysdeps/sparc/ldsodefs.h: Likewise.
6635         * sysdeps/x86_64/ldsodefs.h: Likewise.
6637 2012-07-25  Marek Polacek  <polacek@redhat.com>
6639         [BZ #6808]
6640         * math/libm-test.inc (yn_test): Add another test.
6641         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
6642         to ERANGE when the result is +-Inf.
6643         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
6644         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
6645         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
6646         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
6648 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
6650         * conform/data/time.h-data (NULL): Use macro-constant.  Require
6651         equal to 0.
6652         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
6653         clock_t.
6654         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
6656 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
6658         * configure.in <sysdeps resolving>: Correct printing
6659         Implies_before.
6660         * configure: Regenerate.
6662 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
6664         * math/w_ilogb.c: Include <limits.h>.
6665         * math/w_ilogbl.c: Likewise.
6667 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
6669         * manual/lang.texi (__va_copy): Document primarily as ISO C99
6670         va_copy.  Document allowing for unavailable va_copy only as
6671         pre-C99 compatibility.
6672         * manual/string.texi (Copying and Concatenation): Use va_copy
6673         instead of __va_copy in concat example.
6675 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
6677         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
6678         (__sendto): Use create_address_port.  Initialize APORT and deallocate
6679         it if not null.
6681         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
6682         with O_NOLINK passed to __file_name_lookup.
6684         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
6685         with O_NOLINK passed to __file_name_lookup.
6687         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
6688         negative N or less than NGIDS.
6690         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
6691         type to string_t.  Set ERANGE as errno and return it if NAME is not big
6692         enough.  Use memcpy instead of strncpy.
6694 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
6696         * elf/Makefile (check-data): Remove.
6697         (localplt.data): New vpath directive.
6698         ($(objpfx)check-localplt.out): Use localplt.data from vpath
6699         instead of $(check-data).
6700         * scripts/data/localplt-generic.data: Move to ...
6701         * sysdeps/generic/localplt.data: ... here.
6702         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
6703         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
6704         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
6705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
6706         ... here.
6707         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
6708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
6709         ... here.
6710         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
6711         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
6712         ... here.
6713         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
6714         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
6715         ... here.
6716         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
6717         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
6718         ... here.
6719         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
6720         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
6721         ... here.
6723 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6725         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
6726         PPC32 and PPC64 files.
6727         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
6728         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
6730 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6732         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
6733         __makecontext_ret to ...
6734         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
6735         ... here and call exit if uc_link is NULL.  New file.
6736         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
6737         __makecontext_ret.S.
6738         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
6739         __makecontext_ret to ...
6740         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
6741         ... here and call exit if uc_link is NULL.  New file.
6742         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
6743         __makecontext_ret.S.
6745 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6747         * elf/elf.h (R_390_IRELATIVE): New definition.
6748         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
6749         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
6750         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
6751         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
6752         (elf_machine_lazy_rel): Likewise.
6753         * sysdeps/s390/dl-irel.h: New file.
6754         * sysdeps/s390/s390-64/memcpy.S: New asm code.
6755         * sysdeps/s390/s390-64/memset.S: New asm code.
6756         * sysdeps/s390/s390-64/memcmp.S: New asm code.
6757         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
6758         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
6759         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
6760         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
6761         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
6762         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
6763         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
6764         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
6765         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
6766         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
6767         * sysdeps/s390/s390-32/memcpy.S: New asm code.
6768         * sysdeps/s390/s390-32/memset.S: New asm code.
6769         * sysdeps/s390/s390-32/memcmp.S: New asm code.
6771 2012-07-17  Marek Polacek  <polacek@redhat.com>
6773         [BZ #14349]
6774         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
6775         * sysdeps/s390/s390-64/configure.in: Likewise.
6776         * sysdeps/sparc/configure.in: Likewise.
6777         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
6778         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
6779         * sysdeps/i386/configure.in: Likewise.
6780         * sysdeps/x86_64/configure.in: Likewise.
6781         * sysdeps/sh/configure.in: Likewise.
6782         * sysdeps/s390/s390-32/configure: Regenerated.
6783         * sysdeps/s390/s390-64/configure: Likewise.
6784         * sysdeps/x86_64/configure: Likewise.
6785         * sysdeps/sh/configure: Likewise.
6786         * sysdeps/powerpc/powerpc64/configure: Likewise.
6787         * sysdeps/powerpc/powerpc32/configure: Likewise.
6788         * sysdeps/sparc/configure: Likwise.
6789         * sysdeps/i386/configure: Likewise.
6791         * elf/dl-open.c: Comment fixes.
6793 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
6795         * Makefile [CXX] (check-data): Remove.
6796         [CXX] (c++-types.data): New vpath directive.
6797         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
6798         vpath.  Do not allow for C++ type data being missing.
6799         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
6800         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
6801         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
6802         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
6803         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
6804         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
6805         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
6806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
6807         ... here.
6808         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
6809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
6810         ... here.
6811         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
6812         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
6813         ... here.
6814         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
6815         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
6816         ... here.
6817         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
6818         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
6819         ... here.
6820         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
6821         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
6822         ... here.
6823         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
6824         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
6825         ... here.
6826         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
6827         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
6829         * elf/tls-macros.h (TLS_LE): Move architecture-specific
6830         definitions to architecture-specific files.
6831         (TLS_IE): Likewise.
6832         (TLS_LD): Likewise.
6833         (TLS_GD): Likewise.
6834         * sysdeps/i386/tls-macros.h: New file.
6835         * sysdeps/powerpc/tls-macros.h: Likewise.
6836         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
6837         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
6838         * sysdeps/sh/tls-macros.h: Likewise.
6839         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
6840         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
6841         * sysdeps/x86_64/tls-macros.h: Likewise.
6843 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
6845         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
6846         zero value for regular exit case.
6848         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
6849         (__start_context): Preserve zero value for regular exit case.
6851 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
6852             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6854         * manual/setjmp.texi (setcontext): Clarify normal process
6855         termination when uc_link is the null pointer.
6856         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
6857         exit call.
6859 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
6861         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
6862         preprocessor.  Test for each exception mask separately.
6864 2012-07-16  Andreas Jaeger  <aj@suse.de>
6866         * po/ru.po: Update from translation team.
6868 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
6870         * conform/data/string.h-data (NULL): Use macro-constant.  Require
6871         equal to 0.
6872         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
6873         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
6874         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
6875         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
6876         [ISO || ISO99 || ISO11] (*_t): Do not allow.
6878 2012-07-13  Andreas Jaeger  <aj@suse.de>
6880         * po/fr.po: Update from translation team.
6882 2012-07-12  Marek Polacek  <polacek@redhat.com>
6884         [BZ #14173]
6885         * math/libm-test.inc (yn_test): Add test for BZ #14173.
6886         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
6887         loop condition.
6889 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
6891         [BZ #13717]
6892         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6893         Change to 2.4.1 where previously 2.4.0.
6894         * sysdeps/unix/sysv/linux/configure: Regenerated.
6895         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
6896         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
6897         version.
6898         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
6899         (__ASSUME_AT_CLKTCK): Remove.
6900         (__ASSUME_AT_PAGESIZE): Likewise.
6901         (__ASSUME_AT_XID): Likewise.
6902         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
6903         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
6904         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
6905         unconditionally.
6906         (HAVE_AUX_PAGESIZE): Likewise.
6907         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
6908         [__ASSUME_AT_CLKTCK]: Make code unconditional.
6909         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
6911 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
6913         [BZ #14307]
6914         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
6915         the temporary buffer used to invoke __gethostbyname2_r,
6916         __gethostbyaddr_r and gethostbyname4_r to make room for struct
6917         host_data / struct gaih_addrtuple.
6918         * resolv/nss_dns/dns-host.c (global scope): Move definition of
6919         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
6920         header file nss/nsswitch.h.
6921         * nss/nsswitch.h (global scope): Add definition of implementation
6922         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
6923         resolv/nss_dns/dns-host.c).
6925 2012-07-11  Andreas Jaeger  <aj@suse.de>
6927         * po/fr.po: Update from translation team.
6929         * po/sv.po: Update from translation team
6930         * po/fr.po: Another update from translation team.
6932 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6934         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
6935         for subnormals or multiply small sinh result by itself.
6936         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6937         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6939 2012-07-11  David S. Miller  <davem@davemloft.net>
6941         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6943 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
6945         [BZ #14347]
6946         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
6947         (INTERNAL_MARK): Shift it here.
6949 2012-07-10  Marek Polacek  <polacek@redhat.com>
6951         [BZ #14151]
6952         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
6953         libc_cv_asm_global_directive with .globl.
6954         * configure: Regenerated.
6955         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
6956         with .globl.
6957         * sysdeps/i386/configure: Regenerated.
6958         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
6959         with .globl.
6960         * sysdeps/x86_64/configure: Regenerated.
6961         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
6962         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
6963         * elf/tst-unique2mod2.c: Likewise.
6964         * elf/tst-unique2mod1.c: Likewise.
6965         * elf/tst-unique1mod2.c: Likewise.
6966         * elf/tst-unique1mod1.c: Likewise.
6967         * sysdeps/s390/s390-32/sysdep.h: Likewise.
6968         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
6969         * sysdeps/s390/s390-64/sysdep.h: Likewise.
6970         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6971         * sysdeps/mach/sysdep.h: Likewise.
6972         * sysdeps/i386/sysdep.h: Likewise.
6973         * sysdeps/i386/i386-mcount.S: Likewise.
6974         * sysdeps/x86_64/_mcount.S: Likewise.
6975         * sysdeps/x86_64/sysdep.h: Likewise.
6976         * sysdeps/sh/_mcount.S: Likewise.
6977         * sysdeps/sh/sysdep.h: Likewise.
6978         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
6979         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
6980         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
6981         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6982         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
6983         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
6984         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
6985         * locale/localeinfo.h: Likewise.
6986         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
6987         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
6989 2012-07-09  Roland McGrath  <roland@hack.frob.com>
6991         [BZ #14336]
6992         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
6993         system".
6994         * manual/message.texi (The Uniforum approach): Likewise.
6995         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
6996         (glibc iconv Implementation): Likewise.
6998 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
7000         [BZ #14337]
7001         * math/s_clog.c (__clog): Avoid scaling a value down where that
7002         could result in underflow.
7003         * math/s_clog10.c (__clog10): Likewise.
7004         * math/s_clog10f.c (__clog10f): Likewise.
7005         * math/s_clog10l.c (__clog10l): Likewise.
7006         * math/s_clogf.c (__clogf): Likewise.
7007         * math/s_clogl.c (__clogl): Likewise.
7008         * math/libm-test.inc (clog_test): Add more tests.
7009         (clog10_test): Likewise.
7010         * sysdeps/i386/fpu/libm-test-ulps: Update.
7011         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7013 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
7015         [BZ #14283]
7016         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
7017         by 7 not 8 to examine high bit of fractional part.
7019         [BZ #14042]
7020         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
7021         for call to __mcount_internal.
7022         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
7023         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
7024         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
7026 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
7028         [BZ #14154]
7029         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
7030         approximation for values within 0x1p-13f of an odd multiple of
7031         pi/4.
7032         * math/libm-test.inc (tan_test): Do not allow spurious underflow
7033         exception.  Add more tests.
7034         * sysdeps/i386/fpu/libm-test-ulps: Update.
7036         [BZ #6778]
7037         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
7038         inputs and return -1 for them.  Do not check for +Inf in case not
7039         reachable for +Inf.
7040         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
7041         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
7042         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
7043         and return -1 for them.  Do not check for +Inf in case not
7044         reachable for +Inf.
7045         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
7046         define.
7047         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
7048         and return -1 for them.  Do not check for +Inf in case not
7049         reachable for +Inf.
7050         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
7051         spurious underflow.
7052         * sysdeps/i386/fpu/libm-test-ulps: Update.
7053         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7055 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
7057         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
7059 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
7061         [BZ #14157]
7062         [BZ #14331]
7063         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
7064         could result in spurious underflow.  Scale down values above
7065         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
7066         * math/s_csqrtf.c (__csqrtf): Likewise.
7067         * math/s_csqrtl.c (__csqrtl): Likewise.
7068         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
7069         spurious underflow.
7070         * sysdeps/i386/fpu/libm-test-ulps: Update.
7071         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7073 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
7075         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
7076         xopen-msg.sed.
7077         * catgets/xopen-msg.awk: New file.
7078         * catgets/xopen-msg.sed: Removed.
7080         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
7081         po2text.sed.
7082         * intl/po2test.awk: New file.
7083         * intl/po2test.sed: Removed.
7085 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
7087         [BZ #14328]
7088         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
7089         or multiply small sinh result by itself.
7090         * math/s_ctanf.c (__ctanf): Likewise.
7091         * math/s_ctanh.c (__ctanh): Likewise.
7092         * math/s_ctanhf.c (__ctanhf): Likewise.
7093         * math/s_ctanhl.c (__ctanhl): Likewise.
7094         * math/s_ctanl.c (__ctanl): Likewise.
7095         * math/libm-test.inc (ctan_test_tonearest): New function.
7096         (ctan_test_towardzero): Likewise.
7097         (ctan_test_downward): Likewise.
7098         (ctan_test_upward): Likewise.
7099         (ctanh_test_tonearest): Likewise.
7100         (ctanh_test_towardzero): Likewise.
7101         (ctanh_test_downward): Likewise.
7102         (ctanh_test_upward): Likewise.
7103         (main): Call these new functions.
7104         * sysdeps/i386/fpu/libm-test-ulps: Update.
7105         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7107 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
7109         * .gitignore: Delete /ports entry.
7111 2012-07-03  Andreas Jaeger  <aj@suse.de>
7113         * po/bg.po: Update from translation team.
7114         * po/cs.po: Likewise.
7115         * po/de.po: Likewise.
7116         * po/hr.po: Likewise.
7117         * po/nl.pl: Likewise.
7118         * po/pl.po: Likewise.
7119         * po/vi.po: Likewise.
7121 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
7123         * Makeconfig [!+link] (+link-before-libc): New variable.
7124         [!+link] (+link-after-libc): Likewise.
7125         [!+link] (+link-tests): Likewise.
7126         [!+link] (+link): Define in terms of $(+link-before-libc) and
7127         $(+link-after-libc).
7128         [!+link-static] (+link-static-before-libc): New variable.
7129         [!+link-static] (+link-static-after-libc): Likewise.
7130         [!+link-static] (+link-static-tests): Likewise.
7131         [!+link-static] (+link-static): Define in terms of
7132         $(+link-static-before-libc) and $(+link-static-after-libc).
7133         [build-shared] (link-libc-before-gnulib): New variable.
7134         [build-shared] (link-libc-tests): Likewise.
7135         [build-shared] (link-libc): Define in terms of
7136         $(link-libc-before-gnulib).
7137         [!build-shared] (link-libc-tests): New variable.
7138         (link-libc-static-tests): New variable.
7139         [!gnulib] (gnulib-arch): New variable.
7140         [!gnulib] (gnulib-tests): Likewise.
7141         [!gnulib] (static-gnulib-arch): Likewise.
7142         [!gnulib] (static-gnulib-tests): Likewise.
7143         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
7144         Define with "=" instead of ":=".
7145         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
7146         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
7147         * Rules (binaries-all-notests): New variable.
7148         (binaries-all-tests): Likewise.
7149         (binaries-static-notests): Likewise.
7150         (binaries-static-tests): Likewise.
7151         (binaries-all): Define using $(binaries-all-notests) and
7152         $(binaries-all-tests).
7153         (binaries-static): Define using $(binaries-static-notests) and
7154         $(binaries-static-tests).
7155         (binaries-shared-tests): New variable.
7156         (binaries-shared-notests): Likewise.
7157         (binaries-shared): Remove variable.
7158         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
7159         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
7160         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
7161         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
7162         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
7163         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
7164         * elf/Makefile (sln-modules): New variable.
7165         (extra-objs): Add $(sln-modules:=.o).
7166         (ldconfig-modules): Add static-stubs.
7167         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
7168         * elf/static-stubs.c: New file.
7170         [BZ #14283]
7171         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
7172         by 7 not 8 to examine high bit of fractional part.  Use volatile
7173         variables when splitting into final array of floats if
7174         __FLT_EVAL_METHOD__ != 0.
7175         * math/libm-test.inc (cos_test): Add another test.
7176         (sin_test): Likewise.
7177         * sysdeps/i386/fpu/libm-test-ulps: Update.
7179         [BZ #14273]
7180         * math/libm-test.inc (cosh_test): Add more tests.
7182         * version.h (RELEASE): Set to "development".
7183         (VERSION): Set to "2.16.90".
7185 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
7187         * NEWS: Update copyright. Remove last-updated date.
7188         Mention math library bug fixes and timezone data changes.
7189         * README: Mention GNU/Hurd, x32, and HPPA support status.
7191 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
7193         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
7195 2012-06-27  Andreas Jaeger  <aj@suse.de>
7197         * manual/contrib.texi (Contributors): Add Samuel Thibault.
7199 2012-06-25  Andreas Jaeger  <aj@suse.de>
7201         * sysdeps/s390/fpu/libm-test-ulps: Update.
7203 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
7204             Thomas Schwinge  <thomas@codesourcery.com>
7206         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
7207         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
7208         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
7209         fanotify_mark.
7211 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
7213         * sysdeps/mach/start.c: Remove file.
7214         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
7215         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
7216         * sysdeps/sh/init-first.c: Likewise.
7218         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
7219         registers for frame unwinding purposes, add CFI directives.
7220         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
7221         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
7222         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
7223         Likewise.
7225         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
7226         __fortify_fail returning.
7227         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
7229         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
7230         sysdeps/sh/____longjmp_chk.S.
7231         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
7232         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
7233         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
7234         (gen-as-const-headers): Append sigaltstack-offsets.sym.
7236         * sysdeps/sh/abort-instr.h: New file.
7237         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
7238         process in case exit returns.
7240         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
7241         initialize the GOT register before use.
7243         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
7244         calculation of ARGC > 4.
7246         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
7247         meaningful names to some local labels.
7249 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
7250             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7252         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
7253         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
7254         (__arch_compare_and_exchange_val_16_acq): Likewise.
7255         (__arch_compare_and_exchange_val_32_acq): Likewise.
7256         (atomic_exchange_and_add): Fix gUSA sequence.
7257         (atomic_add): Likewise.
7258         (atomic_add_negative): Likewise.
7259         (atomic_add_zero): Likewise.
7260         (atomic_bit_test_set): Likewise.
7262 2012-06-22  Andreas Schwab  <schwab@redhat.com>
7264         [BZ #13579]
7265         * include/link.h (struct link_map): Add l_free_initfini.
7266         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
7267         l_initfini.
7268         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
7269         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
7270         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
7271         set.
7273 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
7275         * configure.in: Use AC_LANG_SOURCE.
7276         * configure: Regenerate.
7278 2012-06-22  Roland McGrath  <roland@hack.frob.com>
7280         * configure.in (libc_cv_localstatedir): New substituted variable.
7281         * configure: Regenerated.
7282         * config.make.in (localstatedir): New variable, substituted from
7283         libc_cv_localstatedir.
7284         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
7285         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
7286         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
7287         * sysdeps/gnu/configure: Regenerated.
7289 2012-06-21  Jeff Law  <law@redhat.com>
7291         [BZ #14277]
7292         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
7293         free.  Simplify list management for _LIBC case.
7295 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
7297         [BZ #14273]
7298         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
7299         Clear sign bit of 64-bit integer value before comparing against
7300         overflow value.
7302         * sysdeps/mach/configure: Regenerated.
7304 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
7306         [BZ #14278]
7307         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
7309 2012-06-21  Jeff Law  <law@redhat.com>
7311         [BZ #13882]
7312         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
7313         uint16_t for elements in the "seen" array to avoid char overflows.
7314         * elf/dl-fini.c (_dl_sort_fini): Likewise.
7315         * elf/dl-open.c (dl_open_worker): Likewise.
7317 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
7319         * scripts/list-sources.sh: Scan PORTS for translations.
7320         * po/libc.pot: Regenerated.
7322 2012-06-21  Andreas Jaeger  <aj@suse.de>
7324         [BZ #12194]
7325         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
7326         warning.
7327         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
7328         * bits/byteswap-16.h (__bswap_16): Likewise.
7329         * bits/byteswap.h (__bswap_constant_16): Likewise.
7331 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
7333         [BZ #14117]
7334         * sysdeps/i386/fpu_control.h: Removed.
7335         * sysdeps/x86_64/fpu_control.h: Moved to ...
7336         * sysdeps/x86/fpu_control.h: Here.
7338         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
7339         (_FPU_SETCW): Likewise.
7341 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
7343         [BZ #14117]
7344         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
7345         * sysdeps/x86/fpu/bits/mathinline.h: This.
7346         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
7348         [BZ #14050]
7349         [BZ #14117]
7350         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
7351         functions if __x86_64__ is defined.
7353 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
7355         * string/endian.h: Add !__ASSEMBLER__ condition for including
7356         conversion interfaces.
7358 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
7360         [BZ #14241]
7361         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
7362         of ABS(x) in calculating zero to negative powers other than odd
7363         integers.
7364         * math/libm-test.inc (pow_test): Add more tests.
7366 2012-06-15  Andreas Jaeger  <aj@suse.de>
7368         * manual/contrib.texi (Contributors): Update entry of Liubov
7369         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
7370         Machado Filho.
7372 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
7374         * string/string.h: Add __wur to GNU version of strerror_r.
7376 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
7378         [BZ #14229]
7379         * string/Makefile (tests): Add tst-strtok_r.
7380         * string/tst-strtok_r.c: New file.
7381         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
7382         RAX_LP/RDX_LP on SAVE_PTR.
7384 2012-06-14  Roland McGrath  <roland@hack.frob.com>
7386         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
7388 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
7390         * libm_test.inc (csqrt_test): Allow more spurious underflow
7391         exceptions.
7392         (j0_test): Likewise.
7393         (j1_test): Likewise.
7394         (y0_test): Likewise.
7395         (y1_test): Likewise.
7397 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
7399         * po/Makefile (libc.pot): Use UTF-8 charset.
7401 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
7403         [BZ #14210]
7404         Suppress sign-conversion warning from FD_SET.
7405         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
7406         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
7407         not unsigned long int.
7408         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
7410 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
7412         [BZ #14050]
7413         [BZ #14117]
7414         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
7415         __extern_always_inline instead of __extern_inline.
7416         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
7417         (__signbit): Likewise.
7418         (__signbitl): Support C++ namespace.
7419         (lrintf): New inline function.
7420         (lrint): Likewise.
7421         (llrintf): Likewise.
7422         (llrint): Likewise.
7423         (fmaxf): Likewise.
7424         (fmax): Likewise.
7425         (fminf): Likewise.
7426         (fmin): Likewise.
7427         (rint): Likewise.
7428         (rintf): Likewise.
7429         (ceil): Likewise.
7430         (ceilf): Likewise.
7431         (floor): Likewise.
7432         (floorf): Likewise.
7433         (nearbyint): Likewise.
7434         (nearbyintf): Likewise.
7436 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
7438         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
7439         non-default versions.
7441 2012-06-11  Roland McGrath  <roland@hack.frob.com>
7443         [BZ #14218]
7444         * manual/argp.texi (Argp): Reword argp_parse description slightly.
7446 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
7448         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
7449         (FE_UPWARD, FE_DOWNWARD): Don't define.
7450         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
7451         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7453         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
7454         reading it.
7455         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
7456         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
7458 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7460         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
7461         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
7462         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
7463         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
7465 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
7467         [BZ #14117]
7468         * sysdeps/i386/fpu/bits/fenv.h: Removed.
7469         * sysdeps/i386/fpu/Implies: New file.
7470         * sysdeps/x86_64/fpu/Implies: Likewise.
7471         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
7472         * sysdeps/x86/fpu/bits/fenv.h: This.
7474         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
7475         __SSE_MATH__.
7477 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
7479         [BZ #14134]
7480         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
7481         character 0xffff that matches the last element of the
7482         conversion table.
7484 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7486         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
7487         fmodl commit.
7489 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7491         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
7492         values higher than 25.6283.
7494 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7496         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
7497         subnormal exponent extraction and add some __builtin_expect.
7498         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
7499         Fix for subnormal mantissa calculation.
7501 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
7503         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
7504         cpu2 is -1 and errno is not ENOSYS.
7506 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
7508         [BZ #14117]
7509         * sysdeps/i386/i486/bits/string.h: Renamed to ...
7510         * sysdeps/x86/bits/string.h: This.
7511         * sysdeps/x86_64/bits/string.h: Removed.
7513         * sysdeps/i386/i486/bits/string.h: Define inline functions only
7514         if not compiling for x86-64, but compiling for >= i486.
7516         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
7517         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
7519         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
7520         New macro from Linux kernel 3.4.0.
7521         (FP_XSTATE_MAGIC2): Likewise.
7522         (FP_XSTATE_MAGIC2_SIZE): Likewise.
7523         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
7524         (struct _fpx_sw_bytes): New struct.
7525         (struct _xsave_hdr): Likewise.
7526         (struct _ymmh_state): Likewise.
7527         (struct _xstate): Likewise.
7529         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
7530         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
7531         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
7532         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
7533         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
7534         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
7536         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
7537         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
7538         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
7539         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
7540         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
7541         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
7543 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7545         [BZ #13743]
7546         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
7547         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
7548         (sysdep_headers): Include sys/platform/ppc.h.
7549         * sysdeps/powerpc/test-gettimebase.c: Test for
7550         __ppc_get_timebase() to catch future ISA opcode/insn changes.
7551         * manual/Makefile (appendices): Include platform.texi.
7552         * manual/contrib.texi (Contributors): Update @node pointers.
7553         * manual/maint.texi (Maintenance): Likewise.
7554         (Platform): New node.
7555         * manual/platform.texi: New file.  Document the new features.
7557 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
7558             Jakub Jelinek  <jakub@redhat.com>
7560         [BZ #14188]
7561         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
7562         where __builtin_expect is unavailable.
7564 2012-06-03  David S. Miller  <davem@davemloft.net>
7566         * stdlib/longlong.h: Updated from GCC.
7568 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
7570         [BZ #14042]
7571         * sysdeps/powerpc/powerpc32/mcount.c: New file.
7572         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
7573         __mcount_internal.
7574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
7575         (GLIBC_2.16): Likewise.
7577 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
7579         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
7581 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
7583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
7584         (default-abi): New variable.
7585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
7586         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
7587         variable.
7588         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
7589         Likewise.
7590         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
7591         Likewise.
7592         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
7593         Likewise.
7595         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
7596         definition.  Document in comment.
7598 2012-06-01  David S. Miller  <davem@davemloft.net>
7600         * stdlib/longlong.h: Updated from GCC.
7602 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
7604         [BZ #14117]
7605         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
7606         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
7607         sys/debugreg.h sys/io.h here.
7608         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
7609         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
7610         sys/io.h.
7611         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
7612         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
7613         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
7614         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
7615         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
7616         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
7618         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
7619         Define only if __x86_64__ is defined.
7621 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
7623         [BZ #14048]
7624         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
7625         Use int64_t for variable i.
7626         * math/libm-test.inc (fmod_test): Add more tests.
7628         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
7629         z computation is not scheduled after fetestexcept.
7630         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
7631         Use math_force_eval instead of asm to ensure calculation scheduled
7632         before exception test.
7633         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
7634         Ensure a1 + u.d computation is not scheduled after fetestexcept.
7636 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
7638         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
7639         computation is not scheduled after fetestexcept.
7641 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
7643         [BZ #14117]
7644         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
7645         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
7647 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7649         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
7650         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7652 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
7654         [BZ #14117]
7655         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
7656         <bits/wordsize.h>.
7657         (__WCHAR_MIN): Support __WORDSIZE == 64.
7658         (__WCHAR_MAX): Likewise.
7660         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
7661         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
7663         [BZ #14183]
7664         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
7665         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
7667         [BZ #14117]
7668         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
7669         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
7671         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
7672         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
7674         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
7675         Defined to 1 if __x86_64__ isn't defined.
7676         (_STAT_VER_LINUX_OLD): New.
7677         (st_atime): Remove duplicate.
7678         (st_mtime): Likewise.
7679         (st_ctime): Likewise.
7681 2012-05-31  David S. Miller  <davem@davemloft.net>
7683         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
7684         entries.
7686 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
7688         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
7689         gen-libm-test.pl.
7691         [BZ #14132]
7692         * elf/dl-reloc.c: Include <_itoa.h>.
7693         (_dl_reloc_bad_type): Remove use of INTUSE.
7694         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
7695         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
7696         * stdio-common/psiginfo.c (psiginfo): Likewise.
7697         * stdio-common/psignal.c (psignal): Likewise.
7698         * string/strsignal.c (strsignal): Likewise.
7699         * include/signal.h (_sys_siglist): Declare hidden proto.
7700         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
7701         INTVARDEF with libc_hidden_data_def.
7702         * stdio-common/itoa-udigits.c: Likewise.
7703         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
7704         (_itoa_lower_digits_internal): Remove declaration.
7705         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
7706         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
7707         (_sys_sigabbrev_internal): Remove aliases.
7708         (_sys_siglist): Define hidden alias.
7710 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
7712         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7713         bits/sysctl.h.
7715 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
7717         [BZ #14117]
7718         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
7719         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
7721         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
7722         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
7723         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
7724         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
7725         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
7726         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
7728         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
7729         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
7730         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
7732         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
7733         with __addr.
7734         (insw): Likewise.
7735         (insl): Likewise.
7736         (outsb): Likewise.
7737         (outsw): Likewise.
7738         (outsl): Likewise.
7740         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
7741         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
7742         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
7744         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
7745         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
7746         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
7747         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
7748         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
7749         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
7751         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
7752         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
7754         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
7755         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
7757         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
7758         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
7759         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
7761         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
7762         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
7763         to ...
7764         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
7766         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
7767         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
7768         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
7770         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
7771         for x86-64.
7772         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
7774 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
7776         * math/math.h (M_El): Use two more decimal places.
7777         (M_LOG2El): Likewise.
7778         (M_LOG10El): Likewise.
7779         (M_LN2l): Likewise.
7780         (M_LN10l): Likewise.
7781         (M_PIl): Likewise.
7782         (M_PI_2l): Likewise.
7783         (M_PI_4l): Likewise.
7784         (M_1_PIl): Likewise.
7785         (M_2_PIl): Likewise.
7786         (M_2_SQRTPIl): Likewise.
7787         (M_SQRT2l): Likewise.
7788         (M_SQRT1_2l): Likewise.
7790 2012-05-31  David S. Miller  <davem@davemloft.net>
7792         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
7793         values between float registers.
7794         * sysdeps/sparc/sparc64/memset.S: Likewise.
7795         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7797 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
7799         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
7800         -D_FORTIFY_SOURCE=1.
7801         (CPPFLAGS-tst-longjmp_chk.c): Define.
7802         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
7803         (CPPFLAGS-tst-longjmp_chk2.c): Define.
7804         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
7805         CFLAGS-tst-wchar-h.c.
7807 2012-05-31  Marek Polacek  <polacek@redhat.com>
7809         [BZ #14132]
7810         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
7811         __endmntent_internal): Remove declaration.
7812         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
7813         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
7814         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
7816 2012-05-30  David S. Miller  <davem@davemloft.net>
7818         * sysdeps/sparc/sparc32/soft-fp/q_util.c
7819         (___Q_simulate_exceptions): Use real FP ops rather than writing
7820         into the %fsr.
7821         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
7822         Likewise.
7824 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
7826         [BZ #14117]
7827         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
7828         * sysdeps/x86/bits/xtitypes.h: This.
7830         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
7831         * sysdeps/x86/bits/wordsize.h: This.
7833         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
7834         * sysdeps/x86/bits/huge_vall.h: This.
7836         * sysdeps/i386/bits/select.h: Removed.
7837         * sysdeps/x86_64/bits/select.h: Renamed to ...
7838         * sysdeps/x86/bits/select.h: This.
7840         * sysdeps/i386/bits/setjmp.h: Removed.
7841         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
7842         * sysdeps/x86/bits/setjmp.h: This.
7844         * sysdeps/i386/bits/mathdef.h: Removed.
7845         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
7846         * sysdeps/x86/bits/mathdef.h: This.
7848 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
7850         [BZ #14132]
7851         * include/sys/socket.h (__connect_internal)
7852         (__libc_sa_len_internal): Remove declaration.
7853         (__connect, __libc_sa_len): Declare hidden_proto.
7854         (SA_LEN): Remove use of INTUSE.
7855         * socket/connect.c: Add libc_hidden_def.
7856         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
7857         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
7858         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
7859         alias.
7860         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
7861         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7862         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
7863         of adding _internal alias.
7865 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
7867         [BZ #14117]
7868         * sysdeps/i386/bits/link.h: Removed.
7869         * sysdeps/i386/bits/linkmap.h: Likewise.
7870         * sysdeps/x86_64/bits/link.h: Renamed to ...
7871         * sysdeps/x86/bits/link.h: This.
7872         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
7873         * sysdeps/x86/bits/linkmap.h: This.
7875         * sysdeps/i386/bits/endian.h: Removed.
7876         * sysdeps/x86_64/bits/endian.h: Renamed to ...
7877         * sysdeps/x86/bits/endian.h: This.
7879         * sysdeps/i386/bits/byteswap.h: Removed.
7880         * sysdeps/i386/bits/byteswap-16.h: Likewise.
7881         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
7882         * sysdeps/x86/bits/byteswap.h: This.
7883         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
7884         * sysdeps/x86/bits/byteswap-16.h: This.
7885         * sysdeps/i386/Implies: Add x86.
7886         * sysdeps/x86_64/Implies: Likewise.
7888 2012-05-30  David S. Miller  <davem@davemloft.net>
7890         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
7891         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
7892         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
7893         (FP_TRAPPING_EXCEPTIONS): Define.
7894         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
7895         (FP_TRAPPING_EXCEPTIONS): Define.
7896         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
7897         subnormals only when inexact has been signalled or underflow
7898         exceptions are enabled.
7899         (_FP_PACK_CANONICAL): Likewise.
7901 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
7903         [BZ #14183]
7904         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
7905         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
7907 2012-05-30  Richard Henderson  <rth@twiddle.net>
7909         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
7910         with #ifndef NOT_IN_libc.
7912         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
7913         marked to avoid plt entry.
7915 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
7917         [BZ #14112]
7918         * Makeconfig (default-abi): New macro.
7919         (abi-includes): Likewise.
7920         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
7921         $(abi-$(default-abi)-lib-soname) for soname if defined.
7922         ($(common-objpfx)gnu/lib-names.stmp): Generate from
7923         abi-variants.
7924         * Makefile (installed-stubs): Likewise.
7925         * include/stubs-biarch.h: Removed.
7926         * scripts/lib-names.awk: Only handle one library at a time.
7927         * scripts/soversions.awk: Remove WORDSIZE support.
7928         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
7929         entries.
7930         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
7931         Removed.
7932         (syscall-list-default-condition): Likewise.
7933         (syscall-list-default-condition): Likewise.
7934         (syscall-list-includes): Likewise.
7935         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
7936         syscall-list-* with abi-*.  Handle undefined abi-variants.
7937         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
7938         * sysdeps/unix/sysv/linux/i386/Implies: New file.
7939         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
7940         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
7941         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
7942         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
7943         Removed.
7944         (syscall-list-32-options): Likewise.
7945         (syscall-list-32-condition): Likewise.
7946         (syscall-list-64-options): Likewise.
7947         (syscall-list-64-condition): Likewise.
7948         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
7949         macro.
7950         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
7951         Renamed to ...
7952         (abi-*): This.
7953         (abi-64-ld-soname): New macro.
7954         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
7955         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
7956         Renamed to ...
7957         (abi-*): This.
7958         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
7959         * sysdeps/x86_64/x32/shlib-versions: Likewise.
7961 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
7963         * sysdeps/unix/sysv/linux/kernel-features.h
7964         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
7965         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
7966         include <kernel-features.h>.
7967         [!__NR_ftruncate64]: Remove conditional code.
7968         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7969         [__NR_ftruncate64]: Make code unconditional.
7970         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7971         * sysdeps/unix/sysv/linux/truncate64.c: Do not
7972         include <kernel-features.h>.
7973         [!__NR_ftruncate64]: Remove conditional code.
7974         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7975         [__NR_ftruncate64]: Make code unconditional.
7976         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
7978         include <kernel-features.h>.
7979         [!__NR_ftruncate64]: Remove conditional code.
7980         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7981         [__NR_ftruncate64]: Make code unconditional.
7982         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
7984         include <kernel-features.h>.
7985         [!__NR_ftruncate64]: Remove conditional code.
7986         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7987         [__NR_ftruncate64]: Make code unconditional.
7988         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7990         * configure.in (libc_cv_fpie): Weaken to a compile test using
7991         LIBC_TRY_CC_OPTION.
7992         * configure: Regenerated.
7994 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7996         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
7997         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
7998         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
7999         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8000         Refreshed.
8001         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
8002         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
8003         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
8004         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
8005         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
8006         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8007         Refreshed.
8009 2012-05-27  David S. Miller  <davem@davemloft.net>
8011         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
8012         (___Q_zero): New.
8013         (__Q_simulate_exceptions): Return void.  Change to simulate
8014         exceptions by writing into the %fsr.
8015         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
8016         (__Qp_handle_exceptions): Likewise.
8017         (numbers): Delete.
8018         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
8019         __Qp_handle_exceptions.
8020         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
8021         __Qp_handle_exceptions.
8022         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
8023         as unused and give dummy FP_RND_NEAREST initializer.
8024         (FP_INHIBIT_RESULTS): Define.
8025         (___Q_simulate_exceptions): Update declaration.
8026         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
8027         formatting.
8028         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
8029         as unused and give dummy FP_RND_NEAREST initializer.
8030         (__Qp_handle_exceptions): Update declaration.
8031         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
8032         formatting.
8034 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
8036         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
8037         the temporary FPU control word.
8038         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
8039         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
8040         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
8041         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
8042         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
8043         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
8044         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
8045         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
8046         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
8047         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
8048         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
8050 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8052         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
8053         fields.
8055 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
8057         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
8058         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
8059         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
8060         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
8061         Likewise.
8062         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
8063         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
8064         Likewise.
8066 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
8068         * po/h.po: Update from translation team.
8070 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
8072         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
8074         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
8075         handling of denormals.
8076         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
8077         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
8078         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
8079         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
8080         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8081         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
8082         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
8083         Likewise.
8085 2012-05-26  Marek Polacek  <polacek@redhat.com>
8087         [BZ #14152]
8088         * math/libm-test.inc (fma_test): Don't always expect underflow
8089         exception.
8091 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
8093         [BZ #12416]
8094         * elf/tst-execstack.c: Include stackinfo.h.
8095         (do_test): Adjust test case to ensure that pthread_getattr_np
8096         behaviour remains the same after marking stack executable.
8098 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
8100         * sysdeps/unix/sysv/linux/kernel-features.h
8101         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
8102         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
8103         kernel-features.h.
8104         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
8105         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
8106         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
8107         kernel-features.h.
8108         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
8109         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
8111 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
8113         * configure.in: Define the default includes to being none.
8114         * configure: Regenerated.
8116 2012-05-25  Roland McGrath  <roland@hack.frob.com>
8118         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
8119         * sysdeps/x86_64/setjmp.S: Likewise.
8120         * sysdeps/i386/bsd-setjmp.S: Likewise.
8121         * sysdeps/i386/bsd-_setjmp.S: Likewise.
8122         * sysdeps/i386/setjmp.S: Likewise.
8123         * sysdeps/i386/__longjmp.S: Likewise.
8124         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
8125         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
8127         * include/stap-probe.h: New file.
8128         * configure.in: Handle --enable-systemtap.
8129         * configure: Regenerated.
8130         * config.h.in (USE_STAP_PROBE): New #undef.
8131         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
8132         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
8133         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
8135 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
8137         [BZ #13717]
8138         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
8139         to 2.4.0 where earlier.
8140         * sysdeps/unix/sysv/linux/configure: Regenerated.
8141         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
8142         <kernel-features.h>.
8143         [__ASSUME_32BITUIDS]: Make code unconditional.
8144         [!__ASSUME_32BITUIDS]: Remove conditional code.
8145         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
8146         <kernel-features.h>.
8147         [__ASSUME_32BITUIDS]: Make code unconditional.
8148         [!__ASSUME_32BITUIDS]: Remove conditional code.
8149         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
8150         [__ASSUME_32BITUIDS]: Make code unconditional.
8151         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
8152         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
8153         <kernel-features.h>.
8154         [__ASSUME_32BITUIDS]: Make code unconditional.
8155         [!__ASSUME_32BITUIDS]: Remove conditional code.
8156         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
8157         <kernel-features.h>.
8158         [__ASSUME_32BITUIDS]: Make code unconditional.
8159         [!__ASSUME_32BITUIDS]: Remove conditional code.
8160         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
8161         <kernel-features.h>.
8162         [__ASSUME_32BITUIDS]: Make code unconditional.
8163         [!__ASSUME_32BITUIDS]: Remove conditional code.
8164         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
8165         <kernel-features.h>.
8166         [__ASSUME_32BITUIDS]: Make code unconditional.
8167         [!__ASSUME_32BITUIDS]: Remove conditional code.
8168         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
8169         <kernel-features.h>.
8170         [__ASSUME_32BITUIDS]: Make code unconditional.
8171         [!__ASSUME_32BITUIDS]: Remove conditional code.
8172         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
8173         <kernel-features.h>.
8174         [__ASSUME_32BITUIDS]: Make code unconditional.
8175         [!__ASSUME_32BITUIDS]: Remove conditional code.
8176         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
8177         <kernel-features.h>.
8178         [__ASSUME_32BITUIDS]: Make code unconditional.
8179         [!__ASSUME_32BITUIDS]: Remove conditional code.
8180         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
8181         <kernel-features.h>.
8182         [__ASSUME_32BITUIDS]: Make code unconditional.
8183         [!__ASSUME_32BITUIDS]: Remove conditional code.
8184         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
8185         <kernel-features.h>.
8186         [__ASSUME_32BITUIDS]: Make code unconditional.
8187         [!__ASSUME_32BITUIDS]: Remove conditional code.
8188         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
8189         <kernel-features.h>.
8190         [__ASSUME_32BITUIDS]: Make code unconditional.
8191         [!__ASSUME_32BITUIDS]: Remove conditional code.
8192         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
8193         <kernel-features.h>.
8194         [__NR_setresgid] (__setresgid): Do not declare.
8195         [__ASSUME_32BITUIDS]: Make code unconditional.
8196         [!__ASSUME_32BITUIDS]: Remove conditional code.
8197         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
8198         <kernel-features.h>.
8199         [__NR_setresuid] (__setresuid): Do not declare.
8200         [__ASSUME_32BITUIDS]: Make code unconditional.
8201         [!__ASSUME_32BITUIDS]: Remove conditional code.
8202         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
8203         <kernel-features.h>.
8204         [__ASSUME_32BITUIDS]: Make code unconditional.
8205         [!__ASSUME_32BITUIDS]: Remove conditional code.
8206         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
8207         <kernel-features.h>.
8208         [__ASSUME_32BITUIDS]: Make code unconditional.
8209         [!__ASSUME_32BITUIDS]: Remove conditional code.
8210         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
8211         <kernel-features.h>.
8212         [__ASSUME_32BITUIDS]: Make code unconditional.
8213         [!__ASSUME_32BITUIDS]: Remove conditional code.
8214         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
8215         <kernel-features.h>.
8216         [__ASSUME_32BITUIDS]: Make code unconditional.
8217         [!__ASSUME_32BITUIDS]: Remove conditional code.
8218         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
8219         <kernel-features.h>.
8220         [__ASSUME_32BITUIDS]: Make code unconditional.
8221         [!__ASSUME_32BITUIDS]: Remove conditional code.
8222         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
8223         <kernel-features.h>.
8224         [__ASSUME_32BITUIDS]: Make code unconditional.
8225         [!__ASSUME_32BITUIDS]: Remove conditional code.
8226         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
8227         <kernel-features.h>.
8228         [__ASSUME_32BITUIDS]: Make code unconditional.
8229         [!__ASSUME_32BITUIDS]: Remove conditional code.
8230         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
8231         <kernel-features.h>.
8232         [__ASSUME_32BITUIDS]: Make code unconditional.
8233         [!__ASSUME_32BITUIDS]: Remove conditional code.
8234         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
8235         <kernel-features.h>.
8236         [__ASSUME_32BITUIDS]: Make code unconditional.
8237         [!__ASSUME_32BITUIDS]: Remove conditional code.
8238         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
8239         <kernel-features.h>.
8240         [__ASSUME_32BITUIDS]: Make code unconditional.
8241         [!__ASSUME_32BITUIDS]: Remove conditional code.
8242         * sysdeps/unix/sysv/linux/kernel-features.h
8243         (__ASSUME_SETRESUID_SYSCALL): Remove.
8244         (__ASSUME_SETRESGID_SYSCALL): Likewise.
8245         (__ASSUME_32BITUIDS): Likewise.
8246         (__ASSUME_LDT_WORKS): Likewise.
8247         (__ASSUME_O_DIRECTORY): Likewise.
8248         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
8249         architecture but not kernel version.
8250         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
8251         (__ASSUME_MMAP2_SYSCALL): Likewise.
8252         (__ASSUME_STAT64_SYSCALL): Likewise.
8253         (__ASSUME_IPC64): Likewise.
8254         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
8255         <kernel-features.h>.
8256         [__ASSUME_32BITUIDS]: Make code unconditional.
8257         [!__ASSUME_32BITUIDS]: Remove conditional code.
8258         * sysdeps/unix/sysv/linux/opendir.c: Do not include
8259         <kernel-features.h>.
8260         [__ASSUME_O_DIRECTORY]: Make code unconditional.
8261         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
8262         132096]: Remove conditional code.
8263         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
8264         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
8265         <kernel-features.h>.
8266         [__ASSUME_32BITUIDS]: Make code unconditional.
8267         [!__ASSUME_32BITUIDS]: Remove conditional code.
8268         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
8269         <kernel-features.h>.
8270         [__ASSUME_32BITUIDS]: Make code unconditional.
8271         [!__ASSUME_32BITUIDS]: Remove conditional code.
8272         * sysdeps/unix/sysv/linux/setegid.c: Do not include
8273         <kernel-features.h>.
8274         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
8275         unconditional.
8276         (__setresgid): Do not declare.
8277         [__ASSUME_32BITUIDS]: Make code unconditional.
8278         [!__ASSUME_32BITUIDS]: Remove conditional code.
8279         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
8280         <kernel-features.h>.
8281         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
8282         unconditional.
8283         (__setresuid): Do not declare.
8284         [__ASSUME_32BITUIDS]: Make code unconditional.
8285         [!__ASSUME_32BITUIDS]: Remove conditional code.
8286         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
8287         <kernel-features.h>.
8288         [__ASSUME_32BITUIDS]: Make code unconditional.
8289         [!__ASSUME_32BITUIDS]: Remove conditional code.
8290         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
8291         <kernel-features.h>.
8292         [__ASSUME_32BITUIDS]: Make code unconditional.
8293         [!__ASSUME_32BITUIDS]: Remove conditional code.
8295 2012-05-25  Richard Henderson  <rth@twiddle.net>
8297         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
8298         dl_hwcap to ifunc resolver.
8299         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
8300         elf_ifunc_invoke.
8301         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
8302         dl_hwcap to ifunc resolver.
8303         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
8305 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
8307         [BZ #14153]
8308         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
8309         for |x| <= 2**-26, not 2**-57.
8310         * math/libm-test.inc (acos_test): Do not allow spurious underflow
8311         exception.
8313 2012-05-24  Jeff Law  <law@redhat.com>
8315         * stdio-common/Makefile (tests): Add bug25.
8316         * stdio-common/bug25.c: New test.
8318 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
8320         [BZ #13576]
8321         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
8322         multiple of MALLOC_ALIGNMENT in size.
8323         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
8325 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
8327         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
8328         Require >= 256.
8329         (FILENAME_MAX): Use macro-int-constant.
8330         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
8331         (_IOFBF): Use macro-int-constant.
8332         (_IOLBF): Likewise.
8333         (_IONBF): Likewise.
8334         (SEEK_CUR): Likewise.
8335         (SEEK_END): Likewise.
8336         (SEEK_SET): Likewise.
8337         (TMP_MAX): Likewise.
8338         (EOF): Use macro-int-constant.  Require < 0.
8339         (NULL): Use macro-constant.  Require == 0.
8340         (stdin): Require type to be FILE *.
8341         (stdout): Likewise.
8342         (stderr): Likewise.
8343         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
8344         macro-int-constant.
8345         (EXIT_SUCCESS): Likewise.
8346         (NULL): Use macro-constant.  Require == 0.
8347         (RAND_MAX): Use macro-int-constant.
8348         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
8349         [C99-based standards] (strtof): Require function.
8350         [C99-based standards] (strtold): Likewise.
8351         [C99-based standards] (strtoll): Likewise.
8352         [C99-based standards] (strtoull): Likewise.
8353         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
8354         [ISO || ISO99 || ISO11] (limits.h): Likewise.
8355         [ISO || ISO99 || ISO11] (math.h): Likewise.
8356         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
8357         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
8358         [ISO || ISO99 || ISO11] (*_t): Do not allow.
8360 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
8362         [BZ #14132]
8363         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
8364         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
8365         * intl/dgettext.c (DCGETTEXT): Likewise.
8366         * intl/gettext.c (DCGETTEXT): Likewise.
8367         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
8368         * posix/regex_internal.h (gettext): Likewise.
8369         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
8370         Remove declaration.
8371         * include/argz.h (__argz_count_internal)
8372         (__argz_stringify_internal): Remove declaration.
8373         (__argz_count, __argz_stringify): Declare hidden proto.
8374         * intl/dcgettext.c: Remove use of INTDEF.
8375         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
8376         * string/argz-stringify.c: Likewise.
8377         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
8378         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
8379         Declare hidden proto.
8380         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
8381         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
8382         Declare hidden proto.
8383         * include/stdio.h (__asprintf_internal): Don't declare.
8384         (__asprintf): Don't define as macro.  Declare hidden proto.
8385         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
8386         (__fsetlocking): Declare hidden proto.
8387         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
8388         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
8389         hidden proto.
8390         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
8391         (_IO_setlinebuf): Remove use of INTUSE.
8392         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
8393         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
8394         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
8395         Remove declaration.
8396         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
8397         (_IO_do_flush): Remove use of INTUSE.
8398         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
8399         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
8400         (_IO_adjust_column, _IO_least_wmarker)
8401         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
8402         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
8403         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
8404         (_IO_default_doallocate, _IO_wdefault_doallocate)
8405         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
8406         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
8407         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
8408         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
8409         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
8410         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
8411         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
8412         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
8413         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
8414         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
8415         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
8416         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
8417         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
8418         proto.
8419         (_IO_flush_all_internal, _IO_adjust_column_internal)
8420         (_IO_default_uflow_internal, _IO_default_finish_internal)
8421         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
8422         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
8423         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
8424         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
8425         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
8426         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
8427         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
8428         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
8429         (_IO_file_close_internal, _IO_file_close_it_internal)
8430         (_IO_file_underflow_internal, _IO_file_overflow_internal)
8431         (_IO_file_init_internal, _IO_file_attach_internal)
8432         (_IO_file_fopen_internal, _IO_file_read_internal)
8433         (_IO_file_sync_internal, _IO_file_seek_internal)
8434         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
8435         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
8436         (_IO_str_underflow_internal, _IO_str_overflow_internal)
8437         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
8438         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
8439         (_IO_list_all_internal, _IO_link_in_internal)
8440         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
8441         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
8442         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
8443         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
8444         (_IO_do_write_internal, _IO_padn_internal)
8445         (_IO_getline_info_internal, _IO_getline_internal)
8446         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
8447         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
8448         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
8449         (_IO_vfscanf_internal, _IO_vfprintf_internal)
8450         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
8451         (_IO_init_internal, _IO_un_link_internal): Don't declare.
8452         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
8453         with libc_hidden_ver, remove use of INTUSE.
8454         * libio/genops.c: Likewise.
8455         * libio/freopen.c: Likewise.
8456         * libio/freopen64.c: Likewise.
8457         * libio/iofclose.c: Likewise.
8458         * libio/iofdopen.c: Likewise.
8459         * libio/iofflush.c: Likewise.
8460         * libio/iofflush_u.c: Likewise.
8461         * libio/iofgets.c: Likewise.
8462         * libio/iofgets_u.c: Likewise.
8463         * libio/iofopen.c: Likewise.
8464         * libio/iofopncook.c: Likewise.
8465         * libio/iofread.c: Likewise.
8466         * libio/iofread_u.c: Likewise.
8467         * libio/ioftell.c: Likewise.
8468         * libio/iofwrite.c: Likewise.
8469         * libio/iogetline.c: Likewise.
8470         * libio/iogets.c: Likewise.
8471         * libio/iogetwline.c: Likewise.
8472         * libio/iopadn.c: Likewise.
8473         * libio/iopopen.c: Likewise.
8474         * libio/ioseekoff.c: Likewise.
8475         * libio/ioseekpos.c: Likewise.
8476         * libio/iosetbuffer.c: Likewise.
8477         * libio/iosetvbuf.c: Likewise.
8478         * libio/ioungetc.c: Likewise.
8479         * libio/ioungetwc.c: Likewise.
8480         * libio/iovdprintf.c: Likewise.
8481         * libio/iovsprintf.c: Likewise.
8482         * libio/iovsscanf.c: Likewise.
8483         * libio/memstream.c: Likewise.
8484         * libio/obprintf.c: Likewise.
8485         * libio/oldfileops.c: Likewise.
8486         * libio/oldiofclose.c: Likewise.
8487         * libio/oldiofdopen.c: Likewise.
8488         * libio/oldiofopen.c: Likewise.
8489         * libio/oldiopopen.c: Likewise.
8490         * libio/oldstdfiles.c: Likewise.
8491         * libio/putc.c: Likewise.
8492         * libio/setbuf.c: Likewise.
8493         * libio/setlinebuf.c: Likewise.
8494         * libio/stdfiles.c: Likewise.
8495         * libio/strops.c: Likewise.
8496         * libio/vasprintf.c: Likewise.
8497         * libio/vscanf.c: Likewise.
8498         * libio/vsnprintf.c: Likewise.
8499         * libio/vswprintf.c: Likewise.
8500         * libio/wfiledoalloc.c: Likewise.
8501         * libio/wfileops.c: Likewise.
8502         * libio/wgenops.c: Likewise.
8503         * libio/wmemstream.c: Likewise.
8504         * libio/wstrops.c: Likewise.
8505         * libio/__fpurge.c: Likewise.
8506         * libio/__fsetlocking.c: Likewise.
8507         * assert/assert.c: Likewise.
8508         * debug/fgets_chk.c: Likewise.
8509         * debug/fgets_u_chk.c: Likewise.
8510         * debug/fread_chk.c: Likewise.
8511         * debug/fread_u_chk.c: Likewise.
8512         * debug/gets_chk.c: Likewise.
8513         * debug/obprintf_chk.c: Likewise.
8514         * debug/vasprintf_chk.c: Likewise.
8515         * debug/vdprintf_chk.c: Likewise.
8516         * debug/vsnprintf_chk.c: Likewise.
8517         * debug/vsprintf_chk.c: Likewise.
8518         * malloc/mtrace.c: Likewise.
8519         * misc/error.c: Likewise.
8520         * misc/syslog.c: Likewise.
8521         * stdio-common/asprintf.c: Likewise.
8522         * stdio-common/fxprintf.c: Likewise.
8523         * stdio-common/getw.c: Likewise.
8524         * stdio-common/isoc99_fscanf.c: Likewise.
8525         * stdio-common/isoc99_scanf.c: Likewise.
8526         * stdio-common/isoc99_vfscanf.c: Likewise.
8527         * stdio-common/isoc99_vscanf.c: Likewise.
8528         * stdio-common/isoc99_vsscanf.c: Likewise.
8529         * stdio-common/printf-prs.c: Likewise.
8530         * stdio-common/printf_fp.c: Likewise.
8531         * stdio-common/printf_fphex.c: Likewise.
8532         * stdio-common/printf_size.c: Likewise.
8533         * stdio-common/putw.c: Likewise.
8534         * stdio-common/scanf.c: Likewise.
8535         * stdio-common/sprintf.c: Likewise.
8536         * stdio-common/tmpfile.c: Likewise.
8537         * stdio-common/vfprintf.c: Likewise.
8538         * stdio-common/vfscanf.c: Likewise.
8539         * stdlib/strfmon_l.c: Likewise.
8540         * sunrpc/openchild.c: Likewise.
8541         * sunrpc/xdr_stdio.c: Likewise.
8542         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
8543         * sysdeps/mach/hurd/tmpfile.c: Likewise.
8545 2012-05-24  Roland McGrath  <roland@hack.frob.com>
8547         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
8549         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
8550         in the third column, to generate for the shared library an IFUNC
8551         that uses _dl_vdso_vsym.
8552         * Makerules (COMPILE.c, compile-stdin.c): New variables.
8553         * Makeconfig (object-suffixes-noshared): New variable.
8555         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
8556         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
8557         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
8558         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
8560         [BZ #14132]
8561         * include/sys/time.h (__gettimeofday): Remove macro.
8562         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
8563         * time/gettimeofday.c (__gettimeofday): Remove #undef.
8564         Remove INTDEF.
8565         (__gettimeofday): Add libc_hidden_def.
8566         (gettimeofday): Add libc_hidden_weak.
8567         * sysdeps/mach/gettimeofday.c: Likewise.
8568         * sysdeps/posix/gettimeofday.c: Likewise.
8569         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
8570         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
8571         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
8572         (__gettimeofday_internal): Remove strong_alias.
8573         (__gettimeofday): Add libc_hidden_def.
8574         (gettimeofday): Add libc_hidden_weak.
8575         * sysdeps/unix/syscalls.list (gettimeofday):
8576         Remove __gettimeofday_internal alias.
8578 2012-05-24  Daniel Jacobowitz  <drow@false.org>
8579             H.J. Lu  <hongjiu.lu@intel.com>
8581         [BZ #12495]
8582         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
8583         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
8584         (largebin_index_32_big): New.
8585         (largebin_index): Use it for 16-byte alignment.
8586         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
8587         correction with front_misalign.
8589 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
8591         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
8592         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
8593         Likewise.
8594         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
8595         Likewise.
8596         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
8597         Likewise.
8598         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
8599         Likewise.
8600         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
8601         Likewise.
8602         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
8603         Likewise.
8604         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
8605         Likewise.
8606         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
8607         Likewise.
8608         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
8609         Likewise.
8610         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
8611         Likewise.
8612         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
8613         Likewise.
8614         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
8615         Likewise.
8617         * scripts/data/c++-types-x32-linux-gnu.data: New file.
8618         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
8620 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
8622         [BZ #10846]
8623         [BZ #14036]
8624         * math/libm-test.inc (exp_test): Add test from bug 14036.
8625         (pow_test): Add test from bug 10846.
8627         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
8628         and other flags.
8629         (special_function): Do not include flags in test name.
8630         (parse_args): Likewise.
8631         * sysdeps/i386/fpu/libm-test-ulps: Update.
8632         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8633         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8634         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8635         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8637         * math/gen-libm-test.pl (%beautify): Add entries for underflow
8638         exceptions.
8639         * math/libm-test.inc ("Philosophy"): Update comment about
8640         exception testing.
8641         (UNDERFLOW_EXCEPTION): New macro.
8642         (UNDERFLOW_EXCEPTION_OK): Likewise.
8643         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
8644         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
8645         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
8646         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
8647         (INVALID_EXCEPTION_OK): Update value.
8648         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8649         (OVERFLOW_EXCEPTION_OK): Likewise.
8650         (IGNORE_ZERO_INF_SIGN): Likewise.
8651         (test_exceptions): Handle underflow exceptions.
8652         (acos_test): Update for underflow exception expectations.
8653         (cexp_test): Likewise.
8654         (clog_test): Likewise.
8655         (clog10_test): Likewise.
8656         (csqrt_test): Likewise.
8657         (ctan_test): Likewise.
8658         (ctanh_test): Likewise.
8659         (exp_test): Likewise.
8660         (exp10_test): Likewise.
8661         (exp2_test): Likewise.
8662         (expm1_test): Likewise.
8663         (fma_test): Likewise.
8664         (j0_test): Likewise.
8665         (jn_test): Likewise.
8666         (nexttoward_test): Likewise.
8667         (pow_test): Likewise.
8668         (scalbn_test): Likewise.
8669         (scalbln_test): Likewise.
8670         (tan_test): Likewise.
8671         (y1_test): Likewise.
8672         * sysdeps/i386/fpu/libm-test-ulps: Update.
8673         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8675 2012-05-23  David S. Miller  <davem@davemloft.net>
8677         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
8678         (__libc_sigaction): Remove unused local variables.
8680 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
8682         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
8684 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
8686         mktime: avoid signed integer overflow
8687         * time/mktime.c (__mktime_internal): Do not mishandle the case
8688         where diff == INT_MIN.
8690         mktime: simplify computation of average
8691         * time/mktime.c (ranged_convert): Use new time_t_avg function
8692         instead of rolling our own (probably-slower) code.
8694         mktime: do not assume signed right shift propagates sign bit
8695         * time/mktime.c (isdst_differ): New static function.
8696         (__mktime_internal): No need to normalize tm_isdst now.
8697         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
8698         tm_isdst values.
8700         mktime: merge another wrapv change from gnulib
8701         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
8702         from some compilers.
8704         mktime: remove incorrect attempt at unusual arithmetics
8705         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
8706         The code didn't really work on such machines anyway.
8707         (TYPE_MINIMUM): Assume two's complement.
8708         (twos_complement_arithmetic): Verify that long_int and time_t
8709         are two's complement (or unsigned, in the latter case).
8711         mktime: check signed shifts on long_int and time_t, too
8712         * time/mktime.c (SHR): Check that shifts work as desired
8713         on the types long_int and time_t too, as SHR is used on
8714         such types.
8716         mktime: do not assume 'long' is wide enough
8717         * time/mktime.c (verify): Move decl up.
8718         (long_int): New type.
8719         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
8720         to remove assumption in the code that 'long' is wide enough to
8721         store year values.  This assumption is not true on x32 and on
8722         some non-glibc platforms.
8724         mktime: merge wrapv change from gnulib
8725         * time/mktime.c (WRAPV): New macro.
8726         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
8727         (guess_time_tm, __mktime_internal): Do not assume that signed
8728         integer overflow wraps around; modern compilers generate code
8729         where this assumption is no longer valid.
8731 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
8733         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
8734         Replace "jmp L(pseudo_end)" with "ret".
8735         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
8736         Likewise.
8738 2012-05-23  Andreas Jaeger  <aj@suse.de>
8740         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
8741         * sysdeps/unix/sysv/linux/poll.c: Remove file.
8743 2012-05-23  Andreas Jaeger  <aj@suse.de>
8744             Maximilian Attems  <max@stro.at>
8746         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
8747         New macros.
8749 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
8751         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
8752         code so that pseudo_end is just ret and the stack pointer is
8753         correct also for static library in error case.
8755 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
8757         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
8758         move to syscalls.list.
8759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
8760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
8761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
8762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
8764         * manual/install.texi (Running make install): Do not mention Linux
8765         kernel version for which pt_chown is not needed.
8766         (Linux): Do not mention problems with nscd with 2.0 kernels.
8767         * INSTALL: Regenerated.
8769 2012-05-23  Andreas Jaeger  <aj@suse.de>
8771         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
8772         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
8773         macro.
8774         * sysdeps/unix/sysv/linux/s390/bits/mman.h
8775         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8776         * sysdeps/unix/sysv/linux/sh/bits/mman.h
8777         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8778         * sysdeps/unix/sysv/linux/i386/bits/mman.h
8779         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8780         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
8781         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8782         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
8783         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8784         * sysdeps/unix/sysv/linux/bits/in.h
8785         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
8787 2012-05-22  Roland McGrath  <roland@hack.frob.com>
8789         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
8790         (PREPARE_VERSION): Just use assert instead, it will be elided
8791         under [NDEBUG] anyway.
8793 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
8795         * sysdeps/unix/sysv/linux/Makefile: Include
8796         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
8797         (sysdep_routines): Remove sysctl.
8798         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
8799         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
8800         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
8801         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
8802         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
8804 2012-05-22  Andreas Jaeger  <aj@suse.de>
8806         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
8807         that pseudo_end is just ret and the stack pointer is correct also
8808         for static library in error case.
8810 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
8812         [BZ #14122]
8813         * nss/nsswitch.c (defconfig_entries): New variable.
8814         (__nss_database_lookup): Don't leak defconfig entries.
8815         (nss_parse_service_list): Don't leak on error paths.
8816         (free_database_entries): New function.
8817         (free_defconfig): New function.
8818         (free_mem): Move common code to free_database_entries.
8820 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
8822         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
8823         Add arch_prctl.
8824         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
8826         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8827         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
8828         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
8829         New macro.
8830         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
8831         (INTERNAL_SYSCALL_TYPES): Likewise.
8832         (LOAD_ARGS_TYPES_[1-6]): Likewise.
8833         (LOAD_REGS_TYPES_[1-6]): Likewise.
8834         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
8835         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
8837 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8839         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
8840         copysignl for GLIBC_2_0.
8841         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
8842         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
8843         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
8844         logbl for GLIBC_2_0.
8845         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
8846         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
8848 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
8850         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
8851         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
8853         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
8854         Use "neg %eax".
8856         * time/mktime.c: Update copyright years.
8858 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
8860         mktime: merge comment-quoting-style change from gnulib
8861         * time/mktime.c: Quote 'like this' in comments.
8862         The GNU coding standards suggest that we no longer quote `like this',
8863         as "`" and "'" are typically rendered asymmetrically nowadays.
8864         The typical gnulib style is to quote 'like this' when quoting
8865         code, and "like this" when quoting English.
8867         * time/mktime.c (compile-command): Add "-I.".
8869         mktime: merge mktime-internal.h change from gnulib
8870         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
8872         mktime: merge time_r change from gnulib
8873         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
8875         mktime: merge DEBUG change from gnulib
8876         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
8877         case system <time.h> has a #define.
8879         mktime: merge <sys/types.h> change from gnulib
8880         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
8881         since <time.t> is now guaranteed to define time_t.
8883         mktime: merge HAVE_CONFIG_H change from gnulib
8884         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
8886 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
8888         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
8889         Use "neg %eax".
8891         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
8892         __rlim_t cast.
8893         (struct rusage): Use anonymous union to pad each field to
8894         __syscall_slong_t.
8896 2012-05-21  David S. Miller  <davem@davemloft.net>
8898         * Makefules (o-iterator): Remove .s cases.
8899         (compile-command.s): Delete.
8900         (COMPILE.s): Delete.
8901         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
8903 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
8905         * configure.in (libc_cv_predef_stack_protector): Only consider
8906         "foobar" and "__stack_chk_fail" lines in libc_undefs.
8907         * configure: Regenerated.
8909 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
8911         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
8912         New macro.  Use R*LP on int and pointer.
8913         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
8914         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
8915         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
8916         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
8918         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
8919         [__WORDSIZE_TIME64_COMPAT32] instead of
8920         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
8921         (struct utmp): Likewise.
8922         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
8923         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
8924         Renamed to ...
8925         (__WORDSIZE_TIME64_COMPAT32): This.
8926         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
8927         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
8928         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
8929         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
8930         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
8931         (__WORDSIZE_TIME64_COMPAT32): New macro.
8933 2012-05-21  Andreas Jaeger  <aj@suse.de>
8935         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
8936         only if [SHARED]. Add prototype for __wcschr_ia32.
8938 2012-05-21  Roland McGrath  <roland@hack.frob.com>
8940         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
8941         of %rbp unmolested in the jmp_buf while mangling the low bits.
8942         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
8943         unmolested high bits of %rbp while demangling the low bits.
8944         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
8946 2012-05-21  Andreas Jaeger  <aj@suse.de>
8948         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
8949         * sunrpc/svc_simple.c: Use it for registerrpc.
8950         * sunrpc/xcrypt.c: Use it for passwd2des.
8952         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
8954 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
8956         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
8957         Don't define if [__SYSCALL_WORDSIZE != 32].
8958         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
8959         New macro.
8961 2012-05-21  Bruno Haible  <bruno@clisp.org>
8962             Andreas Jaeger  <aj@suse.de>
8964         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
8965         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
8966         inptr and inend for must_buffer_ch.
8967         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
8968         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
8969         * stdio-common/Makefile (tests): Remove bug15.
8970         (bug15-ENV): Remove macro.
8971         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
8972         anymore.
8974 2012-05-19  Andreas Jaeger  <aj@suse.de>
8975             Roland McGrath  <roland@hack.frob.com>
8977         * manual/contrib.texi: Completely rewritten. It contains now an
8978         alphabetical list of contributors and their contributions.
8980 2012-05-21  Richard Henderson  <rth@twiddle.net>
8982         * misc/getauxval.c (__getauxval): Use unsigned long int.
8983         * misc/sys/auxv.h: Include <sys/cdefs.h>.
8984         (getauxval): Use unsigned long int.
8986 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
8988         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
8990 2012-05-21  Roland McGrath  <roland@hack.frob.com>
8992         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
8993         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
8994         __alignof__ (long double).
8996 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8998         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9000 2012-05-20  Richard Henderson  <rth@twiddle.net>
9002         * misc/getauxval.c: New file.
9003         * misc/sys/auxv.h: New file.
9004         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
9005         (routines): Add getauxval.
9006         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
9007         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
9008         * elf/dl-sysdep.c (_dl_auxv): Remove.
9009         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
9010         * elf/dl-support.c (_dl_auxv): New variable.
9011         (_dl_aux_init): Initialize it.
9012         * manual/startup.texi (Auxiliary Vector): New node.
9013         * sysdeps/generic/bits/hwcap.h: New file.
9014         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
9015         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
9016         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
9017         * sysdeps/sparc/sysdep.h: ... here.  Include it.
9018         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
9019         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
9020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9021         Update.
9022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
9023         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
9024         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
9025         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
9026         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
9027         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
9028         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
9029         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
9031 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9033         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9035 2012-05-19  David S. Miller  <davem@davemloft.net>
9037         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9039 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
9041         [BZ #14123]
9042         * math/s_ccosh.c: Include <float.h>
9043         (__ccosh): Avoid internal overflow calculating sinh and cosh
9044         values before multiplying by sin and cos values.
9045         * math/s_ccoshf.c: Likewise.
9046         * math/s_ccoshl.c: Likewise.
9047         * math/s_csin.c: Likewise.
9048         * math/s_csinf.c: Likewise.
9049         * math/s_csinl.c: Likewise.
9050         * math/s_csinh.c: Likewise.
9051         * math/s_csinhf.c: Likewise.
9052         * math/s_csinhl.c: Likewise.
9053         * math/libm-test.inc (ccos_test): Add more tests.
9054         (ccosh_test): Likewise.
9055         (csin_test): Likewise.
9056         (csinh_test): Likewise.
9057         * sysdeps/i386/fpu/libm-test-ulps: Update.
9058         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9060 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
9062         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
9063         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
9065         * sysdeps/x86_64/x32/_itoa.h: Add comment.
9067 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
9069         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
9070         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
9071         * sysdeps/powerpc/soft-fp/Versions: Likewise.
9072         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
9073         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
9074         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
9075         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
9076         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
9077         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
9078         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
9079         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
9080         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
9081         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
9082         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
9083         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
9084         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
9085         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
9086         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
9087         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
9088         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
9089         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
9090         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
9091         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
9092         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
9093         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
9094         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
9095         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
9096         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
9097         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
9098         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
9099         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
9101 2012-05-18  Andreas Jaeger  <aj@suse.de>
9103         * csu/.gitignore: Delete.
9105 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
9107         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
9108         (timex): Use __syscall_slong_t.
9110 2012-05-18  Andreas Jaeger  <aj@suse.de>
9111             Carlos O'Donell  <carlos_odonell@mentor.com>
9113         * manual/install.texi (Configuring and compiling): Update
9114         description about files modified in the source directory.
9115         * INSTALL: Regenerated.
9117 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
9119         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
9120         value.  Use "or" to set return value to -1.
9121         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
9122         negate return value.
9124 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9126         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
9127         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
9128         failure if the compiler has Graphite support disabled.
9129         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
9130         Likewise.
9131         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
9132         CFLAGS-memmove.c): Likewise.
9133         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
9134         Likewise.
9136 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
9138         * sysdeps/x86_64/x32/_itoa.h: New file.
9140         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
9141         getdents system call only if kernel and user dirents have the
9142         same d_ino and d_off.
9144         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
9145         LLONG_MAX != LONG_MAX.
9146         (_itoa_word): Use _ITOA_WORD_TYPE on value.
9147         (_fitoa_word): Likewise.
9149         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
9150         years.
9151         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
9152         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
9153         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
9155         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
9156         include <bits/wordsize.h>.  Check __x86_64__ instead of
9157         __WORDSIZE.
9158         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
9159         if __x86_64__ is defined.  Use anonymous union on fpstate.
9161         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
9162         anonymous union.
9164 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
9166         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
9167         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
9168         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
9169         Refer to _rtld_local_ro instead of _rtld_global_ro.
9170         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
9171         Likewise.
9172         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
9173         Likewise.
9174         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
9175         Likewise.
9176         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
9177         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
9178         of _rtld_global, and rtld_progname instead of _dl_argv[0].
9180         * sysdeps/powerpc/powerpc32/dl-machine.c
9181         (__elf_machine_runtime_setup) [PROF]: Don't reference
9182         _dl_prof_resolve.
9184 2012-05-18  Andreas Jaeger  <aj@suse.de>
9186         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
9187         function only available for GCCs before 3.4 since GCC 3.4
9188         introduced a builtin.
9189         (lrint): Likewise.
9190         (llrintf): Likewise.
9191         (llrint): Likewise.
9192         (fmaxf): Likewise.
9193         (fmax): Likewise.
9194         (fminf): Likewise.
9195         (fmin): Likewise.
9196         (rint): Likewise.
9197         (rintf): Likewise.
9198         (nearbyint): Likewise.
9199         (nearbyintf): Likewise.
9200         (ceil): Likewise.
9201         (ceilf): Likewise.
9202         (floor): Likewise.
9203         (floorf): Likewise.
9205 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
9207         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
9208         on both fields and cast pointer to __syscall_ulong_t.
9210         * bits/types.h (__fsword_t): New type.
9211         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
9212         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
9213         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9214         (__FSWORD_T_TYPE): Likewise.
9215         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9216         (__FSWORD_T_TYPE): Likewise.
9217         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9218         (__FSWORD_T_TYPE): Likewise.
9219         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
9220         (__FSWORD_T_TYPE): Likewise.
9221         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
9222         __SWORD_TYPE with __fsword_t.
9223         (statfs64): Likewise.
9225 2012-05-17  David S. Miller  <davem@davemloft.net>
9227         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
9229 2012-05-17  Andreas Jaeger  <aj@suse.de>
9231         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
9232         warning.
9234 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
9236         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
9238 2012-05-17  Andreas Jaeger  <aj@suse.de>
9240         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
9241         when it is used.
9243 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
9245         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
9247 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
9249         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
9250         * sysdeps/x86_64/tst-mallocalign1.c: New file.
9252 2012-05-17  Andreas Jaeger  <aj@suse.de>
9253             Carlos O'Donell  <carlos_odonell@mentor.com>
9255         [BZ #14059]
9256         * sysdeps/x86_64/multiarch/init-arch.h
9257         (bit_YMM_Usable): Rename to...
9258         (bit_AVX_Usable): ... this.
9259         (bit_FMA4_Usable): New macro.
9260         (bit_XMM_state): New macro.
9261         (bit_YMM_state): New macro.
9262         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
9263         [__ASSEMBLER__] (index_AVX_Usable): ... this.
9264         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
9265         (CPUID_OSXSAVE): New macro.
9266         (CPUID_AVX): New macro.
9267         (CPUID_FMA4): New macro.
9268         (index_YMM_Usable): Rename to...
9269         (index_AVX_Usable): ... this.
9270         (HAS_AVX): Use HAS_ARCH_FEATURE.
9271         (HAS_FMA4): Likewise.
9272         (HAS_YMM_USABLE): Remove.
9273         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9274         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
9275         are present.
9276         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
9277         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
9278         * sysdeps/x86_64/multiarch/Makefile: Likewise.
9279         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
9280         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
9282 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
9284         * math/libm-test.c: Support platforms without multiple rounding modes.
9285         * math/bug-nextafter.c: Support platforms without FP exceptions.
9286         * math/bug-nexttoward.c: Likewise.
9287         * math/test-fenv.c: Likewise.
9288         * math/test-misc.c: Likewise.
9289         * stdlib/bug-getcontext.c: Likewise.
9291 2012-05-17  Andreas Jaeger  <aj@suse.de>
9293         * manual/examples/search.c (critter_cmp): Change signature to
9294         avoid warnings.
9295         * manual/string.texi (Collation Functions): Likewise.
9297 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
9299         * bits/types.h: Fold copyright years.
9300         * bits/typesizes.h: Likewise.
9301         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
9302         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
9303         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
9304         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
9305         * time/time.h: Likewise.
9307 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
9309         [BZ #208]
9310         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
9311         in instead of returning them.  Return void.
9312         (__libc_mallinfo): Accumulate over all arenas.
9313         (__malloc_stats): Adjust for change in int_mallinfo interface.
9315 2012-05-16  Roland McGrath  <roland@hack.frob.com>
9317         [BZ #10375]
9318         * configure.in (NM): Add AC_CHECK_TOOL for it.
9319         (libc_extra_cflags): New substituted variable.
9320         Check for -fstack-protector being used implicitly.
9321         * configure: Regenerated.
9322         * config.make.in (config-extra-cflags): New variable,
9323         gets @libc_extra_cflags@.
9324         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
9326         [BZ #10375]
9327         * configure.in: Check for _FORTIFY_SOURCE being predefined.
9328         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
9329         * configure: Regenerated.
9330         * config.make.in (CPPUNDEFS): New substituted variable.
9331         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
9332         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
9333         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
9335 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
9337         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
9338         (mq_attr): Use __syscall_slong_t.
9340 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
9342         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
9343         Check __x86_64__ instead of __WORDSIZE.
9344         (_STAT_VER_LINUX): Likewise.
9345         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
9346         __syscall_ulong_t and __syscall_slong_t.
9347         (stat64): Likewise.
9349 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
9351         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
9353 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
9355         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
9357 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
9359         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
9360         __syscall_ulong_t.
9362         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
9363         include <bits/wordsize.h>.  Check __x86_64__ instead of
9364         __WORDSIZE.
9365         (greg_t): Use "__extension__ long long int" if __x86_64__ is
9366         defined.
9367         (mcontext_t): Replace "unsigned long" with "unsigned long long".
9369         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
9370         include <bits/wordsize.h>.  Check __x86_64__ instead of
9371         __WORDSIZE.
9372         (user_regs_struct): Use "__extension__ unsigned long long"
9373         instead of "unsigned long" if __x86_64__ is defined.
9374         (user): Likewise.  Pad after pointer field if __ILP32__ is
9375         defined.
9377 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
9379         * configure.in (makeinfo): Require version 4.5 or later.  Allow
9380         versions 5 to 9.
9381         * configure: Regenerated.
9382         * manual/install.texi (texinfo): Increase version requirement to
9383         4.5 or later.
9384         * INSTALL: Regenerated.
9386         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
9388 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
9390         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
9392         * sysdeps/x86_64/x32/ffs.c: New file.
9394         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
9395         __syscall_ulong_t.
9396         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
9397         defined.  Use __syscall_ulong_t.
9398         (shminfo): Use __syscall_ulong_t.
9399         (shm_info): Likewise.
9401         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
9402         __syscall_ulong_t.
9404         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
9405         <bits/wordsize.h>.
9406         (msgqnum_t): Use __syscall_ulong_t.
9407         (msglen_t): Likewise.
9408         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
9409         __syscall_ulong_t.
9411         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
9412         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
9414         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
9416         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
9417         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
9419         * sysvipc/sys/msg.h (msgbuf): Replace long int with
9420         __syscall_slong_t.
9422         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
9423         include <bits/wordsize.h>.  Check __x86_64__ instead of
9424         __WORDSIZE.
9426         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
9427         "unsigned long long int" if __x86_64__ is defined.
9428         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
9430         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
9431         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
9432         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
9434         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
9435         <stdint.h>.
9436         (GET_PC): Cast to uintptr_t first.
9437         (GET_FRAME): Likewise.
9438         (GET_STACK): Likewise.
9440         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
9441         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
9442         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
9443         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
9444         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
9445         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
9446         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
9447         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
9448         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
9449         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
9450         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
9451         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
9452         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
9453         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
9454         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
9455         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
9456         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
9457         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
9458         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
9459         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
9460         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
9461         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
9462         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
9463         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
9464         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
9465         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
9466         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
9467         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
9468         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
9470 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
9472         * Makerules (+depfiles): Also collect depfiles from .oS in
9473         $(extra-objs).
9474         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
9475         .oS, $(libnldbl-routines)).
9477         * Makerules (native-compile-mkdep-flags): Define.
9478         * sunrpc/Makefile (extra-objs): Add $(addprefix
9479         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
9480         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
9481         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
9482         calling $(make-target-directory).
9484 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9486         * bits/types.h (__snseconds_t): Removed.
9487         * time/time.h (struct timespec): Replace __snseconds_t with
9488         __syscall_slong_t.
9489         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
9490         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
9491         Likewise.
9492         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9493         (__SNSECONDS_T_TYPE): Likewise.
9494         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9495         (__SNSECONDS_T_TYPE): Likewise.
9496         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9497         (__SNSECONDS_T_TYPE): Likewise.
9499 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9501         * sysdeps/mach/hurd/bits/typesizes.h
9502         (__SYSCALL_SLONG_TYPE): New macro.
9503         (__SYSCALL_ULONG_TYPE): Likewise.
9505 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9507         * bits/types.h (__syscall_slong_t): New type.
9508         (__syscall_ulong_t): Likewise.
9510         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
9511         (__SYSCALL_ULONG_TYPE): Likewise.
9512         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9513         (__SYSCALL_SLONG_TYPE): Likewise.
9514         (__SYSCALL_ULONG_TYPE): Likewise.
9515         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9516         (__SYSCALL_SLONG_TYPE): Likewise.
9517         (__SYSCALL_ULONG_TYPE): Likewise.
9518         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9519         (__SYSCALL_SLONG_TYPE): Likewise.
9520         (__SYSCALL_ULONG_TYPE): Likewise.
9522 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9524         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
9525         Add sigaltstack-offsets.sym.
9526         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
9527         <sigaltstack-offsets.h>.
9528         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
9529         longjmp_msg pointer.
9530         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
9531         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
9532         signal stack.
9533         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
9535 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
9537         * elf/stackguard-macros.h: Remove file.
9538         * sysdeps/generic/stackguard-macros.h: New file.
9539         * sysdeps/i386/stackguard-macros.h: Likewise.
9540         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
9541         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
9542         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
9543         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
9544         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
9545         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
9546         * sysdeps/x86_64/stackguard-macros.h: Likewise.
9547         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
9548         <elf/stackguard-macros.h>.
9550         [BZ #14109]
9551         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
9552         __aligned__ in attribute.
9553         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
9554         (gregset_t): Likewise.
9556 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9558         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
9559         * sysdeps/x86_64/64/Implies-after: Here.  New file.
9560         * sysdeps/x86_64/x32/Implies-after: New file.
9562 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9564         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
9565         and access return value for _dl_profile_fixup.  Use R10_LP to
9566         load frame size.
9568 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9570         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
9572 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9574         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
9575         * sysdeps/x86_64/x32/sysdep.h: New file.
9577 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9579         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
9580         * sysdeps/x86_64/setjmp.S: Likewise.
9582 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9584         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
9585         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
9586         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
9587         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
9588         remove unused global constant.
9590 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
9592         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
9593         include of <not-cancel.h>.
9595 2012-05-15  Roland McGrath  <roland@hack.frob.com>
9597         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
9599 2012-05-15  Jeff Law  <law@redhat.com>
9600             Andreas Jaeger  <aj@suse.de>
9602         [BZ #13594]
9603         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
9604         out from...
9605         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
9606         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
9607         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
9608         code changing __hst_map_handle.map.
9610 2012-05-15  Roland McGrath  <roland@hack.frob.com>
9612         * configure.in (sysnames): Look for Implies-before and Implies-after
9613         files.
9614         * configure: Regenerated.
9616 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9618         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
9619         8-byte data alignment with LP_SIZE alignment.
9621 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9623         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
9624         into R10_LP.
9626 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9628         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
9630 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9632         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
9633         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
9634         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
9635         Likewise.
9636         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
9638 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9640         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
9641         (stackinfo_sub_sp): Likewise.
9643 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9645         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
9646         RAX_LP.
9648 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9650         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
9651         into R*_LP.
9653 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9655         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
9656         sizes into R*_LP.
9658 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9660         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
9662 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9664         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
9665         into R11_LP and load __x86_64_shared_cache_size_half into
9666         R8_LP.
9668 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9670         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
9671         R8_LP.
9673 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9675         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
9676         logb for POWER7.
9677         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
9678         logbf for POWER7.
9679         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
9680         logbl for POWER7.
9681         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
9682         powerpc32/power7/fpu/s_logb.c via #include.
9683         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
9684         powerpc32/power7/fpu/s_logbf.c via #include.
9685         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
9686         powerpc32/power7/fpu/s_logbl.c via #include.
9688 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
9690         * README.libm: Remove file.
9692 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
9694         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
9695         count for x32.  Use R*_LP and omit operand-size suffix.
9697 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
9699         * shlib-versions: Move x86_64-.*-linux.* entries to ...
9700         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
9701         * sysdeps/x86_64/x32/shlib-versions: New file.
9703 2012-05-14  Roland McGrath  <roland@hack.frob.com>
9705         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
9706         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
9707         Use _dl_fatal_printf instead.
9709 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
9711         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
9712         set if not set by the user.  Do not allow for being unset.
9713         * sysdeps/unix/sysv/linux/configure: Regenerated.
9715 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
9717         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
9718         the `q' suffix from lea and replace .quad with ASM_ADDR.
9720 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
9722         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
9723         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
9724         instead of $17.
9725         (PTR_DEMANGLE): Likewise.
9727 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
9729         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
9730         (LP_OP): Likewise.
9731         (ASM_ADDR): Likewise.
9732         (RAX_LP): Likewise.
9733         (RBP_LP): Likewise.
9734         (RBX_LP): Likewise.
9735         (RCX_LP): Likewise.
9736         (RDI_LP): Likewise.
9737         (RSI_LP): Likewise.
9738         (RSP_LP): Likewise.
9739         (R8_LP): Likewise.
9740         (R9_LP): Likewise.
9741         (R10_LP): Likewise.
9742         (R10_LP): Likewise.
9743         (R11_LP): Likewise.
9744         (R12_LP): Likewise.
9745         (R13_LP): Likewise.
9746         (R14_LP): Likewise.
9747         (R15_LP): Likewise.
9749 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
9751         * sysdeps/x86_64/x32/dl-machine.h: New file.
9753 2012-05-14  Andreas Jaeger  <aj@suse.de>
9755         * manual/Makefile (subdir): Remove export of subdir.
9756         (all): Remove target.
9757         (.PHONY): Remove all from list.
9758         (mkinstalldirs): Remove.
9759         (.PHONY): Remove installdirs from list.
9760         ($(inst_infodir)/libc.info): Use make-target-directory.
9761         (installdirs): Remove.
9762         (subdir_%): Remove.
9763         (glibc-targets): Remove.
9764         (lib): Remove.
9765         (stubs): Remove.
9766         ($(objpfx)stubs ../po/manual.pot): Remove.
9767         ($(objpfx)stamp%): Remove.
9768         (make-target-directory): Remove.
9769         (subdir_install): Remove.
9770         (routines): Remove.
9771         (aux): Remove.
9772         (sources): Remove.
9773         (objects): Remove.
9774         (headers): Remove.
9776         [BZ #13750]
9777         * manual/.gitignore: Remove, it's not needed anymore.
9778         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
9779         all files in it.
9780         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
9781         directory.
9782         (texis): Renamed to $(objpfx)texis.
9783         (texis-path): New, contains path to generated files.
9784         (chapters.%): Use texis-path for complete path, add extra argument
9785         libc-texinfo.sh.
9786         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
9787         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
9788         (summary,texi, stamp-summary): Use complete path of
9789         files. Generate files in build dir.
9790         (dir-add.texi): Build in build dir.
9791         (libm-err.texi,stamp-libm-err): Likewise.
9792         (version.texi, stamp-version): Likewise.
9793         (.%c.texi): Likewise.
9794         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
9795         (mostlyclean): Remove target.
9796         (realclean): Remove target.
9797         (generated): Add new variable with contents from mostlyclean and
9798         realclean, remove entries duplicated in common-mostlyclean, add
9799         stamp-libm-err and stamp-version.
9800         (generated-dirs): Add libc directory.
9801         ($(inst_infodir)/libc.info): Install files from build dir.
9803         * manual/install.texi (Configuring and compiling): Adjust since
9804         the info files are not part of the tar ball anymore.
9806 2012-05-14  Andreas Jaeger  <aj@suse.de>
9808         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
9809         variable.
9811 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
9813         [BZ #13717]
9814         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
9815         to 2.2.0 where earlier.
9816         * sysdeps/unix/sysv/linux/configure: Regenerated.
9817         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
9818         Remove conditional code.
9819         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
9820         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
9821         Remove conditional code.
9822         [!__NR_lchown]: Likewise.
9823         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9824         [__NR_lchown]: Likewise.
9825         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
9826         comment referencing __ASSUME_LCHOWN_SYSCALL.
9827         * sysdeps/unix/sysv/linux/i386/sigaction.c
9828         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9829         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9830         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
9831         Remove conditional code.
9832         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
9833         (__protocol_available): Remove #if 0 code.
9834         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
9835         conditional code.
9836         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
9837         * sysdeps/unix/sysv/linux/kernel-features.h
9838         (__ASSUME_GETCWD_SYSCALL): Don't define.
9839         (__ASSUME_REALTIME_SIGNALS): Likewise.
9840         (__ASSUME_PREAD_SYSCALL): Likewise.
9841         (__ASSUME_PWRITE_SYSCALL): Likewise.
9842         (__ASSUME_POLL_SYSCALL): Likewise.
9843         (__ASSUME_LCHOWN_SYSCALL): Likewise.
9844         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
9845         non-SPARC.
9846         (__ASSUME_SIOCGIFNAME): Don't define.
9847         (__ASSUME_MSG_NOSIGNAL): Likewise.
9848         (__ASSUME_SENDFILE): Define unconditionally.
9849         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
9850         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
9851         conditional code.
9852         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
9853         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
9854         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
9855         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9856         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
9857         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
9858         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
9860         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9861         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
9863         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9864         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
9866         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9867         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
9869         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9870         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
9872         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9873         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
9875         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9876         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
9878         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9879         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
9881         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9882         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9883         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
9884         Remove conditional code.
9885         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9886         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
9887         Remove conditional code.
9888         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9889         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
9890         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
9891         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
9892         Remove conditional code.
9893         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9894         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
9895         Remove conditional code.
9896         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9897         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
9898         Remove conditional code.
9899         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9900         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
9901         Remove conditional code.
9902         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9903         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
9904         Remove conditional code.
9905         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9906         * sysdeps/unix/sysv/linux/sh/pwrite64.c
9907         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9908         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9909         * sysdeps/unix/sysv/linux/sigaction.c
9910         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9911         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9912         * sysdeps/unix/sysv/linux/sigpending.c
9913         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9914         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9915         * sysdeps/unix/sysv/linux/sigprocmask.c
9916         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9917         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9918         * sysdeps/unix/sysv/linux/sigsuspend.c
9919         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9920         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9921         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
9922         (__libc_missing_rt_sigs): Remove.
9923         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
9924         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
9925         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
9926         Remove conditional code.
9927         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
9928         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
9929         return 1.
9930         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
9931         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
9932         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
9933         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
9935 2012-05-14  Andreas Jaeger  <aj@suse.de>
9937         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
9938         it's not used in glibc.
9939         (__coshm1): Likewise.
9940         (__acosh1p): Likewise.
9941         (__sgn): Likewise.
9943         * manual/string.texi (Copying and Concatenation): Add missing
9944         variable in concat example.
9945         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
9947 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
9949         [BZ #14103]
9950         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
9951         __builtin_clzl with __builtin_clzll.
9953 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
9955         [BZ #14104]
9956         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
9957         libc_freeres_ptr.
9959 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
9961         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
9962         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
9963         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
9964         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
9966 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
9968         * NEWS: Update ia64 info.
9970 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
9972         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
9973         used as bcopy.
9975 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
9977         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
9978         * sysdeps/unix/syscalls.list (dup3): Likewise.
9979         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
9980         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
9982 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
9984         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
9985         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
9987 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
9989         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
9990         thread pointer.
9991         (TLS_IE): Use mov/add instead of movq/addq to load thread
9992         pointer.
9993         (TLS_GD_PREFIX): New.
9994         (TLS_GD): Use it.
9996 2012-05-11  David S. Miller  <davem@davemloft.net>
9998         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
9999         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
10000         (_FPU_SETCW): Likewise.
10002 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
10004         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
10005         is 32-byte aligned.
10007 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
10009         [BZ #11837]
10010         * iconvdata/gb18030.c: Update tables.
10011         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
10012         characters specially.
10013         (BODY for TO_LOOP): Add encoding of missing ranges.
10015 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
10017         [BZ #13673]
10018         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
10019         * sysdeps/mach/hurd/dup3.c: Likewise.
10020         * sysdeps/mach/hurd/readlinkat.c: Likewise.
10021         * sysdeps/powerpc/memmove.c:: Likewise.
10023 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
10025         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
10026         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
10028 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
10030         * elf/elf.h (R_X86_64_RELATIVE64): New.
10031         (R_X86_64_NUM): Updated.
10032         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
10033         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
10034         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
10035         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
10036         tst-quad1pie tst-quad2pie
10037         (modules-names): Add tst-quadmod1 tst-quadmod2.
10038         ($(objpfx)tst-quad1): New dependency.
10039         ($(objpfx)tst-quad2): Likewise.
10040         ($(objpfx)tst-quad1pie): Likewise.
10041         ($(objpfx)tst-quad2pie): Likewise.
10042         * sysdeps/x86_64/tst-quad1.c: New file.
10043         * sysdeps/x86_64/tst-quad1pie.c: New file.
10044         * sysdeps/x86_64/tst-quad2.c: Likewise.
10045         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
10046         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
10047         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
10048         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
10049         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
10051 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10053         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
10054         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
10055         * streams/stropts.h (t_scalar_t): Define type.
10057         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
10058         (_PATH_PRESERVE): Set to "/var/lib".
10059         (_PATH_RWHODIR): Set to "/var/spool/rwho".
10061         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
10062         instead of int.
10064         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
10065         if __dir_mkfile succeeded.
10067         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
10068         checking for _hurd_dtablesize.  Unlock it right after having
10069         finished _hurd_dtable allocation.
10071 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
10073         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
10074         * sysdeps/mach/hurd/configure: Regenerated.
10075         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
10076         special-casing to...
10077         * sysdeps/gnu/configure.in: ... this new file.
10078         * sysdeps/unix/sysv/linux/configure: Regenerated.
10079         * sysdeps/gnu/configure: New generated file.
10081         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
10082         for Linux: use nsec instead of usec, as well as:
10083         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
10084         members of type struct timespec.
10085         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
10086         New macros.
10087         (struct stat64): Likewise.
10088         (_STATBUF_ST_NSEC): New macro.
10089         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
10091         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
10092         __strtoul_internal rather than strtoul.
10094 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
10096         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
10097         and reject them.
10099 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10101         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
10102         which preserves existing values.
10103         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
10105 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
10107         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
10108         TIMEOUT values.  Return EINVAL for NFDS values either negative or
10109         greater than FD_SETSIZE.
10111 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10113         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
10114         allocated, call __vm_protect to finish enabling the existing space, and
10115         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
10116         allocate the remainder.
10118 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
10120         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
10121         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
10123 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10125         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
10126         sysdeps/mach/hurd/readlink.c.
10128         * posix/tst-sysconf.c (posix_options): Only use
10129         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
10130         _POSIX_SYNCHRONIZED_IO when they are defined
10131         * sysdeps/mach/hurd/bits/posix_opt.h:
10132         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
10133         (_XOPEN_REALTIME): Undefine macro.
10134         (_XOPEN_REALTIME_THREADS): Undefine macro.
10135         (_XOPEN_SHM): Undefine macro.
10136         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
10137         macro to -1.
10138         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
10139         macro to -1.
10140         (_POSIX_ASYNC_IO): Undefine macro.
10141         (_POSIX_PRIORITIZED_IO): Undefine macro.
10142         (_POSIX_SPIN_LOCKS): Define macro to -1.
10144         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
10145         SA_NODEFER, SA_RESETHAND.
10146         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
10147         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
10148         F_DUPFD_CLOEXEC.
10150 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
10152         * elf/Makefile (pldd-modules): Define unconditionally.
10154 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
10156         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
10158 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10160         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
10161         Return ENOENT when name is empty.
10162         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
10164 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
10166         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
10168         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
10170 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10172         Fix mlock in all cases except non-readable pages.
10173         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
10174         instead of VM_PROT_ALL as parameter to __vm_wire function.
10176         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
10177         (__mkdir): When path is `/', just fail with EEXIST.
10178         * sysdeps/mach/hurd/mkdirat.c: Likewise.
10180 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
10182         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
10183         <sys/uio.h> (for writev).
10184         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
10185         and <sys/param.h> (for MIN).
10187 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
10189         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
10190         REQUESTED_TIME.  Properly set the remaining time and return EINTR
10191         if interrupted.
10193 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
10195         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
10196         Depend on against $(link-rpcuserlibs).
10198 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10200         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
10201         (__libc_stack_end): Do not use attribute_relro.
10202         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
10203         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
10204         to libthread-provided value.
10205         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
10206         attribute_relro.
10208 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
10210         [BZ #3748]
10211         * bits/libc-lock.h (__libc_once_get): New macro.
10212         * sysdeps/mach/bits/libc-lock.h: Likewise.
10213         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
10214         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
10215         instead of using implementation details.
10217         * libio/fileops.c: Unconditionally include <kernel-features.h>.
10218         * libio/freopen.c: Likewise.
10219         * libio/freopen64.c: Likewise.
10220         * misc/syslog.c: Likewise.
10221         * nscd/connections.c: Likewise.
10222         * nscd/netgroupcache.c: Likewise.
10223         * sysdeps/posix/getcwd.c: Likewise.
10225 2012-05-10  Roland McGrath  <roland@hack.frob.com>
10227         * math/w_ilogbf.c: Add #include <limits.h>.
10229 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10231         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
10232         path instead of returning without unlocking.
10234         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
10235         immediate-write ioctls.
10236         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
10238 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
10240         * sysdeps/mach/hurd/i386/init-first.c (init): Use
10241         __builtin_frame_address instead of making assumptions about the
10242         location of the return address relative to DATA.  Force early load of
10243         the return address.
10244         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
10245         __builtin_frame_address.
10247         dup3 for GNU Hurd.
10248         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
10249         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
10250         implement dup3 and do some further code clean-ups.
10251         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
10252         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
10254 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10256         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
10258         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
10259         HURD_CRITICAL_END around holding _hurd_dtable_lock.
10260         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
10261         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
10262         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
10263         d->port.lock.
10265         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
10266         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
10267         when handler == SIG_ERR, not when handler != SIG_ERR.
10269 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
10271         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
10272         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
10273         definitions.
10275         accept4 for GNU Hurd.
10276         * include/sys/socket.h (__libc_accept4): New prototype.
10277         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
10278         to implement __libc_accept4.
10279         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
10280         __libc_accept4.
10281         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
10283         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
10284         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
10285         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
10286         signal-defines.sym.
10288 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10290         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
10292 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
10294         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
10295         assertion on O_CLOEXEC flag.
10296         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
10297         * hurd/intern-fd.c: Likewise.
10298         * hurd/port2fd.c: Likewise.
10300 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10302         [BZ #3906]
10303         * bits/in.h (IPV6_PKTINFO): Define new macro.
10304         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
10306 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10308         [BZ #13954]
10309         [BZ #13955]
10310         [BZ #13956]
10311         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
10312         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10313         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
10314         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
10315         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10316         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
10317         * math/libm-test.inc (logb_test) : Additional logb tests.
10319 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
10320             Andreas Jaeger  <aj@suse.de>
10322         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
10323         * configure: Regenerated.
10324         * config.h.in (LINK_OBSOLETE_RPC): New macro.
10325         * config.make.in (link-obsolete-rpc): New substituted variable.
10326         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
10327         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
10328         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
10329         (shared-only-routines): Don't set it under [link-obsolete-rpc],
10330         so that libc.a contains the symbols.
10331         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
10332         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
10333         * sunrpc/auth_none.c: Likewise.
10334         * sunrpc/auth_unix.c: Likewise.
10335         * sunrpc/authdes_prot.c: Likewise.
10336         * sunrpc/authuxprot.c: Likewise.
10337         * sunrpc/clnt_gen.c: Likewise.
10338         * sunrpc/clnt_perr.c: Likewise.
10339         * sunrpc/clnt_raw.c: Likewise.
10340         * sunrpc/clnt_simp.c: Likewise.
10341         * sunrpc/clnt_tcp.c: Likewise.
10342         * sunrpc/clnt_udp.c: Likewise.
10343         * sunrpc/clnt_unix.c: Likewise.
10344         * sunrpc/des_crypt.c: Likewise.
10345         * sunrpc/des_soft.c: Likewise.
10346         * sunrpc/get_myaddr.c: Likewise.
10347         * sunrpc/key_call.c: Likewise.
10348         * sunrpc/key_prot.c: Likewise.
10349         * sunrpc/netname.c: Likewise.
10350         * sunrpc/pm_getmaps.c: Likewise.
10351         * sunrpc/pm_getport.c: Likewise.
10352         * sunrpc/pmap_clnt.c: Likewise.
10353         * sunrpc/pmap_prot.c: Likewise.
10354         * sunrpc/pmap_prot2.c: Likewise.
10355         * sunrpc/pmap_rmt.c: Likewise.
10356         * sunrpc/publickey.c: Likewise.
10357         * sunrpc/rpc_cmsg.c: Likewise.
10358         * sunrpc/rpc_common.c: Likewise.
10359         * sunrpc/rpc_dtable.c: Likewise.
10360         * sunrpc/rpc_prot.c: Likewise.
10361         * sunrpc/rpc_thread.c: Likewise.
10362         * sunrpc/rtime.c: Likewise.
10363         * sunrpc/svc.c: Likewise.
10364         * sunrpc/svc_auth.c: Likewise.
10365         * sunrpc/svc_raw.c: Likewise.
10366         * sunrpc/svc_run.c: Likewise.
10367         * sunrpc/svc_tcp.c: Likewise.
10368         * sunrpc/svc_udp.c: Likewise.
10369         * sunrpc/svc_unix.c: Likewise.
10370         * sunrpc/svcauth_des.c: Likewise.
10371         * sunrpc/xcrypt.c: Likewise.
10372         * sunrpc/xdr.c: Likewise.
10373         * sunrpc/xdr_array.c: Likewise.
10374         * sunrpc/xdr_float.c: Likewise.
10375         * sunrpc/xdr_intXX_t.c: Likewise.
10376         * sunrpc/xdr_mem.c: Likewise.
10377         * sunrpc/xdr_rec.c: Likewise.
10378         * sunrpc/xdr_ref.c: Likewise.
10379         * sunrpc/xdr_sizeof.c: Likewise.
10380         * sunrpc/xdr_stdio.c: Likewise.
10382 2012-05-10  Roland McGrath  <roland@hack.frob.com>
10384         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
10385         change.  Update copyright years.
10387 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
10389         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
10391 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
10392             Joseph Myers  <joseph@codesourcery.com>
10393             Paul Pluzhnikov  <ppluzhnikov@google.com>
10395         [BZ #14012]
10396         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
10397         requiring rpcgen.
10398         [cross-compiling] (extra-libs): Likewise.
10399         [cross-compiling] (extra-libs-others): Likewise.
10400         [cross-compiling] (librpcsvc-routines): Likewise.
10401         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
10402         [cross-compiling] (omit-deps): Likewise.
10403         (sunrpc-CPPFLAGS): New variable.
10404         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
10405         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
10406         (cross-rpcgen-objs): New variable.
10407         (extra-objs): Append $(cross-rpcgen-objs).
10408         ($(cross-rpcgen-objs)): New rule.
10409         ($(objpfx)cross-rpcgen): Likewise.
10410         (rpcgen-cmd): Define to use $(built-program-file).  Expand
10411         comment.
10412         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
10413         ($(objpfx)x%.stmp): Likewise.
10414         * sunrpc/proto.h [IS_IN_build] (_): Define.
10415         [IS_IN_build] (_libc_intl_domainname): Likewise.
10417 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
10419         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
10420         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
10421         and R_X86_64_TPOFF64.
10423 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
10425         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
10426         sysdeps/unix/sysv/syscalls.list.
10427         (stime): Likewise.
10428         (utime): Likewise.
10429         * sysdeps/unix/sysv/syscalls.list: Remove file.
10431 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
10433         [BZ #3440]
10434         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
10435         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
10436         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
10437         (__LC_IDENTIFICATION): Make these macros useful in #if
10438         expressions, as required by C99.
10440 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
10442         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
10443         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
10444         after this.
10446 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
10448         * stdlib/longlong.h: Updated from GCC.
10450 2012-05-09  Andreas Jaeger  <aj@suse.de>
10452         * nscd/nscd.c (run_modes): Make named enum, reorder so that
10453         default is first entry.
10454         (run_mode): Set type.
10455         (main): Remove informal message about syslog.
10456         (options): Fix typo.
10458         [BZ #14053]
10459         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
10460         to asm.
10461         (lrint): Likewise.
10462         (llrintf): Likewise.
10463         (llrint): Likewise.
10464         (rint): Likewise.
10465         (rintf): Likewise.
10466         (nearbyint): Likewise.
10467         (nearbyintf): Likewise.
10469 2012-05-09  Andreas Jaeger  <aj@suse.de>
10470             Pedro Alves  <palves@redhat.com>
10472         * nscd/nscd.c (run_mode): Use enum.
10473         (main): Cleanup coding style issue.
10475 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
10476             Andreas Jaeger  <aj@suse.de>
10478         * nscd/nscd.c (go_background): Replaced with...
10479         (run_mode): ... this.
10480         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
10481         (options): Add -F --foreground.
10482         (main): Implement it.
10483         (parse_opt): Parse it.
10485 2012-05-09  Andreas Jaeger  <aj@suse.de>
10487         [BZ #14083]
10488         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
10489         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
10490         -Wconversion warning.
10491         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
10492         Likewise.
10494 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
10496         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
10497         == 0.
10498         (LC_ALL): Use macro-int-constant.
10499         (LC_COLLATE): Likewise.
10500         (LC_CTYPE): Likewise.
10501         (LC_MESSAGES): Likewise.
10502         (LC_MONETARY): Likewise.
10503         (LC_NUMERIC): Likewise.
10504         (LC_TIME): Likewise.
10505         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
10506         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
10507         [ISO || ISO99 || ISO11] (*_t): Do not allow.
10508         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
10509         Specify type.
10510         [C99-based standards] (float_t): Expect type.
10511         [C99-based standards] (double_t): Expect type.
10512         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
10513         type.
10514         [C99-based standards] (HUGE_VALL): Likewise.
10515         [C99-based standards] (INFINITY): Likewise.
10516         [C99-based standards] (NAN): Likewise.
10517         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
10518         [C99-based standards] (FP_NAN): Likewise.
10519         [C99-based standards] (FP_NORMAL): Likewise.
10520         [C99-based standards] (FP_SUBNORMAL): Likewise.
10521         [C99-based standards] (FP_ZERO): Likewise.
10522         [C99-based standards] (FP_FAST_FMA): Use
10523         optional-macro-int-constant.  Specify type.  Require == 1.
10524         [C99-based standards] (FP_FAST_FMAF): Likewise.
10525         [C99-based standards] (FP_FAST_FMAL): Likewise.
10526         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
10527         [C99-based standards] (FP_ILOGBNAN): Likewise.
10528         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
10529         Specify type.
10530         [C99-based standards] (MATH_ERREXCEPT): Likewise.
10531         [C99-based standards] (math_errhandling): Specify type.
10532         [ISO99 || ISO11] (signgam): Do not allow.
10533         [non-C99-based standards] (copysignf): Do not allow.
10534         [non-C99-based standards] (exp2f): Likewise.
10535         [non-C99-based standards] (log2f): Likewise.
10536         [non-C99-based standards] (modff): Allow.
10537         [non-C99-based standards] (erff): Do not allow.
10538         [non-C99-based standards] (erfcf): Likewise.
10539         [non-C99-based standards] (gammaf): Likewise.
10540         [non-C99-based standards] (hypotf): Likewise.
10541         [non-C99-based standards] (j0f): Likewise.
10542         [non-C99-based standards] (j1f): Likewise.
10543         [non-C99-based standards] (jnf): Likewise.
10544         [non-C99-based standards] (lgammaf): Likewise.
10545         [non-C99-based standards] (tgammaf): Likewise.
10546         [non-C99-based standards] (y0f): Likewise.
10547         [non-C99-based standards] (y1f): Likewise.
10548         [non-C99-based standards] (ynf): Likewise.
10549         [non-C99-based standards] (isnanf): Likewise.
10550         [non-C99-based standards] (acoshf): Likewise.
10551         [non-C99-based standards] (asinhf): Likewise.
10552         [non-C99-based standards] (atanhf): Likewise.
10553         [non-C99-based standards] (cbrtf): Likewise.
10554         [non-C99-based standards] (expm1f): Likewise.
10555         [non-C99-based standards] (ilogbf): Likewise.
10556         [non-C99-based standards] (log1pf): Likewise.
10557         [non-C99-based standards] (logbf): Likewise.
10558         [non-C99-based standards] (nextafterf): Likewise.
10559         [non-C99-based standards] (remainderf): Likewise.
10560         [non-C99-based standards] (rintf): Likewise.
10561         [non-C99-based standards] (scalbf): Likewise.
10562         [non-C99-based standards] (copysignl): Likewise.
10563         [non-C99-based standards] (exp2l): Likewise.
10564         [non-C99-based standards] (log2l): Likewise.
10565         [non-C99-based standards] (modfl): Allow.
10566         [non-C99-based standards] (erfl): Do not allow.
10567         [non-C99-based standards] (erfcl): Likewise.
10568         [non-C99-based standards] (gammal): Likewise.
10569         [non-C99-based standards] (hypotl): Likewise.
10570         [non-C99-based standards] (j0l): Likewise.
10571         [non-C99-based standards] (j1l): Likewise.
10572         [non-C99-based standards] (jnl): Likewise.
10573         [non-C99-based standards] (lgammal): Likewise.
10574         [non-C99-based standards] (tgammal): Likewise.
10575         [non-C99-based standards] (y0l): Likewise.
10576         [non-C99-based standards] (y1l): Likewise.
10577         [non-C99-based standards] (ynl): Likewise.
10578         [non-C99-based standards] (isnanl): Likewise.
10579         [non-C99-based standards] (acoshl): Likewise.
10580         [non-C99-based standards] (asinhl): Likewise.
10581         [non-C99-based standards] (atanhl): Likewise.
10582         [non-C99-based standards] (cbrtl): Likewise.
10583         [non-C99-based standards] (expm1l): Likewise.
10584         [non-C99-based standards] (ilogbl): Likewise.
10585         [non-C99-based standards] (log1pl): Likewise.
10586         [non-C99-based standards] (logbl): Likewise.
10587         [non-C99-based standards] (nextafterl): Likewise.
10588         [non-C99-based standards] (remainderl): Likewise.
10589         [non-C99-based standards] (rintl): Likewise.
10590         [non-C99-based standards] (scalbl): Likewise.
10591         [ISO || ISO99 || ISO11] (*_t): Do not allow.
10592         [non-C99-based standards] (FP_*): Do not allow.
10593         [C99-based standards] (FP_*): Change to
10594         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
10595         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10596         allow.
10597         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
10598         (SIG_ERR): Likewise.
10599         [X/Open-based standards] (SIG_HOLD): Likewise.
10600         (SIG_IGN): Likewise.
10601         (SIGABRT): Use macro-int-constant.  Specify type.  Require
10602         positive value.
10603         (SIGFPE): Likewise.
10604         (SIGILL): Likewise.
10605         (SIGINT): Likewise.
10606         (SIGSEGV): Likewise.
10607         (SIGTER): Likewise.
10608         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
10609         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
10610         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
10611         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
10612         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
10613         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
10614         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
10615         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
10616         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
10617         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
10618         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
10619         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
10620         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
10621         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
10622         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
10623         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
10624         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
10625         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
10626         [X/Open-based standards] (SIGTRAP): Likewise.
10627         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
10628         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
10629         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
10630         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
10631         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10632         allow.
10634 2012-05-08  Ian Wienand  <ianw@vmware.com>
10636         [BZ #14080]
10637         * time/tzset.c (__tzset_parse_tz): Update default rules for
10638         daylight time changes in the Energy Policy Act of 2005.
10640 2012-05-09  Andreas Jaeger  <aj@suse.de>
10642         [BZ #13983]
10643         * elf/ldconfig.c (parse_conf): Change string to make clear that
10644         ldconfig only issued a warning if ld.so.conf does not exist.
10646 2012-05-08  David S. Miller  <davem@davemloft.net>
10648         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
10649         movxtod instead of popping the value on the stack.
10651         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10653 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
10655         * config.h.in: Add HAVE_ARM_PCS_VFP.
10657 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
10659         [BZ #13979]
10660         * include/features.h: Warn if user requests __FORTIFY_SOURCE
10661         checking but the checks are disabled for any reason.
10663 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
10665         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
10666         and ELF64_R_TYPE with ELFW(R_TYPE).
10668 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
10670         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
10671         (ulimit): Likewise.
10673         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
10674         (settimeofday): Likewise.
10676 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
10678         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
10679         a struct th_u2 inside the union, and move tu_block/tu_code into
10680         a new th_u3 union of tu_block/tu_code inside of that.  Move
10681         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
10682         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
10683         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
10684         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
10685         (th_stuff): Change to th_u1.tu_stuff.
10686         (th_data): Define.
10687         (th_msg): Change to th_u1.th_u2.tu_data.
10689 2012-05-07  David S. Miller  <davem@davemloft.net>
10691         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10693         [BZ #14074]
10694         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
10695         (SETUP_PIC_REG): Use it.
10696         (SETUP_PIC_REG_LEAF): Use it.
10698 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
10700         [BZ #13885]
10701         [BZ #13923]
10702         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10703         USE_AS_EXPM1L.
10704         (EXPL_FINITE): Likewise.
10705         (FLDLOG): Likewise.
10706         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
10707         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
10708         e_expl.S.
10709         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10710         USE_AS_EXPM1L.
10711         (EXPL_FINITE): Likewise.
10712         (FLDLOG): Likewise.
10713         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
10714         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
10715         e_expl.S.
10716         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
10717         test of -max_value argument for long double.
10718         * sysdeps/i386/fpu/libm-test-ulps: Update.
10719         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10721 2012-05-06  David S. Miller  <davem@davemloft.net>
10723         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
10724         quad soft-float symbols whose references which are compiler
10725         generated.
10726         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
10728 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
10730         [BZ #13884]
10731         [BZ #13914]
10732         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10733         USE_AS_EXP10L.
10734         (EXPL_FINITE): Likewise.
10735         (FLDLOG): Likewise.
10736         (c0): Likewise.
10737         (c1): Likewise.
10738         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
10739         Adjust comments for base varying.
10740         (__expl_finite): Change alias to EXPL_FINITE.
10741         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
10742         e_expl.S.
10743         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
10744         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
10745         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
10746         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
10747         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10748         USE_AS_EXP10L.
10749         (EXPL_FINITE): Likewise.
10750         (FLDLOG): Likewise.
10751         (c0): Likewise.
10752         (c1): Likewise.
10753         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
10754         Adjust comments for base varying.
10755         (__expl_finite): Change alias to EXPL_FINITE.
10756         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
10757         tests for bugs.
10758         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10760         [BZ #14064]
10761         * math/libm-test.inc (check_float_internal): Correct ulp
10762         calculation for subnormal expected results.
10764 2012-05-06  Andreas Jaeger  <aj@suse.de>
10766         * Makeconfig (+math-flags): New, set to -frounding-math.
10767         (+cflags): Add +math-flags so that all of glibc gets compiled with
10768         it.
10770         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
10772 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
10774         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
10775         Disable one test.
10777         [BZ #13787]
10778         [BZ #13922]
10779         [BZ #14036]
10780         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
10781         (__ieee754_expl): Allow for and saturate large arguments.
10782         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
10783         (u_threshold): Likewise.
10784         (__exp): Call __ieee754_exp before checking for overflow and
10785         underflow.
10786         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
10787         (u_threshold): Likewise.
10788         (__expf): Call __ieee754_expf before checking for overflow and
10789         underflow.
10790         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
10791         (u_threshold): Likewise.
10792         (__expl): Call __ieee754_expl before checking for overflow and
10793         underflow.
10794         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
10795         (__ieee754_expl): Allow for and saturate large arguments.
10796         * math/libm-test.inc (exp_test): Add another test.  Do not allow
10797         missing overflow exception on overflow.
10798         (expm1_test): Do not allow missing overflow exception on overflow.
10800         * sysdeps/i386/fpu/e_expl.c: Move to ...
10801         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
10802         rather than using inline asm.
10803         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
10804         * sysdeps/x86_64/fpu/e_expl.S: Copy from
10805         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
10807         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
10808         (nice): Likewise.
10809         (poll): Likewise.
10810         (signal): Likewise.
10811         (time): Likewise.
10812         (times): Likewise.
10814 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
10816         * sysdeps/unix/syscalls.list (adjtime): Add entry from
10817         sysdeps/unix/common/syscalls.list.
10818         (fchmod): Likewise.
10819         (fchown): Likewise.
10820         (ftruncate): Likewise.
10821         (getrusage): Likewise.
10822         (gettimeofday): Likewise.
10823         (setpgid): Likewise.
10824         (setregid): Likewise.
10825         (setreuid): Likewise.
10826         (sigaction): Likewise.
10827         (truncate): Likewise.
10828         (vhangup): Likewise.
10829         * sysdeps/unix/common/syscalls.list: Remove file.
10830         * sysdeps/unix/bsd/Implies: Don't include unix/common.
10831         * sysdeps/unix/sysv/linux/Implies: Likewise.
10833 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
10835         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
10836         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
10837         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
10838         Moved to ...
10839         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
10840         Here.
10841         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
10842         to ...
10843         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
10844         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
10845         to ...
10846         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
10847         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
10848         to ...
10849         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
10850         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
10851         to ...
10852         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
10853         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
10854         to ...
10855         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
10856         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
10857         to ...
10858         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
10859         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
10860         to ...
10861         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
10862         Here.
10863         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
10864         to ...
10865         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
10866         Here.
10867         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
10868         to ...
10869         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
10870         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
10871         Moved to ...
10872         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
10873         Here.
10874         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
10875         to ...
10876         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
10878 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
10880         * sysdeps/unix/common/bits/dirent.h: Remove file.
10881         * sysdeps/unix/common/bits/fcntl.h: Likewise.
10883         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
10884         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
10885         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
10886         * sysdeps/unix/bsd/isatty.c: Likewise.
10887         * sysdeps/unix/bsd/tcdrain.c: Likewise.
10888         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
10889         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
10891 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10893         [BZ #13563]
10894         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
10895         long double comparison inaccuracies.
10896         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
10897         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10899 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
10901         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
10902         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
10904 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
10906         [BZ #14049]
10907         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
10908         nonzero digits before rounding a hex value.
10909         * stdlib/tst-strtod.c (tests): Add another test.
10911 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10913         * sysdeps/s390/fpu/libm-test-ulps: Update.
10915 2012-05-03  Andreas Jaeger  <aj@suse.de>
10917         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
10918         does not get optimized out.
10919         (malloc_opt_barrier): New.
10921 2012-05-03  Andreas Jaeger  <aj@suse.de>
10922             Roland McGrath  <roland@hack.frob.com>
10924         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
10925         intermediate file deletion.
10926         (generated): Add .symlist files.
10928 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
10930         [BZ #13775]
10931         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
10932         Redirect under this condition.
10933         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
10934         [__USE_GNU] (__dprintf_chk): Not under this condition.
10935         [__USE_GNU] (__vdprintf_chk): Likewise.
10936         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
10937         under this condition.
10938         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
10939         [__USE_XOPEN2K8] (dprintf): Define under this condition.
10940         [__USE_XOPEN2K8] (vdprintf): Likewise.
10941         [__USE_GNU] (__dprintf_chk): Not under this condition.
10942         [__USE_GNU] (__vdprintf_chk): Likewise.
10943         [__USE_GNU] (dprintf): Likewise.
10944         [__USE_GNU] (vdprintf): Likewise.
10946 2012-05-03  Roland McGrath  <roland@hack.frob.com>
10948         * elf/Makefile (common-generated): Set this instead of generated for
10949         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
10950         $(all-built-dso)-derived lists.
10952 2012-05-03  Andreas Jaeger  <aj@suse.de>
10954         * sysdeps/i386/fpu/libm-test-ulps: Update.
10956         * FAQ: Removed.
10957         * FAQ.in: Likewise.
10958         * scripts/gen-FAQ.pl: Likewise.
10959         * manual/install.texi (Installation): Point to online location of
10960         FAQ.
10961         * Makefile (files-for-dist): Remove FAQ.
10962         (FAQ): Remove.
10964 2012-05-02  Allan McRae  <allan@archlinux.org>
10966         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
10967         (LDFLAGS-reldepmod5.so): Likewise.
10968         (LDFLAGS-reldep6mod1.so): Likewise.
10969         (LDFLAGS-reldep6mod4.so): Likewise.
10970         (LDFLAGS-reldep8mod3.so): Likewise.
10971         (LDFLAGS-unload4mod1.so): Likewise.
10972         (LDFLAGS-unload4mod2.so): Likewise.
10973         (LDFLAGS-tst-initorder): Likewise.
10974         (LDFLAGS-tst-initordera2.so): Likewise.
10975         (LDFLAGS-tst-initordera3.so): Likewise.
10976         (LDFLAGS-tst-initordera4.so): Likewise.
10977         (LDFLAGS-tst-initorderb2.so): Likewise.
10978         (LDFLAGS-noload): Likewise.
10979         (LDFLAGS-next): Likewise.
10980         (LDFLAGS-order2mod1.so): Likewise.
10981         (LDFLAGS-order2mod2.so): Likewise.
10982         (LDFLAGS-tst-initorder2): Likewise.
10983         (LDFLAGS-tst-initorder2a.so): Likewise.
10984         (LDFLAGS-tst-initorder2b.so): Likewise.
10985         (LDFLAGS-tst-initorder2c.so): Likewise.
10986         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
10988 2012-05-02  David S. Miller  <davem@davemloft.net>
10990         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10992 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
10994         [BZ #14055]
10995         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
10997 2012-05-02  Andreas Jaeger  <aj@suse.de>
10999         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
11000         since we manipulate rounding mode.
11001         (CPPFLAGS-test-idouble.c): Likewise.
11002         (CPPFLAGS-test-ifloat.c): Likewise.
11003         (CFLAGS-test-ldouble.c): Likewise.
11004         (CFLAGS-test-double.c): Likewise.
11005         (CFLAGS-test-float.c): Likewise.
11006         (CFLAGS-test-misc.c): Likewise.
11007         (CFLAGS-test-test-fenv.c): Likewise.
11009 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11011         [BZ #2550]
11012         [BZ #2570]
11013         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
11014         comparisons to determine direction to adjust input.
11016 2012-05-01  Roland McGrath  <roland@hack.frob.com>
11018         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
11019         output to the target.
11021         * scripts/localplt.awk: New file.
11022         * elf/Makefile ($(objpfx)check-localplt): Target removed.
11023         (check-localplt-CFLAGS): Variable removed.
11024         ($(all-built-dso:=.jmprel)): New static pattern rule.
11025         (generated): Add those targets.
11026         (localplt-built-dso): New variable.
11027         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
11029         * elf/check-localplt.c: File removed.
11031         * scripts/check-execstack.awk: New file.
11032         * elf/Makefile ($(objpfx)check-execstack): Target removed.
11033         (check-execstack-CFLAGS): Variable removed.
11034         ($(objpfx)check-execstack.h): Target removed.
11035         ($(objpfx)execstack-default): New target.
11036         (generated): Add that instead of check-execstack.h.
11037         ($(all-built-dso:=.phdr)): New static pattern rule.
11038         (generated): Add those targets.
11039         * elf/check-execstack.c: File removed.
11041         * scripts/check-textrel.awk: New file.
11042         * elf/Makefile ($(objpfx)check-textrel): Target removed.
11043         (check-textrel-CFLAGS): Variable removed.
11044         (all-built-dso): Use := to define.o
11045         ($(all-built-dso:=.dyn)): New static pattern rule.
11046         (generated): Add those targets.
11047         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
11048         * config.make.in (READELF): New substituted variable.
11049         * elf/check-textrel.c: File removed.
11051 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
11053         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
11054         allow.
11055         * conform/data/ctype.h-data [C99-based standards] (isblank):
11056         Expect function.
11057         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
11058         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
11059         [ISO || ISO99 || ISO11] (*_t): Do not allow.
11060         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
11061         Specify type.  Require positive value.
11062         (EILSEQ): Likewise.
11063         (ERANGE): Likewise.
11064         [ISO || POSIX] (EILSEQ): Do not expect.
11065         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
11066         Specify type.  Require positive value.
11067         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
11068         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
11069         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
11070         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
11071         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
11072         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
11073         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
11074         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
11075         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
11076         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
11077         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
11078         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
11079         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
11080         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
11081         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
11082         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
11083         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
11084         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
11085         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
11086         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
11087         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
11088         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
11089         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
11090         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
11091         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
11092         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
11093         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
11094         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
11095         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
11096         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
11097         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
11098         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
11099         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
11100         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
11101         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
11102         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
11103         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
11104         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
11105         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
11106         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
11107         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
11108         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
11109         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
11110         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
11111         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
11112         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
11113         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
11114         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
11115         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
11116         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
11117         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
11118         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
11119         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
11120         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
11121         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
11122         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
11123         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
11124         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
11125         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
11126         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
11127         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
11128         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
11129         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
11130         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
11131         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
11132         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
11133         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
11134         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
11135         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
11136         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
11137         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
11138         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
11139         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
11140         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
11141         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
11142         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
11143         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
11144         Require >= 2.
11145         (FLT_ROUNDS): Expect as macro, not constant.
11146         (FLT_MANT_DIG): Use macro-int-constant.
11147         (DBL_MANT_DIG): Likewise.
11148         (LDBL_MANT_DIG): Likewise.
11149         (FLT_DIG): Likewise.
11150         (DBL_DIG): Likewise.
11151         (LDBL_DIG): Likewise.
11152         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
11153         (DBL_MIN_EXP): Likewise.
11154         (LDBL_MIN_EXP): Likewise.
11155         (FLT_MAX_EXP): Use macro-int-constant.
11156         (DBL_MAX_EXP): Likewise.
11157         (LDBL_MAX_EXP): Likewise.
11158         (FLT_MAX_10_EXP): Likewise.
11159         (DBL_MAX_10_EXP): Likewise.
11160         (LDBL_MAX_10_EXP): Likewise.
11161         (FLT_MAX): Use macro-constant.
11162         (DBL_MAX): Likewise.
11163         (LDBL_MAX): Likewise.
11164         (FLT_EPSILON): Use macro-constant.  Give upper bound.
11165         (DBL_EPSILON): Likewise.
11166         (LDBL_EPSILON): Likewise.
11167         (FLT_MIN): Likewise.
11168         (DBL_MIN): Likewise.
11169         (LDBL_MIN): Likewise.
11170         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
11171         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
11172         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
11173         [ISO11] (FLT_HAS_SUBNORM): Likewise.
11174         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
11175         [ISO11] (DBL_DECIMAL_DIG): Likewise.
11176         [ISO11] (FLT_DECIMAL_DIG): Likewise.
11177         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
11178         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
11179         [ISO11] (FLT_TRUE_MIN): Likewise.
11180         [ISO11] (LDBL_TRUE_MIN): Likewise.
11181         [ISO || ISO99 || ISO11] (*_t): Do not allow.
11182         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
11183         (SCHAR_MIN): Use macro-int-constant.  Specify type.
11184         (SCHAR_MAX): Likewise.
11185         (UCHAR_MAX): Likewise.
11186         (CHAR_MIN): Likewise.
11187         (CHAR_MAX): Likewise.
11188         (MB_LEN_MAX): Use macro-int-constant.
11189         (SHRT_MIN): Use macro-int-constant.  Specify type.
11190         (SHRT_MAX): Likewise.
11191         (USHRT_MAX): Likewise.
11192         (INT_MAX): Likewise.
11193         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
11194         bound negative.
11195         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
11196         bound with "U".
11197         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
11198         bound with "L".
11199         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
11200         bound negative.  Suffix upper bound with "L".
11201         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
11202         bound with "UL".
11203         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
11204         Specify type.
11205         [C99-based standards] (LLONG_MAX): Likewise.
11206         [C99-based standards] (ULLONG_MAX): Likewise.
11207         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
11208         == 0.
11209         [ISO11] (max_align_t): Require type.
11210         [ISO || ISO99 || ISO11] (*_t): Do not allow.
11212         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
11213         from $CFLAGS, without defining away __attribute__ calls.
11214         (checknamespace): Use $CFLAGS_namespace.
11216         * conform/conformtest.pl (@keywords): Only include C99 keywords
11217         for standards based on C99 or C11.
11219         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
11220         Disable tests.
11221         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
11222         UNIX98]: Likewise.
11224         * conform/conformtest.pl: Handle "macro-int-constant" and test for
11225         usability of symbols in #if.
11227         * conform/conformtest.pl: If macro or constant types start
11228         "promoted:", expect the symbol to be of the following type
11229         promoted by the integer promotions.
11231         * conform/conformtest.pl: Parse all "constant" and "macro" lines
11232         in one place.  Also handle "macro-constant".
11234         * conform/conformtest.pl: Only accept expected macro values with
11235         "==".  Parse all "macro" lines in one place.
11236         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
11238         * conform/conformtest.pl: Handle braced types on "constant" lines
11239         instead of handling "typed-constant".
11240         * conform/data/signal.h-data: Use "constant" instead of
11241         "typed-constant".
11243         * conform/conformtest.pl: Handle "optional-" at start of lines in
11244         one place rather than duplicating several cases.  Handle each
11245         format of "macro" line with initial "optional-".
11247         * conform/conformtest.pl: Only accept expected constant or
11248         optional-constant values with "==".  Parse all "constant" lines in
11249         one place.  Parse all "optional-constant" lines in one place.
11250         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
11251         * conform/data/fmtmsg.h-data: Likewise.
11252         * conform/data/netinet/in.h-data: Likewise.
11253         * conform/data/tar.h-data: Likewise.
11254         * conform/data/limits.h-data: Use "==" form on "constant" and
11255         "optional-constant" lines.
11257         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
11258         Use -std=c99 for XOPEN2K.
11259         (@knownproblems): Remove.
11260         (newtoken): Don't check %isknown.
11262         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
11263         Do not expect macro.
11264         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
11265         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
11266         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
11267         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
11268         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
11269         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
11270         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
11271         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
11272         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
11273         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
11274         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
11275         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
11276         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
11277         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
11278         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
11279         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
11280         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
11281         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
11282         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
11283         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
11284         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
11285         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
11286         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
11287         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
11288         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
11289         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
11290         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
11291         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
11292         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
11293         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
11294         [XPG3] (acosh): Likewise.
11295         [XPG3] (asinh): Likewise.
11296         [XPG3] (atanh): Likewise.
11297         [XPG3] (cbrt): Likewise.
11298         [XPG3] (expm1): Likewise.
11299         [XPG3] (ilogb): Likewise.
11300         [XPG3] (log1p): Likewise.
11301         [XPG3] (logb): Likewise.
11302         [XPG3] (nextafter): Likewise.
11303         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
11304         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
11305         [XPG3] (remainder): Likewise.
11306         [XPG3] (rint): Likewise.
11307         [XPG3 || XPG4 || UNIX98] (round): Likewise.
11308         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
11309         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
11310         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
11311         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
11312         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
11313         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
11314         [UNIX98 || XOPEN2K] (scalb): Expect.
11315         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
11316         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
11317         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
11318         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
11319         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
11320         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
11321         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
11322         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
11323         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
11324         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
11325         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
11326         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
11327         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
11328         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
11329         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
11330         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
11331         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
11332         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
11333         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
11334         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
11335         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
11336         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
11337         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
11338         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
11339         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
11340         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
11341         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
11342         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
11343         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
11344         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
11345         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
11346         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
11347         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
11348         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
11349         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
11350         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
11351         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
11352         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
11353         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
11354         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
11355         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
11356         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
11357         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
11358         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
11359         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
11360         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
11361         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
11362         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
11363         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
11364         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
11365         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
11366         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
11367         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
11368         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
11369         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
11370         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
11371         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
11372         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
11373         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
11374         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
11375         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
11376         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
11377         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
11378         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
11379         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
11380         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
11381         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
11382         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
11383         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
11384         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
11385         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
11386         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
11387         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
11388         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
11389         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
11390         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
11391         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
11392         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
11393         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
11394         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
11395         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
11396         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
11397         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
11398         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
11399         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
11400         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
11401         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
11402         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
11403         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
11404         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
11405         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
11406         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
11407         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
11408         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
11409         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
11410         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
11411         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
11412         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
11413         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
11414         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
11415         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
11416         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
11417         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
11418         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
11419         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
11420         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
11421         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
11422         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
11423         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
11424         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
11425         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
11426         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
11427         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
11428         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
11429         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
11430         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
11431         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
11432         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
11433         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
11434         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
11435         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
11436         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
11437         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
11438         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
11439         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
11440         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
11441         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
11442         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
11443         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
11444         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
11445         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
11446         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
11447         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
11448         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
11449         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
11450         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
11451         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
11453         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
11454         _XOPEN_SOURCE_EXTENDED for XPG4.
11456         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
11458         * Makeconfig (localtime): Remove variable.
11459         (inst_localtime-file): Likewise.
11461 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
11463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
11464         Update.
11465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11466         Update.
11467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
11468         Update.
11469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11470         Update.
11471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
11472         Update.
11473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
11474         Update.
11475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11476         Update.
11477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
11478         Update.
11479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11480         Update.
11482 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
11484         [BZ #2550]
11485         [BZ #2570]
11486         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
11487         comparisons to determine direction to adjust input.
11488         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
11489         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
11490         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
11491         Likewise.
11492         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
11493         Likewise.
11494         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11495         Likewise.
11496         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
11497         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
11498         Likewise.
11499         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
11500         Likewise.
11501         * math/libm-test.inc (nexttoward_test): Add more tests.
11503 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
11505         [BZ #14040]
11506         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
11507         in version GLIBC_2.1, not GLIBC_2.0.
11508         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
11509         Likewise.
11511 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
11513         [BZ #13942]
11514         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
11515         (1 - x) * (1 + x).
11516         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
11517         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
11518         * math/libm-test.inc (acos_test): Add more tests.
11519         (asin_test): Likewise.
11520         * sysdeps/i386/fpu/libm-test-ulps: Update.
11521         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11523         [BZ #14034]
11524         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
11525         of square root.
11526         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
11527         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
11528         * math/libm-test.inc (acos_test_tonearest): New function.
11529         (acos_test_towardzero): Likewise.
11530         (acos_test_downward): Likewise.
11531         (acos_test_upward): Likewise.
11532         (asin_test_tonearest): Likewise.
11533         (asin_test_towardzero): Likewise.
11534         (asin_test_downward): Likewise.
11535         (asin_test_upward): Likewise.
11536         (main): Call the new functions.
11537         * sysdeps/i386/fpu/libm-test-ulps: Update.
11538         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11540         [BZ #13884]
11541         [BZ #13924]
11542         * math/e_exp10.c: Include <float.h>.
11543         (__ieee754_exp10): Handle underflow here rather than multiplying
11544         large negative argument by M_LN10.
11545         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
11546         of __ieee754_expf.
11547         * math/e_exp10l.c: Include <float.h>.
11548         (__ieee754_exp10l): Handle underflow here rather than multiplying
11549         large negative argument by M_LN10l.
11550         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
11551         spurious overflow exception on underflow.
11553 2012-04-29  Marek Polacek  <polacek@redhat.com>
11555         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
11556         (__fortify_function): New macro.
11557         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
11558         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
11559         __extern_always_inline.
11560         * libio/bits/stdio2.h: Likewise.
11561         * libio/bits/stdio.h: Likewise.
11562         * string/string.h: Likewise.
11563         * string/bits/string3.h: Likewise.
11564         * include/stdio.h: Likewise.
11565         * stdlib/bits/stdlib.h: Likewise.
11566         * stdlib/stdlib.h: Likewise.
11567         * rt/bits/mqueue2.h: Likewise.
11568         * rt/mqueue.h: Likewise.
11569         * posix/bits/unistd.h: Likewise.
11570         * posix/unistd.h: Likewise.
11571         * io/bits/poll2.h: Likewise.
11572         * io/bits/fcntl2.h: Likewise.
11573         * io/fcntl.h: Likewise.
11574         * io/sys/poll.h: Likewise.
11575         * misc/bits/syslog.h: Likewise.
11576         * misc/bits/syslog-ldbl.h: Likewise.
11577         * misc/sys/syslog.h: Likewise.
11578         * socket/bits/socket2.h: Likewise.
11579         * socket/sys/socket.h: Likewise.
11580         * debug/tst-chk1.c: Likewise.
11581         * wcsmbs/bits/wchar2.h: Likewise.
11582         * wcsmbs/bits/wchar-ldbl.h: Likewise.
11583         * wcsmbs/wchar.h: Likewise.
11585 2012-04-29  Andreas Jaeger  <aj@suse.de>
11587         * Makerules (tests): Remove enable-check-abi protection.
11588         (check-abi-warn): Remove.
11589         (check-abi-%): Remove check-abi-warn usage.
11591         * configure.in: Remove check-abi configure option.
11592         * configure: Regenerated.
11593         * config.make.in (enable-check-abi): Remove.
11595 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
11597         [BZ #14033]
11598         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
11599         double functions to double *_finite functions.
11601         [BZ #13941]
11602         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
11603         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
11604         LDBL_MIN_EXP.
11605         * stdio-common/Makefile (tests): Add tst-sprintf3.
11606         * stdio-common/tst-sprintf3.c: New file.
11608         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
11609         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
11611 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
11613         * conform/conformtest.pl: Remove duplicate typed-constant
11614         handling.
11616 2012-04-28  David S. Miller  <davem@davemloft.net>
11618         * Makerules (%.abilist): Add vpath on sysdep_dirs.
11619         (check-abi-%): Remove AWK script prerequisite and explicit
11620         abilist directory.
11621         (check-abi): Rewrite to just diff the symlist with the abilist.
11622         (config-tls, config-abi-config): Delete, no longer used.
11623         (update-abi-%): Remove AWK script and explicit abilist directory.
11624         (update-abi): Rewrite to simply compare and conditionally copy the
11625         symlist and the sysdep abilist file.  Remove update-abi-config
11626         checks.
11627         * abilist/ld.abilist: Remove.
11628         * abilist/libBrokenLocale.abilist: Remove.
11629         * abilist/libanl.abilist: Remove.
11630         * abilist/libcrypt.abilist: Remove.
11631         * abilist/libdl.abilist: Remove.
11632         * abilist/librt.abilist: Remove.
11633         * abilist/libthread_db.abilist: Remove.
11634         * abilist/libutil.abilist: Remove.
11635         * scripts/extract-abilist.awk: Remove.
11636         * scripts/merge-abilist.awk: Remove.
11637         * sysdeps/generic/libcidn.abilist: New file.
11638         * sysdeps/generic/libnss_compat.abilist: New file.
11639         * sysdeps/generic/libnss_db.abilist: New file.
11640         * sysdeps/generic/libnss_dns.abilist: New file.
11641         * sysdeps/generic/libnss_files.abilist: New file.
11642         * sysdeps/generic/libnss_hesiod.abilist: New file.
11643         * sysdeps/generic/libnss_nis.abilist: New file.
11644         * sysdeps/generic/libnss_nisplus.abilist: New file.
11645         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
11646         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
11647         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
11648         file.
11649         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
11650         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
11651         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
11652         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
11653         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
11654         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
11655         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
11656         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
11657         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
11658         file.
11659         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
11660         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
11661         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
11662         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
11663         file.
11664         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
11665         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
11666         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
11667         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
11668         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
11669         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
11670         file.
11671         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
11672         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
11673         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
11674         file.
11675         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
11676         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
11677         New file.
11678         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
11679         New file.
11680         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
11681         New file.
11682         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
11683         New file.
11684         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
11685         New file.
11686         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
11687         New file.
11688         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
11689         New file.
11690         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
11691         New file.
11692         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
11693         New file.
11694         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
11695         New file.
11696         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
11697         New file.
11698         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
11699         New file.
11700         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
11701         New file.
11702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
11703         file.
11704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
11705         New file.
11706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
11707         New file.
11708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
11709         file.
11710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
11711         New file.
11712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
11713         New file.
11714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
11715         file.
11716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
11717         New file.
11718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11719         New file.
11720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
11721         New file.
11722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
11723         New file.
11724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
11725         New file.
11726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
11727         New file.
11728         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
11729         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
11730         file.
11731         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
11732         New file.
11733         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
11734         file.
11735         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
11736         file.
11737         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
11738         file.
11739         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
11740         file.
11741         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
11742         file.
11743         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11744         New file.
11745         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
11746         file.
11747         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
11748         file.
11749         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
11750         New file.
11751         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
11752         file.
11753         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
11754         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
11755         file.
11756         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
11757         New file.
11758         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
11759         file.
11760         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
11761         file.
11762         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
11763         file.
11764         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
11765         file.
11766         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
11767         file.
11768         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11769         New file.
11770         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
11771         file.
11772         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
11773         file.
11774         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
11775         New file.
11776         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
11777         file.
11778         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
11779         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
11780         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
11781         file.
11782         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
11783         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
11784         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
11785         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
11786         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
11787         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
11788         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
11789         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
11790         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
11791         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
11792         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
11793         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
11794         file.
11795         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
11796         New file.
11797         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
11798         file.
11799         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
11800         file.
11801         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
11802         file.
11803         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
11804         file.
11805         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
11806         file.
11807         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11808         New file.
11809         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
11810         New file.
11811         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
11812         file.
11813         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
11814         New file.
11815         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
11816         file.
11817         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
11818         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
11819         file.
11820         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
11821         New file.
11822         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
11823         file.
11824         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
11825         file.
11826         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
11827         file.
11828         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
11829         file.
11830         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
11831         file.
11832         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11833         New file.
11834         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
11835         New file.
11836         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
11837         file.
11838         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
11839         New file.
11840         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
11841         file.
11843 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
11845         * conform/conformtest.pl: Fix typo in handling typed-constant from
11846         allow-header.
11848 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
11850         * README: Cut down references to pre-2.6 Linux kernels and
11851         Linuxthreads.  Update lists of configurations in libc and ports
11852         and sort alphabetically.  Say "or newer" with Linux kernel version
11853         requirements.
11855         * config.h.in [IS_IN_build]: Allow compiling without optimization.
11857 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
11859         [BZ #887]
11860         * math/libm-test.inc (logb_test_downward): New test to expose
11861         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
11862         rounding mode.
11864 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
11866         [BZ #14027]
11867         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
11868         to be done.
11869         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
11870         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
11872 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
11874         * sysdeps/unix/i386/brk.S: Remove file.
11875         * sysdeps/unix/i386/dl-brk.S: Likewise.
11876         * sysdeps/unix/i386/pipe.S: Likewise.
11877         * sysdeps/unix/i386/sigreturn.S: Likewise.
11878         * sysdeps/unix/i386/syscall.S: Likewise.
11879         * sysdeps/unix/i386/vfork.S: Likewise.
11880         * sysdeps/unix/i386/wait.S: Likewise.
11882         * sysdeps/unix/common/tcsendbrk.c: Move to ...
11883         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
11885         * configure.in (arm*-none*): Do not allow without
11886         --enable-hacker-mode.
11887         (netbsd*): Remove case setting base_os.
11888         (386bsd*): Likewise.
11889         (freebsd*): Likewise.
11890         (bsdi*): Likewise.
11891         (osf*): Likewise.
11892         (sunos*): Likewise.
11893         (ultrix*): Likewise.
11894         (newsos*): Likewise.
11895         (dynix*): Likewise.
11896         (*bsd*): Likewise.
11897         (sysv*): Likewise.
11898         (isc*): Likewise.
11899         (esix*): Likewise.
11900         (sco*): Likewise.
11901         (minix*): Likewise.
11902         (irix4*): Likewise.
11903         (irix6*): Likewise.
11904         (solaris[2-9]*): Likewise.
11905         (none): Likewise.
11906         * configure: Regenerated.
11908 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11910         [BZ #11521]
11911         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
11912         overflow or cancellation in calculating denominator.
11913         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
11914         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
11915         down expression to avoid unexpected rounding in newer GCCs.
11916         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
11918 2012-04-26  David S. Miller  <davem@davemloft.net>
11920         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
11921         long-double compat symbols.
11922         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
11923         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
11924         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
11925         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
11926         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
11927         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
11928         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
11929         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
11930         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
11931         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
11932         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
11933         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
11934         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
11936 2012-04-25  David S. Miller  <davem@davemloft.net>
11938         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
11939         HWCAP_* values only after the memory barriers have been defined.
11940         (atomic_full_barrier): Define.
11941         (atomic_read_barrier): Define.
11942         (atomic_write_barrier): Define.
11944 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11946         * shlib-versions: Add libgcc_s version information.
11947         * sysdeps/generic/libgcc_s.h: Remove.
11948         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
11949         libgcc_s.h.
11950         * sysdeps/gnu/unwind-resume.c: Likewise.
11951         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
11953 2012-04-25  David S. Miller  <davem@davemloft.net>
11955         * sysdeps/unix/sparc/brk.S: Delete.
11956         * sysdeps/unix/sparc/dl-brk.S: Delete.
11957         * sysdeps/unix/sparc/pipe.S: Delete.
11958         * sysdeps/unix/sparc/sysdep.S: Delete.
11959         * sysdeps/unix/sparc/sysdep.h: Delete.
11960         * sysdeps/unix/sparc/vfork.S: Delete.
11961         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
11962         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
11963         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
11964         ret_ERRVAL, r0, r1, MOVE): Define.
11965         (JUMPTARGET): Remove.
11966         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
11967         sysdeps/unix/sparc/sysdep.h
11968         (ENTRY, END): Remove.
11969         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11971 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
11973         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
11974         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
11975         -DIS_IN_build.
11977         * timezone/README: Update upstream location and email address for
11978         tzcode and tzdata.
11979         * timezone/zdump.c: Update from tzcode 2012b.
11980         * timezone/zic.c: Likewise.
11982         * configure.in (libc_cv_as_needed): Remove test.
11983         * configure: Regenerated.
11984         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
11985         conditional definition.
11986         [$(have-as-needed) != yes] (no-as-needed): Likewise.
11987         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
11988         * config.make.in (have-as-needed): Remove variable.
11990 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
11991             Paul Pluzhnikov  <ppluzhnikov@google.com>
11993         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
11994         strings correctly.
11996 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
11998         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
11999         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
12000         * sysdeps/sh/strlen.S: Likewise.
12002 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
12004         * sysdeps/unix/fork.S: Remove file.
12005         * sysdeps/unix/i386/fork.S: Likewise.
12006         * sysdeps/unix/sparc/fork.S: Likewise.
12008         * sysdeps/unix/system.c: Remove file.
12009         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
12011         * sysdeps/unix/getegid.S: Remove file.
12012         * sysdeps/unix/geteuid.S: Likewise.
12014 2012-04-24  Roland McGrath  <roland@hack.frob.com>
12016         * scripts/check-localplt.awk: New file.
12017         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
12018         of diff.
12019         * scripts/data/localplt-generic.data: Add a comment.
12021         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
12022         NODE when __dir_mkfile failed.
12023         * sysdeps/mach/hurd/symlinkat.c: Likewise.
12024         Reported by Ludovic Courtès <ludo@gnu.org>.
12026 2012-04-24  Andreas Jaeger  <aj@suse.de>
12028         * Makerules (common-clean): Also remove gen-as-const-headers
12029         files.
12031 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
12033         * Makerules (native-compile): Do not change working directory for
12034         build.  Use $(OUTPUT_OPTION) in command.
12035         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
12037 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12039         [BZ #13886]
12040         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
12041         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
12042         * math/libm-test.inc (floor_test): Add more tests.
12043         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
12045 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
12047         * sysdeps/unix/getdents.c: Remove file.
12048         * sysdeps/unix/sysv/getdents.c: Likewise.
12049         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
12051         * sysdeps/unix/syscalls.list (madvise): Add syscall from
12052         sysdeps/unix/mman/syscalls.list.
12053         (mmap): Likewise.
12054         (mprotect): Likewise.
12055         (msync): Likewise.
12056         (munmap): Likewise.
12057         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
12058         * sysdeps/unix/mman/syscalls.list: Remove.
12059         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
12061         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
12062         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
12063         * configure: Regenerated.
12064         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
12065         $(libgcc_s_suffix).
12066         * config.make.in (libgcc_s_suffix): Remove variable.
12068 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
12070         * sysdeps/unix/sysv/gethostname.c: Move to ...
12071         * sysdeps/posix/gethostname.c: ... here.
12073         * sysdeps/unix/execve.S: Remove file.
12075         * sysdeps/unix/_exit.S: Remove file.
12077 2012-04-23  Andreas Jaeger  <aj@suse.de>
12079         [BZ #13739]
12080         * manual/Makefile: Remove make dist support, there's no
12081         need for a stand-alone documentation tar ball.
12082         (TEXI2DVI): Define always, it's not in Makeconfig.
12083         (dist): Removed.
12084         (tar-it): Removed.
12085         (edition): Removed.
12086         (glibc-doc-$(edition).tar): Removed
12087         (%.Z): Removed.
12088         (%.gz): Removed.
12089         (%.uu): Removed.
12090         (ETAGS): Remove, it's in Makeconfig.
12091         (move-if-change): Remove, it's in Makeconfig.
12093 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
12095         [BZ #13970]
12096         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
12097         (strtod, strtof, strtold, strtol, strtoul, strtoq)
12098         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
12099         (strtod_l, strtof_l, strtold_l): Remove __wur.
12100         It is not necessarily an error to ignore strtol's return value.
12101         One can reliably look at the stored endptr to decide whether
12102         the number had valid syntax.
12104 2012-04-21  Andreas Jaeger  <aj@suse.de>
12106         [BZ #13739]
12107         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
12109 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
12111         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
12112         * sysdeps/unix/sysv/Versions: Remove file.
12114 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
12116         [BZ #13927]
12117         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12119 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
12121         [BZ #7064]
12122         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
12123         version from __vm86.
12125 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
12127         * sysdeps/unix/common/lxstat.c: Remove file.
12128         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
12130         * sysdeps/unix/sysv/Makefile: Remove file.
12132         * sysdeps/unix/sysv/direct.h: Remove file.
12134         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
12135         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
12136         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
12137         * sysdeps/unix/sysv/bits/signum.h: Likewise.
12138         * sysdeps/unix/sysv/bits/stat.h: Likewise.
12139         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
12140         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
12142         * sysdeps/unix/sysv/setrlimit.c: Remove file.
12144         * sysdeps/unix/xmknod.c: Remove file.
12145         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
12147         * sysdeps/unix/sysv/settimeofday.c: Remove file.
12149         * sysdeps/unix/sysv/i386/time.S: Remove file.
12151         * sysdeps/unix/fxstat.c: Remove file.
12152         * sysdeps/unix/xstat.c: Likewise.
12153         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
12155         * sysdeps/unix/sysv/sigaction.c: Remove file.
12157         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
12158         (sysdep_headers): Remove variable.
12159         [termio.h not in sysdep_headers] (generated): Likewise.
12160         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
12161         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
12162         * sysdeps/unix/sysv/tcdrain.c: Likewise.
12163         * sysdeps/unix/sysv/tcflow.c: Likewise.
12164         * sysdeps/unix/sysv/tcflush.c: Likewise.
12165         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
12166         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
12167         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
12168         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
12169         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
12171         * sysdeps/unix/siglist.c: Remove file.
12173         * sysdeps/unix/getppid.S: Remove file.
12175         * sysdeps/unix/mkdir.c: Remove file.
12176         * sysdeps/unix/rmdir.c: Likewise.
12178 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
12180         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
12181         ERR_MAX value.
12182         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
12183         errlist-compat value.
12185 2012-04-18  David S. Miller  <davem@davemloft.net>
12187         * sysdeps/generic/memcopy.h (reg_char): Delete.
12188         * debug/strcat_chk.c: Use char, not reg_char.
12189         * debug/strcpy_chk.c: Likewise.
12190         * debug/strncat_chk.c: Likewise.
12191         * debug/strncpy_chk.c: Likewise.
12192         * string/memchr.c: Likewise.
12193         * string/memrchr.c: Likewise.
12194         * string/rawmemchr.c: Likewise.
12195         * string/strcat.c: Likewise.
12196         * string/strchr.c: Likewise.
12197         * string/strchrnul.c: Likewise.
12198         * string/strcmp.c: Likewise.
12199         * string/strcpy.c: Likewise.
12200         * string/strncat.c: Likewise.
12201         * string/strncmp.c: Likewise.
12202         * string/strncpy.c: Likewise.
12204 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
12206         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
12207         __builtin_memcopy is called when src and dest ranges are known to not
12208         overlap.
12210 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
12212         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
12213         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
12214         fwd_align_merge macro call.
12215         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
12216         bwd_align_merge macro call.
12217         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12219 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
12221         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
12222         bwd_align_merge macros.
12223         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
12224         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
12225         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12227 2012-04-18  David S. Miller  <davem@davemloft.net>
12229         * sysdeps/sparc/sparc64/memcopy.h: Delete.
12231 2012-04-18  Andreas Jaeger  <aj@suse.de>
12233         [BZ# 6794]
12234         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
12235         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
12236         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12238         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
12239         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
12240         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12242         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
12243         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
12244         Adjust for changed ldbl-128 files.
12246         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
12247         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
12248         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12250 2012-04-17  David S. Miller  <davem@davemloft.net>
12252         * sysdeps/sparc/sparc32/memcopy.h: Delete.
12254 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
12256         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
12257         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
12258         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
12259         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
12260         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
12261         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
12263 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12265         [BZ #6794]
12266         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
12267         * math/libm-test.inc: Add ilogb errno and exception tests.
12268         * math/w_ilogb.c: New file: ilogb wrapper.
12269         * math/w_ilogbf.c: New file: ilogbf wrapper.
12270         * math/w_ilogbl.c: New file: ilogbl wrapper.
12271         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
12272         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
12273         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
12274         exception being thrown with 0.0 as argument.
12275         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
12276         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
12277         exception being thrown with 0.0 as argument.
12278         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
12279         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
12280         exception being thrown with 0.0 as argument.
12281         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
12282         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
12283         exception being thrown with 0.0 as argument.
12284         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
12285         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
12286         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
12287         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
12288         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
12289         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
12290         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
12291         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
12292         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
12294 2012-04-17  Petr Baudis  <pasky@ucw.cz>
12296         * include/sys/uio.h: Change __vector to __iovec to avoid clash
12297         with altivec.
12299 2012-04-16  Marek Polacek  <polacek@redhat.com>
12301         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
12303 2012-04-16  Marek Polacek  <polacek@redhat.com>
12305         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
12306         operands of fdivp instruction.
12308 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
12310         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
12311         * elf/tst-auditmod3b.c: Likewise.
12312         * elf/tst-auditmod4b.c: Likewise.
12313         * elf/tst-auditmod5b.c: Likewise.
12314         * elf/tst-auditmod6b.c: Likewise.
12315         * elf/tst-auditmod6c.c: Likewise.
12316         * elf/tst-auditmod7b.c: Likewise.
12317         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
12318         * sysdeps/x86_64/preconfigure.in: Likewise.
12319         * sysdeps/x86_64/preconfigure: Regenerated.
12321 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
12323         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
12324         __ILP32__.
12326 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
12328         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12329         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
12331 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
12333         [BZ #13973]
12334         * locale/iso-639.def: Fix gl language name. Spotted by
12335         Yaron Shahrabani.
12337 2012-04-12  Roland McGrath  <roland@hack.frob.com>
12339         [BZ #2074]
12340         * libio/libio.h (__io_write_fn): Update comment.
12342 2012-04-12  Petr Baudis  <pasky@ucw.cz>
12344         [BZ #2074]
12345         * stdio.texi (Hook Functions): The user provided writer function
12346         is not allowed to return -1.
12348 2012-04-11  David S. Miller  <davem@davemloft.net>
12350         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12352 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
12354         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
12355         Add a leading slash to rtkaio.
12357 2012-04-11  Jim Meyering  <meyering@redhat.com>
12359         [BZ #11959]
12360         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
12361         It is not necessarily an error to ignore fwrite's return
12362         value.  One can reliably use ferror to test for errors after
12363         the fact.
12365 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
12367         * bits/types.h (__snseconds_t): New type.
12368         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
12370         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
12371         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12372         (__SNSECONDS_T_TYPE): Likewise.
12373         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12374         (__SNSECONDS_T_TYPE): Likewise.
12375         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12376         (__SNSECONDS_T_TYPE): Likewise.
12378 2012-04-10  Andreas Jaeger  <aj@suse.de>
12380         [BZ #2636]
12381         * manual/time.texi (Processor Time): Return type of times is
12382         elapsed real time since an arbitrary point in the past.
12383         (CPU Time): Move CLK_TCK from here...
12384         (Processor Time): ...to here.  Correct description.
12385         * manual/conf.texi (Constants for Sysconf): Correct description of
12386         _SC_CLK_TCK.
12388 2012-04-10  David S. Miller  <davem@davemloft.net>
12390         [BZ #13967]
12391         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
12392         where the is a gap between DT_REL(A) and DT_JMPREL.
12394 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
12396         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
12397         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
12398         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
12400 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
12402         * elf/dl-support.c (_dl_inhibit_cache): New variable.
12403         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
12404         (dl_main): Handle --inhibit-cache.
12405         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
12406         _dl_inhibit_cache.
12407         * elf/dl-load.c (_dl_map_object): Use it.
12408         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
12410 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
12412         [BZ #13872]
12413         * sysdeps/i386/fpu/e_powl.S (p78): New object.
12414         (__ieee754_powl): Saturate large exponents rather than testing for
12415         overflow of y*log2(x).
12416         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12417         * math/libm-test.inc (pow_test): Do not permit spurious overflow
12418         exceptions.
12420         [BZ #11521]
12421         * math/s_ctan.c: Include <float.h>.
12422         (__ctan): Avoid internal overflow or cancellation in calculating
12423         denominator.
12424         * math/s_ctanf.c: Likewise.
12425         * math/s_ctanl.c: Likewise.
12426         * math/s_ctanh.c: Likewise.
12427         * math/s_ctanhf.c: Likewise.
12428         * math/s_ctanhl.c: Likewise.
12429         * math/libm-test.inc (ctan_test): Add more tests.
12430         (ctanh_test): Likewise.
12431         * sysdeps/i386/fpu/libm-test-ulps: Update.
12432         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12434 2012-04-09  Andreas Jaeger  <aj@suse.de>
12436         [BZ #6894]
12437         * manual/filesys.texi (Directory Entries): Mention that d_namlen
12438         is an optional BSD extension.
12440         [BZ #10254]
12441         * manual/stdio.texi (Opening Streams): Document additional fopen
12442         parameters.
12444 2012-04-09  Roland McGrath  <roland@hack.frob.com>
12446         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
12447         %eax without telling the compiler.
12449 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
12451         [BZ # 13963]
12452         * manual/install.texi: Use sourceware.org.
12454 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
12456         [BZ #13873]
12457         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
12458         (__ieee754_pow): Generate overflow and underflow using huge*huge
12459         and tiny*tiny rather than just returning constant infinity or zero
12460         for large exponents.
12461         * math/libm-test.inc (pow_test): Require overflow exceptions for
12462         applicable cases of large exponents.
12464         [BZ #706]
12465         * sysdeps/i386/fpu/e_pow.S (p10): New object.
12466         (__ieee754_pow): Use iterative multiplication algorithm only for
12467         integer exponents with absolute value below 1024.  Check for odd
12468         integer exponents when using algorithm for real exponents.
12469         * math/libm-test.inc (pow_test): Add more tests.
12470         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12472 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
12474         [BZ #13705]
12475         * math/libm-test.inc (exp_test): Do not allow overflow exception
12476         on underflow test.
12478 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
12480         [BZ #13705]
12481         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
12482         instead of __kernel_standard_f.
12484 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
12486         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
12487         * sysdeps/x86_64/memset_chk.S: Likewise.
12489 2012-04-08  Andreas Jaeger  <aj@suse.de>
12491         [BZ #10153]
12492         * manual/startup.texi (Environment Access): Describe return value
12493         for putenv and setenv.
12495         [BZ #6895]
12496         * manual/filesys.texi (Directory Entries): Add description for
12497         DT_LNK.
12499         [BZ #6890]
12500         * manual/filesys.texi (Directory Entries): Clarify that it's file
12501         system not operating system in the description of DT_UNKNOWN.
12503         [BZ #6578]
12504         * manual/syslog.texi (closelog): Fix reference, it's openlog.
12506 2012-04-08  Stephen Compall  <s11@member.fsf.org>
12508         [BZ #6649]
12509         * manual/llio.texi (Opening and Closing Files): Add cross
12510         reference to explain mode argument.
12512 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
12514         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
12515         * sysdeps/x86_64/memset_chk.S: Likewise.
12517 2012-04-07  David S. Miller  <davem@davemloft.net>
12519         * elf/elf.h (R_SPARC_WDISP10): Define.
12520         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
12521         R_SPARC_SIZE32.
12522         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
12523         R_SPARC_SIZE64 and R_SPARC_H34.
12525 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
12527         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
12528         conditions and remove no longer applicable assertion.
12530 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
12532         * bits/byteswap.h: Include <features.h>.
12533         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
12534         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
12536 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
12538         * bits/byteswap.h (__bswap_16): Removed.
12539         Include <bits/byteswap-16.h> to get __bswap_16.
12540         * sysdeps/i386/bits/byteswap.h: Likewise.
12541         * sysdeps/s390/bits/byteswap.h: Likewise.
12542         * sysdeps/x86_64/bits/byteswap.h: Likewise.
12543         * bits/byteswap-16.h: New file.
12544         * sysdeps/i386/bits/byteswap-16.h: Likewise.
12545         * sysdeps/s390/bits/byteswap-16.h: Likewise.
12546         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
12547         * string/Makefile (headers): Add bits/byteswap-16.h.
12549 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
12551         [BZ #13895]
12552         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
12553         extra indirection.
12554         * nss/Makefile (tests-static, tests): Add tst-nss-static.
12555         * nss/tst-nss-static.c: New.
12557 2012-04-06  Robert Millan  <rmh@gnu.org>
12559         [BZ #6486]
12560         * manual/llio.texi (File Position Primitive): lseek
12561         refers to WHENCE when it really means OFFSET.
12563 2012-04-06  Andreas Jaeger  <aj@suse.de>
12565         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
12566         strncmp declarations.
12568         * abilist/libc.abilist: Add __poll and __ppoll.
12570 2012-04-05  David S. Miller  <davem@davemloft.net>
12572         * scripts/check-local-headers.sh: Accept a host triplet in the
12573         path matched by the exclude regexp.
12575         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
12576         definition.
12577         * sysdeps/powerpc/powerpc32/dl-machine.h
12578         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
12579         * sysdeps/s390/s390-32/dl-machine.h
12580         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12581         * sysdeps/sparc/sparc32/dl-machine.h
12582         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12583         * sysdeps/sparc/sparc64/dl-machine.h
12584         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12586         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
12587         lazy binding.
12588         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
12589         undefined symbol errors.
12591         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
12592         DT_NEEDED entries.
12594 2012-04-05  Michael Matz  <matz@suse.de>
12596         [BZ #13592]
12597         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
12599 2012-04-05  Andreas Jaeger  <aj@suse.de>
12601         [BZ #13908]
12602         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
12603         comment.
12605 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
12607         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
12608         which ROUND is no valid rounding mode.
12610 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
12612         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
12613         read again.
12614         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
12616 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
12618         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
12619         an exception using FPU order intentionally.
12621 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
12623         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
12624         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
12625         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
12626         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
12628 2012-04-05  Simon Josefsson  <simon@josefsson.org>
12630         [BZ #12340]
12631         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
12632         EINVAL when BUFLEN is too smal.
12634 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
12636         [BZ #13553]
12637         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
12638         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
12640 2012-04-03  Andreas Jaeger  <aj@suse.de>
12642         [BZ #13938]
12643         * manual/setjmp.texi (System V contexts): Fix sentence.
12645         [BZ #13926]
12646         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
12647         New macro for this case.
12648         [!__GNUC__] (__bswap_64): New inline function for this case.
12649         * sysdeps/x86_64/bits/byteswap.h: Likewise.
12650         * bits/byteswap.h: Likewise.
12651         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
12652         ull, guard with __GLIBC_HAVE_LONG_LONG.
12654         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
12655         __GLIBC_HAVE_LONG_LONG.
12657         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
12658         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
12660 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12662         [BZ #13691]
12663         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
12664         inptr and inend, rather than using last_ch.
12666 2012-04-02  David S. Miller  <davem@davemloft.net>
12668         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
12669         * stdio-common/printf-parse.h (read_int): Change return type to
12670         'int', return -1 on INT_MAX overflow.
12671         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
12672         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
12673         overflows INT_MAX.  Check for overflow of in-format-string precision
12674         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
12675         SIZE_MAX not INT_MAX for integer overflow test.
12676         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
12677         skip the construct in the format string but do not record anything.
12678         * stdio-common/bug22.c: Adjust to test both width/prevision
12679         INT_MAX overflow as well as total length INT_MAX overflow.  Check
12680         explicitly for proper errno values.
12682 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
12684         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
12685         CHAR_MAX.
12686         * string/test-strcmp.c [! WIDE]: Likewise.
12687         * time/tst-mktime2.c: Likewise for INT_MAX.
12688         * string/test-string.h: #include <sys/param.h> for MIN.
12690         * csu/init-first.c (__libc_init_first): Call __ctype_init.
12691         * sysdeps/i386/init-first.c (init): Likewise.
12692         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
12693         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
12694         * sysdeps/sh/init-first.c (init): Likewise.
12696 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
12698         * po/ru.po: Update from translation team.
12699         * po/vi.po: Likewise.
12701 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
12703         * resolv/nss_dns/dns-host.c: Merge copyright years.
12705 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12707         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
12708         Optimize memcpy with prefetch if
12709         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
12710         src, dst pointers have unequal 16 byte alignments.
12712 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
12714         [BZ #13928]
12715         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
12716         from a CNAME entry and return the minimum ttl for the query.
12717         (gaih_getanswer_slice): Likewise.
12719 2012-03-30  Jeff Law  <law@redhat.com>
12721         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
12722         due to long keys.
12723         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
12724         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
12726         * resolv/nss_dns/dns-host.c: Update copyright year.
12728 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
12730         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
12731         requests to save a system call.  Fix check that all bytes are sent.
12733         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
12734         comments for sendmmsg.
12736 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12738         [BZ #13691]
12739         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
12740         with only 1 character between 0x0041 and 0x01b0.
12741         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
12742         * wcsmbs/tst-mbsnrtowcs.c: New file.
12744 2012-03-29  David S. Miller  <davem@davemloft.net>
12746         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
12747         small copies by hand.
12749 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12751         [BZ #13761]
12752         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
12753         _nss_compat_initgroups_dyn): Fall back to malloc/free
12754         for large group memberships.
12756 2012-03-28  David S. Miller  <davem@davemloft.net>
12758         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
12759         that branches into memcpy.
12760         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12761         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
12762         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12763         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
12764         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
12765         bits.
12766         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
12767         implementation too.
12768         * sysdeps/sparc/mempcpy.S: New file.
12770         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
12771         the IFUNC routine in the libc case.
12772         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12774         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
12775         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
12776         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
12777         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
12778         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
12779         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
12780         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
12781         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
12783         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
12784         loop to 256 bytes instead of 64 bytes and fix test signedness.
12786         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
12787         * sysdeps/sparc/sparc32/Makefile: rather than here...
12788         * sysdeps/sparc/sparc64/Makefile: and here.
12790 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
12792         * malloc/mallocbug.c: Avoid warnings about unused variables.
12794 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
12796         [BZ #13760]
12797         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
12798         in the right place. Discard and retry query if response is
12799         larger than input buffer size.
12801 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
12803         [BZ #369]
12804         [BZ #2678]
12805         [BZ #3866]
12806         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
12807         x for large integer exponent.
12808         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
12809         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
12810         sign of result as needed afterwards.
12811         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
12812         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
12813         result for underflowing pow the same as for overflow.
12814         (__kernel_standard_l): Handle powl overflow and underflow here
12815         rather than calling __kernel_standard.
12816         * math/libm-test.inc (pow_test): Add more tests.
12818         [BZ #3868]
12819         [BZ #13879]
12820         [BZ #13910]
12821         [BZ #13911]
12822         [BZ #13912]
12823         [BZ #13913]
12824         [BZ #13915]
12825         [BZ #13916]
12826         [BZ #13917]
12827         [BZ #13918]
12828         [BZ #13919]
12829         [BZ #13920]
12830         [BZ #13921]
12831         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
12832         * sysdeps/ieee754/k_standard.c: Include <float.h>.
12833         (__kernel_standard_l): New function.
12834         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
12835         __kernel_standard.
12836         * math/w_acosl.c (__acosl): Likewise.
12837         * math/w_asinl.c (__asinl): Likewise.
12838         * math/w_atan2l.c (__atan2l): Likewise.
12839         * math/w_atanhl.c (__atanhl): Likewise.
12840         * math/w_coshl.c (__coshl): Likewise.
12841         * math/w_exp10l.c (__exp10l): Likewise.
12842         * math/w_exp2l.c (__exp2l): Likewise.
12843         * math/w_fmodl.c (__fmodl): Likewise.
12844         * math/w_hypotl.c (__hypotl): Likewise.
12845         * math/w_j0l.c (__j0l, __y0l): Likewise.
12846         * math/w_j1l.c (__j1l, __y1l): Likewise.
12847         * math/w_jnl.c (__jnl, __ynl): Likewise.
12848         * math/w_lgammal.c (__lgammal): Likewise.
12849         * math/w_log10l.c (__log10l): Likewise.
12850         * math/w_log2l.c (__log2l): Likewise.
12851         * math/w_logl.c (__logl): Likewise.
12852         * math/w_powl.c (__powl): Likewise.
12853         * math/w_remainderl.c (__remainderl): Likewise.
12854         * math/w_scalbl.c (sysv_scalbl): Likewise.
12855         * math/w_sinhl.c (__sinhl): Likewise.
12856         * math/w_sqrtl.c (__sqrtl): Likewise.
12857         * math/w_tgammal.c (__tgammal): Likewise.
12858         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
12859         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
12860         * math/libm-test.inc (acos_test): Add more tests.
12861         (acosh_test): Likewise.
12862         (asin_test): Likewise.
12863         (atanh_test): Likewise.
12864         (exp_test): Likewise.
12865         (exp10_test): Likewise.
12866         (exp2_test): Likewise.
12867         (expm1_test): Likewise.
12868         (lgamma_test): Likewise.
12869         (log_test): Likewise.
12870         (log10_test): Likewise.
12871         (log1p_test): Likewise.
12872         (log2_test): Likewise.
12873         (pow_test): Do not allow some spurious overflow exceptions.
12874         (sqrt_test): Add more tests.
12875         (tgamma_test): Likewise.
12876         (y0_test): Likewise.
12877         (y1_test): Likewise.
12878         (yn_test): Likewise.
12880 2012-03-27  Anton Blanchard  <anton@samba.org>
12882         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
12883         MAP_HUGETLB.
12884         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12885         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12886         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12888 2012-03-27  David S. Miller  <davem@davemloft.net>
12890         * conform/Makefile: Run run-conformtest.sh using $(BASH).
12892         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
12893         have-as-vis3 check.
12895 2012-03-27  Andreas Jaeger  <aj@suse.de>
12897         * sysdeps/x86_64/elf/configure.in: Moved to ...
12898         * sysdeps/x86_64/configure.in: ... here.
12899         * sysdeps/x86_64/elf/start.S: Moved to ...
12900         * sysdeps/x86_64/start.S: ... here.
12901         * sysdeps/x86_64/elf/configure: Delete.
12903         * sysdeps/x86_64/configure.in: Merge contents from
12904         sysdeps/i386/configure.in (without i686 check).
12906         * sysdeps/i386/elf/Versions: Merge into ...
12907         * sysdeps/i386/Versions: ... this.
12908         * sysdeps/i386/elf/Versions: Delete file.
12909         * sysdeps/i386/elf/start.S: Moved to ...
12910         * sysdeps/i386/start.S: ...here.
12911         * sysdeps/i386/elf/configure.in: Merge into...
12912         * sysdeps/i386/configure.in: ...here.
12913         * sysdeps/i386/elf/configure.in: Delete file.
12914         * sysdeps/i386/elf/configure: Delete file.
12916         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
12917         * debug/backtracesyms.c: ... here.
12918         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
12919         * debug/backtracesymsfd.c: ... here.
12920         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
12921         * sysdeps/generic/ifunc-sel.h: ... here.
12923         * sysdeps/unix/i386/start.c: Delete file.
12924         * sysdeps/unix/sparc/start.c: Delete file.
12925         * sysdeps/unix/start.c: Delete file.
12927         * sysdeps/sh/elf/configure.in: Moved to ...
12928         * sysdeps/sh/configure.in: ... here.
12929         * sysdeps/sh/elf/start.S: Moved to ...
12930         * sysdeps/sh/start.S: ... here.
12931         * sysdeps/sh/elf/configure: Delete file.
12933         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
12934         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
12935         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
12936         * sysdeps/powerpc/powerpc64/entry.h: ... here.
12937         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
12938         * sysdeps/powerpc/powerpc64/start.S: here.
12939         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
12940         * sysdeps/powerpc/powerpc64/Makefile: ... this.
12941         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
12942         * sysdeps/powerpc/powerpc64/configure.in: ... this.
12943         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
12945         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
12946         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
12947         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
12948         * sysdeps/powerpc/powerpc32/start.S: ... here.
12949         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
12950         * sysdeps/powerpc/powerpc32/configure.in: ... this.
12951         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
12953         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
12954         * sysdeps/powerpc/ifunc-sel.h: ... here.
12955         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
12956         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
12958         * sysdeps/sparc/elf/configure.in: Moved to ...
12959         * sysdeps/sparc/configure.in: ... here.
12960         * sysdeps/sparc/elf/configure: Delete file.
12961         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
12962         * sysdeps/sparc/sparc32/start.S: ... here.
12963         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
12964         * sysdeps/sparc/sparc64/start.S: ... here.
12965         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
12966         * sysdeps/sparc/sparc32/Makefile: ... this.
12967         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
12968         * sysdeps/sparc/sparc64/Makefile: ... this.
12970         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
12971         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
12972         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
12973         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
12974         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
12975         * sysdeps/s390/s390-32/setjmp.S: ... here.
12976         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
12977         * sysdeps/s390/s390-32/configure.in: ... here.
12978         * sysdeps/s390/s390-32/elf/configure: Delete file.
12979         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
12980         * sysdeps/s390/s390-32/start.S: ... here.
12982         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
12983         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
12984         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
12985         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
12986         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
12987         * sysdeps/s390/s390-64/setjmp.S: ... here.
12988         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
12989         * sysdeps/s390/s390-64/configure.in: ... here
12990         * sysdeps/s390/s390-64/elf/configure: Delete file.
12991         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
12992         * sysdeps/s390/s390-64/start.S: ... here.
12993         * sysdeps/s390/s390-64/elf/configure: Delete.
12995         * configure.in: Remove support for elf directories in sysdeps.
12997         * configure: Regenerated.
12998         * sysdeps/i386/configure: Regenerated.
12999         * sysdeps/powerpc/powerpc32/configure: Regenerated.
13000         * sysdeps/powerpc/powerpc64/configure: Regenerated.
13001         * sysdeps/s390/s390-32/configure: Regenerated.
13002         * sysdeps/s390/s390-64/configure: Regenerated.
13003         * sysdeps/sh/configure: Regenerated.
13004         * sysdeps/sparc/configure: Regenerated.
13005         * sysdeps/x86_64/configure: Regenerated.
13007 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
13009         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13011         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
13012         denormal result into account.
13014 2012-03-25  Roland McGrath  <roland@hack.frob.com>
13016         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
13017         Reported by Allan McRae <allan@archlinux.org>.
13019 2012-03-23  Jeff Law  <law@redhat.com>
13021         * nss/getnssent.c (__nss_getent): Fix typo.
13023 2012-03-23  David S. Miller  <davem@davemloft.net>
13025         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13027 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
13029         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
13030         to pad to uint64_t for each field.
13031         (dl_tls_index): Replace unsigned long with uint64_t.
13033 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
13034         Paul Pluzhnikov  <ppluzhnikov@google.com>
13036         [BZ #6528]
13037         * grp/Makefile (otherlibs): Don't set it.
13038         * inet/Makefile (otherlibs): Likewise.
13039         * login/Makefile (otherlibs): Likewise.
13040         * nscd/Makefile (otherlibs): Likewise.
13041         * posix/Makefile (otherlibs): Likewise.
13042         * pwd/Makefile (otherlibs): Likewise.
13043         * rt/Makefile (otherlibs): Likewise.
13044         * sunrpc/Makefile (otherlibs): Likewise.
13045         * nss/Makefile (otherlibs): Likewise.
13046         Add libnss_files to routines and static-only-routines.
13047         ($(objpfx)getent): Remove rule.
13048         * resolv/Makefile: Add libnss_dns and libresolv to routines and
13049         static-only-routines.
13051 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
13053         [BZ #13892]
13054         * math/s_cexp.c: Include <float.h>.
13055         (__cexp): Handle exp result overflowing not necessarily
13056         overflowing both real and imaginary parts of result.
13057         * math/s_cexpf.c: Likewise.
13058         * math/s_cexpl.c: Likewise.
13059         * math/libm-test.inc (cexp_test): Add more tests.
13060         * sysdeps/i386/fpu/libm-test-ulps: Update.
13061         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13063 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
13065         * include/link.h (ELFW): New macro.
13066         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
13067         Replace ELF64_R_TYPE with ELFW(R_TYPE).
13069 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
13071         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
13072         with uint64_t.
13074 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
13076         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
13077         declaration.
13078         (struct La_x32_retval): Likewise.
13080 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
13082         * sysdeps/x86_64/preconfigure.in: New file.
13083         * sysdeps/x86_64/preconfigure: New generated file.
13085 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
13087         [BZ #13824]
13088         * math/e_exp2l.c: Include <float.h>.
13089         (__ieee754_exp2l): Handle overflow and underflow cases
13090         separately.  Only pass fractional part of argument to
13091         __ieee754_expl.
13092         * math/libm-test.inc (exp2_test): Add more tests.
13094         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
13095         negating x to take absolute value.
13096         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
13097         Likewise.
13098         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
13099         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
13100         Likewise.
13101         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
13102         computing low part if x was negated.
13103         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
13105 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
13107         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
13108         la_x32_gnu_pltexit.
13109         (pltexit): Cast int_retval to ptrdiff_t.
13110         * elf/tst-auditmod3b.c: Likewise.
13111         * elf/tst-auditmod4b.c: Likewise.
13112         * elf/tst-auditmod5b.c: Likewise.
13113         * elf/tst-auditmod6b.c: Likewise.
13114         * elf/tst-auditmod6c.c: Likewise.
13115         * elf/tst-auditmod7b.c: Likewise.
13117         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
13118         and x32_gnu_pltexit.
13120         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
13121         __ELF_NATIVE_CLASS.
13122         (La_x32_regs): New macro.
13123         (La_x32_retval): Likewise.
13124         (la_x32_gnu_pltenter): New function prototype.
13125         (la_x32_gnu_pltexit): Likewise.
13127 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
13129         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
13130         exponent.
13132         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13134         * configure.in (libc_cv_cc_nofma): Check for option to disable
13135         generation of FMA instructions.
13136         * configure: Regenerate.
13137         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
13138         * sysdeps/ieee754/dbl-64/Makefile: New file.
13139         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
13140         Remove brandred-fma4.
13141         (CFLAGS-brandred-fma4.c): Remove.
13142         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
13143         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
13144         define.
13145         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
13146         define.
13148 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
13150         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
13151         LLONG_MAX != LONG_MAX.
13152         (_itoa_word): Use _ITOA_WORD_TYPE on value.
13153         (_fitoa_word): Likewise.
13154         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
13155         LLONG_MAX != LONG_MAX.
13156         * stdio-common/_itowa.h: Include <_itoa.h>.
13157         (_itowa_word): Use _ITOA_WORD_TYPE on value.
13158         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
13159         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
13160         only if not defined.
13161         (_ITOA_WORD_TYPE): Likewise.
13162         (_itoa_word): Use _ITOA_WORD_TYPE on value.
13163         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
13165 2012-03-21  David S. Miller  <davem@davemloft.net>
13167         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13169 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
13171         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
13172         of x86_64 when setting libc_cv_slibdir, libdir and
13173         libc_cv_localedir.
13174         * sysdeps/unix/sysv/linux/configure: Regenerated.
13176 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
13178         * manual/lang.texi (Old Varargs): Remove section.
13179         (How Variadic): Update menu.
13180         (va_start): Do not mention varargs.h.
13182 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
13183             Joseph Myers  <joseph@codesourcery.com>
13185         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
13186         link test.
13187         * configure: Regenerated.
13189 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
13191         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
13192         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
13193         conformtest.pl
13195 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
13197         * NOTES: Remove.
13198         * Makefile (files-for-dist): Remove NOTES.
13199         (NOTES): Remove rule.
13200         * README: Don't refer to NOTES.
13201         * manual/creature.texi: Don't include macros.texi.
13202         * manual/intro.texi (creature.texi): Remove comment referring to
13203         NOTES.
13205         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
13206         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
13207         * configure: Regenerated.
13208         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
13209         LIBC_TRY_CC_OPTION.
13210         (libc_cv_as_i686): Likewise.
13211         (libc_cv_cc_avx): Likewise.
13212         (libc_cv_cc_sse2avx): Likewise.
13213         (libc_cv_cc_fma4): Likewise.
13214         (libc_cv_cc_novzeroupper): Likewise.
13215         * sysdeps/i386/configure: Regenerated.
13217         [BZ #13883]
13218         * sysdeps/i386/fpu/s_cexp.S: Remove.
13219         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
13220         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
13221         * math/libm-test.inc (cexp_test): Add more tests.
13222         * sysdeps/i386/fpu/libm-test-ulps: Update.
13223         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13225 2012-03-21  Allan McRae  <allan@archlinux.org>
13227         * timezone/Makefile: Do not install iso3166.tab and zone.tab
13229 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
13231         [BZ #13871]
13232         * math/w_exp2.c: Do not include <float.h>.
13233         (o_threshold, u_threshold): Remove.
13234         (__exp2): Calculate result before checking finiteness and calling
13235         __kernel_standard.
13236         * math/w_exp2f.c: Likewise.
13237         * math/w_exp2l.c: Likewise.
13238         * math/libm-test.inc (exp2_test): Require overflow exception for
13239         1e6 input.
13241         [BZ #3866]
13242         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
13243         range of signed 64-bit integers before using fistpll.  Remove
13244         checks for whether integers fit in mantissa bits.
13245         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
13246         the range of signed 32-bit integers before using fistpl.  Remove
13247         checks for whether integers fit in mantissa bits.
13248         * sysdeps/i386/fpu/e_powl.S (p64): New object.
13249         (__ieee754_powl): Test for y outside the range of signed 64-bit
13250         integers before using fistpll.  Reduce 64-bit values to 63-bit
13251         ones as needed.
13252         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
13253         divide-by-zero is raised for zero to large negative powers.
13254         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
13255         (__ieee754_powl): Test for y outside the range of signed 64-bit
13256         integers before using fistpll.  Reduce 64-bit values to 63-bit
13257         ones as needed.
13258         * math/libm-test.inc (pow_test): Add more tests.
13260 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
13262         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
13263         <stdio-common/_itoa.h>.
13264         * debug/segfault.c: Likewise.
13265         * elf/dl-cache.c: Likewise.
13266         * elf/dl-minimal.c: Likewise.
13267         * elf/dl-misc.c: Likewise.
13268         * elf/dl-sysdep.c: Likewise.
13269         * elf/dl-version.c: Likewise.
13270         * elf/rtld.c: Likewise.
13271         * hurd/hurdsock.c: Likewise.
13272         * hurd/lookup-retry.c: Likewise.
13273         * malloc/malloc.c: Likewise.
13274         * malloc/mtrace.c: Likewise.
13275         * nscd/nscd_getgr_r.c: Likewise.
13276         * nscd/nscd_getpw_r.c: Likewise.
13277         * nscd/nscd_getserv_r.c: Likewise.
13278         * posix/getopt_init.c: Likewise.
13279         * posix/wordexp.c: Likewise.
13280         * stdio-common/_itoa.c: Likewise.
13281         * stdio-common/printf_fphex.c: Likewise.
13282         * stdio-common/vfprintf.c: Likewise.
13283         * string/_strerror.c: Likewise.
13284         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
13285         * sysdeps/i386/i686/hp-timing.h: Likewise.
13286         * sysdeps/mach/_strerror.c: Likewise.
13287         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
13288         * sysdeps/mach/hurd/sethostid.c: Likewise.
13289         * sysdeps/mach/hurd/xmknodat.c: Likewise.
13290         * sysdeps/mach/xpg-strerror.c: Likewise.
13291         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13292         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
13293         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
13294         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
13295         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
13296         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
13297         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
13298         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
13299         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
13300         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
13301         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
13302         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
13303         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
13304         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
13305         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
13306         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
13307         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
13308         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
13309         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
13310         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
13311         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
13313         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
13315         * stdio-common/_itoa.h: Moved to ...
13316         * sysdeps/generic/_itoa.h: Here.
13318         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
13320         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
13321         instead of "_itoa.h" and "_itowa.h".
13322         * stdio-common/vfprintf.: Likewise.
13324 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
13326         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
13327         <bits/wordsize.h>.
13328         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
13329         (__signbit): Likwise.
13330         (llrintf): Likwise.
13331         (llrint): Likwise.
13333 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
13335         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
13336         __WORDSIZE != 64.
13338 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
13340         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
13341         OVERFLOW_EXCEPTION_OK.
13342         * math/libm-test.inc ("Philosophy"): Update comment about
13343         exception testing.
13344         (OVERFLOW_EXCEPTION): Define.
13345         (OVERFLOW_EXCEPTION_OK): Likewise.
13346         (INVALID_EXCEPTION_OK): Renumber.
13347         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13348         (IGNORE_ZERO_INF_SIGN): Likewise.
13349         (test_exceptions): Handle FE_OVERFLOW.
13350         (exp10_test): Expect overflow exceptions.
13351         (exp2_test): Likewise.
13352         (expm1_test): Likewise.
13353         (nextafter_test): Likewise.
13354         (pow_test): Likewise.
13355         (scalbn_test): Likewise.
13356         (scalbln_test): Likewise.
13358 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
13360         * sysdeps/x86_64/bits/atomic.h
13361         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
13362         64bit integer.
13363         (atomic_exchange_acq): Likewise.
13364         (__arch_exchange_and_add_body): Likewise.
13365         (__arch_add_body): Likewise.
13366         (atomic_add_negative): Likewise.
13367         (atomic_add_zero): Likewise.
13369 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
13371         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
13372         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
13374 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
13376         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
13377         Check __x86_64__ instead of __WORDSIZE.
13379 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
13381         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
13383 2012-03-19  David S. Miller  <davem@davemloft.net>
13385         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13387         * sysdeps/sparc/fpu/fenv_private.h: New file.
13388         * sysdeps/sparc/fpu/math_private.h: Use it.
13389         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
13390         Remove.
13391         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
13392         (libc_feholdexcept_setroundl): Remove.
13393         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
13394         Remove.
13395         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
13396         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
13398 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
13400         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
13401         int64_t instead of long int.
13402         (INSERT_WORDS64): Likwise.
13404 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
13406         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
13407         _Unwind_GetCFA return to _Unwind_Ptr first.
13409 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
13411         [BZ #13629]
13412         * math/s_clog.c: Include <float.h>.
13413         (__clog): Scale large or subnormal inputs.
13414         * math/s_clogf.c: Likewise.
13415         * math/s_clogl.c: Likewise.
13416         * math/s_clog10.c: Include <float.h>.
13417         (M_LOG10_2): Define.
13418         (__clog10): Scale large or subnormal inputs.
13419         * math/s_clog10f.c: Likewise.
13420         * math/s_clog10l.c: Likewise.
13421         * math/libm-test.inc (clog_test): Add more tests.
13422         (clog10_test): Likewise.
13423         * sysdeps/i386/fpu/libm-test-ulps: Update.
13424         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13426         [BZ #11451]
13427         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
13428         x and y.
13429         * math/libm-test.inc (atan2_test): Add another test.
13431         * Makerules (common-objdir-compile): Remove.
13432         * sysdeps/unix/Makefile (config-generated): Do not add
13433         $(unix-generated) to variable.
13434         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
13435         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
13436         Remove rule.
13437         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
13438         Likewise.
13439         [generic bits/local_lim.h] (before-compile): Do not append to
13440         variable.
13441         [generic bits/local_lim.h] (common-generated): Likewise.
13442         [generic sys/param.h] (before-compile): Do not append to variable.
13443         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
13444         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
13445         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
13446         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
13447         include.
13448         [generic sys/param.h] (sys/param.h-includes): Remove variable.
13449         [generic sys/param.h] (sys/param.h-includes): Remove rule.
13450         [generic sys/param.h] ($(addprefix
13451         $(common-objpfx),$(sys/param.h-includes))): Likewise.
13452         [generic sys/param.h] (common-generated): Do not append to
13453         variable.
13454         [generic sys/param.h] (sysdep_headers): Likewise.
13455         [generic bits/errno.h] (before-compile): Do not append to
13456         variable.
13457         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
13458         rule.
13459         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
13460         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
13461         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
13462         [generic bits/errno.h] (common-generated): Do not append to
13463         variable.
13464         [generic bits/ioctls.h] (before-compile): Do not append to
13465         variable.
13466         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
13467         rule.
13468         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
13469         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
13470         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
13471         rule.
13472         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
13473         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
13474         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
13475         [generic bits/ioctls.h] (common-generated): Do not append to
13476         variable.
13477         [generic sys/syscall.h] (syscall.h): Remove variable.
13478         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
13479         rule.
13480         [generic sys/syscall.h] (before-compile): Do not append to
13481         variable.
13482         [generic sys/syscall.h] (common-generated): Likewise.
13483         * sysdeps/unix/errnos-tmpl.c: Remove file.
13484         * sysdeps/unix/errnos.awk: Likewise.
13485         * sysdeps/unix/ioctls-tmpl.c: Likewise.
13486         * sysdeps/unix/ioctls.awk: Likewise.
13487         * sysdeps/unix/mk-local_lim.c: Likewise.
13488         * sysdeps/unix/snarf-ioctls: Likewise.
13490 2012-03-19  Richard Henderson  <rth@twiddle.net>
13492         * sysdeps/i386/fpu/fenv_private.h: New file.
13493         * sysdeps/i386/fpu/math_private.h: Use it.
13494         (math_opt_barrier, math_force_eval): Remove.
13495         (libc_feholdexcept_setround_53bit): Remove.
13496         (libc_feupdateenv_53bit): Remove.
13497         * sysdeps/x86_64/fpu/math_private.h: Likewise.
13498         (math_opt_barrier, math_force_eval): Remove.
13499         (libc_feholdexcept): Remove.
13500         (libc_feholdexcept_setround): Remove.
13501         (libc_fetestexcept, libc_fesetenv): Remove.
13502         (libc_feupdateenv_test): Remove.
13503         (libc_feupdateenv, libc_feholdsetround): Remove.
13504         (libc_feresetround): Remove.
13506         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
13507         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
13509         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
13510         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
13511         (libc_feupdateenv_testl): New.
13512         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
13513         (libc_feupdateenv_testf): New.
13514         (libc_feupdateenv): Use libc_feupdateenv_test.
13515         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
13516         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
13518         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
13519         (libc_feholdsetroundf, libc_feholdsetroundl): New.
13520         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
13521         (libc_feresetround_noex): New.
13522         (libc_feresetround_noexf): New.
13523         (libc_feresetround_noexl): New.
13524         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
13525         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
13526         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
13527         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
13528         SET_RESTORE_ROUND.
13529         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
13530         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
13531         (__cos): Likewise.
13532         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
13533         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
13534         SET_RESTORE_ROUND_NOEX.
13535         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
13536         SET_RESTORE_ROUND_NOEXF.
13537         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
13538         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
13539         (libc_feholdsetroundf): New.
13540         (libc_feresetround, libc_feresetroundf): New.
13542         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
13543         (libc_feholdexcept_setround_53bit): Convert from macro to function.
13544         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
13546         * sysdeps/generic/math_private.h: Include <fenv.h>.
13547         (default_libc_feholdexcept): New.
13548         (default_libc_feholdexcept_setround): New.
13549         (default_libc_fesetenv, default_libc_feupdateenv): New.
13550         (libc_feholdexcept): Only define if undefined.
13551         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
13552         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
13553         (libc_feholdexcept_setroundl): Likewise.
13554         (libc_feholdexcept_setround_53bit): Likewise.
13555         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
13556         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
13557         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
13558         (libc_feupdateenv_53bit): Likewise.
13559         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
13560         (libc_feholdexcept): Convert from macro to inline function.
13561         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
13562         (libc_fesetenv, libc_feupdateenv): Likewise.
13564         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
13565         not previously defined.
13566         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
13567         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
13568         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
13569         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
13570         * sysdeps/ieee754/flt-32/math_private.h: New file.
13571         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
13572         math_private.h below SET_FLOAT_WORD.
13573         (__isnan, __isinf_ns, __finite): Remove.
13574         (__isnanf, __isinf_nsf, __finitef): Remove.
13576 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
13578         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13580 2012-03-17  David S. Miller  <davem@davemloft.net>
13582         [BZ #6471]
13583         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
13584         for 2.16.
13586 2012-03-16  David S. Miller  <davem@davemloft.net>
13588         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
13589         warnings.
13591         [BZ #6471]
13592         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
13593         properly.
13594         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
13595         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
13596         sysdep_routines when subdir is sysvipc.
13597         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
13598         __getshmlba helper.
13600         * sysdeps/sparc/fpu/libm-test/ulps: Update.
13602 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
13604         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
13605         [__LP64__].
13607 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
13609         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
13610         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
13611         (__lround): Renamed to ...
13612         (__llround): This.  Replace long int with long long int.
13613         Define lround functions as aliases of llround functions.
13614         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
13616 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
13618         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
13619         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
13620         adresses to uintptr_t.  Replace "long int" and "unsigned long
13621         int" with "greg_t" on va_arg.
13623 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
13625         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
13626         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
13628         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
13629         Move e_machine check before EI_CLASS check.  Handle x32
13630         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
13631         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
13632         SKIP_EM_IA_64 and include
13633         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
13635         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
13636         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
13637         (add_system_dir): New macro.
13639         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
13640         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
13642 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
13644         [BZ #2551]
13645         [BZ #2552]
13646         [BZ #2553]
13647         [BZ #2554]
13648         [BZ #2562]
13649         [BZ #2563]
13650         [BZ #2565]
13651         [BZ #2566]
13652         [BZ #2576]
13653         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
13654         (y0): Likewise.
13655         * math/w_j0f.c (j0f): Likewise.
13656         (y0f): Likewise.
13657         * math/w_j0l.c (__j0l): Likewise.
13658         (__y0l): Likewise.
13659         * math/w_j1.c (j1): Likewise.
13660         (y1): Likewise.
13661         * math/w_j1f.c (j1f): Likewise.
13662         (y1f): Likewise.
13663         * math/w_j1l.c (__j1l): Likewise.
13664         (__y1l): Likewise.
13665         * math/w_jn.c (jn): Likewise.
13666         (yn): Likewise.
13667         * math/w_jnf.c (jnf): Likewise.
13668         (ynf): Likewise.
13669         * math/w_jnl.c (__jnl): Likewise.
13670         (__ynl): Likewise.
13671         * math/libm-test.inc (j0_test): Add more tests.
13672         (j1_test): Likewise.
13673         (jn_test): Likewise.  Add trailing semicolon to existing test.
13674         (y0_test): Likewise.
13675         (y1_test): Likewise.
13676         * sysdeps/i386/fpu/libm-test-ulps: Update.
13677         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13679         [BZ #13851]
13680         [BZ #13854]
13681         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
13682         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
13683         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
13684         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
13685         (__tanl): Set errno for infinite argument.
13686         * sysdeps/i386/fpu/mptan.c: Remove.
13687         * sysdeps/i386/fpu/s_tan.S: Likewise.
13688         * sysdeps/i386/fpu/s_tanl.S: Likewise.
13689         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
13690         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
13691         * math/libm-test.inc (tan_test): Add more tests and enable more
13692         tests for double and long double.
13693         * sysdeps/i386/fpu/libm-test-ulps: Update.
13694         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13696 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
13698         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
13699         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
13701 2012-03-16  Roland McGrath  <roland@hack.frob.com>
13703         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
13704         * configure.in: Use it for both main tree and add-ons.
13705         * configure: Regenerated.
13707 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
13709         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
13711 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
13713         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
13714         in comment.
13716         [BZ #13851]
13717         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
13718         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
13719         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
13720         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
13721         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
13722         infinite argument.
13723         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
13724         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
13725         != 0 for prec == 2.
13726         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
13727         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
13728         * sysdeps/i386/fpu/s_cosl.S: Likewise.
13729         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
13730         * sysdeps/i386/fpu/s_sinl.S: Likewise.
13731         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
13732         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
13733         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
13734         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
13735         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
13736         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
13737         * math/libm-test.inc (cos_test): Add more tests and enable more
13738         tests for long double.
13739         (sin_test): Likewise.
13740         (sincos_test): Likewise.
13741         * sysdeps/i386/fpu/libm-test-ulps: Update.
13742         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13744 2012-03-16  David S. Miller  <davem@davemloft.net>
13746         * sysdeps/sparc/fpu/math_private.h: New file.
13748 2012-03-15  David S. Miller  <davem@davemloft.net>
13750         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
13751         file.
13752         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
13753         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
13754         file.
13755         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
13756         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
13757         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
13758         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
13759         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
13760         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
13761         sysdep routines.
13762         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
13764         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
13765         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
13767         * sysdeps/sparc/sparc-ifunc.h: New file.
13768         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
13769         sparc-ifunc.h
13770         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
13771         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
13772         Likewise.
13773         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
13774         Likewise.
13775         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
13776         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
13777         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
13778         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
13779         Likewise.
13780         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
13781         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
13782         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
13783         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
13784         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
13785         Likewise.
13786         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
13787         Likewise.
13788         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
13789         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
13790         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
13791         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
13792         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
13793         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
13794         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
13795         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
13796         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
13797         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
13798         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
13799         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
13800         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
13801         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
13802         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
13803         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
13804         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
13805         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
13806         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
13807         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
13808         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
13809         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
13810         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
13811         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
13813 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
13815         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
13816         scaling.
13817         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13819 2012-03-15  Andreas Jaeger  <aj@suse.de>
13821         [BZ #13852]
13822         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
13823         ieee754/flt-32 implementation for sin, cos and sincos.
13824         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
13825         * sysdeps/i386/fpu/s_cosf.S: Likewise.
13826         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
13827         * sysdeps/i386/fpu/s_sinf.S: Likewise.
13828         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
13829         ieee754/flt-32 implementation for tan.
13831         * math/libm-test.inc (cos_test): Enable some large input tests for
13832         float as well
13833         (sin_test): Likewise.
13834         (sincos_test): Likewise.
13835         (tan_test): Add tests for large input.
13837         * sysdeps/i386/fpu/libm-test-ulps: Update.
13839 2012-03-15  Andreas Jaeger  <aj@suse.de>
13841         [BZ #13658]
13842         * math/libm-test.inc (cos_test): Add more test cases.
13843         (sin_test): Likewise.
13844         (sincos_test): Likewise.
13846 2012-03-15  Andreas Jaeger  <aj@suse.de>
13848         [BZ #13837]
13849         * math/libm-test.inc (cos_test): Add a test case for large input
13850         value.
13851         (sin_test): Likewise.
13852         (sincos_test): Likewise.
13854 2012-03-15  Andreas Jaeger  <aj@suse.de>,
13855         Joseph Myers  <joseph@codesourcery.com>
13857         [BZ #13658]
13858         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
13859         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
13860         * sysdeps/i386/fpu/branred.c: Likewise.
13861         * sysdeps/i386/fpu/dosincos.c: Likewise.
13862         * sysdeps/i386/fpu/mpa.c: Likewise.
13863         * sysdeps/i386/fpu/s_cos.S: Likewise.
13864         * sysdeps/i386/fpu/s_sin.S: Likewise.
13865         * sysdeps/i386/fpu/s_sincos.S: Likewise.
13866         * sysdeps/i386/fpu/sincos32.c: Likewise.
13868         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
13869         Define.
13870         (libc_feupdateenv_53bit): Define.
13871         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
13872         Define.
13873         (libc_feupdateenv_53bit): Define.
13875         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
13876         53 bit (without extend i386 double precision).
13878         * math/libm-test.inc (sincos_test): Add tests for large input.
13879         (sin): Likewise.
13880         (cos): Likewise.
13882         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
13884 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
13886         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13888 2012-03-15  David S. Miller  <davem@davemloft.net>
13890         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
13891         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
13892         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
13893         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
13894         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
13895         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
13896         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
13897         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
13898         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
13899         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
13900         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
13901         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
13902         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
13903         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
13904         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
13905         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
13906         file.
13907         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
13908         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
13909         file.
13910         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
13911         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
13912         file.
13913         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
13914         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
13915         file.
13916         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
13917         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
13918         fmin/fmax sysdep routines.
13919         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
13921 2012-03-14  David S. Miller  <davem@davemloft.net>
13923         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
13924         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
13925         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
13926         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
13927         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
13928         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
13929         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
13930         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
13931         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
13932         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
13933         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
13934         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
13935         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
13936         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
13937         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
13938         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
13939         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
13940         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
13941         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
13942         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
13943         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
13944         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
13945         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
13946         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
13947         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
13948         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
13949         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
13950         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
13951         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
13952         routines.
13953         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
13954         file.
13955         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
13956         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
13957         file.
13958         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
13959         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
13960         file.
13961         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
13962         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
13963         file.
13964         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
13965         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
13966         file.
13967         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
13968         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
13969         file.
13970         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
13971         file.
13972         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
13973         file.
13974         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
13975         file.
13976         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
13977         New file.
13978         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
13979         file.
13980         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
13981         file.
13982         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
13983         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
13984         file.
13985         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
13986         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
13987         file.
13988         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
13989         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
13990         file.
13991         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
13992         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
13993         VIS3 routines.
13995         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
13996         New file.
13998         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14000         * sysdeps/sparc/configure.in: New file.
14001         * sysdeps/sparc/configure: Generate.
14002         * configure.in (libc_cv_sparc_as_vis3): Substitute.
14003         * configure: Regenerate.
14004         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
14005         * config.make.in (have-as-vis3): New.
14006         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
14007         available use -Av9d instead of -Av9a.
14008         * sysdeps/sparc/sparc64/Makefile: Likewise.
14009         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
14010         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
14011         New file.
14012         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
14013         file.
14014         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
14015         New file.
14016         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
14017         file.
14018         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
14019         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
14020         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
14021         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
14022         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
14024         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
14025         fzeros/fnegs to load 0x80000000 into a float register instead of
14026         using the stack.
14027         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
14029 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
14031         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14032         bits/syscall.h.
14033         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
14034         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
14035         ($(inst_includedir)/bits/syscall.h): Remove rule.
14036         ($(objpfx)bits/syscall.d): Include instead of
14037         $(objpfx)syscall-list.d.
14038         (generated): Change syscall-list.h and syscall-list.d to
14039         bits/syscall.h and bits/syscall.d.
14041 2012-03-14  Roland McGrath  <roland@hack.frob.com>
14043         [BZ #13846]
14044         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
14046 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
14048         [BZ #13841]
14049         * math/s_csqrt.c: Include <float.h>.
14050         (__csqrt): Scale large or subnormal inputs.
14051         * math/s_csqrtf.c: Likewise.
14052         * math/s_csqrtl.c: Likewise.
14053         * math/libm-test.inc (csqrt_test): Add more tests.
14054         * sysdeps/i386/fpu/libm-test-ulps: Update.
14055         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14057         [BZ #13840]
14058         * math/libm-test.inc (hypot_test): Add more tests.
14060 2012-03-13  David S. Miller  <davem@davemloft.net>
14062         [BZ #13840]
14063         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
14064         double-precision for the calculation instead of scaling.
14066 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
14068         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
14069         manipulate bits before adding and subtracting TWO52[sx].
14070         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
14071         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
14072         Likewise.
14073         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
14075 2012-03-13  David S. Miller  <davem@davemloft.net>
14077         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
14078         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
14079         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
14080         rtld-global-offsets.h
14081         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14083         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
14084         large parameters.
14086         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
14088         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
14089         'err' in the ifdef scope in which it is actually used.
14091         * nss/nss_db/db-init.c: Include string.h
14093 2012-03-12  David S. Miller  <davem@davemloft.net>
14095         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
14096         masking out of the most significant byte of random value used.
14097         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14098         Fix coding style in previous change.
14100         * sysdeps/unix/sysv/linux/kernel-features.h
14101         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
14102         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
14103         expression.
14104         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
14105         later.
14107 2012-03-11  David S. Miller  <davem@davemloft.net>
14109         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
14110         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
14111         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
14112         for 'resultvar' otherwise things get truncated on 64-bit.
14114         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14115         Fix masking out of the most significant byte of random value used.
14117         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14119 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
14121         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14123 2012-03-09  David S. Miller  <davem@davemloft.net>
14125         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
14126         variables with appropriate CPP guards.
14127         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
14128         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
14129         on resulting framesize and the management of the outregs buffer for pltexit.
14130         Preserve floating point return values across _dl_call_pltexit call.
14131         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
14132         framesize and the management of the outregs buffer for pltexit.
14133         Preserve floating point return values across _dl_call_pltexit
14134         call.
14135         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
14136         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
14137         (print_exit): Fix format string for return register value.
14139 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
14141         * sunrpc/Makefile (others): Add rpcgen.
14142         ($(objpfx)rpcgen): Remove special build rule and dependency on
14143         libc.
14144         * sunrpc/rpcgen.c: New file.
14146 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
14148         [BZ #13673]
14149         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
14150         * stdio-common/bug-vfprintf-nargs.c: Likewise.
14151         * sysdeps/i386/crti.S: Likewise.
14152         * sysdeps/i386/crtn.S: Likewise.
14153         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
14154         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
14155         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
14156         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
14157         * sysdeps/sh/crti.S: Likewise.
14158         * sysdeps/sh/crtn.S: Likewise.
14159         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
14161         [BZ #13673]
14162         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
14163         with URL.
14164         * locale/programs/locfile-kw.gperf: Likewise.
14165         * locale/programs/charmap-kw.h: Regenerated.
14166         * locale/programs/locfile-kw.h: Likewise.
14168         [BZ #13673]
14169         * intl/plural.y: Replace FSF snail mail address with URL.
14170         * intl/plural.c: Regenerated.
14172 2012-03-09  Richard Henderson  <rth@twiddle.net>
14174         * include/math_private.h: Remove file.
14175         * math/math_private.h: Move file ...
14176         * sysdeps/generic/math_private.h: ... here.
14178         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
14179         * sysdeps/powerpc/fpu/math_private.h: Likewise.
14180         * sysdeps/x86_64/fpu/math_private.h: Likewise.
14182         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
14183         and <math_private.h>.
14184         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
14185         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
14186         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
14187         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
14188         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
14189         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
14190         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14191         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14192         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14193         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14194         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14195         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14196         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14197         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14198         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14199         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14200         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14201         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14202         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14203         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14204         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14205         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14206         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14207         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14208         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
14209         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14210         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14211         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14212         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14213         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14214         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14215         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14216         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
14217         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14218         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14219         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14220         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14221         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14222         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14223         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14224         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
14225         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14226         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
14227         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
14228         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
14229         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14230         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
14231         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
14232         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14233         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14234         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14235         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
14236         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
14237         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14238         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
14239         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14240         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
14241         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14242         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
14243         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
14244         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14245         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14246         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14247         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14248         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
14249         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14250         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14251         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14252         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
14253         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
14254         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
14255         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14256         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
14257         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14258         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
14259         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
14260         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
14261         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14262         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
14263         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
14264         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
14265         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
14266         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
14267         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
14268         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14269         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
14270         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
14271         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
14272         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
14273         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14274         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14275         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
14276         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14277         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14278         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
14279         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
14280         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14281         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14282         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14283         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14284         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
14285         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
14286         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
14287         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
14288         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
14289         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
14290         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14291         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
14292         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14293         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14294         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14295         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14296         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14297         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14298         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
14299         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14300         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
14301         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
14302         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14303         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14304         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
14305         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
14306         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14307         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
14308         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
14309         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
14310         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
14311         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
14312         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
14313         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
14314         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
14315         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14316         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14317         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
14318         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
14319         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
14320         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
14321         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
14322         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
14323         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
14324         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14325         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
14326         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
14327         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
14328         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
14329         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
14330         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
14331         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
14332         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
14333         * sysdeps/ieee754/k_standard.c: Likewise.
14334         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
14335         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14336         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14337         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14338         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14339         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14340         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
14341         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14342         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14343         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14344         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14345         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14346         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14347         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14348         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14349         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14350         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
14351         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14352         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14353         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
14354         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
14355         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
14356         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14357         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
14358         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14359         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
14360         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
14361         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
14362         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
14363         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14364         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14365         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
14366         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
14367         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
14368         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
14369         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
14370         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
14371         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
14372         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
14373         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
14374         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
14375         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
14376         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14377         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
14378         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
14379         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
14380         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
14381         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
14382         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
14383         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14384         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14385         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
14386         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
14387         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
14388         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14389         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14390         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
14391         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
14392         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
14393         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
14394         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14395         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
14396         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
14397         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
14398         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14399         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14400         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
14401         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14402         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
14403         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
14404         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14405         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14406         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
14407         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
14408         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
14409         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14410         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
14411         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
14412         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14413         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
14414         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
14415         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
14416         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
14417         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
14418         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
14419         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
14420         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
14421         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
14422         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
14423         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
14424         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
14425         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
14426         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
14427         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
14428         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
14429         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
14430         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
14431         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
14432         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
14433         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
14434         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
14435         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
14436         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14437         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
14438         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
14439         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
14440         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
14441         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
14442         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
14443         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
14444         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
14445         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
14446         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
14447         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14448         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
14449         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14450         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
14451         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14452         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14453         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14454         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14455         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
14456         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14457         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14458         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14459         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
14460         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14461         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
14462         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
14463         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14464         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14465         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14466         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14467         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
14468         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
14469         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
14470         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
14471         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
14472         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14473         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
14474         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
14475         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14476         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
14477         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
14478         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
14479         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14480         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14481         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
14482         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
14483         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
14484         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14485         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
14486         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
14487         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14488         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
14489         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
14490         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
14491         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
14492         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
14493         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
14494         * sysdeps/ieee754/s_lib_version.c: Likewise.
14495         * sysdeps/ieee754/s_matherr.c: Likewise.
14496         * sysdeps/ieee754/s_signgam.c: Likewise.
14497         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14498         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14499         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
14500         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
14501         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
14502         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
14503         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
14504         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
14505         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
14506         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
14507         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
14508         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
14509         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
14510         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
14511         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
14512         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
14513         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14514         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
14515         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14516         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14517         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14519 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
14521         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
14522         * sunrpc/rpc_main.c: Likewise.
14523         * sunrpc/rpc_svcout.c: Likewise.
14525 2012-03-09  David S. Miller  <davem@davemloft.net>
14527         * include/math_private.h: New file.
14529 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
14531         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
14532         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
14533         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
14534         from <bits/socket_type.h>.
14535         (enum __socket_type): Don't define here.
14536         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
14537         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14538         bits/socket_type.h.
14540         [BZ #13566]
14541         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
14542         checking __USE_GNU.
14544         * Makerules ($(inst_includedir)/%.h): New rule.
14545         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
14546         (install-others): Remove variable setting.
14547         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
14549 2012-03-08  Richard Henderson  <rth@twiddle.net>
14551         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
14552         from macro to inline function; merge with the
14553         !__LIBC_INTERNAL_MATH_INLINES version.
14554         (__ieee754_sqrtf): Likewise.
14556         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
14557         to inline function.
14558         (__rintf, __floor, __floorf): Likewise.
14560         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
14561         macro to inline function.
14562         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
14564         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
14565         not <math/math_private.h>.
14567 2012-03-08  David S. Miller  <davem@davemloft.net>
14569         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
14570         copyright year.
14571         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
14573 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
14575         * resolv/gai_misc.c (handle_requests): Fix struct timespec
14576         normalization.
14577         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
14578         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
14580 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
14582         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
14583         be defined individually, they must be defined as a block.  Define
14584         S for printing a string instead of hidint the different by using a
14585         macro for adding the 'l'.
14586         * stdio-common/tst-fphex-wide.c: Adjust.
14588 2012-03-07  Marek Polacek  <polacek@redhat.com>
14590         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
14592 2012-03-08  Marek Polacek  <polacek@redhat.com>
14594         [BZ #13806]
14595         * stdio-common/Makefile (tests): Add tst-fphex-wide.
14596         * stdio-common/tst-fphex.c: Define a few macros to make the
14597         test reusable.  Use them.
14598         * stdio-common/tst-fphex-wide.c: New file.
14600 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
14602         [BZ #6911]
14603         * manual/macros.texi (gnusystems): New macro.
14604         (nongnusystems): Likewise.
14605         (gnulinuxhurdsystems): Likewise.
14606         (gnuhurdsystems): Likewise..
14607         (gnulinuxsystems): Likewise.
14608         * manual/charset.texi: Use new macros or @theglibc{} to refer to
14609         variants of the GNU system, not "GNU system".
14610         * manual/conf.texi: Likewise.
14611         * manual/errno.texi: Likewise.  Update example of errno macro
14612         expansion.
14613         * manual/filesys.texi: Likewise.
14614         (getumask): Document as specific to GNU/Hurd.
14615         * manual/install.texi: Likewise.  Reword some references to
14616         GNU/Linux.
14617         * manual/intro.texi: Likewise.
14618         * manual/io.texi: Likewise.
14619         (File Name Portability): Detail which constraints are inapplicable
14620         to all GNU systems and which are only inapplicable to GNU/Hurd.
14621         * manual/job.texi: Likewise.
14622         * manual/llio.texi: Likewise.
14623         (O_NOCTTY): Document as present on GNU/Linux.
14624         * manual/maint.texi: Likewise.
14625         * manual/memory.texi: Likewise.
14626         * manual/pattern.texi: Likewise.
14627         * manual/pipe.texi: Likewise.
14628         * manual/process.texi: Likewise.
14629         * manual/resource.texi: Likewise.
14630         (RUSAGE_CHILDREN): Remove statement about specifying a particular
14631         child on GNU/Hurd.
14632         * manual/setjmp.texi: Likewise.
14633         * manual/signal.texi: Likewise.
14634         * manual/startup.texi: Likewise.
14635         * manual/stdio.texi: Likewise.
14636         * manual/terminal.texi: Likewise.
14637         (ONLCR): Document as POSIX.
14638         (OXTABS): Document availability on GNU/Linux as XTABS.
14639         (ONOEOT): Document availability separately from other bits.
14640         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
14641         * manual/time.texi: Likewise.
14642         * manual/users.texi: Likewise.
14643         * INSTALL: Regenerated.
14644         * sysdeps/gnu/errlist.c: Regenerated.
14646         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
14647         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
14648         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
14649         puts.
14650         * configure: Regenerated.
14652 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
14654         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
14655         default includes instead of AC_HEADER_CHECK.
14656         * sysdeps/i386/configure: Regenerated.
14658         [BZ #10716]
14659         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
14660         * math/s_cacoshf.c (__cacoshf): Likewise.
14661         * math/s_cacoshl.c (__cacoshl): Likewise.
14662         * math/s_casinh.c (__casinh): Set signs of result from argument.
14663         * math/s_casinhf.c (__casinhf): Likewise.
14664         * math/s_casinhl.c (__casinhl): Likewise.
14665         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
14666         (casinh_test): Add more tests.
14667         * sysdeps/i386/fpu/libm-test-ulps: Update.
14668         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14670 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
14672         * po/zh_TW.po: Update from translation team.
14674         * login/Makefile (distribute): Remove variable.
14675         * catgets/Makefile: Likewise.
14676         * mach/Makefile: Likewise.
14677         * malloc/Makefile: Likewise.
14678         * misc/Makefile: Likewise.
14679         * iconv/Makefile: Likewise.
14680         * nscd/Makefile: Likewise.
14681         * hurd/Makefile: Likewise.
14682         * manual/Makefile: Likewise.
14683         * locale/Makefile: Likewise.
14684         * intl/Makefile: Likewise.
14685         * conform/Makefile: Likewise.
14686         * nss/Makefile: Likewise.
14687         * time/Makefile: Likewise.
14688         * soft-fp/Makefile: Likewise.
14689         * dirent/Makefile: Likewise.
14690         * gmon/Makefile: Likewise.
14691         * po/Makefile: Likewise.
14692         * rt/Makefile: Likewise.
14693         * socket/Makefile: Likewise.
14694         * math/Makefile: Likewise.
14695         * signal/Makefile: Likewise.
14696         * debug/Makefile: Likewise.
14697         * elf/Makefile: Likewise.
14698         * timezone/Makefile: Likewise.
14699         * stdlib/Makefile: Likewise.
14700         * iconvdata/Makefile: Likewise.
14701         * sunrpc/Makefile: Likewise.
14702         * io/Makefile: Likewise.
14703         * argp/Makefile: Likewise.
14704         * inet/Makefile: Likewise.
14705         * hesiod/Makefile: Likewise.
14706         * grp/Makefile: Likewise.
14707         * csu/Makefile: Likewise.
14708         * wctype/Makefile: Likewise.
14709         * crypt/Makefile: Likewise.
14710         * libio/Makefile: Likewise.
14711         * string/Makefile: Likewise.
14712         * nis/Makefile: Likewise.
14713         * resolv/Makefile: Likewise.
14714         * stdio-common/Makefile: Likewise.
14715         * wcsmbs/Makefile: Likewise.
14716         * dlfcn/Makefile: Likewise.
14717         * posix/Makefile: Likewise.
14719         [BZ #6959]
14720         * timezone/Makefile: Don't install timezone files, just the programs
14721         and scripts.
14723 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
14725         * nss/databases.def: Add missing gshadow entry.
14727         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
14729 2012-03-06  Marek Polacek  <polacek@redhat.com>
14731         [BZ #13726]
14732         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
14733         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
14734         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
14735         * stdio-common/tst-long-dbl-fphex.c: New file.
14737 2012-03-06  David S. Miller  <davem@davemloft.net>
14739         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14740         (set_obp_int): New function.
14741         (get_obp_int): New function.
14742         (__get_clockfreq_via_dev_openprom): Likewise.
14743         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
14744         Avoid unused variable warnings on 'val' and use builtin_expect.
14745         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
14746         __builtin_expect.
14747         (INLINE_CLONE_SYSCALL): Likewise.
14749 2012-03-05  David S. Miller  <davem@davemloft.net>
14751         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14753 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
14755         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14757         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
14758         only for |x| >= 40.
14759         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14761 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
14763         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
14764         Replace gettimeofday with __vdso_gettimeofday.
14766         * sysdeps/unix/sysv/linux/x86_64/init-first.c
14767         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
14768         __vdso_clock_gettime and __vdso_getcpu.
14770         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
14771         time with __vdso_time.
14773 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
14775         * manual/lang.texi (size_t): Note types to which size_t may be
14776         equivalent with the GNU C Library, but do not describe when
14777         differences between them are significant.
14779 2012-03-05  Andreas Jaeger  <aj@suse.de>
14781         * sysdeps/i386/fpu/libm-test-ulps: Update.
14783 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
14785         [BZ #3976]
14786         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
14787         (__ieee754_pow): Save and restore rounding mode and use
14788         round-to-nearest for main computations.
14789         * math/libm-test.inc (pow_test_tonearest): New function.
14790         (pow_test_towardzero): Likewise.
14791         (pow_test_downward): Likewise.
14792         (pow_test_upward): Likewise.
14793         (main): Call the new functions.
14794         * sysdeps/i386/fpu/libm-test-ulps: Update.
14795         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14797         [BZ #3976]
14798         * math/libm-test.inc (cosh_test_tonearest): New function.
14799         (cosh_test_towardzero): Likewise.
14800         (cosh_test_downward): Likewise.
14801         (cosh_test_upward): Likewise.
14802         (sinh_test_tonearest): Likewise.
14803         (sinh_test_towardzero): Likewise.
14804         (sinh_test_downward): Likewise.
14805         (sinh_test_upward): Likewise.
14806         (main): Call the new functions.
14807         * sysdeps/i386/fpu/libm-test-ulps: Update.
14808         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14810 2012-03-05  Tom de Vries  <tom@codesourcery.com>
14812         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
14813         default stack guard is set in last bytes.
14814         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
14816 2012-03-05  Kees Cook  <keescook@chromium.org>
14818         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
14820         [BZ #13656]
14821         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
14822         possibly allocate from heap instead of stack.
14823         * stdio-common/bug-vfprintf-nargs.c: New file.
14824         * stdio-common/Makefile (tests): Add nargs overflow test.
14826 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
14828         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14830 2012-03-03  Marek Polacek  <polacek@redhat.com>
14832         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
14833         * math/math_private.h: Likewise.
14834         * stdlib/tst-strtod.c: Likewise.
14835         * sysdeps/i386/i486/bits/atomic.h: Likewise.
14836         * sysdeps/x86_64/bits/atomic.h: Likewise.
14838 2012-03-02  David S. Miller  <davem@davemloft.net>
14840         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
14841         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
14842         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
14843         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
14844         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
14845         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
14846         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
14847         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
14849 2012-03-02  Roland McGrath  <roland@hack.frob.com>
14851         [BZ #13792]
14852         * manual/examples/README: New file, says the example source files
14853         can be used under GPL>=2.
14854         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
14855         line containing just "*/".
14856         * manual/examples/add.c: Add copyright header (GPL>=2).
14857         * manual/examples/argp-ex1.c: Likewise.
14858         * manual/examples/argp-ex2.c: Likewise.
14859         * manual/examples/argp-ex3.c: Likewise.
14860         * manual/examples/argp-ex4.c: Likewise.
14861         * manual/examples/atexit.c: Likewise.
14862         * manual/examples/db.c: Likewise.
14863         * manual/examples/dir.c: Likewise.
14864         * manual/examples/dir2.c: Likewise.
14865         * manual/examples/execinfo.c: Likewise.
14866         * manual/examples/filecli.c: Likewise.
14867         * manual/examples/filesrv.c: Likewise.
14868         * manual/examples/fmtmsgexpl.c: Likewise.
14869         * manual/examples/genpass.c: Likewise.
14870         * manual/examples/inetcli.c: Likewise.
14871         * manual/examples/inetsrv.c: Likewise.
14872         * manual/examples/isockad.c: Likewise.
14873         * manual/examples/longopt.c: Likewise.
14874         * manual/examples/memopen.c: Likewise.
14875         * manual/examples/memstrm.c: Likewise.
14876         * manual/examples/mkfsock.c: Likewise.
14877         * manual/examples/mkisock.c: Likewise.
14878         * manual/examples/mygetpass.c: Likewise.
14879         * manual/examples/pipe.c: Likewise.
14880         * manual/examples/popen.c: Likewise.
14881         * manual/examples/rprintf.c: Likewise.
14882         * manual/examples/search.c: Likewise.
14883         * manual/examples/select.c: Likewise.
14884         * manual/examples/setjmp.c: Likewise.
14885         * manual/examples/sigh1.c: Likewise.
14886         * manual/examples/sigusr.c: Likewise.
14887         * manual/examples/stpcpy.c: Likewise.
14888         * manual/examples/strdupa.c: Likewise.
14889         * manual/examples/strftim.c: Likewise.
14890         * manual/examples/strncat.c: Likewise.
14891         * manual/examples/subopt.c: Likewise.
14892         * manual/examples/swapcontext.c: Likewise.
14893         * manual/examples/termios.c: Likewise.
14894         * manual/examples/testopt.c: Likewise.
14895         * manual/examples/testpass.c: Likewise.
14896         * manual/examples/timeval_subtract.c: Likewise.
14898         [BZ #13792]
14899         * manual/time.texi (Elapsed Time): Move timeval_subtract example
14900         function to ...
14901         * manual/timeval_subtract.c.texi: ... here, new file.
14903 2012-03-02  David S. Miller  <davem@davemloft.net>
14905         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
14907 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
14909         [BZ #3976]
14910         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
14911         (__sin): Save and restore rounding mode and use round-to-nearest
14912         for all computations.
14913         (__cos): Save and restore rounding mode and use round-to-nearest
14914         for all computations.
14915         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
14916         <fenv.h>.
14917         (tan): Save and restore rounding mode and use round-to-nearest for
14918         all computations.
14919         * math/libm-test.inc (cos_test_tonearest): New function.
14920         (cos_test_towardzero): Likewise.
14921         (cos_test_downward): Likewise.
14922         (cos_test_upward): Likewise.
14923         (sin_test_tonearest): Likewise.
14924         (sin_test_towardzero): Likewise.
14925         (sin_test_downward): Likewise.
14926         (sin_test_upward): Likewise.
14927         (tan_test_tonearest): Likewise.
14928         (tan_test_towardzero): Likewise.
14929         (tan_test_downward): Likewise.
14930         (tan_test_upward): Likewise.
14931         (main): Call the new functions.
14932         * sysdeps/i386/fpu/libm-test-ulps: Update.
14933         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14935         [BZ #10135]
14936         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
14937         small n, then large n, before computing and testing k+n.
14938         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
14939         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
14940         Likewise.
14941         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
14942         Likewise.
14943         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
14944         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
14945         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
14946         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
14947         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
14948         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
14949         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
14950         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
14951         * math/libm-test.inc (scalbn_test): Add more tests.
14952         (scalbln_test): Likewise.
14954         * manual/filesys.texi (mode_t): Describe constraints on size and
14955         signedness, not exact equivalence to a particular type.
14956         (ino_t): Likewise.
14957         (ino64_t): Likewise.
14958         (dev_t): Likewise.
14959         (nlink_t): Likewise.
14960         (blkcnt_t): Likewise.
14961         (blkcnt64_t): Likewise.
14962         * manual/llio.texi (off_t): Likewise.
14964         [BZ #3976]
14965         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
14966         (__ieee754_exp): Save and restore rounding mode and use
14967         round-to-nearest for all computations.
14968         * math/libm-test.inc (exp_test_tonearest): New function.
14969         (exp_test_towardzero): Likewise.
14970         (exp_test_downward): Likewise.
14971         (exp_test_upward): Likewise.
14972         (main): Call the new functions.
14973         * sysdeps/i386/fpu/libm-test-ulps: Update.
14974         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14976 2012-03-01  Chris Demetriou  <cgd@google.com>
14978         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
14979         have predictable order.
14981 2012-03-01  David S. Miller  <davem@davemloft.net>
14983         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
14985         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
14986         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
14987         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
14988         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
14990         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
14991         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
14992         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
14993         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
14994         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
14995         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
14996         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
14997         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
14998         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
15000         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15002         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
15003         * sysdeps/sparc/fpu/libm-test-ulps: to here.
15004         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
15006         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
15007         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
15008         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
15009         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
15010         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
15011         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
15012         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
15013         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
15014         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
15015         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
15016         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
15017         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15018         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
15019         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
15020         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15021         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15022         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
15023         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
15024         * sysdeps/sparc/elf/configure: Regenerated.
15026 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
15028         * configure.in (AS, LD): Require binutils 2.20 or later.
15029         * configure: Regenerated.
15030         * manual/install.texi (Tools for Compilation): Give binutils 2.20
15031         as required minimum version.
15032         * INSTALL: Regenerated.
15034         [BZ #2541]
15035         [BZ #4108]
15036         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
15037         before squaring exponent.
15038         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
15039         bottom long double and 27 bits of top long double before squaring
15040         exponent.
15041         * math/libm-test.inc (erfc_test): Add more tests.
15042         * sysdeps/i386/fpu/libm-test-ulps: Update.
15043         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15044         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15046 2012-03-01  Kai Tietz  <ktietz@redhat.com>
15048         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
15049         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
15050         containing bit-fields.
15051         * soft-fp/extended.h (_FP_UNION_E): Likewise.
15052         * soft-fp/single.h (_FP_UNION_S): Likewise.
15053         * soft-fp/double.h (_FP_UNION_D): Likewise.
15055 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
15057         [BZ #13786]
15058         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
15059         not include ../strcmp.S.
15060         [USE_AS_STRNCASECMP_L]: Likewise.
15061         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
15062         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
15063         * sysdeps/i386/i686/multiarch/strncase_l-c.c
15064         (__strncasecmp_l_ia32): Define as alias to
15065         __strncasecmp_l_nonascii.
15067         [BZ #5794]
15068         * math/libm-test.inc (expm1_test): Add test for bug 5794.
15069         * sysdeps/i386/fpu/libm-test-ulps: Update.
15070         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15072         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
15073         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15075 2012-02-29  Jeff Law  <law@redhat.com>
15077         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
15078         out of bounds read.
15080 2012-02-29  Marek Polacek  <polacek@redhat.com>
15082         [BZ #13706]
15083         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
15084         * elf/Makefile: Add rules to run tst-unused-dep.out.
15086 2012-02-28  David S. Miller  <davem@davemloft.net>
15088         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
15089         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
15090         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
15091         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
15092         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
15093         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
15095 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
15097         * math/libm-test.inc (llround_test): Move one test from
15098         lround_test.  Use TEST_f_L in moved test.
15099         (lround_test): Move misplaced test to llround_test.  Add testcase
15100         from bug 2561.
15102 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
15104         * sysdeps/x86_64/fpu/e_expf.S: New file.
15105         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
15107 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
15109         [BZ #13637]
15110         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
15111         of remain_len that may cause incomplete multi-byte character and
15112         false match.
15113         * posix/bug-regex33.c: New file.
15114         * posix/Makefile (tests): Add bug-regex33.
15116 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
15118         * manual/macros.texi: New file.
15119         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
15120         * manual/libc.texinfo: Include macros.texi.
15121         * manual/creatute.texi: Likewise.
15122         * manual/install.texi: Likewise.
15123         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
15124         @glibcadj{} in references to the GNU C Library.
15125         * manual/charset.texi: Likewise.
15126         * manual/conf.texi: Likewise.
15127         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
15128         when not using those macros.
15129         * manual/creature.texi: Likewise.
15130         * manual/crypt.texi: Likewise.
15131         * manual/errno.texi: Likewise.
15132         * manual/filesys.texi: Likewise.
15133         * manual/header.texi: Likewise.
15134         * manual/install.texi: Likewise.
15135         * manual/intro.texi: Likewise.
15136         * manual/io.texi: Likewise.
15137         * manual/job.texi: Likewise.
15138         * manual/lang.texi: Likewise.
15139         * manual/libc.texiinfo: Likewise.
15140         * manual/llio.texi: Likewise.
15141         * manual/locale.texi: Likewise.
15142         * manual/maint.texi: Likewise.
15143         * manual/math.texi: Likewise.
15144         * manual/memory.texi: Likewise.
15145         * manual/message.texi: Likewise.
15146         * manual/nss.texi: Likewise.
15147         * manual/pattern.texi: Likewise.
15148         * manual/process.texi: Likewise.
15149         * manual/resource.texi: Likewise.
15150         * manual/search.texi: Likewise.
15151         * manual/setjmp.texi: Likewise.
15152         * manual/signal.texi: Likewise.
15153         * manual/socket.texi: Likewise.
15154         * manual/startup.texi: Likewise.
15155         * manual/stdio.texi: Likewise.
15156         * manual/string.texi: Likewise.
15157         * manual/sysinfo.texi: Likewise.
15158         * manual/syslog.texi: Likewise.
15159         * manual/terminal.texi: Likewise.
15160         * manual/time.texi: Likewise.
15161         * manual/users.texi: Likewise.
15162         * INSTALL: Regenerated.
15163         * NOTES: Regenerated.
15164         * sysdeps/gnu/errlist.c: Regenerated.
15166 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
15168         * include/dirent.h: Include <dirstream.h> before
15169         <dirent/dirent.h>.
15171 2012-02-28  David S. Miller  <davem@davemloft.net>
15173         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
15174         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
15175         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
15176         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
15178 2012-02-27  David S. Miller  <davem@davemloft.net>
15180         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
15181         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
15182         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
15183         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
15185         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
15186         frame pointer instead of stack pointer relative arg slot.
15187         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
15188         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
15189         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
15191 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
15193         [BZ #3992]
15194         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
15196 2012-02-27  David S. Miller  <davem@davemloft.net>
15198         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
15199         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
15200         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
15201         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
15202         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
15203         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
15204         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
15205         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
15207 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
15209         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
15210         later.  Allow versions 5-9.
15211         * configure: Regenerated.
15212         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
15213         required minimum version and 4.6 as recommended version.  Do not
15214         mention bugs in GCC 2.7 and 2.8.
15215         * INSTALL: Regenerated.
15217 2012-02-27  David S. Miller  <davem@davemloft.net>
15219         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
15220         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
15221         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
15222         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
15223         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
15224         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
15225         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
15226         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
15228         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
15229         manipulate bits before adding and subtracting TWO112[sx].
15230         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
15232 2012-02-27  Roland McGrath  <roland@hack.frob.com>
15234         [BZ #13775]
15235         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
15236         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
15237         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
15238         being in POSIX, because they are in 1003.1-2008.
15240         * rt/tst-aio.c: Include <fcntl.h>.
15241         * rt/tst-aio7.c: Likewise.
15242         * rt/tst-aio64.c: Likewise.
15244         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
15246 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
15248         * manual/install.texi (--with-headers): Describe headers as
15249         interface headers, not private headers.
15250         (Specific advice for GNU/Linux systems): Describe use of headers
15251         from "make headers_install", not private headers from older
15252         kernels.
15253         * INSTALL: Regenerated.
15254         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
15255         Change to 2.6.19.
15256         * sysdeps/unix/sysv/linux/configure: Regenerated.
15258         * manual/llio.texi (fclean): Remove documentation.
15260         * manual/Makefile (libc-texi-generated): New variable.  Include
15261         version.texi.
15262         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
15263         $(libc-texi-generated), not duplicated list of files.
15264         (version.texi, stamp-version): New rules.
15265         (realclean): Remove $(libc-texi-generated), not individual files
15266         from that list.  Do not remove dir-add.texinfo.
15267         * manual/libc.texinfo: Comment out uses of edition numbers and
15268         references to printed manual.  Remove last-updated dates.
15269         (EDITION): Comment out.
15270         (ISBN): Likewise.
15271         (VERSION, UPDATED): Remove.
15272         (version.texi): Include.
15274 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
15276         * sysdeps/posix/spawni.c: Include <signal.h>.
15277         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
15278         * sysdeps/pthread/aio_fsync.c: Likewise.
15280 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
15282         * conform/Makefile (tests): Run only when not cross-compiling and
15283         when fast-check is not defined.
15285         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
15286         * conform/data/limits.h-data: Fixes for POSIX2008.
15287         * conform/run-conformtest.sh: Run all tests.
15288         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
15289         headers.
15290         * include/bits/dlfcn.h: Likewise.
15291         * include/langinfo.h: Likewise.
15292         * include/monetary.h: Likewise.
15293         * include/sys/poll.h: Likewise.
15295         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
15296         for __USE_GNU.
15297         * posix/spawn.h: Define __need_sigset_t.
15298         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
15299         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
15300         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
15301         to get sigevent_t only.
15302         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
15303         only for __USE_GNU.
15304         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15305         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
15306         process_vm_writev only for __USE_GNU.
15307         * termios/termios.h: Declare tcgetsid also for POSIX2008.
15309         * conform/Makefile: For now ignore errors from run-conformtest.
15310         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
15311         POSIX to avoid namespace pollution.  Don't prepend headers.
15312         * conform/data/aio.h-data: Fixes for POSIX testing.
15313         * conform/data/fcntl.h-data: Likewise.
15314         * conform/data/glob.h-data: Likewise.
15315         * conform/data/grp.h-data: Likewise.
15316         * conform/data/pthread.h-data: Likewise.
15317         * conform/data/pwd.h-data: Likewise.
15318         * conform/data/signal.h-data: Likewise.
15319         * conform/data/spawn.h-data: Likewise.
15320         * conform/data/stdio.h-data: Likewise.
15321         * conform/data/stdlib.h-data: Likewise.
15322         * conform/data/stropts.h-data: Likewise.
15323         * conform/data/sys/mman.h-data: Likewise.
15324         * conform/data/sys/stat.h-data: Likewise.
15325         * conform/data/sys/types.h-data: Likewise.
15326         * conform/data/sys/wait.h-data: Likewise.
15327         * conform/data/time.h-data: Likewise.
15328         * conform/data/unistd.h-data: Likewise.
15329         * conform/data/utime.h-data: Likewise.
15331         * io/sys/stat.h: fchmod was always in POSIX.
15332         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
15333         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
15334         * rt/aio.h: Define __need_timespec before including <time.h>.
15335         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
15336         struct.  Add forward declaration of pthread_attr_t and use it in
15337         sigevent.
15338         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
15339         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15340         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
15341         always remove CLK_TCK definition.
15343 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
15345         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
15347 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
15349         * conform/run-conformtest.sh: New file.
15350         * conform/Makefile: Run run-conformtest for tests.
15351         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
15352         support.
15354         * conform/data/uchar.h-data: New file.
15355         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
15356         * conform/data/arpa/inet.h-data: Likewise.
15357         * conform/data/assert.h-data: Likewise.
15358         * conform/data/complex.h-data: Likewise.
15359         * conform/data/cpio.h-data: Likewise.
15360         * conform/data/ctype.h-data: Likewise.
15361         * conform/data/dirent.h-data: Likewise.
15362         * conform/data/dlfcn.h-data: Likewise.
15363         * conform/data/errno.h-data: Likewise.
15364         * conform/data/fcntl.h-data: Likewise.
15365         * conform/data/float.h-data: Likewise.
15366         * conform/data/fmtmsg.h-data: Likewise.
15367         * conform/data/fnmatch.h-data: Likewise.
15368         * conform/data/ftw.h-data: Likewise.
15369         * conform/data/glob.h-data: Likewise.
15370         * conform/data/grp.h-data: Likewise.
15371         * conform/data/iconv.h-data: Likewise.
15372         * conform/data/inttypes.h-data: Likewise.
15373         * conform/data/langinfo.h-data: Likewise.
15374         * conform/data/libgen.h-data: Likewise.
15375         * conform/data/limits.h-data: Likewise.
15376         * conform/data/locale.h-data: Likewise.
15377         * conform/data/math.h-data: Likewise.
15378         * conform/data/monetary.h-data: Likewise.
15379         * conform/data/mqueue.h-data: Likewise.
15380         * conform/data/ndbm.h-data: Likewise.
15381         * conform/data/net/if.h-data: Likewise.
15382         * conform/data/netdb.h-data: Likewise.
15383         * conform/data/netinet/in.h-data: Likewise.
15384         * conform/data/nl_types.h-data: Likewise.
15385         * conform/data/poll.h-data: Likewise.
15386         * conform/data/pthread.h-data: Likewise.
15387         * conform/data/pwd.h-data: Likewise.
15388         * conform/data/regex.h-data: Likewise.
15389         * conform/data/sched.h-data: Likewise.
15390         * conform/data/search.h-data: Likewise.
15391         * conform/data/semaphore.h-data: Likewise.
15392         * conform/data/setjmp.h-data: Likewise.
15393         * conform/data/signal.h-data: Likewise.
15394         * conform/data/spawn.h-data: Likewise.
15395         * conform/data/stdarg.h-data: Likewise.
15396         * conform/data/stdio.h-data: Likewise.
15397         * conform/data/stdlib.h-data: Likewise.
15398         * conform/data/string.h-data: Likewise.
15399         * conform/data/strings.h-data: Likewise.
15400         * conform/data/stropts.h-data: Likewise.
15401         * conform/data/sys/ipc.h-data: Likewise.
15402         * conform/data/sys/mman.h-data: Likewise.
15403         * conform/data/sys/msg.h-data: Likewise.
15404         * conform/data/sys/resource.h-data: Likewise.
15405         * conform/data/sys/select.h-data: Likewise.
15406         * conform/data/sys/sem.h-data: Likewise.
15407         * conform/data/sys/shm.h-data: Likewise.
15408         * conform/data/sys/socket.h-data: Likewise.
15409         * conform/data/sys/stat.h-data: Likewise.
15410         * conform/data/sys/statvfs.h-data: Likewise.
15411         * conform/data/sys/time.h-data: Likewise.
15412         * conform/data/sys/timeb.h-data: Likewise.
15413         * conform/data/sys/times.h-data: Likewise.
15414         * conform/data/sys/types.h-data: Likewise.
15415         * conform/data/sys/uio.h-data: Likewise.
15416         * conform/data/sys/un.h-data: Likewise.
15417         * conform/data/sys/utsname.h-data: Likewise.
15418         * conform/data/sys/wait.h-data: Likewise.
15419         * conform/data/syslog.h-data: Likewise.
15420         * conform/data/tar.h-data: Likewise.
15421         * conform/data/termios.h-data: Likewise.
15422         * conform/data/utime.h-data: Likewise.
15423         * conform/data/utmpx.h-data: Likewise.
15424         * conform/data/varargs.h-data: Likewise.
15425         * conform/data/wchar.h-data: Likewise.
15426         * conform/data/wctype.h-data: Likewise.
15427         * conform/data/wordexp.h-data: Likewise.
15429         * include/stropts.h: New file.
15430         * include/uchar.h: New file.
15431         * include/aio.h: Changes to allow conformtest.pl to use the headers.
15432         * include/assert.h: Likewise.
15433         * include/ctype.h: Likewise.
15434         * include/dirent.h: Likewise.
15435         * include/dlfcn.h: Likewise.
15436         * include/fcntl.h: Likewise.
15437         * include/fnmatch.h: Likewise.
15438         * include/glob.h: Likewise.
15439         * include/grp.h: Likewise.
15440         * include/libio.h: Likewise.
15441         * include/locale.h: Likewise.
15442         * include/math.h: Likewise.
15443         * include/net/if.h: Likewise.
15444         * include/netdb.h: Likewise.
15445         * include/netinet/in.h: Likewise.
15446         * include/pthread.h: Likewise.
15447         * include/pwd.h: Likewise.
15448         * include/regex.h: Likewise.
15449         * include/sched.h: Likewise.
15450         * include/search.h: Likewise.
15451         * include/setjmp.h: Likewise.
15452         * include/signal.h: Likewise.
15453         * include/stdio.h: Likewise.
15454         * include/stdlib.h: Likewise.
15455         * include/string.h: Likewise.
15456         * include/sys/cdefs.h: Likewise.
15457         * include/sys/mman.h: Likewise.
15458         * include/sys/msg.h: Likewise.
15459         * include/sys/resource.h: Likewise.
15460         * include/sys/select.h: Likewise.
15461         * include/sys/socket.h: Likewise.
15462         * include/sys/stat.h: Likewise.
15463         * include/sys/statvfs.h: Likewise.
15464         * include/sys/time.h: Likewise.
15465         * include/sys/times.h: Likewise.
15466         * include/sys/uio.h: Likewise.
15467         * include/sys/utsname.h: Likewise.
15468         * include/sys/wait.h: Likewise.
15469         * include/termios.h: Likewise.
15470         * include/time.h: Likewise.
15471         * include/ulimit.h: Likewise.
15472         * include/unistd.h: Likewise.
15473         * include/utime.h: Likewise.
15474         * include/wchar.h: Likewise.
15475         * include/wctype.h: Likewise.
15476         * include/wordexp.h: Likewise.
15478         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
15480         * time/time.h: TIME_UTC must be a macro.
15481         Make timespec_get available for ISO C11 only as well.
15483 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
15485         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
15486         Reported by Peng Haitao <penght@cn.fujitsu.com>.
15488 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
15490         * configure.in: Use -o not -a in test for unsupported multi-arch.
15492 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
15494         * manual/texinfo.tex: Update to version 2012-01-19.16.
15496 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
15498         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
15500 2012-02-24  Roland McGrath  <roland@hack.frob.com>
15502         [BZ #13738]
15503         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
15504         * manual/fdl-1.3.texi: New file.
15505         * manual/fdl-1.1.texi: File removed.
15507         [BZ #13738]
15508         * manual/libc.texinfo (FDL_VERSION): New @set.
15509         Use it for mention of FDL in cover text.
15510         (Documentation License): Use it in @include file name.
15512 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
15513             Roland McGrath  <roland@hack.frob.com>
15515         [BZ #5461]
15516         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
15517         not LONG_LONG_MAX and LONG_LONG_MIN.
15518         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
15519         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
15520         name.
15521         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
15523 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
15525         [BZ #2547]
15526         [BZ #11365]
15527         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
15528         manipulate bits before adding and subtracting TWO23[sx].
15529         * math/libm-test.inc (nearbyint_test): Add more tests.
15531 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
15533         [BZ #2548]
15534         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
15535         bits before adding and subtracting TWO23[sx].
15536         * math/libm-test.inc (rint_test): Add more tests.
15537         (rint_test_tonearest): Likewise.
15538         (rint_test_towardzero): Likewise.
15539         (rint_test_downward): Likewise.
15540         (rint_test_upward: Likewise.
15542 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
15544         [BZ #10110]
15545         * include/stdc-predef.h: New file.  Extracted from features.h.
15546         * include/features.h: Include stdc-predef.h.
15547         * Makefile (headers): Add stdc-predef.h.
15548         * CONFORMANCE (Compiler limitations): Update.
15550 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
15552         * manual/libc.texinfo (VERSION, UPDATED): Revert.
15554 2012-02-21  David S. Miller  <davem@davemloft.net>
15556         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
15557         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
15559 2012-02-20  David S. Miller  <davem@davemloft.net>
15561         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
15562         using a normal save/restore sequence, rather than allocating a
15563         dummy stack frame just to store a frame pointer and restore.
15564         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15566 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
15568         * manual/install.texi: Fix stray word in line-wrapped comment.
15570 2012-02-20  David S. Miller  <davem@davemloft.net>
15572         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
15573         both binutils and gcc support GOTDATA.
15575         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
15576         "rd %pc" in the PIC register setup sequences.
15578         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
15579         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
15580         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
15581         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
15582         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
15583         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
15584         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15585         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15586         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
15587         (SYSCALL_ERROR_HANDLER): Likewise.
15588         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
15589         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15590         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
15591         (SYSCALL_ERROR_HANDLER): Likewise.
15593         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
15594         (HAVE_GCC_GOTDATA): New.
15595         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
15596         relocation support in both binutils and gcc.
15597         * sysdeps/sparc/elf/configure: Regenerate.
15599         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
15600         * sysdeps/sparc/sparc32/elf/configure: Delete.
15601         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
15602         * sysdeps/sparc/sparc64/elf/configure: Delete.
15603         * sysdeps/sparc/elf/configure.in: New file.
15604         * sysdeps/sparc/elf/configure: Generate.
15606         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
15607         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
15608         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
15609         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
15610         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
15612 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
15614         * manual/install.texi: Do not mention specific glibc version
15615         numbers.
15616         * manual/libc.texinfo (VERSION, UPDATED): Update.
15617         (@copying): Use @copyright{} and range of years.
15619 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
15621         [BZ #13695]
15622         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
15623         [crti.S not in sysdirs] (generated): Do not append.
15624         [crti.S not in sysdirs] (omit-deps): Likewise.
15625         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
15626         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
15627         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
15628         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
15629         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
15630         Likewise.
15631         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
15632         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
15633         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
15634         * csu/defs.awk: Remove file.
15635         * sysdeps/generic/initfini.c: Likewise.
15636         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
15637         variable.
15638         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
15639         Likewise.
15641 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
15643         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
15644         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
15645         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
15646         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
15647         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15648         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
15649         <bits/epoll.h>.
15650         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
15651         (__EPOLL_PACKED): Define to empty if not defined by
15652         <bits/epoll.h>.
15653         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
15654         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15655         bits/epoll.h.
15657 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
15659         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
15660         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
15661         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
15662         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
15663         <bits/timerfd.h>.
15664         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
15665         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15666         bits/timerfd.h.
15668 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
15670         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
15671         in C locale.
15672         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15673         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15674         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
15675         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15677 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
15679         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15680         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
15682 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
15684         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
15685         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
15686         defined.
15687         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
15688         Likewise.
15689         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
15690         entry for 2.16.
15692 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
15694         * math/w_acos.c: Use non-signaling floating-point comparisons.
15695         * math/w_acosf.c: Likewise.
15696         * math/w_acosh.c: Likewise.
15697         * math/w_acoshf.c: Likewise.
15698         * math/w_acoshl.c: Likewise.
15699         * math/w_acosl.c: Likewise.
15700         * math/w_asin.c: Likewise.
15701         * math/w_asinf.c: Likewise.
15702         * math/w_asinl.c: Likewise.
15703         * math/w_atanh.c: Likewise.
15704         * math/w_atanhf.c: Likewise.
15705         * math/w_atanhl.c: Likewise.
15706         * math/w_exp2.c: Likewise.
15707         * math/w_exp2f.c: Likewise.
15708         * math/w_exp2l.c: Likewise.
15709         * math/w_j0.c: Likewise.
15710         * math/w_j0f.c: Likewise.
15711         * math/w_j0l.c: Likewise.
15712         * math/w_j1.c: Likewise.
15713         * math/w_j1f.c: Likewise.
15714         * math/w_j1l.c: Likewise.
15715         * math/w_jn.c: Likewise.
15716         * math/w_jnf.c: Likewise.
15717         * math/w_log.c: Likewise.
15718         * math/w_log10.c: Likewise.
15719         * math/w_log10f.c: Likewise.
15720         * math/w_log10l.c: Likewise.
15721         * math/w_log2.c: Likewise.
15722         * math/w_log2f.c: Likewise.
15723         * math/w_log2l.c: Likewise.
15724         * math/w_logf.c: Likewise.
15725         * math/w_logl.c: Likewise.
15726         * math/w_sqrt.c: Likewise.
15727         * math/w_sqrtf.c: Likewise.
15728         * math/w_sqrtl.c: Likewise.
15729         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15730         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
15731         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15732         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
15733         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
15735 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
15737         [BZ #9739]
15738         * manual/string.texi (strnlen): Use correct parameter name in
15739         equivalent expression.
15741 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
15743         [BZ #11174]
15744         * manual/users.texi (seteuid): Consistently use neweuid for
15745         argument name.
15747 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
15749         [BZ #13704]
15750         * manual/nss.texi (Services in the NSS configuration): Correct
15751         list of services in example configuration file.
15753 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
15755         [BZ #11322]
15756         * manual/arith.texi: Remove statements about negative zero
15757         behaving identically to zero.
15759 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
15761         [BZ #5993]
15762         * manual/install.texi: Do not document upgrading from libc5.
15764 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
15766         [BZ #4596]
15767         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
15769 2012-02-18  David S. Miller  <davem@davemloft.net>
15771         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
15772         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
15773         %o7 across the call.
15774         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
15775         instead.
15776         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
15777         SETUP_PIC_REG_LEAF.
15778         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15779         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
15780         * sysdeps/sparc/crtn.S: Likewise.
15782 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
15784         * aout/Makefile: Remove.
15786 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
15788         [BZ #13058]
15789         * manual/examples/argp-ex1.c (main): Format definition in GNU
15790         style.
15791         * manual/examples/argp-ex2.c (main): Likewise.
15792         * manual/examples/argp-ex3.c (main): Likewise.
15793         * manual/examples/argp-ex4.c (main): Likewise.
15794         * manual/examples/longopt.c (main): Use new-style prototype
15795         definition.
15796         * manual/examples/strncat.c (main): Specify return type and use
15797         (void) for arguments.
15798         * manual/examples/subopt.c (main): Use char **argv argument.
15800 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
15802         [BZ #5077]
15803         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
15804         rounding modes.
15806 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
15808         [BZ #6907]
15809         * manual/string.texi (strchr): Change when strchrnul is
15810         recommended.
15812 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
15814         [BZ #174]
15815         * manual/locale.texi (setlocale): Document LOCPATH.
15817 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
15819         [BZ #10210]
15820         * manual/process.texi (execle): Move @dots{} before last argument.
15822 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
15824         [BZ #12047]
15825         * manual/charset.texi (Generic Charset Conversion): Fix typo
15826         (LC_TYPE -> LC_CTYPE).
15828 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
15830         [BZ #5805]
15831         * manual/arith.texi (scalbn): Use @var{} on parameter names.
15832         (scalbnf): Likewise.
15833         (scalbnl): Likewise.
15834         (scalbln): Likewise.
15835         (scalblnf): Likewise.
15836         (scalblnl): Likewise.
15837         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
15838         (vwarnx): Likewise.
15839         (verr): Likewise.
15840         (verrx): Likewise.
15841         * manual/filesys.texi (telldir): Use braces around return type.
15842         * manual/llio.texi (mmap): Add space after comma.
15843         (mmap64): Likewise.
15844         * manual/math.texi (jn): Use @var{} on parameter names.
15845         (jnf): Likewise.
15846         (jnl): Likewise.
15847         (yn): Likewise.
15848         (ynf): Likewise.
15849         (ynl): Likewise.
15850         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
15851         line.
15852         * manual/resource.texi (ulimit): Use @dots{} instead of literal
15853         "...".
15854         (sched_get_priority_min): Remove semicolon on @deftypefun line.
15855         (sched_get_priority_max): Likewise.
15856         * manual/signal.texi (sigvec): Add space after comma.
15857         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
15858         names.
15859         (if_indextoname): Likewise.
15860         (if_freenameindex): Likewise.
15861         (sendto): Use ',' instead of '.' in prototype.
15862         * manual/startup.texi (syscall): Use @dots{} instead of literal
15863         "...".
15864         * manual/stdio.texi (__fpending): Separate initial words of
15865         paragraph from @deftypefun line.
15866         * manual/syslog.texi (syslog): Use @dots{} instead of literal
15867         "...".
15868         (vsyslog): Use @var{} on parameter names.
15869         * manual/terminal.texi (stty): Use @var{} on parameter names.
15870         * manual/users.texi (getutmp): Use @var{} on parameter names.
15871         (getutmpx): Likewise.
15873 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
15875         [BZ #6884]
15876         * manual/stdio.texi (fopen): Fix typos in description of
15877         ",ccs=STRING".
15879 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
15881         [BZ #4026]
15882         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
15883         get clock_id definition.
15885 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
15887         [BZ #4822]
15888         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
15889         (madvise): Cast every argument to void on its own.
15891 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
15893         [BZ #9902]
15894         * manual/startup.texi (Exit Status): Fix typo.
15896 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
15898         [BZ #10140]
15899         * manual/examples/argp-ex1.c: Include <stdlib.h>.
15900         * manual/examples/argp-ex2.c: Likewise.
15901         * manual/examples/argp-ex3.c: Likewise.
15903 2012-02-16  Richard Henderson  <rth@redhat.com>
15905         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
15906         * sysdeps/s390/s390-32/initfini.c: Remove.
15907         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
15908         * sysdeps/s390/s390-64/initfini.c: Remove.
15910 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15912         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
15913         compiler output for sysdeps/generic/initfini.c.
15914         * sysdeps/sh/elf/initfini.c: Remove file.
15916 2012-02-16  David S. Miller  <davem@davemloft.net>
15918         [BZ #11494]
15919         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
15921         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
15922         * sysdeps/sparc/crti.S: New file.
15923         * sysdeps/sparc/crtn.S: New file.
15924         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
15925         * sysdeps/sparc/sparc64/Makefile: Likewise.
15927 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
15929         [BZ #3335]
15930         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
15932 2012-02-15  Roland McGrath  <roland@hack.frob.com>
15934         [BZ #4822]
15935         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
15937         * mach/devstream.c (cookie_io_functions_t): Macro removed.
15938         (write, read, close): Likewise.
15939         Patch by Aurelien Jarno <aurelien@aurel32.net>.
15941 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
15943         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
15944         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
15945         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
15946         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
15947         <bits/signalfd.h>.
15948         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
15949         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15950         bits/signalfd.h.
15952 2012-02-14  Marek Polacek  <polacek@redhat.com>
15954         * sysdeps/x86_64/crti.S: New file.
15955         * sysdeps/x86_64/crtn.S: New file.
15956         * sysdeps/x86_64/elf/initfini.c: Remove file.
15958 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
15960         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
15961         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
15962         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
15963         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
15964         <bits/inotify.h>.
15965         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
15966         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15967         bits/inotify.h.
15969 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
15971         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
15972         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
15973         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
15974         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
15975         <bits/eventfd.h>.
15976         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
15977         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15978         bits/eventfd.h.
15980 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
15982         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
15983         __feraiseexcept instead of feraiseexcept.
15985         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
15986         nanosleep invocations.
15987         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
15988         strings, and add error checking for a nanosleep invocations.
15990 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
15992         Replace FSF snail mail address with URLs, as per GNU coding standards.
15993         Most of the snail mail addresses were wrong anyway, and omitting
15994         them makes the source code easier to maintain.  Almost all of the
15995         changes are to license notices and to locale LC_IDENTIFICATION
15996         addresses, except for this one:
15997         * manual/libc.texinfo: In "Published by", give the FSF's URL,
15998         not its snail mail address.
16000 2012-02-09  Richard Henderson  <rth@twiddle.net>
16002         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
16003         of kernel-features.h.
16005         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
16007 2012-02-08  Marek Polacek  <polacek@redhat.com>
16009         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
16010         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
16011         * sysdeps/gnu/_G_config.h: Likewise.
16012         * sysdeps/generic/_G_config.h: Likewise.
16014 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
16016         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
16017         tests.
16018         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16020         * sysdeps/powerpc/powerpc32/crti.S: New file.
16021         * sysdeps/powerpc/powerpc32/crtn.S: New file.
16022         * sysdeps/powerpc/powerpc64/crti.S: New file.
16023         * sysdeps/powerpc/powerpc64/crtn.S: New file.
16025         * Makeconfig (have-initfini): Don't set.
16026         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
16027         * configure.in (nopic_initfini): Don't substitute.
16028         * config.h.in (HAVE_INITFINI): Don't #undef.
16029         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
16030         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
16032 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
16034         Support crti.S and crtn.S provided directly by architectures.
16035         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
16036         [crti.S in sysdirs] (omit-deps): Likewise.
16037         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
16038         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
16039         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
16040         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
16041         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
16042         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
16043         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
16044         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
16045         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
16046         compiler output for sysdeps/generic/initfini.c.
16047         * sysdeps/i386/elf/Makefile: Remove file.
16048         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
16050 2012-02-07  Marek Polacek  <polacek@redhat.com>
16052         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
16053         * sysdeps/gnu/_G_config.h: Likewise.
16054         * sysdeps/mach/hurd/_G_config.h: Likewise.
16056 2012-02-07  Marek Polacek  <polacek@redhat.com>
16058         * math/Makefile (tests): Add tst-CMPLX2.
16059         * math/tst-CMPLX2.c: New file.
16061 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
16063         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16065         * math/libm-test.inc (jn_test): Add missing L suffix.
16067 2012-02-06  Marek Polacek  <polacek@redhat.com>
16069         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
16070         * sysdeps/i386/fpu/e_powf.S: Likewise.
16071         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
16072         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
16073         * sysdeps/i386/fpu/e_acosh.S: Likewise.
16074         * sysdeps/i386/fpu/e_pow.S: Likewise.
16075         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
16076         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
16077         * sysdeps/i386/fpu/s_expm1.S: Likewise.
16078         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
16079         * sysdeps/i386/fpu/e_log2.S: Likewise.
16080         * sysdeps/i386/fpu/e_log2l.S: Likewise.
16081         * sysdeps/i386/fpu/e_scalb.S: Likewise.
16082         * sysdeps/i386/fpu/e_powl.S: Likewise.
16083         * sysdeps/i386/fpu/s_log1p.S: Likewise.
16084         * sysdeps/i386/fpu/e_log10f.S: Likewise.
16085         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
16086         * sysdeps/i386/fpu/e_logl.S: Likewise.
16087         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
16088         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
16089         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
16090         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
16091         * sysdeps/i386/fpu/e_log2f.S: Likewise.
16092         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
16093         * sysdeps/i386/fpu/e_log.S: Likewise.
16094         * sysdeps/i386/fpu/s_cexp.S: Likewise.
16095         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
16096         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
16097         * sysdeps/i386/fpu/e_logf.S: Likewise.
16098         * sysdeps/i386/fpu/e_log10l.S: Likewise.
16099         * sysdeps/i386/fpu/e_atanh.S: Likewise.
16100         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
16101         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
16102         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
16103         * sysdeps/i386/fpu/e_log10.S: Likewise.
16104         * sysdeps/i386/fpu/s_frexp.S: Likewise.
16105         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
16106         * sysdeps/i386/fpu/s_asinh.S: Likewise.
16107         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
16108         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
16109         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
16110         * sysdeps/i386/asm-syntax.h: Likewise.
16111         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
16112         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16113         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
16114         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
16115         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
16116         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
16117         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
16118         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
16119         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
16120         * sysdeps/powerpc/sysdep.h: Likewise.
16121         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
16122         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16124 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
16126         [BZ #411]
16127         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
16129 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
16131         * sysdeps/i386/sysdep.h: Include <features.h>.
16132         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
16133         version.
16135 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
16137         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
16138         Define.
16139         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
16140         LOAD_PIC_REG_STR.
16142 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
16144         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
16145         (SETUP_PIC_REG): Use GET_PC_THUNK.
16146         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
16147         macro.
16149 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
16151         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
16152         for non-PIC compilation.
16153         (SETUP_PIC_REG): Add .p2align directive.
16154         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
16155         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
16156         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
16157         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
16158         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
16159         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
16160         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
16161         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
16162         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
16163         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
16164         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
16165         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
16166         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
16167         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
16168         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
16169         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16170         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16171         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
16172         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
16173         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
16174         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16175         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16176         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
16177         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
16178         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16179         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
16180         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16181         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16182         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
16183         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
16184         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
16185         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16186         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
16187         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
16188         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
16189         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
16190         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
16191         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
16192         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
16193         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
16194         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
16196 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
16198         * math/tst-CMPLX.c: Include <stdio.h>.
16200 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
16202         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
16203         float.
16204         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
16205         * sysdeps/sparc/bits/mathdef.h: Likewise.
16207 2012-01-31  Marek Polacek  <polacek@redhat.com>
16209         * libio/libio.h: Don't define _PARAMS.
16210         * locale/programs/config.h: Don't define PARAMS.
16211         * stdlib/strtol_l.c: Likewise.
16212         (__strtol_l): Remove PARAMS from the prototype.
16214 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
16216         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
16217         names.  Just use the correct names.  Remove unnecessary wrapper
16218         functions.
16219         * malloc/arena.c: Likewise.
16220         * malloc/hooks.c: Likewise.
16222         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
16223         ARENA_TEST says not to.  Simplify test for creation of a new arena.
16224         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
16226 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
16228         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
16229         into tail calls.
16230         (update_get_addr): New function.
16231         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
16232         GET_ADDR_MODULE parameter.
16234 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
16236         * crypt/cert.c: Remove __STDC__ conditionals.
16237         * crypt/crypt-entry.c: Likewise.
16238         * crypt/crypt_util.c: Likewise.
16239         * libio/filedoalloc.c: Likewise.
16240         * libio/fileops.c: Likewise.
16241         * libio/genops.c: Likewise.
16242         * libio/iofclose.c: Likewise.
16243         * libio/iofdopen.c: Likewise.
16244         * libio/iofopen.c: Likewise.
16245         * libio/iofopen64.c: Likewise.
16246         * libio/iogetdelim.c: Likewise.
16247         * libio/iopopen.c: Likewise.
16248         * libio/obprintf.c: Likewise.
16249         * libio/oldfileops.c: Likewise.
16250         * libio/oldiofclose.c: Likewise.
16251         * libio/oldiofdopen.c: Likewise.
16252         * libio/oldiofopen.c: Likewise.
16253         * libio/oldiopopen.c: Likewise.
16254         * libio/wfiledoalloc.c: Likewise.
16255         * libio/wgenops.c: Likewise.
16256         * locale/programs/xmalloc.c: Likewise.
16257         * misc/syslog.c: Likewise.
16258         * stdio-common/xbug.c: Likewise.
16259         * string/memchr.c: Likewise.
16260         * string/memcmp.c: Likewise.
16261         * string/memrchr.c: Likewise.
16262         * string/rawmemchr.c: Likewise.
16263         * sysdeps/posix/getcwd.c: Likewise.
16264         * time/strftime_l.c: Likewise.
16266 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
16268         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
16269         * config.make.in (config-cflags-sse2avx): Define.
16270         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
16271         Fix typo.
16273 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
16275         * scripts/config.guess: Update from upstream config git repository.
16276         * scripts/config.sub: Likewise.
16278 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
16280         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
16281         (EM_NUM): Update.
16282         (R_TILEPRO_*, R_TILEGX_*): New macros.
16284         * scripts/firstversions.awk: Fix bug in version range handling.
16286         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
16288         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
16290         * include/sys/epoll.h: New file.
16291         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
16292         libc_hidden_def.
16294 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
16296         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
16297         Avoid unnecessary __WORDSIZE == 64 test.
16298         (fmaxf): Use VEX format if possible.
16299         (fmax): Likewise.
16300         (fminf): Likewise.
16301         (fmin): Likewise.
16303         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
16304         * math/math_private.h: Remove libc_fegetround* and
16305         libc_fesetround*.
16306         * sysdeps/i386/configure.in: Check for -msse2avx.
16307         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
16308         also if SSE2AVX is defined.
16309         Remove libc_fegetround* and libc_fesetround*.
16310         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
16311         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
16312         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
16313         of HAS_YMM_USABLE.
16314         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16315         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16316         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16317         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16318         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16320         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
16322 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16324         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
16325         size is not set.
16326         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
16328 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
16330         [BZ #13618]
16331         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
16332         relocation.
16333         * Makeconfig (libm): Define.
16334         * elf/Makefile: Add rules to build and run tst-relsort1.
16335         * elf/tst-relsort1.c: New file.
16336         * elf/tst-relsort1mod1.c: New file.
16337         * elf/tst-relsort1mod2.c: New file.
16339 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
16341         * math/s_ldexp.c: Remove __STDC__ conditionals.
16342         * math/s_ldexpf.c: Likewise.
16343         * math/s_ldexpl.c: Likewise.
16344         * math/s_nextafter.c: Likewise.
16345         * math/s_nexttowardf.c: Likewise.
16346         * math/s_significand.c: Likewise.
16347         * math/s_significandf.c: Likewise.
16348         * math/s_significandl.c: Likewise.
16349         * math/w_jnl.c: Likewise.
16350         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
16351         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
16352         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
16353         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
16354         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
16355         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16356         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
16357         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
16358         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16359         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
16360         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
16361         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16362         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
16363         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
16364         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16365         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
16366         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16367         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16368         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16369         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
16370         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
16371         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16372         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16373         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16374         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16375         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16376         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16377         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16378         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
16379         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16380         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16381         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
16382         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16383         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
16384         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
16385         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16386         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
16387         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
16388         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
16389         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
16390         * sysdeps/ieee754/k_standard.c: Likewise.
16391         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16392         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16393         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
16394         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
16395         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
16396         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
16397         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16398         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
16399         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
16400         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
16401         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
16402         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
16403         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
16404         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
16405         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
16406         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
16407         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
16408         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16409         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16410         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
16411         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16412         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16413         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
16414         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
16415         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16416         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
16417         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
16418         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16419         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16420         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
16421         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
16422         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
16423         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
16424         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
16425         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
16426         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
16427         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
16428         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
16429         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
16430         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
16431         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
16432         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
16433         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
16434         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
16435         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
16436         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
16437         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
16438         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16439         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
16440         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
16441         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
16442         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
16443         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16444         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
16445         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
16446         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
16447         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
16448         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
16449         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
16450         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
16451         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
16452         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
16453         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
16454         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16455         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
16456         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
16457         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
16458         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
16459         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
16460         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
16461         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
16462         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
16463         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
16464         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
16465         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
16466         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16467         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
16468         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
16469         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
16470         * sysdeps/ieee754/s_matherr.c: Likewise.
16471         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
16472         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
16473         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16474         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16476 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
16478         * crypt/md5.h: Remove __STDC__ conditionals.
16479         * libio/libioP.h: Likewise.
16480         * locale/programs/config.h: Likewise.
16481         * sysdeps/generic/sysdep.h: Likewise.
16482         * sysdeps/i386/asm-syntax.h: Likewise.
16483         * sysdeps/s390/asm-syntax.h: Likewise.
16484         * sysdeps/unix/sysdep.h: Likewise.
16485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
16486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16488 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
16490         * libio/libio.h: Remove __STDC__ conditionals.
16491         * malloc/obstack.h: Likewise.
16492         * math/complex.h: Likewise.
16493         * math/math.h: Likewise.
16494         * sysdeps/generic/_G_config.h: Likewise.
16495         * sysdeps/gnu/_G_config.h: Likewise.
16496         * sysdeps/mach/hurd/_G_config.h: Likewise.
16497         * sysdeps/powerpc/bits/mathdef.h: Likewise.
16498         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
16499         * sysdeps/sparc/bits/mathdef.h: Likewise.
16501 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
16503         [BZ #13583]
16504         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
16505         Clean up HAS_* macros.
16506         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
16507         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
16508         possible.
16509         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
16510         HAS_AVX.
16511         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16512         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16513         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16514         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16515         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16517 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
16519         * elf/tst-unique3.cc (gets): Remove declaration.
16520         * elf/tst-unique3lib.cc (gets): Likewise.
16521         * elf/tst-unique3lib2.cc (gets): Likewise.
16522         * elf/tst-unique4.cc (gets): Likewise.
16524 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
16526         * include/stdio.h: Add C++ protection.  Add gets declarations and
16527         definitions.
16528         * debug/tst-chk1.c: Don't declare gets here.
16529         * stdio-common/tst-gets.c: Likewise.
16531 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
16533         * posix/glob: Remove directory.
16535 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
16537         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
16539 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
16541         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
16542         of the non-standard EPFNOSUPPORT.
16544 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16546         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
16547         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
16548         ANYWHERE set to 1 only on KERN_NO_SPACE error.
16550 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
16552         * wcsmbs/uchar.h: Test __STDC_VERSION__.
16554 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
16556         * nscd/aicache.c (addhstaiX): Do not cache negative results of
16557         transient errors.
16558         * nscd/grpcache.c (cache_addgr): Likewise.
16559         * nscd/hstcache.c (cache_addhst): Likewise.
16560         * nscd/initgrcache.c (addinitgroupsX): Likewise.
16561         * nscd/pwdcache.c (cache_addpw): Likewise.
16562         * nscd/servicescache.c (cache_addserv): Likewise.
16564 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
16566         * malloc/malloc.c: Various cleanups.
16567         * malloc/hooks.c: Likewise.
16569         * stdlib/Makefile (tests): Add bug-fmtmsg1.
16570         * stdlib/bug-fmtmsg1.c: New file.
16572         * stdlib/fmtmsg.c (init): Add missing unlock.
16573         Patch by Peng Haitao <penght@cn.fujitsu.com>.
16575 2012-01-12  Marek Polacek  <polacek@redhat.com>
16577         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
16578         and _GNU_SOURCE.
16580 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
16582         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
16583         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
16584         macro to ensure uniqueness of label name.
16585         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
16586         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
16588 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
16590         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
16592         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
16593         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
16594         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
16595         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
16597 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
16599         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
16601         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
16602         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
16603         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
16605         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
16607         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
16608         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
16609         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
16610         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
16612         * math/bits/math-finite.h: Add ldexp support.
16614 2012-01-10  Marek Polacek  <polacek@redhat.com>
16616         * locale/programs/localedef.h (show_archive_content): Add noreturn
16617         attribute.
16619 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
16621         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
16623 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
16625         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
16627         * io/Makefile (headers): Add bits/poll2.h.
16629 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
16631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
16632         typo #include statement.
16634 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
16636         * include/sys/cdefs.h: Define __attribute_alloc_size.
16637         * catgets/gencat.c: Add alloc_size attribute and apply consistently
16638         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
16639         * elf/pldd.c: Likewise.
16640         * iconv/iconv_charmap.c: Likewise.
16641         * iconv/iconvconfig.c: Likewise.
16642         * iconv/strtab.c: Likewise.
16643         * locale/programs/locale.c: Likewise.
16644         * locale/programs/localedef.h: Likewise.
16645         * locale/programs/simple-hash.c: Likewise.
16646         * nscd/nscd.h: Likewise.
16647         * nss/makedb.c: Likewise.
16648         * sysdeps/generic/ldconfig.h: Likewise.
16649         * locale/programs/localedef.c: Remove xmalloc prototype.
16650         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
16652 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
16654         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
16655         appropriate.
16657 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
16659         * math/Makefile (tests): Add tst-CMPLX.
16660         * math/tst-CMPLX.c: New file.
16662         * math/complex.h (CMPLXL): Fix typo.
16664         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
16665         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
16666         GLIBC_2.16.
16667         * debug/tst-chk1.c: Add poll and ppoll tests.
16668         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
16669         * include/sys/poll.h: Add hidden proto for ppoll.
16670         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
16671         * sysdeps/mach/hurd/ppoll.c: Likewise.
16672         * io/ppoll.c: Likewise.
16673         * debug/poll_chk.c: New file.
16674         * debug/ppoll_chk.c: New file.
16675         * include/bits/poll2.h: New file.
16676         * io/bits/poll2.h: New file.
16678         [BZ #1350]
16679         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
16681         * configure.in: static is always set to yes.  Remove.
16682         * config.make.in: Don't set build-static.
16683         * Makeconfig: Remove use of build-static.
16684         * dlfcn/Makefile: Likewise.
16685         * elf/Makefile: Likewise.
16686         * math/Makefile: Likewise.
16687         * misc/Makefile: Likewise.
16688         * nptl/Makefile: Likewise.
16689         * sysdeps/mach/hurd/Makefile: Likewise.
16691         * configure.in: PWD_P is not used anymore.
16692         * config.make.in: Remove PWD_P entry.
16694         * configure.in: Remove last remnants of RANLIB.
16695         No need to check for signed size_t anymore.
16696         Don't set libc_commonpagesize and libc_relro_required here for Alpha
16697         and IA-64.
16698         Remove __builtin_expect test because we require at least gcc 3.4.
16699         * aclocal.m4: Likewise.
16701         * wcsmbs/mbrtoc16.c: Implement using towc function.
16702         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
16703         * wcsmbs/wcsmbsload.c: Likewise.
16704         * iconv/gconv_simple.c: Likewise.
16705         * iconv/gconv_int.h: Likewise.
16706         * iconv/gconv_builtin.h: Likewise.
16707         * iconv/iconv_prog.c: Remove CHAR16 handling.
16709         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
16711         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
16713         * configure.in: Remove --with-elf and --enable-bounded options.
16714         Dont set base_machine for ia64.  More non-ELF conditions removed.
16715         Remove testing and setting of leading underscore information.
16716         * config.make.in (build-bounded): Set to no.
16717         * config.h.in: Remove NO_UNDERSCORES entry.
16718         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
16719         them.
16720         * csu/start.c: Remove !NO_UNDERSCORE code.
16721         * locale/localeinfo.h: Likewise.
16722         * sysdeps/generic/machine-gmon.h: Likewise.
16723         * sysdeps/generic/sysdep.h: Likewise.
16724         * sysdeps/i386/sysdep.h: Likewise.
16725         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
16726         * sysdeps/mach/sysdep.h: Likewise.
16727         * sysdeps/s390/s390-32/sysdep.h: Likewise.
16728         * sysdeps/s390/s390-64/sysdep.h: Likewise.
16729         * sysdeps/sh/sysdep.h: Likewise.
16730         * sysdeps/sparc/sparc32/alloca.S: Likewise.
16731         * sysdeps/unix/i386/sysdep.S: Likewise.
16732         * sysdeps/unix/sparc/start.c: Likewise.
16733         * sysdeps/unix/sparc/sysdep.S: Likewise.
16734         * sysdeps/unix/sparc/sysdep.h: Likewise.
16735         * sysdeps/unix/start.c: Likewise.
16736         * sysdeps/unix/x86_64/sysdep.S: Likewise.
16737         * sysdeps/x86_64/sysdep.h: Likewise.
16739 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
16741         [BZ #13553]
16742         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
16743         for non-gcc.
16744         * argp/argp-fmtstream.h: Use const instead __const.
16745         * argp/argp.h: Likewise.
16746         * assert/assert.h: Likewise.
16747         * bits/fenv.h: Likewise.
16748         * bits/sched.h: Likewise.
16749         * bits/sigset.h: Likewise.
16750         * bits/sigthread.h: Likewise.
16751         * catgets/nl_types.h: Likewise.
16752         * conform/data/pthread.h-data: Likewise.
16753         * crypt/crypt-private.h: Likewise.
16754         * crypt/crypt.h: Likewise.
16755         * crypt/crypt_util.c: Likewise.
16756         * ctype/ctype.h: Likewise.
16757         * debug/execinfo.h: Likewise.
16758         * debug/mbsnrtowcs_chk.c: Likewise.
16759         * debug/mbsrtowcs_chk.c: Likewise.
16760         * debug/wcsnrtombs_chk.c: Likewise.
16761         * debug/wcsrtombs_chk.c: Likewise.
16762         * debug/wcstombs_chk.c: Likewise.
16763         * dirent/dirent.h: Likewise.
16764         * dlfcn/dlfcn.h: Likewise.
16765         * elf/neededtest4.c: Likewise.
16766         * grp/grp.h: Likewise.
16767         * gshadow/gshadow.h: Likewise.
16768         * iconv/gconv.h: Likewise.
16769         * iconv/gconv_int.h: Likewise.
16770         * iconv/gconv_simple.c: Likewise.
16771         * iconv/iconv.h: Likewise.
16772         * iconv/loop.c: Likewise.
16773         * iconv/skeleton.c: Likewise.
16774         * include/aio.h: Likewise.
16775         * include/aliases.h: Likewise.
16776         * include/argz.h: Likewise.
16777         * include/arpa/inet.h: Likewise.
16778         * include/assert.h: Likewise.
16779         * include/dirent.h: Likewise.
16780         * include/dlfcn.h: Likewise.
16781         * include/execinfo.h: Likewise.
16782         * include/fcntl.h: Likewise.
16783         * include/fenv.h: Likewise.
16784         * include/glob.h: Likewise.
16785         * include/grp.h: Likewise.
16786         * include/libintl.h: Likewise.
16787         * include/mntent.h: Likewise.
16788         * include/netdb.h: Likewise.
16789         * include/pwd.h: Likewise.
16790         * include/rpc/netdb.h: Likewise.
16791         * include/sched.h: Likewise.
16792         * include/search.h: Likewise.
16793         * include/shadow.h: Likewise.
16794         * include/signal.h: Likewise.
16795         * include/stdio.h: Likewise.
16796         * include/stdlib.h: Likewise.
16797         * include/string.h: Likewise.
16798         * include/sys/socket.h: Likewise.
16799         * include/sys/stat.h: Likewise.
16800         * include/sys/statfs.h: Likewise.
16801         * include/sys/statvfs.h: Likewise.
16802         * include/sys/syslog.h: Likewise.
16803         * include/sys/time.h: Likewise.
16804         * include/sys/uio.h: Likewise.
16805         * include/time.h: Likewise.
16806         * include/unistd.h: Likewise.
16807         * include/utmp.h: Likewise.
16808         * include/wchar.h: Likewise.
16809         * include/wctype.h: Likewise.
16810         * inet/aliases.h: Likewise.
16811         * inet/arpa/inet.h: Likewise.
16812         * inet/netinet/ether.h: Likewise.
16813         * inet/netinet/in.h: Likewise.
16814         * intl/libintl.h: Likewise.
16815         * io/bits/fcntl2.h: Likewise.
16816         * io/fcntl.h: Likewise.
16817         * io/ftw.h: Likewise.
16818         * io/sys/poll.h: Likewise.
16819         * io/sys/stat.h: Likewise.
16820         * io/sys/statfs.h: Likewise.
16821         * io/sys/statvfs.h: Likewise.
16822         * io/utime.h: Likewise.
16823         * libio/bits/stdio.h: Likewise.
16824         * libio/bits/stdio2.h: Likewise.
16825         * libio/libio.h: Likewise.
16826         * libio/libioP.h: Likewise.
16827         * libio/stdio.h: Likewise.
16828         * locale/lc-ctype.c: Likewise.
16829         * locale/locale.h: Likewise.
16830         * login/utmp.h: Likewise.
16831         * malloc/arena.c: Likewise.
16832         * malloc/malloc.c: Likewise.
16833         * malloc/malloc.h: Likewise.
16834         * malloc/mcheck.c: Likewise.
16835         * malloc/mtrace.c: Likewise.
16836         * math/bits/mathcalls.h: Likewise.
16837         * math/fenv.h: Likewise.
16838         * math/math_private.h: Likewise.
16839         * misc/bits/error.h: Likewise.
16840         * misc/bits/syslog.h: Likewise.
16841         * misc/err.h: Likewise.
16842         * misc/error.h: Likewise.
16843         * misc/fstab.h: Likewise.
16844         * misc/mntent.h: Likewise.
16845         * misc/regexp.h: Likewise.
16846         * misc/search.h: Likewise.
16847         * misc/sgtty.h: Likewise.
16848         * misc/sys/mman.h: Likewise.
16849         * misc/sys/syslog.h: Likewise.
16850         * misc/sys/uio.h: Likewise.
16851         * misc/sys/xattr.h: Likewise.
16852         * misc/ttyent.h: Likewise.
16853         * nis/rpcsvc/ypclnt.h: Likewise.
16854         * nss/nss.h: Likewise.
16855         * posix/bits/unistd.h: Likewise.
16856         * posix/fnmatch.h: Likewise.
16857         * posix/glob.h: Likewise.
16858         * posix/sched.h: Likewise.
16859         * posix/spawn.h: Likewise.
16860         * posix/sys/wait.h: Likewise.
16861         * posix/unistd.h: Likewise.
16862         * posix/wordexp.h: Likewise.
16863         * pwd/pwd.h: Likewise.
16864         * resolv/netdb.h: Likewise.
16865         * resource/sys/resource.h: Likewise.
16866         * rt/aio.h: Likewise.
16867         * rt/bits/mqueue2.h: Likewise.
16868         * rt/mqueue.h: Likewise.
16869         * shadow/shadow.h: Likewise.
16870         * signal/signal.h: Likewise.
16871         * socket/send.c: Likewise.
16872         * socket/sendto.c: Likewise.
16873         * socket/sys/socket.h: Likewise.
16874         * stdio-common/printf.h: Likewise.
16875         * stdlib/bits/stdlib.h: Likewise.
16876         * stdlib/fmtmsg.h: Likewise.
16877         * stdlib/monetary.h: Likewise.
16878         * stdlib/stdlib.h: Likewise.
16879         * stdlib/ucontext.h: Likewise.
16880         * streams/stropts.h: Likewise.
16881         * string/argz.h: Likewise.
16882         * string/bits/string2.h: Likewise.
16883         * string/string.h: Likewise.
16884         * string/strings.h: Likewise.
16885         * sunrpc/rpc/auth.h: Likewise.
16886         * sunrpc/rpc/auth_des.h: Likewise.
16887         * sunrpc/rpc/clnt.h: Likewise.
16888         * sunrpc/rpc/netdb.h: Likewise.
16889         * sunrpc/rpc/pmap_clnt.h: Likewise.
16890         * sunrpc/rpc/xdr.h: Likewise.
16891         * sysdeps/generic/inttypes.h: Likewise.
16892         * sysdeps/generic/net/if.h: Likewise.
16893         * sysdeps/generic/sys/swap.h: Likewise.
16894         * sysdeps/gnu/net/if.h: Likewise.
16895         * sysdeps/gnu/utmpx.h: Likewise.
16896         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
16897         * sysdeps/i386/i486/bits/string.h: Likewise.
16898         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
16899         * sysdeps/s390/bits/string.h: Likewise.
16900         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
16901         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
16902         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
16903         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
16904         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
16905         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
16906         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
16907         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
16908         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
16909         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
16910         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
16911         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
16912         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
16913         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
16914         * sysdeps/unix/sysv/linux/readv.c: Likewise.
16915         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
16916         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
16917         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16918         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
16919         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
16920         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
16921         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
16922         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
16923         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
16924         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
16925         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
16926         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
16927         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16928         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
16929         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
16930         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
16931         * sysvipc/sys/ipc.h: Likewise.
16932         * sysvipc/sys/msg.h: Likewise.
16933         * sysvipc/sys/sem.h: Likewise.
16934         * sysvipc/sys/shm.h: Likewise.
16935         * termios/termios.h: Likewise.
16936         * time/sys/time.h: Likewise.
16937         * time/time.h: Likewise.
16938         * wcsmbs/bits/wchar2.h: Likewise.
16939         * wcsmbs/uchar.h: Likewise.
16940         * wcsmbs/wchar.h: Likewise.
16941         * wctype/wctype.h: Likewise.
16943         [BZ #13551]
16944         * Makeconfig: Remove all but ELF support including AIX support.
16945         * Makerules: Likewise.
16946         * config.h.in: Likewise.
16947         * config.make.in: Likewise.
16948         * configure: Likewise.
16949         * configure.in: Likewise.
16950         * csu/Makefile: Likewise.
16951         * csu/version.c: Likewise.
16952         * debug/Makefile: Likewise.
16953         * dlfcn/Makefile: Likewise.
16954         * elf/Makefile: Likewise.
16955         * extra-lib.mk: Likewise.
16956         * iconv/Makefile: Likewise.
16957         * include/libc-symbols.h: Likewise.
16958         * include/shlib-compat.h: Likewise.
16959         * resolv/Makefile: Likewise.
16960         * resolv/res_libc.c: Likewise.
16961         * rt/Makefile: Likewise.
16962         * sysdeps/i386/asm-syntax.h: Likewise.
16963         * sysdeps/i386/sysdep.h: Likewise.
16964         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
16965         * sysdeps/mach/sysdep.h: Likewise.
16966         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
16967         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
16968         * sysdeps/s390/asm-syntax.h: Likewise.
16969         * sysdeps/s390/s390-32/sysdep.h: Likewise.
16970         * sysdeps/s390/s390-64/sysdep.h: Likewise.
16971         * sysdeps/sh/sysdep.h: Likewise.
16972         * sysdeps/unix/sparc/sysdep.h: Likewise.
16973         * sysdeps/wordsize-32/divdi3.c: Likewise.
16974         * sysdeps/x86_64/sysdep.h: Likewise.
16976         * argp/Versions: Remove _argp_unlock_xxx.
16978         [BZ #13559]
16979         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
16980         * abilist/libBrokenLocale.abilist: Likewise.
16981         * abilist/libanl.abilist: Likewise.
16982         * abilist/libc.abilist: Likewise.
16983         * abilist/libcrypt.abilist: Likewise.
16984         * abilist/libdl.abilist: Likewise.
16985         * abilist/libm.abilist: Likewise.
16986         * abilist/libnsl.abilist: Likewise.
16987         * abilist/libpthread.abilist: Likewise.
16988         * abilist/libresolv.abilist: Likewise.
16989         * abilist/librt.abilist: Likewise.
16990         * abilist/libthread_db.abilist: Likewise.
16991         * abilist/libutil.abilist: Likewise.
16992         * abilist/libnss_db.abilist: New file.
16994         * scripts/abilist.awk: Add support for indirect functions.
16996         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
16998         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
17000         * shlib-versions: Remove entries for ports architectures.
17002         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
17003         files in ports.
17004         * elf/stackguard-macros.h: Remove support for IA-64.
17005         * elf/tst-auditmod1.c: Likewise.
17006         * sysdeps/generic/ldsodefs.h: Likewise.
17008         * sysdeps/unix/sysv/linux/configure.in: Ports should define
17009         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
17010         configure files.
17012         [BZ #13552]
17013         * configure.in: Remove --enable-omitfp support.
17014         * FAQ.in: Adjust.
17015         * config.make.in: Likewise.
17016         * Makeconfig: Likewise.
17017         * manual/install.texi: Likewise.
17019         In case anyone cares, the IA-64 architecture could move to ports.
17020         * sysdeps/ia64/*: Removed.
17021         * sysdeps/unix/sysv/linux/ia64/*: Removed.
17022         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
17024         [BZ #13555]
17025         * configure.in: Remove entries for unsupported architectures.
17027         [BZ #13533]
17028         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
17029         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
17030         routines.
17031         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
17032         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
17033         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
17034         fall back to using wcrtomb.
17035         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
17036         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
17037         renaming.
17038         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
17039         * wcsmbs/tst-c16c32-1.c: New file.
17041         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
17042         local variable.
17044         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
17046         * elf/tst-unique3.cc: Add explicit declaration of gets.
17047         * elf/tst-unique3lib.cc: Likewise.
17048         * elf/tst-unique3lib2.cc: Likewise.
17049         * elf/tst-unique4.cc: Likewise.
17051         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
17053 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
17055         [BZ #13566]
17056         * assert/assert.h (static_assert): Don't define for C++.
17057         * libio/stdio.h (gets): Do declare for C++ <= C++11.
17058         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
17060 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
17062         * iconv/loop.c (single loop): Fix assertion in storing of
17063         remaining bytes.
17065         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
17067 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
17069         * posix/getconf.c: Update copyright year.
17070         * nss/getent.c: Likewise.
17071         * nss/makedb.c: Likewise.
17072         * iconv/iconvconfig.c: Likewise.
17073         * iconv/iconv_prog.c: Likewise.
17074         * elf/ldconfig.c: Likewise.
17075         * elf/pldd.c: Likewise.
17076         * elf/sotruss.ksh: Likewise.
17077         * catgets/gencat.c: Likewise.
17078         * csu/version.c: Likewise.
17079         * elf/ldd.bash.in: Likewise.
17080         * elf/sprof.c (print_version): Likewise.
17081         * locale/programs/locale.c: Likewise.
17082         * locale/programs/localedef.c: Likewise.
17083         * login/programs/pt_chown.c: Likewise.
17084         * nscd/nscd.c (print_version): Likewise.
17085         * debug/xtrace.sh: Likewise.
17086         * malloc/memusage.sh: Likewise.
17087         * malloc/mtrace.pl: Likewise.
17088         * debug/catchsegv.sh: Likewise.
17090 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
17092         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
17093         pure attribute.
17095 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
17097         [BZ #13533]
17098         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
17099         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
17100         transformations.
17101         * iconv/gconv_int.h: Likewise.
17102         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
17103         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
17104         from libc for GLIBC_2.16.
17105         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
17106         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
17107         * wcsmbs/uchar.h: Really define mbstate_t.
17108         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
17109         * wcsmbs/c16rtomb.c: New file.
17110         * wcsmbs/mbrtoc16.c: New file.
17111         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
17112         for C/POSIX locale.
17113         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
17114         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
17116         * wcsmbs/wchar.h: Add missing __restrict.
17118 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
17120         [BZ #13532]
17121         * time/Makefile (routines): Add timespec_get.
17122         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
17123         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
17124         timespec for ISO C11.
17125         * time/timespec_get.c: New file.
17126         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
17127         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
17129         [BZ #13531]
17130         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
17131         * stdlib/stdlib.h: Declare aligned_alloc.
17132         * Versions.def: Add GLIBC_2.16 for libc.
17133         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
17135         [BZ 13527]
17136         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
17137         ISO C11.
17139         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
17140         code.
17142         [BZ #13528]
17143         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
17145         [BZ #13529]
17146         * assert/assert.h (static_assert): Define.
17148         * version.h: Update for 2.16 development version.
17150         [BZ #13526]
17151         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
17152         _ISOC11_SOURCE.
17154         * version.h (RELEASE): Bump for 2.15 release.
17155         * include/features.h (__GLIBC_MINOR__): Bump to 15.
17157         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
17158         Patch by Marek Polacek <mpolacek@redhat.com>.
17160         * bits/byteswap.h: Protect long long constants with __extension__.
17161         * sysdeps/i386/bits/byteswap.h: Likewise.
17162         * sysdeps/ia64/bits/byteswap.h: Likewise.
17163         * sysdeps/s390/bits/byteswap.h: Likewise.
17164         * sysdeps/x86_64/bits/byteswap.h: Likewise.
17166 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17168         [BZ #13540]
17169         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
17170         destination buffer.
17171         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
17173 2011-12-23  Marek Polacek  <polacek@redhat.com>
17175         * elf/dl-addr.c (determine_info): Add inline keyword.
17176         * elf/tst-auditmod4b.c (check_avx): Likewise.
17177         * elf/tst-auditmod6b.c (check_avx): Likewise.
17178         * elf/tst-auditmod6c.c (check_avx): Likewise.
17179         * elf/tst-auditmod7b.c (check_avx): Likewise.
17181 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
17183         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
17184         !__SSE_MATH__.
17186 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17188         [BZ #13540]
17189         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
17190         processing for last bytes.
17192 2011-08-06  Bruno Haible  <bruno@clisp.org>
17194         [BZ #13061]
17195         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
17196         U+0385, not to U+1FEE.
17198         [BZ #13062]
17199         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
17200         entry for U+00A5 U+0301.
17202 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
17204         [BZ #13166]
17205         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
17206         buffer for the output is too small.
17208         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
17209         optimization.
17211         [BZ #13185]
17212         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
17213         SSE flags if possible.
17215 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17217         [BZ #13540]
17218         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
17219         processing for last bytes.
17221 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
17223         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
17224         (syscall-list-default-options, syscall-list-default-condition)
17225         (syscall-list-includes): Define.
17226         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
17227         list of ABIs and options and #if conditions for each ABI.  Do not
17228         handle common syscalls between ABIs specially.
17229         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
17230         Remove.
17231         (syscall-list-variants, syscall-list-32bit-options)
17232         (syscall-list-32bit-condition, syscall-list-64bit-options)
17233         (syscall-list-64bit-condition): Define.
17234         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
17235         (syscall-list-variants, syscall-list-32bit-options)
17236         (syscall-list-32bit-condition, syscall-list-64bit-options)
17237         (syscall-list-64bit-condition): Define.
17238         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
17239         Remove.
17240         (syscall-list-variants, syscall-list-32bit-options)
17241         (syscall-list-32bit-condition, syscall-list-64bit-options)
17242         (syscall-list-64bit-condition): Define.
17243         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
17244         Remove.
17245         (syscall-list-variants, syscall-list-32bit-options)
17246         (syscall-list-32bit-condition, syscall-list-64bit-options)
17247         (syscall-list-64bit-condition): Define.
17249 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
17251         * locale/iso-639.def: Add brx entry.
17253         [BZ #13328]
17254         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
17255         Proposed by Mariusz_Cukr <marcukr@op.pl>.
17257         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
17258         __feraiseexcept_renamed.
17260 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
17262         [BZ #13538]
17263         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
17264         EPOLLET with unsigned values.
17265         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
17266         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
17268         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
17269         to large cancellation.
17270         * math/s_cacoshf.c: Likewise.
17271         * math/s_cacoshl.c: Likewise.
17273 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
17275         [BZ #13305]
17276         [BZ #12786]
17277         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
17278         * math/s_cacoshf.c: Likewise.
17279         * math/s_cacoshl.c: Likewise.
17281 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
17283         [BZ #13439]
17284         * iconv/gconv.h: Define __GCONV_SWAP.
17285         * iconvdata/unicode.c: The swap bit must be stored in __flags.
17286         * iconvdata/utf-16.c: Likewise.
17287         * iconvdata/utf-32.c: Likewise.
17289 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
17291         [BZ #13524]
17292         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
17293         numerator after shifting it by one limb.
17295 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
17297         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
17298         under [__USE_EXTERN_INLINES].
17300 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
17302         [BZ #13446]
17303         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
17305 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17307         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
17308         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
17309         optimized code.
17310         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
17311         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
17312         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
17313         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
17314         for strncasecmp/strncasecmp_l compilation.
17315         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
17316         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
17318 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
17320         [BZ #13484]
17321         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
17322         of __asm__.
17324 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
17326         [BZ #13506]
17327         * time/tzfile.c (__tzfile_read): Check values from file header.
17329 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
17331         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
17332         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
17333         * powerpc/powerpc32/dl-start.S: Likewise.
17334         * powerpc/powerpc32/elf/start.S: Likewise.
17335         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
17336         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
17337         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
17338         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
17339         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
17340         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
17341         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
17342         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
17343         * powerpc/powerpc32/fpu/s_round.S: Likewise.
17344         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
17345         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
17346         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
17347         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
17348         * powerpc/powerpc32/memset.S: Likewise.
17349         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
17350         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
17351         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
17352         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
17353         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
17354         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
17355         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
17356         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
17357         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
17358         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
17359         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
17360         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
17361         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
17363 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17365         * math/libm-test.inc: Added more nearbyint tests.
17366         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
17367         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
17368         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
17369         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
17371 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
17373         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
17374         FD_CLOEXEC.
17376 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17378         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
17379         Add wcscpy-ssse3 wcscpy-c.
17380         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
17381         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
17382         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
17383         * sysdeps/x86_64/wcschr.S: New file.
17384         * sysdeps/x86_64/wcsrchr.S: New file.
17385         * string/test-strcmp.c: Remove checking of wcscmp function for
17386         wrong alignments.
17387         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
17388         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
17389         wcsrchr-sse2 wcsrchr-c.
17390         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
17391         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
17392         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
17393         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
17394         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
17395         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
17396         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
17397         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
17398         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
17399         * wcsmbc/wcschr.c (WCSCHR): New macro.
17401 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17403         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
17404         * wcsmbs/test-wcsrchr.c: New file.
17405         * string/test-strrchr.c: Add wcsrchr support.
17406         (WIDE): New macro.
17407         * wcsmbs/test-wcscpy.c: New file.
17408         * string/test-strcpy.c: Add wcscpy support.
17409         (WIDE): New macro.
17411 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
17413         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
17414         the inner loop.
17416 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
17418         [BZ #13472]
17419         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
17421 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
17423         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
17424         Minor optimizations.
17426         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
17427         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
17428         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
17430 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
17432         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
17433         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
17434         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
17435         for gcc to avoid warnings.
17436         * inet/Makefile (tests): Add tst-checks.
17437         * inet/tst-checks.c: New file.
17439         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
17440         warning.
17442         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
17443         __wmemcmp_sse2.
17445         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
17446         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
17448         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
17450 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
17452         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
17453         problem.
17455         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
17457 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
17459         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
17460         conditional on GCC version.
17461         (__arch_compare_and_exchange_val_8_acq)
17462         (__arch_compare_and_exchange_val_16_acq)
17463         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
17464         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
17465         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
17467 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
17469         * sysdeps/sh/backtrace.c: New file.
17471 2011-12-02  Andreas Schwab  <schwab@redhat.com>
17473         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
17474         parenthesis.
17476 2011-12-01  Andreas Schwab  <schwab@redhat.com>
17478         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
17479         falling back to utime.
17481 2011-11-30  Andreas Schwab  <schwab@redhat.com>
17483         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
17484         expectations for float.
17486 2011-11-29  Andreas Schwab  <schwab@redhat.com>
17488         * locale/weight.h (findidx): Add parameter len.
17489         * locale/weightwc.h (findidx): Likewise.
17490         * posix/fnmatch_loop.c (FCT): Adjust caller.
17491         * posix/regcomp.c (build_equiv_class): Likewise.
17492         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
17493         * posix/regexec.c (check_node_accept_bytes): Likewise.
17494         * string/strcoll_l.c (STRCOLL): Likewise.
17495         * string/strxfrm_l.c (STRXFRM): Likewise.
17497 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
17499         * Makefile.in: Remove CVSOPT handling.
17500         * configure.in: Remove use of AC_REVISION.
17501         * iconvdata/Makefile (distribute): No need to filter out CVS.
17502         * scripts/list-sources.sh: Remove CVS, subversion and monotone
17503         handling.
17505 2011-11-16  Andreas Schwab  <schwab@redhat.com>
17507         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
17508         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
17509         [USE_AS_STRNCASECMP_L]: Likewise.
17510         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
17511         NO_TLS_DIRECT_SEG_REFS.
17512         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
17513         Fix argument offsets for non-PIC.
17514         [USE_AS_STRNCASECMP_L]: Likewise.
17515         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
17516         NO_TLS_DIRECT_SEG_REFS.
17518 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
17520         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
17521         O_CLOEXEC.
17522         * locale/loadlocale.c (_nl_load_locale): Likewise.
17524 2011-11-15  Andreas Schwab  <schwab@redhat.com>
17526         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
17527         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
17528         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
17529         (SYSCALL_GETTIME): Set errno on error.
17531         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
17532         count references to noai6ai_cached.
17534 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
17536         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
17538         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
17539         FD_CLOEXEC for /proc/self/maps.
17541         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
17542         FD_CLOEXEC for /proc/meminfo.
17544         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
17545         gai.conf.
17547         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
17548         FD_CLOEXEC for given file.
17550         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
17552         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
17553         FD_CLOEXEC for /etc/hosts.
17554         (_gethtent): Likewise.
17556         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
17558         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
17559         cancellation and set FD_CLOEXEC for /etc/netgroup.
17561         * nss/nss_files/files-key.c (search): Don't allow cancellation when
17562         reading /etc/publickey.
17564         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
17565         allow cancellation when reading /etc/group.
17567         * nss/nss_files/files-alias.c (internal_setent): Don't allow
17568         cancellation.
17569         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
17571         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
17572         when using data file.
17574         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
17576         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
17577         (write_nis_obj): Use "c" and "e" in fopen.
17579         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
17581         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
17583         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
17585         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
17587         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
17588         locale.alias.
17590         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
17592         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
17594         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
17596         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
17597         file parsing and set FD_CLOEXEC.
17599 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
17601         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
17603 2011-11-14  Andreas Schwab  <schwab@redhat.com>
17605         * malloc/arena.c (arena_get2): Don't call reused_arena when
17606         _int_new_arena failed.
17608 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
17610         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
17611         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
17612         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
17613         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17614         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17615         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
17616         to compile strcasecmp and strncasecmp.
17617         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
17618         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
17620         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
17622 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
17624         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
17625         locale-defines.sym to gen-as-const-headers.
17626         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
17627         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
17628         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
17629         to compile strcasecmp and strncasecmp.
17630         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
17631         strcasecmp_l and strncasecmp_l.
17632         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
17633         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
17634         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
17635         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
17636         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
17637         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
17638         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
17639         * sysdeps/i386/i686/multiarch/strncase.S: New file.
17640         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
17641         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
17642         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
17644 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
17646         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
17647         result of SYSDEP_GETTIME_CPU to retval.
17648         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
17649         parameter list to macro.  Remove trailing semicolon.  Adjust users.
17651         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
17652         variable.
17654         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
17655         mantissa words.
17656         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
17658         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
17659         from unused variable.
17661         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
17662         DWARF definitions.
17663         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
17664         for assembling.
17666         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
17667         over namespaces.
17669         * sunrpc/rpc_prot.c (rejected): Fix case value.
17671         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
17672         unsigned long long int to avoid warnings in shift.
17674         * posix/regex_internal.c (re_string_reconstruct): Actually use result
17675         of use of trans.
17676         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
17677         variable tmp.
17679         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
17680         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
17681         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
17683         * nis/nis_table.c (nis_list): Use variable of correct type for
17684         result of __follow_path call.
17686 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17688         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
17689         of math functions ceil, trunc, floor, round, and sqrt, when
17690         avaliable on the platform.
17691         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
17692         name clash.
17693         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17694         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
17695         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
17697 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
17699         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
17700         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
17702 2011-11-11  Roland McGrath  <roland@hack.frob.com>
17704         * include/unistd.h: Fix __readlink return type.
17705         Reported by Chris Metcalf <cmetcalf@tilera.com>.
17707 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
17709         * stdlib/ucontext.h: Undo last change for makecontext.
17711 2011-11-11  Andreas Schwab  <schwab@redhat.com>
17713         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
17715         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
17716         * setjmp/setjmp.h: Mark functions as non-leaf.
17717         * setjmp/bits/setjmp2.h: Likewise.
17718         * stdlib/ucontext.h: Likewise.
17720 2011-11-10  Andreas Schwab  <schwab@redhat.com>
17722         * malloc/arena.c (_int_new_arena): Don't increment narenas.
17723         (reused_arena): Don't check arena limit.
17724         (arena_get2): Atomically check arena limit.
17726 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
17728         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
17729         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
17731         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
17732         instructions.
17734 2011-11-07  Andreas Schwab  <schwab@redhat.com>
17736         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
17737         handler when locking.
17739         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
17740         Fix size of allocated buffer.
17742 2011-11-04  Andreas Schwab  <schwab@redhat.com>
17744         [BZ #10103]
17745         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
17746         declarations for long double functions.
17747         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
17749         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
17751 2011-11-03  Andreas Schwab  <schwab@redhat.com>
17753         * nscd/nscd.c (main): Don't start AVC thread until credentials are
17754         installed.
17756         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
17757         is disabled.
17759 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17761         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
17763 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
17765         * include/alloca.h (stackinfo_alloca_round): Define.
17766         (extend_alloca): Use it.
17767         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
17768         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
17769         here.
17771         * scripts/check-local-headers.sh: Ignore libaudit.h.
17773         * nscd/Makefile (extra-objs): Make recursively expanded.
17775 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
17777         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
17778         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17780         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
17781         * posix/tst-rfc3484-2.c: Likewise.
17782         * posix/tst-rfc3484-3.c: Likewise.
17784         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
17785         process_vm_writev.
17786         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
17787         process_vm_writev.
17788         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
17789         process_vm_writev from libc using GLIBC_2.15 version.
17791         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
17793 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
17795         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
17796         stack usage.
17798 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
17800         [BZ #13367]
17801         * nss/getent.c (initgroups_keys): Show error message in case no group
17802         names are given.
17804         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
17805         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
17806         __bump_nl_timestamp.
17807         * nscd/connections (nscd_init): When host database is served open
17808         netlink socket and request notification about configuration changes.
17809         (main_loop_poll): Track netlink file descriptor and bump timestamp
17810         in case data becomes available.
17811         (main_loop_epoll): Likewise.
17812         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
17813         (database_pers_head): Add extra_data fileds.
17814         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
17815         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
17816         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
17817         Adjust caller.
17818         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
17819         in6ai data, call __free_in6ai.
17820         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
17821         Add -DHAVE_NETLINK.
17822         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
17823         interface information.  Reuse previous data if netlink timestamp
17824         is not changed.
17825         (__bump_nl_timestamp): New function.
17826         (__free_in6ai): New function.
17828 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
17830         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
17831         close_not_cancel_no_status here.
17832         (__check_pf): Reorganize code a bit to not call close twice if OOM.
17834 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
17836         [BZ #13276]
17837         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
17838         return value.
17840         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
17841         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
17842         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
17844 2011-07-03  Andreas Jaeger  <aj@suse.de>
17846         [BZ #10709]
17847         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
17848         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
17849         * math/libm-test.inc (sin_test): Add test case.
17851 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
17853         [BZ #13337]
17854         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
17855         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
17857         * elf/chroot_canon.c (chroot_canon): Cleanups.
17859         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
17861         [BZ #13335]
17862         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
17863         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
17865         * string/test-strchr.c: Make usable for strchrnul testing.
17866         * string/test-strchrnul.c: New file.
17867         * string/Makefile (strop-tests): Add strchrnul.
17869         * po/it.po: Update from translation team.
17870         * po/es.po: Likewise.
17872 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
17874         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
17875         the three constants needed as parameters.  Drop the others.
17876         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
17877         __m128i_strloadu_tolower.
17878         Create and initialize variable zero and use it in all the places
17879         where _mm_setzero_si128 was used.
17881         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
17882         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
17883         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
17884         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
17885         anymore.
17886         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
17887         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
17888         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
17889         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
17890         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
17891         __mpranred, __mptan.
17892         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
17893         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
17894         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
17895         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
17896         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
17897         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
17898         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
17899         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
17900         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
17902 2011-10-28  Andreas Schwab  <schwab@redhat.com>
17904         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
17905         redefine if SHARED.
17906         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
17908         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
17909         wide char related routines to wcsmbs subdir.
17911 2011-10-27  Andreas Schwab  <schwab@redhat.com>
17913         [BZ #13344]
17914         * misc/sys/cdefs.h (__THROWNL): Define.
17915         * posix/unistd.h: Use __THREADNL instead of __THREAD
17916         for memory synchronization functions.
17918 2011-10-26  Roland McGrath  <roland@hack.frob.com>
17920         [BZ #13349]
17921         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
17922         doesn't exist.
17923         * manual/stdio.texi (Obstack Streams): Node removed.
17925 2011-10-26  Andreas Schwab  <schwab@redhat.com>
17927         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
17928         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17929         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17931         * math/math_private.h (math_force_eval): Allow non-addressable
17932         arguments.
17933         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
17935 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
17937         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
17938         file is not needed.
17940         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
17941         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
17942         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17943         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17944         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17945         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17946         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
17947         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
17948         Add AVX variants.
17949         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
17950         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
17951         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
17952         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
17953         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
17954         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
17955         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
17956         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
17957         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
17958         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
17959         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
17960         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
17961         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
17962         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
17963         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
17964         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
17965         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
17966         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
17967         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
17969         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
17970         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
17972         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
17973         place.  Use VEX encoding when compiling for AVX.
17975 2011-10-25  Andreas Schwab  <schwab@redhat.com>
17977         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
17978         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17980         * string/test-strchr.c (do_test): Don't generate NUL bytes.
17982 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
17984         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
17985         useless if() expression.
17986         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17987         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17988         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17989         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17990         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17991         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17992         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17993         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17994         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17995         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17996         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17997         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17998         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17999         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18000         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
18001         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18002         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18003         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18004         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
18006         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
18008 2011-10-25  Andreas Schwab  <schwab@redhat.com>
18010         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
18011         condition.
18012         * elf/dl-fini.c (_dl_sort_fini): Likewise.
18014 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
18016         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
18017         .text section.  Avoid duplicate constants.
18018         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
18019         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18020         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18021         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18022         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18023         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18024         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18025         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18026         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
18027         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
18028         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
18029         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
18030         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
18031         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
18032         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
18033         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
18034         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
18035         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
18036         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18037         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18038         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18039         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18040         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18041         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
18042         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
18043         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
18044         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
18045         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
18046         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
18047         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
18048         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
18049         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
18050         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
18051         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
18052         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
18053         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
18054         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
18055         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
18056         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
18057         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
18058         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
18059         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
18060         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
18061         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
18062         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
18064 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
18066         * sysdeps/x86_64/dla.h: Move to ...
18067         * sysdeps/x86_64/fpu/dla.h: ...here.
18068         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
18069         situations.  Use __builtin_fma only for gcc 4.6 and up.
18071         * config.make.in: Add have-mfma4 entry.
18072         * configure.in: Substitute libc_cv_cc_fma4.
18073         * math/Makefile (dbl-only-routines): Add sincostab.
18074         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
18075         Use __sincostab not sincos.
18076         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
18077         name is a macro.
18078         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18079         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18080         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18081         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
18082         using __copysign.
18083         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
18084         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
18085         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
18086         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
18087         and __inv.
18088         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
18089         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
18090         __copysign.
18091         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
18092         define aliases when function name is a macro.
18093         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
18094         sysdeps/ieee754/dbl-64/sincos.tbl.
18095         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
18096         fma4-enabled routines.
18097         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
18098         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
18099         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
18100         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
18101         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
18102         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
18103         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
18104         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
18105         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
18106         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
18107         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
18108         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
18109         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
18110         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
18111         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
18112         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
18113         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
18114         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
18115         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
18116         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
18117         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
18118         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
18119         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
18120         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
18121         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
18122         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
18123         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
18124         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
18125         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
18126         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
18128         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
18129         rename.
18130         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18131         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18132         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18133         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18134         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18135         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18136         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18137         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18139 2011-10-24  Andreas Schwab  <schwab@redhat.com>
18141         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
18143 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
18145         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
18147         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
18148         prediction.
18149         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
18151         * string/strnlen.c: Don't define STRNLEN, reverse logic.
18152         Remove unused variable magic_bits.
18153         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
18155         * string/strnlen.c: Define and use STRNLEN macro.
18156         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
18157         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
18158         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
18159         * wcsmbs/wcslen.c: Define and use WCSLEN.
18160         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
18161         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
18162         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
18163         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
18164         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
18165         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
18166         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
18168 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18170         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18171         strnlen-sse2-no-bsf.
18172         Rename strlen-no-bsf to strlen-sse2-no-bsf.
18173         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
18174         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
18175         Add strnlen support.
18176         (USE_AS_STRNLEN): New macro.
18177         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
18178         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
18179         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
18180         * sysdeps/x86_64/wcslen.S: New file.
18182 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
18184         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
18185         XMM-moves are used for copying on small sizes.
18187 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18189         * wcsmbs/Makefile (strop-tests): Add wcschr.
18190         * wcsmbs/test-wcschr.c: New file.
18191         * string/test-strchr.c: Update.
18192         Add wcschr support.
18193         (WIDE): New macro.
18195 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18197         * wcsmbs/Makefile (strop-tests): Add wcslen.
18198         * wcsmbs/test-wcslen.c: New file.
18199         * string/test-strlen.c: Update.
18200         Add wcslen support.
18201         (WIDE): New macro.
18203 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
18205         * po/it.po: Update from translation team.
18207 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18209         * sysdeps/x86_64/wcscmp.S: Update.
18210         Fix wrong comparison semantics.
18211         wcscmp shall use signed comparison not unsigned.
18212         Don't use substraction to avoid overflow bug.
18213         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
18214         * wcsmbc/wcscmp.c: Likewise.
18215         * string/test-strcmp.c: Likewise.
18216         Add new tests to check cases with negative values.
18218 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
18220         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
18221         * sysdeps/x86_64/dla.h: ...here.  New file.
18222         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
18223         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18224         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18225         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18226         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18227         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18228         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18229         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18230         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18232 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
18234         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
18235         __ynl_finite aliases.
18237 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
18239         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18241         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
18242         define DLA_FMA.
18243         [DLA_FMA] (EMULV): Use DLA_FMA.
18244         [DLA_FMA] (MUL12): Use EMULV.
18245         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
18246         that are not needed.
18247         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18248         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18249         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18250         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18251         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18252         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18253         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18255 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
18257         * math/s_nan.c: Undef __nan.
18258         * math/s_nanf.c: Undef __nanf.
18259         * math/s_nanl.c: Undef __nanl.
18260         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
18261         "math_private.h".
18263 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
18265         * math/s_catan.c: Add branch predictions.
18266         * math/s_catanf.c: Likewise.
18267         * math/s_catanh.c: Likewise.
18268         * math/s_catanhf.c: Likewise.
18269         * math/s_catanhl.c: Likewise.
18270         * math/s_catanl.c: Likewise.
18271         * math/s_cexp.c: Likewise.
18272         * math/s_cexpf.c: Likewise.
18273         * math/s_cexpl.c: Likewise.
18274         * math/s_clog.c: Likewise.
18275         * math/s_clog10.c: Likewise.
18276         * math/s_clog10f.c: Likewise.
18277         * math/s_clog10l.c: Likewise.
18278         * math/s_clogf.c: Likewise.
18279         * math/s_clogl.c: Likewise.
18280         * math/s_csqrt.c: Likewise.
18281         * math/s_csqrtf.c: Likewise.
18282         * math/s_csqrtl.c: Likewise.
18283         * math/s_ctanf.c: Likewise.
18284         * math/s_ctanh.c: Likewise.
18285         * math/s_ctanhf.c: Likewise.
18286         * math/s_ctanhl.c: Likewise.
18287         * math/s_ctanl.c: Likewise.
18289         * math/math_private.h: Define __nan, __nanf, __nanl.
18290         * math/s_cacosh.c: Include <math_private.h>.
18291         * math/s_cacoshl.c: Likewise.
18292         * math/s_casinh.c: Likewise.
18293         * math/s_casinhf.c: Likewise.
18294         * math/s_casinhl.c: Likewise.
18295         * math/s_ccos.c: Rely entire on ccosh.
18296         * math/s_ccosf.c: Rely entire on ccoshf.
18297         * math/s_ccosl.c: Rely entirely on ccoshl.
18298         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
18299         Remove tests for FE_INVALID.
18300         * math/s_ccoshf.c: Likewise.
18301         * math/s_ccoshl.c: Likewise.
18302         * math/s_csin.c: Likewise.
18303         * math/s_csinf.c: Likewise.
18304         * math/s_csinh.c Likewise.
18305         * math/s_csinhf.c: Likewise.
18306         * math/s_csinhl.c: Likewise.
18307         * math/s_csinl.c: Likewise.
18308         * math/s_ctan.c: Likewise.
18309         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
18310         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
18311         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
18313 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
18315         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
18316         compilation problems.
18318         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
18319         __builtin_expect.
18321 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
18323         * sysdeps/i386/configure.in: Test for -mfma4 option.
18324         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
18325         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
18326         COMMON_CPUID_INDEX_80000001.
18327         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
18328         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
18329         use it if FMA3 is not supported.
18330         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
18332         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
18333         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
18335 2011-10-20  Andreas Schwab  <schwab@redhat.com>
18337         [BZ #12892]
18338         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
18339         it would create a cycle with a link time dependency.
18341 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
18343         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
18344         instruction.
18345         * string/Makefile (strop-tests): Add rawmemchr.
18346         * string/test-rawmemchr.c: New file.
18348         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
18349         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
18350         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
18351         when compiling str{,n}casecmp and when AVX is available.  Hook up
18352         new optimized code in initializers.
18354 2011-10-19  Andreas Schwab  <schwab@redhat.com>
18356         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
18357         __feraiseexcept instead of feraiseexcept.
18359 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
18361         * math/math_private.h: Define defaults for libc_fetestexcept and
18362         libc_feupdateenv.
18363         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
18364         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
18365         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
18366         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
18367         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
18368         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
18369         libc_fetestexcept and libc_feupdateenv.
18371         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
18372         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
18373         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
18374         * sysdeps/x86_64/fpu/math_private.h: Define special version of
18375         libc_feholdexcept_setround.
18377         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
18378         Add s_nearbyint-c and s_nearbyintf-c.
18379         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
18380         nearbyintf inlines.
18381         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
18382         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
18383         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
18384         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
18386         * math/math_private.h: Define defaults for libc_fegetround,
18387         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
18388         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
18389         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
18390         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
18391         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
18392         standard functions.
18393         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18394         Remove comments and hacks for old compiler versions.
18395         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
18396         libc_fegetround, libc_fesetround, libc_feholdexcept, and
18397         libc_feholdexceptl.
18399 2011-10-18  Andreas Schwab  <schwab@redhat.com>
18401         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
18402         (__feraiseexcept_renamed): Add __NTH.
18403         (feraiseexcept): Add __NTH.  Rename local variables to fix
18404         namespace violations.
18406 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
18408         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
18410         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
18412         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
18413         recently added interfaces.
18414         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
18416         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
18417         about macro parameter expansion.
18419         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
18420         __NO_MATH_INLINES is defined.  Cleanups.
18422         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
18423         and __floorf is target has SSE4.1.
18424         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
18425         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
18426         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
18427         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
18429         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
18430         name.
18431         (floorf): Likewise.
18433         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
18435 2011-10-17  Andreas Schwab  <schwab@redhat.com>
18437         * misc/sys/cdefs.h: Fix last change.
18439         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
18440         database lookup.
18442 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
18444         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
18446         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
18447         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18448         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18449         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18450         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18451         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
18452         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18453         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18454         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
18455         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
18456         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
18457         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
18458         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
18459         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
18460         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
18461         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
18462         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
18463         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
18464         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
18465         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
18466         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
18467         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
18469         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
18470         ceil, ceilf, floor, floorf.
18472         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
18473         Perform IRELATIVE relocations last.
18475         * elf/do-rel.h: Add another parameter nrelative, replacing the
18476         local variable with the same name.  Change name of the function
18477         to end in Rel or Rela (uppercase).
18478         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
18479         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
18480         elf_dynamic_do_##reloc function.
18482 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
18484         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
18485         is sufficient, at least on modern CPUs.
18487         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
18489         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
18490         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
18492         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
18493         __expl_finite.
18494         * math/bits/math-finite.h: Add entries for exp.
18495         * math/e_expl.c: Add __*_finite alias.
18496         * sysdeps/i386/fpu/e_exp.S: Likewise.
18497         * sysdeps/i386/fpu/e_expf.S: Likewise.
18498         * sysdeps/i386/fpu/e_expl.c: Likewise.
18499         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18500         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
18501         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18502         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18503         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
18504         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
18505         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
18507         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
18508         is sufficient, at least on modern CPUs.
18510         * ctype/ctype-info.c (__ctype_init): Define.
18511         * include/ctype.h (__ctype_init): Declare.
18512         (__ctype_b_loc): The variable is always initialized.
18513         (__ctype_toupper_loc): Likewise.
18514         (__ctype_tolower_loc): Likewise.
18515         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
18516         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
18518 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
18520         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
18522         * configure.in: Also look in $cxxmachine/include for C++ system
18523         headers.
18525 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18527         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
18528         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
18529         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
18530         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
18531         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
18532         (USE_AS_WMEMCMP): New macro.
18533         Fixing indents.
18534         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
18535         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
18536         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
18537         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
18538         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18539         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
18540         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
18541         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
18542         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
18543         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
18544         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
18545         (USE_AS_WMEMCMP): New macro.
18546         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
18547         * sysdeps/string/test-memcmp.c: Update.
18548         Fix simple_wmemcmp.
18549         Add new tests.
18550         * wcsmbs/wmemcmp.c: Update.
18551         (WMEMCMP): New macro.
18552         Fix overflow bug.
18554 2011-10-12  Andreas Jaeger  <aj@suse.de>
18556         [BZ #13268]
18557         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
18559 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
18561         * libio/iofwide.c (do_length): Avoid warning.
18563         * ctype/ctype.h (__isctype_f): Add missing __THROW.
18565 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
18567         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
18569         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
18570         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
18571         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
18572         * sysdeps/i386/i686/fpu/e_log.S: New file.
18573         * sysdeps/i386/i686/fpu/e_logf.S: New file.
18574         * sysdeps/i386/i686/fpu/e_logl.S: New file.
18576         * ctype/ctype.h: Add support for inlined isXXX functions when
18577         compiling C++ code.
18579 2011-10-14  Andreas Schwab  <schwab@redhat.com>
18581         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18583         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
18585 2011-10-13  Roland McGrath  <roland@hack.frob.com>
18587         [BZ #13291]
18588         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
18590 2011-10-13  Andreas Schwab  <schwab@redhat.com>
18592         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
18593         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
18594         feraiseexcept.
18596         * sysdeps/x86_64/memrchr.S: Check for zero size.
18598         * string/stratcliff.c: Add memrchr tests.
18600 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18602         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18603         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
18604         rawmemchr-sse2 rawmemchr-sse2-bsf.
18605         * sysdeps/i386/i686/multiarch/memchr.S: New file.
18606         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
18607         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
18608         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
18609         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
18610         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
18611         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
18612         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
18613         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
18614         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
18615         * string/memrchr.c (MEMRCHR): New macro.
18617 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
18619         Add integration with gcc's -ffinite-math-only and optimize wrapper
18620         functions in libm.
18621         * Versions.def: Define GLIBC_2.15 version for libm.
18622         * math/Makefile (headers): Add bits/math-finite.h.
18623         * math/bits/math-finite.h: New file.
18624         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
18625         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
18626         * math/e_acoshl.c: Add __*_finite alias.
18627         * math/e_acosl.c: Likewise.
18628         * math/e_asinl.c: Likewise.
18629         * math/e_atan2l.c: Likewise.
18630         * math/e_atanhl.c: Likewise.
18631         * math/e_coshl.c: Likewise.
18632         * math/e_exp10.c: Likewise.
18633         * math/e_exp10f.c: Likewise.
18634         * math/e_exp10l.c: Likewise.
18635         * math/e_exp2l.c: Likewise.
18636         * math/e_fmodl.c: Likewise.
18637         * math/e_gammal_r.c: Likewise.
18638         * math/e_hypotl.c: Likewise.
18639         * math/e_j0l.c: Likewise.
18640         * math/e_j1l.c: Likewise.
18641         * math/e_jnl.c: Likewise.
18642         * math/e_lgammal_r.c: Likewise.
18643         * math/e_log10l.c: Likewise.
18644         * math/e_log2l.c: Likewise.
18645         * math/e_logl.c: Likewise.
18646         * math/e_powl.c: Likewise.
18647         * math/e_sinhl.c: Likewise.
18648         * math/e_sqrtl.c: Likewise.
18649         * math/e_scalb.c: Completely rewritten and optimized.
18650         * math/e_scalbf.c: Likewise.
18651         * math/e_scalbl.c: Likewise.
18652         * math/w_acos.c: Likewise.
18653         * math/w_acosf.c: Likewise.
18654         * math/w_acosl.c: Likewise.
18655         * math/w_acosh.c: Likewise.
18656         * math/w_acoshf.c: Likewise.
18657         * math/w_acoshl.c: Likewise.
18658         * math/w_asin.c: Likewise.
18659         * math/w_asinf.c: Likewise.
18660         * math/w_asinl.c: Likewise.
18661         * math/w_atan2.c: Likewise.
18662         * math/w_atan2f.c: Likewise.
18663         * math/w_atan2l.c: Likewise.
18664         * math/w_atanh.c: Likewise.
18665         * math/w_atanhf.c: Likewise.
18666         * math/w_atanhl.c: Likewise.
18667         * math/w_exp10.c: Likewise.
18668         * math/w_exp10f.c: Likewise.
18669         * math/w_exp10l.c: Likewise.
18670         * math/w_fmod.c: Likewise.
18671         * math/w_fmodf.c: Likewise.
18672         * math/w_fmodl.c: Likewise.
18673         * math/w_j0.c: Likewise.
18674         * math/w_j0f.c: Likewise.
18675         * math/w_j0l.c: Likewise.
18676         * math/w_j1.c: Likewise.
18677         * math/w_j1f.c: Likewise.
18678         * math/w_j1l.c: Likewise.
18679         * math/w_jn.c: Likewise.
18680         * math/w_jnf.c: Likewise.
18681         * math/w_log.c: Likewise.
18682         * math/w_logf.c: Likewise.
18683         * math/w_logl.c: Likewise.
18684         * math/w_log10.c: Likewise.
18685         * math/w_log10f.c: Likewise.
18686         * math/w_log10l.c: Likewise.
18687         * math/w_log2.c: Likewise.
18688         * math/w_log2f.c: Likewise.
18689         * math/w_log2l.c: Likewise.
18690         * math/w_pow.c: Likewise.
18691         * math/w_powf.c: Likewise.
18692         * math/w_powl.c: Likewise.
18693         * math/w_remainder.c: Likewise.
18694         * math/w_remainderf.c: Likewise.
18695         * math/w_remainderl.c: Likewise.
18696         * math/w_scalb.c: Likewise.
18697         * math/w_scalbf.c: Likewise.
18698         * math/w_scalbl.c: Likewise.
18699         * math/w_sqrt.c: Likewise.
18700         * math/w_sqrtf.c: Likewise.
18701         * math/w_sqrtl.c: Likewise.
18702         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
18703         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
18704         used.
18705         * math/math_private.h: Declare __kernel_standard_f.
18706         * math/w_cosh.c: Remove cruft and optimize a bit.
18707         * math/w_coshf.c: Likewise.
18708         * math/w_coshl.c: Likewise.
18709         * math/w_exp2.c: Likewise.
18710         * math/w_exp2f.c: Likewise.
18711         * math/w_exp2l.c: Likewise.
18712         * math/w_hypot.c: Likewise.
18713         * math/w_hypotf.c: Likewise.
18714         * math/w_hypotl.c: Likewise.
18715         * math/w_lgamma.c: Likewise.
18716         * math/w_lgamma_r.c: Likewise.
18717         * math/w_lgammaf.c: Likewise.
18718         * math/w_lgammaf_r.c: Likewise.
18719         * math/w_lgammal.c: Likewise.
18720         * math/w_lgammal_r.c: Likewise.
18721         * math/w_sinh.c: Likewise.
18722         * math/w_sinhf.c: Likewise.
18723         * math/w_sinhl.c: Likewise.
18724         * math/w_tgamma.c: Likewise.
18725         * math/w_tgammaf.c: Likewise.
18726         * math/w_tgammal.c: Likewise.
18727         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18728         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18729         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
18730         Minor optimizations.  Pretty printing.  Remove cruft.
18731         * sysdeps/i386/fpu/e_acosf.S: Likewise.
18732         * sysdeps/i386/fpu/e_acosh.S: Likewise.
18733         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18734         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18735         * sysdeps/i386/fpu/e_acosl.c: Likewise.
18736         * sysdeps/i386/fpu/e_asin.S: Likewise.
18737         * sysdeps/i386/fpu/e_asinf.S: Likewise.
18738         * sysdeps/i386/fpu/e_atan2.S: Likewise.
18739         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
18740         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
18741         * sysdeps/i386/fpu/e_atanh.S: Likewise.
18742         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18743         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18744         * sysdeps/i386/fpu/e_exp10.S: Likewise.
18745         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
18746         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
18747         * sysdeps/i386/fpu/e_exp2.S: Likewise.
18748         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
18749         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
18750         * sysdeps/i386/fpu/e_fmod.S: Likewise.
18751         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
18752         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
18753         * sysdeps/i386/fpu/e_hypot.S: Likewise.
18754         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
18755         * sysdeps/i386/fpu/e_log.S: Likewise.
18756         * sysdeps/i386/fpu/e_log10.S: Likewise.
18757         * sysdeps/i386/fpu/e_log10f.S: Likewise.
18758         * sysdeps/i386/fpu/e_log10l.S: Likewise.
18759         * sysdeps/i386/fpu/e_log2.S: Likewise.
18760         * sysdeps/i386/fpu/e_log2f.S: Likewise.
18761         * sysdeps/i386/fpu/e_log2l.S: Likewise.
18762         * sysdeps/i386/fpu/e_logf.S: Likewise.
18763         * sysdeps/i386/fpu/e_logl.S: Likewise.
18764         * sysdeps/i386/fpu/e_pow.S: Likewise.
18765         * sysdeps/i386/fpu/e_powf.S: Likewise.
18766         * sysdeps/i386/fpu/e_powl.S: Likewise.
18767         * sysdeps/i386/fpu/e_remainder.S: Likewise.
18768         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
18769         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
18770         * sysdeps/i386/fpu/e_scalb.S: Likewise.
18771         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18772         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18773         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
18774         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
18775         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
18776         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18777         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18778         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18779         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18780         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18781         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18782         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
18783         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18784         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18785         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18786         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18787         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18788         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18789         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18790         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18791         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18792         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18793         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18794         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18795         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18796         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18797         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18798         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18799         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18800         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18801         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18802         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
18803         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18804         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
18805         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18806         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18807         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18808         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18809         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18810         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
18811         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
18812         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
18813         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
18814         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18815         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18816         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18817         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18818         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18819         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
18820         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18821         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18822         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18823         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
18824         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
18825         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
18826         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18827         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18828         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18829         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18830         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18831         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
18832         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
18833         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18834         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18835         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18836         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18837         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18838         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18839         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18840         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18841         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18842         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18843         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18844         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
18845         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18846         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18847         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18848         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18849         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18850         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18851         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18852         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
18853         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18854         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18855         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18856         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18857         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
18858         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
18859         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18860         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18861         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18862         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18863         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
18864         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18865         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18866         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18867         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18868         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18869         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
18870         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18871         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
18872         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
18873         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
18874         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
18875         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
18876         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
18877         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
18878         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
18879         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
18880         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18881         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18882         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18883         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18884         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
18885         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18886         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
18887         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
18888         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
18889         (__isnanf): Likewise.
18890         (__isinf_ns): Likewise.
18891         (__isinf_nsf): Likewise.
18892         (__finite): Likewise.
18893         (__finitef): Likewise.
18894         (__ieee754_sqrt): Define as macro.
18895         (__ieee754_sqrtf): Define as macro.
18896         (__ieee754_sqrtl): Define as macro.
18897         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
18898         inlined copy.
18899         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
18900         __FINITE_MATH_ONLY__ consistent.
18901         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
18903 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
18905         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
18906         of rawmemchr.
18908         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
18910 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
18912         * po/ja.po: Update from translation team.
18914 2011-10-08  Roland McGrath  <roland@hack.frob.com>
18916         * locale/programs/locarchive.c (prepare_address_space): New function.
18917         (create_archive, enlarge_archive, open_archive): Use it.
18919         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
18920         inside [SHARED], where it is used.
18922         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
18924         * nss/getent.c (netgroup_keys): Remove unused variable.
18925         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18927 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
18929         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
18930         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
18931         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
18932         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
18933         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
18934         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
18935         * math/Makefile (libm-calls): Add s_isinf_ns.
18936         * math/divtc3.c: Use __isinf_nsl instead of isinf.
18937         * math/multc3.c: Likewise.
18938         * math/s_casin.c: Likewise.
18939         * math/s_casinf.c: Likewise.
18940         * math/s_casinl.c: Likewise.
18941         * math/s_ccos.c: Likewise.
18942         * math/s_ccosf.c: Likewise.
18943         * math/s_ccosl.c: Likewise.
18944         * math/s_ctan.c: Likewise.
18945         * math/s_ctanf.c: Likewise.
18946         * math/s_ctanh.c: Likewise.
18947         * math/s_ctanhf.c: Likewise.
18948         * math/s_ctanhl.c: Likewise.
18949         * math/s_ctanl.c: Likewise.
18950         * math/w_fmod.c: Likewise.
18951         * math/w_fmodf.c: Likewise.
18952         * math/w_fmodl.c: Likewise.
18953         * math/w_remainder.c: Likewise.
18954         * math/w_remainderf.c: Likewise.
18955         * math/w_remainderl.c: Likewise.
18956         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
18957         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
18958         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
18959         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
18960         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
18961         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
18962         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
18963         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
18965         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
18966         of the number.
18967         * stdio-common/printf_fphex.c: Likewise.
18968         * stdio-common/printf_size.c: Likewise.
18970         * math/e_exp10.c: Include math_private.h using <...> not "...".
18971         * math/e_exp10f.c: Likewise.
18972         * math/e_exp10l.c: Likewise.
18973         * math/e_exp2l.c: Likewise.
18974         * math/e_j0l.c: Likewise.
18975         * math/e_j1l.c: Likewise.
18976         * math/e_jnl.c: Likewise.
18977         * math/e_lgammal_r.c: Likewise.
18978         * math/e_rem_pio2l.c: Likewise.
18979         * math/e_scalb.c: Likewise.
18980         * math/e_scalbf.c: Likewise.
18981         * math/e_scalbl.c: Likewise.
18982         * math/k_cosl.c: Likewise.
18983         * math/k_sinl.c: Likewise.
18984         * math/k_tanl.c: Likewise.
18985         * math/s_cacoshf.c: Likewise.
18986         * math/s_catan.c: Likewise.
18987         * math/s_catanf.c: Likewise.
18988         * math/s_catanh.c: Likewise.
18989         * math/s_catanhf.c: Likewise.
18990         * math/s_catanhl.c: Likewise.
18991         * math/s_catanl.c: Likewise.
18992         * math/s_ccosh.c: Likewise.
18993         * math/s_ccoshf.c: Likewise.
18994         * math/s_ccoshl.c: Likewise.
18995         * math/s_cexp.c: Likewise.
18996         * math/s_cexpf.c: Likewise.
18997         * math/s_cexpl.c: Likewise.
18998         * math/s_clog.c: Likewise.
18999         * math/s_clog10.c: Likewise.
19000         * math/s_clog10f.c: Likewise.
19001         * math/s_clog10l.c: Likewise.
19002         * math/s_clogf.c: Likewise.
19003         * math/s_clogl.c: Likewise.
19004         * math/s_csin.c: Likewise.
19005         * math/s_csinf.c: Likewise.
19006         * math/s_csinh.c: Likewise.
19007         * math/s_csinhf.c: Likewise.
19008         * math/s_csinhl.c: Likewise.
19009         * math/s_csinl.c: Likewise.
19010         * math/s_csqrt.c: Likewise.
19011         * math/s_csqrtf.c: Likewise.
19012         * math/s_csqrtl.c: Likewise.
19013         * math/s_ctan.c: Likewise.
19014         * math/s_ctanf.c: Likewise.
19015         * math/s_ctanh.c: Likewise.
19016         * math/s_ctanhf.c: Likewise.
19017         * math/s_ctanhl.c: Likewise.
19018         * math/s_ctanl.c: Likewise.
19019         * math/s_ldexp.c: Likewise.
19020         * math/s_ldexpf.c: Likewise.
19021         * math/s_ldexpl.c: Likewise.
19022         * math/s_significand.c: Likewise.
19023         * math/s_significandf.c: Likewise.
19024         * math/s_significandl.c: Likewise.
19025         * math/w_acos.c: Likewise.
19026         * math/w_acosf.c: Likewise.
19027         * math/w_acosh.c: Likewise.
19028         * math/w_acoshf.c: Likewise.
19029         * math/w_acoshl.c: Likewise.
19030         * math/w_acosl.c: Likewise.
19031         * math/w_asin.c: Likewise.
19032         * math/w_asinf.c: Likewise.
19033         * math/w_asinl.c: Likewise.
19034         * math/w_atan2.c: Likewise.
19035         * math/w_atan2f.c: Likewise.
19036         * math/w_atan2l.c: Likewise.
19037         * math/w_atanh.c: Likewise.
19038         * math/w_atanhf.c: Likewise.
19039         * math/w_atanhl.c: Likewise.
19040         * math/w_cosh.c: Likewise.
19041         * math/w_coshf.c: Likewise.
19042         * math/w_coshl.c: Likewise.
19043         * math/w_dremf.c: Likewise.
19044         * math/w_exp10.c: Likewise.
19045         * math/w_exp10f.c: Likewise.
19046         * math/w_exp10l.c: Likewise.
19047         * math/w_exp2.c: Likewise.
19048         * math/w_exp2f.c: Likewise.
19049         * math/w_fmod.c: Likewise.
19050         * math/w_fmodf.c: Likewise.
19051         * math/w_fmodl.c: Likewise.
19052         * math/w_hypot.c: Likewise.
19053         * math/w_hypotf.c: Likewise.
19054         * math/w_hypotl.c: Likewise.
19055         * math/w_j0.c: Likewise.
19056         * math/w_j0f.c: Likewise.
19057         * math/w_j0l.c: Likewise.
19058         * math/w_j1.c: Likewise.
19059         * math/w_j1f.c: Likewise.
19060         * math/w_j1l.c: Likewise.
19061         * math/w_jn.c: Likewise.
19062         * math/w_jnf.c: Likewise.
19063         * math/w_jnl.c: Likewise.
19064         * math/w_lgamma.c: Likewise.
19065         * math/w_lgamma_r.c: Likewise.
19066         * math/w_lgammaf.c: Likewise.
19067         * math/w_lgammaf_r.c: Likewise.
19068         * math/w_lgammal.c: Likewise.
19069         * math/w_lgammal_r.c: Likewise.
19070         * math/w_log.c: Likewise.
19071         * math/w_log10.c: Likewise.
19072         * math/w_log10f.c: Likewise.
19073         * math/w_log10l.c: Likewise.
19074         * math/w_log2.c: Likewise.
19075         * math/w_log2f.c: Likewise.
19076         * math/w_log2l.c: Likewise.
19077         * math/w_logf.c: Likewise.
19078         * math/w_logl.c: Likewise.
19079         * math/w_pow.c: Likewise.
19080         * math/w_powf.c: Likewise.
19081         * math/w_powl.c: Likewise.
19082         * math/w_remainder.c: Likewise.
19083         * math/w_remainderf.c: Likewise.
19084         * math/w_remainderl.c: Likewise.
19085         * math/w_scalb.c: Likewise.
19086         * math/w_scalbf.c: Likewise.
19087         * math/w_scalbl.c: Likewise.
19088         * math/w_sinh.c: Likewise.
19089         * math/w_sinhf.c: Likewise.
19090         * math/w_sinhl.c: Likewise.
19091         * math/w_sqrt.c: Likewise.
19092         * math/w_sqrtf.c: Likewise.
19093         * math/w_sqrtl.c: Likewise.
19094         * math/w_tgamma.c: Likewise.
19095         * math/w_tgammaf.c: Likewise.
19096         * math/w_tgammal.c: Likewise.
19098         * po/ja.po: Update from translation team.
19100 2011-09-29  Andreas Jaeger  <aj@suse.de>
19102         [BZ #13179]
19103         * sunrpc/netname.c (netname2host): Fix logic.
19105         [BZ #6779]
19106         [BZ #6783]
19107         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
19108         correctly.
19109         * math/w_remainder.c (__remainder): Likewise.
19110         * math/w_remainderf.c (__remainderf): Likewise.
19111         * math/libm-test.inc (remainder_test): Add test cases.
19113 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19115         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
19116         sdiv_qrnnd.
19118 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
19120         * string/test-memcmp.c: Avoid unncessary #defines.
19121         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
19123 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19125         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
19126         Use new sse2 version for core i3 - i7 as it's faster
19127         than sse42 version.
19128         (bit_Prefer_PMINUB_for_stringop): New.
19129         * sysdeps/x86_64/rawmemchr.S: Update.
19130         Replace with faster SSE2 version.
19131         * sysdeps/x86_64/memrchr.S: New file.
19132         * sysdeps/x86_64/memchr.S: Update.
19133         Replace with faster SSE2 version.
19135 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
19137         * elf/dl-load.c (lose): Add cast to avoid warning.
19139 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
19141         * po/ca.po: Update from translation team.
19143         * inet/getnetgrent_r.c: Hook up nscd.
19144         * nscd/Makefile (routines): Add nscd_netgroup.
19145         (nscd-modules): Add netgroupcache.
19146         (CFLAGS-netgroupcache.c): Define.
19147         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
19148         (cache_search): Add const to second parameter.
19149         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
19150         INNETGR.
19151         (dbs): Add netgrdb entry.
19152         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
19153         (verify_persistent_db): Handle netgrdb.
19154         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
19155         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
19156         GETFDNETGR.
19157         (netgroup_response_header): Define.
19158         (innetgroup_response_header): Define.
19159         (datahead): Add netgroup_response_header and innetgroup_response_header
19160         elements.
19161         * nscd/nscd.conf: Add entries for netgroup cache.
19162         * nscd/nscd.h (dbtype): Add netgrdb.
19163         (_PATH_NSCD_NETGROUP_DB): Define.
19164         (netgroup_iov_disabled): Declare.
19165         (xmalloc, xcalloc, xrealloc): Move declarations here.
19166         (cache_search): Adjust prototype.
19167         Add netgroup-related prototypes.
19168         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
19169         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
19170         (__nscd_innetgr): Declare.
19171         * nscd/selinux.c (perms): Use access_vector_t as element type and
19172         add netgroup-related initializers.
19173         * nscd/netgroupcache.c: New file.
19174         * nscd/nscd_netgroup.c: New file.
19175         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
19176         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
19177         For four parameters use innetgr.
19178         * nss/nss_files/files-init.c: Add definition and callback for netgr.
19179         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
19180         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
19181         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
19183         * nscd/connections.c (register_traced_file): Don't register file
19184         for disabled databases.
19186 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
19188         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
19190         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
19191         from tree and freeing node.
19193 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
19195         * nss/nsswitch.c (__nss_database_lookup): Handle
19196         nss_parse_service_list out of memory case.
19198 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
19200         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
19201         out of memory case.
19203 2011-10-04  Andreas Schwab  <schwab@redhat.com>
19205         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
19206         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
19207         pass it down.
19208         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
19209         elf_machine_rela, elf_machine_lazy_rel.
19210         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
19211         (ELF_DYNAMIC_DO_REL): Likewise.
19212         (ELF_DYNAMIC_DO_RELA): Likewise.
19213         (ELF_DYNAMIC_RELOCATE): Likewise.
19214         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
19215         to ELF_DYNAMIC_DO_REL.
19216         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
19217         (dl_main): In trace mode always set __RTLD_NOIFUNC.
19218         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
19219         elf_machine_rela.
19220         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
19221         skip_ifunc, don't call ifunc function if non-zero.
19222         (elf_machine_rela): Likewise.
19223         (elf_machine_lazy_rel): Likewise.
19224         (elf_machine_lazy_rela): Likewise.
19225         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
19226         (elf_machine_lazy_rel): Likewise.
19227         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
19228         Likewise.
19229         (elf_machine_lazy_rel): Likewise.
19230         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19231         Likewise.
19232         (elf_machine_lazy_rel): Likewise.
19233         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
19234         (elf_machine_lazy_rel): Likewise.
19235         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
19236         (elf_machine_lazy_rel): Likewise.
19237         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19238         (elf_machine_lazy_rel): Likewise.
19239         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
19240         (elf_machine_lazy_rel): Likewise.
19241         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
19242         (elf_machine_lazy_rel): Likewise.
19243         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19244         (elf_machine_lazy_rel): Likewise.
19246 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
19248         * nss/nss_files/files-init.c (_nss_files_init): Use static
19249         initialization for all the *_traced_file variables.
19251 2011-09-28  Andreas Schwab  <schwab@redhat.com>
19253         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19255 2011-09-27  Roland McGrath  <roland@hack.frob.com>
19257         [BZ #13226]
19258         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
19260 2011-09-27  Andreas Schwab  <schwab@redhat.com>
19262         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
19263         Reread the line before reparsing it.
19265 2011-09-26  Andreas Schwab  <schwab@redhat.com>
19267         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
19269 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
19270             Maxim Kuvyrkov  <maxim@codesourcery.com>
19271             Joseph Myers  <joseph@codesourcery.com>
19273         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
19274         if needed for __stack_chk_guard.
19276 2011-09-19  Roland McGrath  <roland@hack.frob.com>
19278         * sysdeps/posix/spawni.c (script_execute): Always define it.
19279         It will be optimized away if unused.
19280         (maybe_script_execute): New function.
19281         (__spawni): Call it.
19283         * Makerules: Don't include tls.make.
19284         (config-tls): Always set to thread.
19285         * tls.make.c: File removed.
19287 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
19289         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
19290         * config.make.in (CPPFLAGS-config): New substituted variable.
19292 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
19294         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
19296         [BZ #13192]
19297         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
19298         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
19300 2011-09-15  Roland McGrath  <roland@hack.frob.com>
19302         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
19303         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
19304         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
19305         (CALL_FAIL): Likewise.
19306         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
19307         (CALL_FAIL): Macro removed.
19308         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
19310 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
19312         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
19313         for __FINITE_MATH_ONLY__ == 1.
19315 2011-09-15  Andreas Schwab  <schwab@redhat.com>
19317         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
19318         __ieee754_sqrt instead of sqrt.
19319         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
19320         __ieee754_sqrtf instead of sqrtf.
19321         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
19322         __floorf instead of floorf.
19323         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
19324         __floorf, __truncf instead of floorf, truncf.
19326 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
19328         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
19330         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
19331         __extern_always_inline.
19332         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
19333         32-bit.
19335 2011-09-14  Andreas Schwab  <schwab@redhat.com>
19337         * elf/rtld.c (dl_main): Also relocate in dependency order when
19338         doing symbol dependency testing.
19340 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
19342         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19343         Always define `refsym'.
19345 2011-09-13  Andreas Schwab  <schwab@redhat.com>
19347         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
19348         (__FD_ELT): Renamed from __FDELT.
19349         * misc/bits/select2.h (__FD_ELT): Likewise.
19350         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
19351         __FD_MASK instead of __FDELT, __FDMASK.
19352         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
19353         Likewise.
19354         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
19355         Likewise.
19357         * elf/Makefile (gen-ldd): Fix pattern.
19359         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
19360         (init_tls): Likewise.
19362 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
19364         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
19366 2011-09-12  Andreas Schwab  <schwab@redhat.com>
19368         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
19369         `struct cmsghdr *' instead of `void *'.
19370         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
19371         Likewise.
19373 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
19375         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
19376         if non-absolute.
19377         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
19378         ldd_rewrite_script.
19380 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
19382         * configure.in: Remove --with-tls option.
19383         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
19384         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
19385         out in case it is missing.
19386         * sysdeps/ia64/elf/configure.in: Likewise.
19387         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
19388         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
19389         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
19390         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
19391         * sysdeps/sh/elf/configure.in: Likewise.
19392         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
19393         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
19394         * sysdeps/x86_64/elf/configure.in: Likewise.
19395         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
19396         * sysdeps/mach/hurd/tls.h: Likewise.
19398         [BZ #13067]
19399         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
19401         [BZ #13090]
19402         * configure.in: Fix use of AC_INIT.
19404         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
19406 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
19408         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
19409         __set_errno.
19410         * malloc/hooks.c: Likewise.
19412         [BZ #11929]
19413         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
19414         variables statically.
19415         (narenas): Initialize.
19416         (list_lock): Initialize.
19417         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
19418         initializtion of main_arena and list_lock.  Small cleanups.
19419         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
19420         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
19421         Add initializers to main_arena and mp_.
19422         (malloc_state): Remove pagesize member.  Change all users to use
19423         GLRO(dl_pagesize).
19425         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
19426         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
19427         is always initialized.
19429         * malloc/malloc.c: Removed unused configurations and dead code.
19430         * malloc/arena.c: Likewise.
19431         * malloc/hooks.c: Likewise.
19432         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
19434         * include/tls.h: Removed.  USE___THREAD must always be defined.
19435         * bits/libc-tsd.h: Don't handle !USE___THREAD.
19436         * elf/dl-libc.c: Likewise.
19437         * elf/dl-tsd.c: Likewise.
19438         * include/errno.h: Likewise.
19439         * include/netdb.h: Likewise.
19440         * include/resolv.h: Likewise.
19441         * inet/herrno-loc.c: Likewise.
19442         * inet/herrno.c: Likewise.
19443         * malloc/arena.c: Likewise.
19444         * malloc/hooks.c: Likewise.
19445         * malloc/malloc.c: Likewise.
19446         * resolv/res-state.c: Likewise.
19447         * resolv/res_libc.c: Likewise.
19448         * sysdeps/i386/dl-machine.h: Likewise.
19449         * sysdeps/ia64/dl-machine.h: Likewise.
19450         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
19451         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
19452         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
19453         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
19454         * sysdeps/sh/dl-machine.h: Likewise.
19455         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
19456         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
19457         * sysdeps/unix/i386/sysdep.S: Likewise.
19458         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19459         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
19460         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
19461         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19462         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
19463         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19464         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
19465         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19466         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19467         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19468         * sysdeps/unix/x86_64/sysdep.S: Likewise.
19469         * sysdeps/x86_64/dl-machine.h: Likewise.
19470         * tls.make.c: Likewise.
19472         * configure.in: Remove --with-__thread option.  Make tests for
19473         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
19474         tls_model attribute fail if no support is available.  Remove
19475         USE_IN_LIBIO.
19476         * Makeconfig: Adjust for dropped configure option.  All features are
19477         now mandatory.
19478         * Makerules: Likewise.
19479         * Versions.def: Likewise.
19480         * argp/argp-fmtstream.c: Likewise.
19481         * argp/argp-fmtstream.h: Likewise.
19482         * argp/argp-help.c: Likewise.
19483         * assert/assert.c: Likewise.
19484         * config.h.in: Likewise.
19485         * config.make.in: Likewise.
19486         * configure: Likewise.
19487         * configure.in: Likewise.
19488         * csu/Versions: Likewise.
19489         * csu/init.c: Likewise.
19490         * elf/tst-audit2.c: Likewise.
19491         * elf/tst-tls10.c: Likewise.
19492         * elf/tst-tls10.h: Likewise.
19493         * elf/tst-tls11.c: Likewise.
19494         * elf/tst-tls12.c: Likewise.
19495         * elf/tst-tls14.c: Likewise.
19496         * elf/tst-tlsmod11.c: Likewise.
19497         * elf/tst-tlsmod12.c: Likewise.
19498         * elf/tst-tlsmod13.c: Likewise.
19499         * elf/tst-tlsmod13a.c: Likewise.
19500         * elf/tst-tlsmod14a.c: Likewise.
19501         * elf/tst-tlsmod15b.c: Likewise.
19502         * elf/tst-tlsmod16a.c: Likewise.
19503         * elf/tst-tlsmod16b.c: Likewise.
19504         * elf/tst-tlsmod7.c: Likewise.
19505         * elf/tst-tlsmod8.c: Likewise.
19506         * elf/tst-tlsmod9.c: Likewise.
19507         * gmon/gmon.c: Likewise.
19508         * grp/fgetgrent_r.c: Likewise.
19509         * grp/putgrent.c: Likewise.
19510         * hurd/fopenport.c: Likewise.
19511         * include/libc-symbols.h: Likewise.
19512         * include/tls.h: Likewise.
19513         * intl/gettextP.h: Likewise.
19514         * intl/loadinfo.h: Likewise.
19515         * locale/global-locale.c: Likewise.
19516         * locale/localeinfo.h: Likewise.
19517         * mach/devstream.c: Likewise.
19518         * malloc/arena.c: Likewise.
19519         * malloc/set-freeres.c: Likewise.
19520         * misc/err.c: Likewise.
19521         * misc/getttyent.c: Likewise.
19522         * misc/mntent_r.c: Likewise.
19523         * posix/getopt.c: Likewise.
19524         * posix/wordexp.c: Likewise.
19525         * pwd/fgetpwent_r.c: Likewise.
19526         * resolv/Versions: Likewise.
19527         * resolv/res_hconf.c: Likewise.
19528         * shadow/fgetspent_r.c: Likewise.
19529         * shadow/putspent.c: Likewise.
19530         * stdio-common/printf_fphex.c: Likewise.
19531         * stdio-common/tmpfile.c: Likewise.
19532         * stdlib/abort.c: Likewise.
19533         * stdlib/fmtmsg.c: Likewise.
19534         * sunrpc/auth_unix.c: Likewise.
19535         * sunrpc/clnt_perr.c: Likewise.
19536         * sunrpc/clnt_tcp.c: Likewise.
19537         * sunrpc/clnt_udp.c: Likewise.
19538         * sunrpc/clnt_unix.c: Likewise.
19539         * sunrpc/openchild.c: Likewise.
19540         * sunrpc/svc_simple.c: Likewise.
19541         * sunrpc/svc_tcp.c: Likewise.
19542         * sunrpc/svc_udp.c: Likewise.
19543         * sunrpc/svc_unix.c: Likewise.
19544         * sunrpc/xdr.c: Likewise.
19545         * sunrpc/xdr_array.c: Likewise.
19546         * sunrpc/xdr_rec.c: Likewise.
19547         * sunrpc/xdr_ref.c: Likewise.
19548         * sunrpc/xdr_stdio.c: Likewise.
19550 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
19552         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19554 2011-07-03  Andreas Jaeger  <aj@suse.de>
19556         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
19557         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
19558         regenerate with gen-libm-tests.pl.
19560 2010-05-12  Petr Baudis  <pasky@suse.cz>
19562         [BZ #11589]
19563         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
19564         around j0() zero points by switching to j1().
19565         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19566         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19567         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19568         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19570 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
19572         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
19573         instead of 0.
19574         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
19575         instead of 0.
19576         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19577         Patch in part by Pavel Roskin <proski@gnu.org>.
19579         [BZ #13138]
19580         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
19581         realloc.
19582         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
19583         Free memory block if necessary.
19585         [BZ #12847]
19586         * libio/genops.c (INTDEF): For string streams the _lock pointer can
19587         be NULL.  Don't lock in this case.
19589 2011-09-09  Roland McGrath  <roland@hack.frob.com>
19591         * elf/elf.h (ELFOSABI_GNU): New macro.
19592         (ELFOSABI_LINUX): Define to that.
19594 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
19596         * string/strncat.c (strncat): Undef the symbol in case it has been
19597         defined in bits/string.h.
19599 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
19601         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
19603         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
19604         link map.
19606 2011-08-17  Andreas Jaeger  <aj@suse.de>
19608         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
19610 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
19611             Ian Lance Taylor  <iant@google.com>
19613         * math/libm-test.inc (lround_test): New testcase.
19614         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
19616 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
19618         * Makefile: Remove support for automatic cvs check-ins.
19619         * Makerules: Likewise.
19620         * config.make.in: Likewise.
19621         * configure.in: Likewise.
19622         * intl/Makefile: Likewise.
19623         * locale/Makefile: Likewise.
19624         * po/Makefile: Likewise.
19625         * posix/Makefile: Likewise.
19626         * sysdeps/gnu/Makefile: Likewise.
19627         * sysdeps/mach/hurd/Makefile: Likewise.
19628         * sysdeps/sparc/sparc32/Makefile: Likewise.
19630         [BZ #13118]
19631         * posix/Makefile (bug-regex32-ENV): Define.
19632         Patch by John Stanley <jpsinthemix@verizon.net>.
19634         * misc/Makefile (headers): Add bits/select2.h.
19635         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
19636         * misc/bits/select2.h: New file.
19637         * include/bits/select2.h: New file.
19638         * debug/Makefile (routines): Add fdelt_chk.
19639         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
19640         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
19641         FD_ISSET.
19642         * debug/fdelt_chk.c: New file.
19644         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
19645         * wcsmbs/test-wmemcmp.c: Likewise.
19646         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
19647         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
19649 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19651         * string/Makefile (strop-tests): Add memcmp.
19652         * string/test-wmemcmp.c: New file.
19653         * string/test-memcmp.c: Add wmemcmp support.
19655 2011-09-08  Roland McGrath  <roland@hack.frob.com>
19657         [BZ #13153]
19658         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
19659         2011-07-19 change.
19661         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
19662         garbage value in a __mach_port_mod_refs call in the cases of the
19663         task-self and thread-self ports.
19665 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19667         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
19669 2011-09-08  Andreas Schwab  <schwab@redhat.com>
19671         * elf/dl-load.c (lose): Check for non-null L.
19673 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
19675         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
19677         * elf/dl-libc.c (dlerror_run): Pass back error code from
19678         dl_catch_error.
19680         [BZ #13123]
19681         * elf/dl-load.c (lose): Free l_origin if it is valid.
19683         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
19684         names.
19685         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
19686         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19687         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19688         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19689         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
19690         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
19692 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19694         * sysdeps/powerpc/fpu/e_hypot.c: New file.
19695         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
19696         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
19697         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
19698         * sysdeps/powerpc/fpu/k_cosf.c: New file.
19699         * sysdeps/powerpc/fpu/k_sinf.c: New file.
19700         * sysdeps/powerpc/fpu/s_cosf.c: New file.
19701         * sysdeps/powerpc/fpu/s_sinf.c: New file.
19702         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
19703         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
19705 2011-08-15  Alan Modra  <amodra@gmail.com>
19707         [BZ #13092]
19708         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
19709         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
19710         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
19711         ppc_mcount to static-only-routines.
19712         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
19713         __mcount_internal.
19714         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
19715         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
19717 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
19719         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
19720         for finite and infinity parameters.
19722 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
19724         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
19725         and add nop instructions for throughput optimization.
19726         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19728 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
19730         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
19731         aligned copy for power7 with vector-scalar instructions.
19732         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
19734 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
19736         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
19737         AVX check.
19739 2011-09-07  Andreas Schwab  <schwab@redhat.com>
19741         [BZ #13144]
19742         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
19743         last change.
19745 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
19747         * sysdeps/unix/sysv/linux/x86_64/init-first.c
19748         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
19749         syscall wrapper around clock_gettime in __vdso_clock_gettime.
19750         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
19751         clock_gettime.
19753 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
19755         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
19756         Forgot to demangle the pointer.
19758         * sysdeps/i386/sysdep.h: Define atom_text_section.
19759         * sysdeps/x86_64/sysdep.h: Likewise.
19760         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
19761         section with atom_text_section.
19762         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19763         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19764         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
19765         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
19766         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
19768         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
19769         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
19770         already be defined.  Change to take two parameters and don't assign
19771         result to variable.  Adjust all users.
19772         Define INTERNAL_GETTIME if not already defined.
19773         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
19774         call.
19775         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
19776         HAVE_CLOCK_GETTIME_VSYSCALL.
19777         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
19779         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
19780         gettimeofday vsyscall, just use time.
19782 2011-09-06  Andreas Schwab  <schwab@redhat.com>
19784         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
19785         <errno.h>.
19787 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
19789         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
19790         syscall on x86-64.
19791         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
19792         syscall.
19793         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
19794         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
19795         syscall if possible.
19797 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
19799         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
19800         e_ident.  Don't pass to find_mapsXX.
19801         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
19803 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
19805         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19806         strchr-sse2-no-bsf strrchr-sse2-no-bsf
19807         * sysdeps/x86_64/multiarch/strchr.S: Update.
19808         Check bit_slow_BSF bit.
19809         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19810         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
19811         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
19813 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
19815         [BZ #13134]
19816         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
19817         before glibc 2.15.
19818         (tryshell): Define.
19819         (__spawni): Change last parameter to be flag.  Test
19820         SPAWN_XFLAGS_USE_PATH flag to use path or not.
19821         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
19822         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
19823         * posix/spawni.c: Likewise.
19824         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
19825         * posix/spawnp.c: Likewise.  Change normal version to use
19826         SPAWN_XFLAGS_USE_PATH.
19827         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
19828         SPAWN_XFLAGS_TRY_SHELL.
19830         [BZ #13150]
19831         * posix/glob.h: Remove gcc 1.x support.
19833         [BZ #13068]
19834         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
19836 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
19838         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19839         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
19840         strrchr-sse2-bsf
19841         * sysdeps/i386/i686/multiarch/strchr.S: New file.
19842         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
19843         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
19844         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
19845         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
19846         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
19848 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19850         * sysdeps/x86_64/wcscmp.S: New file.
19852         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
19853         wcscmp-c wcscmp-sse2
19854         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
19855         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
19856         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
19857         * wcsmbs/wcscmp.c: Allow renaming.
19859 2011-09-05  David S. Miller  <davem@davemloft.net>
19861         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
19862         stack slot, rather than the struct return pointer slot.
19863         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
19864         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
19865         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
19866         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
19868 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
19870         * po/ja.po: Update from translation team.
19872         [BZ #13144]
19873         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
19874         kernel in 64-bit binaries.
19876 2011-09-01  David S. Miller  <davem@davemloft.net>
19878         * elf/elf.h (HWCAP_SPARC_*): Move to..
19879         * sysdeps/sparc/sysdep.h: this new file and add new values.
19880         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
19881         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
19882         _DL_HWCAP_COUNT to 24.
19883         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19884         entries.
19885         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
19886         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
19887         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
19888         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
19889         instead of magic constants.
19890         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19892 2011-08-31  David S. Miller  <davem@davemloft.net>
19894         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
19895         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
19896         Reimplement to do errno handling inline.
19897         (SYSCALL_ERROR_HANDLER): New macro.
19898         (__SYSCALL_STRING): Do not do errno handling in asm.
19899         (__CLONE_SYSCALL_STRING): Delete.
19900         (__INTERNAL_SYSCALL_STRING): Delete.
19901         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
19902         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
19903         (PSEUDO): Reimplement to do errno handling inline.
19904         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
19905         (SYSCALL_ERROR_HANDLER): New macro.
19906         (__SYSCALL_STRING): Do not do errno handling in asm.
19907         (__CLONE_SYSCALL_STRING): Delete.
19908         (__INTERNAL_SYSCALL_STRING): Delete.
19909         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
19910         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
19911         i386.
19912         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
19913         (inline_syscall*): Add 'err' argument.
19914         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
19915         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
19916         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
19917         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
19919         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
19920         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
19922 2011-08-30  Andreas Schwab  <schwab@redhat.com>
19924         * elf/rtld.c (dl_main): Relocate objects in dependency order.
19926 2011-08-29  Jiri Olsa <jolsa@redhat.com>
19928         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
19929         directive.
19931 2011-08-24  David S. Miller  <davem@davemloft.net>
19933         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
19935 2011-08-24  Andreas Schwab  <schwab@redhat.com>
19937         * elf/Makefile: Add rules to build and run unload8 test.
19938         * elf/unload8.c: New file.
19939         * elf/unload8mod1.c: New file.
19940         * elf/unload8mod1x.c: New file.
19941         * elf/unload8mod2.c: New file.
19942         * elf/unload8mod3.c: New file.
19944         * elf/dl-close.c (_dl_close_worker): Reset private search list if
19945         it wasn't used.
19947 2011-08-23  David S. Miller  <davem@davemloft.net>
19949         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
19950         subtract stack bias.
19951         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
19952         %sp not %fp in calculations.
19953         (_JMPBUF_UNWINDS_ADJ): Likewise.
19955         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
19956         (aio_suspend): Call it to force an exception region around the
19957         AIO_MISC_WAIT() invocation.
19959 2011-08-23  Andreas Schwab  <schwab@redhat.com>
19961         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
19962         backslash.
19964 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
19966         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
19967         protection macro.
19968         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
19969         and <dl-machine.h>.
19970         (Elf64_FuncDesc): Remove.
19972 2011-08-22  David S. Miller  <davem@davemloft.net>
19974         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
19975         sigaltstack check, add missing cfi directives.
19976         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
19977         missing cfi directives, and sigaltstack handling.
19979 2011-08-16  Andreas Schwab  <schwab@redhat.com>
19981         [BZ #11724]
19982         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
19983         object is seen twice.
19984         * elf/dl-fini.c (_dl_sort_fini): Likewise.
19986         * elf/Makefile (distribute): Add tst-initorder2.c.
19987         (tests): Add tst-initorder2.
19988         (modules-names): Add tst-initorder2a tst-initorder2b
19989         tst-initorder2c tst-initorder2d.  Add rules to build them.
19990         ($(objpfx)tst-initorder2.out): New rule.
19991         * elf/tst-initorder2.c: New file.
19992         * elf/tst-initorder2.exp: New file.
19994 2011-08-22  Andreas Schwab  <schwab@redhat.com>
19996         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
19998         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
19999         dependencies back to end of function.
20001         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
20002         $(elfobjdir)/ld.so.
20004 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
20006         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
20007         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
20008         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
20009         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
20010         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
20011         of __vdso_gettimeofday.
20012         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
20013         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
20014         attribute_hidden.
20015         (_libc_vdso_platform_setup): Remove initialization of
20016         __vdso_gettimeofday and __vdso_time.
20018 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
20020         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
20021         and fgetc_unlocked.
20022         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
20023         getc_unlocked.
20025         * elf/dl-open.c (add_to_global): Report additions to the global scope
20026         for LD_DEBUG=scopes.
20027         (dl_open_worker): Also print scope of newly loaded dependencies.
20028         (_dl_show_scope): Indicate if there is no scope.
20030         [BZ #13114]
20031         * stdio-common/Makefile (tests): Add bug24.
20032         * stdio-common/bug24.c: New file.
20034 2011-08-19  Andreas Jaeger  <aj@suse.de>
20036         [BZ #13114]
20037         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
20038         non-existant file when using close-on-exec mode.
20040 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
20042         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
20043         the very first instruction.
20045         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
20046         the CFI state in the end.
20047         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
20048         inclusion of dl-trampoline.h.
20049         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
20051 2011-08-19  Andreas Schwab  <schwab@redhat.com>
20053         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
20054         expectations for long double.
20056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
20057         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
20059 2011-08-14  David S. Miller  <davem@davemloft.net>
20061         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
20062         artificual limit depends upon the system page size.
20064 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
20066         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
20067         * resolv/Makefile: Define CFLAGS-libresolv.
20069 2011-08-17  Andreas Schwab  <schwab@redhat.com>
20071         * nss/makedb.c (compute_tables): Make variables used in nested
20072         function static.
20074 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
20076         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
20077         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
20078         if buffer was too small.
20080         * elf/pldd.c (main): Attach to all threads in the process.
20081         Rewrite /proc handling to use *at functions.
20083 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
20085         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
20086         specifies first scope to show.
20087         (dl_open_worker): Update callers.  Move printing scope of new
20088         object to before the relocation.
20089         * elf/rtld.c (dl_main): Update _dl_show_scope call.
20090         * sysdeps/generic/ldsodefs.h: Update declaration.
20092         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
20093         string for the scope number.
20095 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
20097         * nscd/servicescache.c (cache_addserv): Make sure written is always
20098         initialized.
20100 2011-08-14  Roland McGrath  <roland@hack.frob.com>
20102         * sysdeps/i386/i486/bits/atomic.h
20103         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
20104         statement expression, so as to suppress "set but not used" warning.
20105         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
20107         * string/strncat.c (STRNCAT): Use prototype definition.
20109         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
20110         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
20111         -Iprograms here.
20112         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
20113         (localedef-modules): Add localedef.
20114         (locale-modules): Add locale.
20116         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
20117         * elf/rtld.c (dl_main): Invert order of assignment in last change,
20118         to avoid a warning.
20120 2011-08-14  David S. Miller  <davem@davemloft.net>
20122         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
20123         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
20125 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
20127         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
20128         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
20129         * elf/rtld.c (dl_main): Set l_name of vDSO.
20130         Call _dl_show_scope when DL_DEBUG_SCOPES.
20131         (process_dl_debug): Recognize scopes flag and also set it for all.
20132         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
20133         Declare _dl_show_scope.
20135         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
20136         (do_dlopen): Pass caller_dlopen to dl_open.
20137         (__libc_dlopen_mode): Initialize caller_dlopen.
20139         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
20140         of libc.  Make tolower call locale-independent.  Optimize a bit by
20141         using isdigit instead of isalnum.
20142         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
20144 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
20146         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
20147         was a dependency or dynamically loaded.
20149 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
20151         * intl/l10nflist.c: Allow architecture-specific pop function.
20152         * sysdeps/x86_64/l10nflist.c: New file.
20154         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
20155         classification.
20157 2011-08-10  Andreas Schwab  <schwab@redhat.com>
20159         * include/dirent.h: Add libc_hidden_proto for scandirat and
20160         scandirat64.  Don't declare __scandirat64.
20161         * dirent/scandirat.c: Add libc_hidden_def.
20162         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
20163         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
20165 2011-08-10  David S. Miller  <davem@davemloft.net>
20167         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
20168         enum.
20169         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20170         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20171         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20173 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
20175         * Versions.def [libc]: Add GLIBC_2.15.
20176         * dirent/Makefile (routines): Add scandirat and scandirat64.
20177         * dirent/Versions [libc]: Export scandirat and scandirat64 for
20178         GLIBC_2.15.
20179         * dirent/dirent.h: Declare scandirat and scandirat64.
20180         * dirent/scandirat.c: New file.
20181         * dirent/scandirat64.c: New file.
20182         * sysdeps/wordsize-64/scandirat.c: New file.
20183         * sysdeps/wordsize-64/scandirat64.c: New file.
20184         * dirent/opendir.c: Define opendirat.
20185         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
20186         using scandirat.
20187         * dirent/scandir64.c: Adjust for scandir.c change.
20188         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
20189         __scandirat64, and __scandir_cancel_handler.
20190         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
20191         additional parameter and use openat instead of open (outside of ld.so).
20192         Add new __opendir as wrapper around __opendirat.
20193         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
20194         here without requiring old scandirat implementation.
20196 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
20198         * dirent/scandir.c (cancel_handler): Renamed to
20199         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
20200         defined.  Adjust users.
20201         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
20202         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
20204 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
20206         * string/test-string.h (IMPL): Use __STRING to expand name and then
20207         stringify it.
20209         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
20210         of cleanups.
20212 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20214         * string/Makefile: Update.
20215         (strop-tests): Append strncat.
20216         * string/test-wcscmp.c: New file.
20217         New comprehensive test for wcscmp.
20218         * string/test-strcmp.c: Update.
20219         (WIDE): New define.
20221 2011-07-22  Andreas Schwab  <schwab@redhat.com>
20223         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
20224         line.
20226 2011-07-26  Andreas Schwab  <schwab@redhat.com>
20228         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
20229         encoding to ACE if AI_IDN.
20231 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
20233         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
20234         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
20236 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
20238         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
20239         Fix overflow bug in strncat.
20240         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
20242         * string/test-strncat.c: Update.
20243         Add new tests for checking overflow bugs.
20245 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
20247         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20248         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
20249         * sysdeps/i386/i686/multiarch/strcat.S: New file.
20250         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
20251         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
20252         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
20253         * sysdeps/i386/i686/multiarch/strncat.S: New file.
20254         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
20255         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
20257         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
20258         (USE_AS_STRCAT): Define.
20259         Add strcat and strncat support.
20260         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
20262 2011-07-25  Andreas Schwab  <schwab@redhat.com>
20264         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
20265         __n bigger than INT_MAX+1.
20266         (__strncmp_g): Likewise.
20268 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
20270         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
20271         * libio/stido.h: Likewise.
20273         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
20274         (AF_NFC): Define.
20275         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
20276         (AF_NFC): Define.
20278         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
20279         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20280         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20281         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
20282         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20284         [BZ #13021]
20285         * scripts/test-installation.pl: Don't expect libnss_test1 to be
20286         installed.
20288         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
20289         typo.
20290         (_dl_x86_64_save_sse): Likewise.
20292 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
20294         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
20295         OSXSAVE.
20296         (_dl_x86_64_save_sse): Likewise.
20298         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
20300         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
20302 2011-07-21  Andreas Schwab  <schwab@redhat.com>
20304         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
20305         change.
20306         (_dl_x86_64_save_sse): Use correct AVX check.
20308 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20310         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
20311         bug in strncpy/strncat.
20312         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
20314 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
20316         * string/tester.c (test_strcat): Add tests for different alignments
20317         of source and destination.
20318         (test_strncat): Likewise.
20320 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
20322         [BZ #12852]
20323         * posix/glob.c (glob): Check passed in values before using them in
20324         expressions to avoid some overflows.
20325         (glob_in_dir): Likewise.
20327         [BZ #13007]
20328         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
20329         check for AVX enablement so that we don't crash with old kernels and
20330         new hardware.
20331         * elf/tst-audit4.c: Add same checks here.
20332         * elf/tst-audit6.c: Likewise.
20334         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
20336 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
20338         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
20340 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
20342         * po/cs.po: Update from translation team.
20343         * po/bg.po: Likewise.
20345 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
20347         * misc/sys/cdefs.h: Add support for const attribute.
20348         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
20349         to gnu_dev_{major,minor,makedev} functions.
20351 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
20353         * intl/dcigettext.c (get_output_charset): Add missing bracket.
20355 2011-07-20  Andreas Schwab  <schwab@redhat.com>
20357         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
20358         strlen results.
20360 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20362         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
20363         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
20364         register in order to avoid conflicts with the soft frame pointer
20365         being held in r11 when necessary.
20366         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
20367         (INTERNAL_VSYSCALL_NCS): Likewise.
20369 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
20371         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
20372         * elf/dl-fini.c (_dl_fini): Adjust caller.
20373         * elf/dl-close.c (_dl_close_worker): Likewise.
20374         * sysdeps/generic/ldsodefs.h: Adjust declaration.
20376 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
20378         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
20379         "aux_cache->nlibs < 0".
20381         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
20382         in the reload-count case.
20384 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
20386         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20387         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
20388         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
20389         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
20390         * sysdeps/x86_64/multiarch/strcat.S: New file.
20391         * sysdeps/x86_64/multiarch/strncat.S: New file.
20392         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
20393         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
20394         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
20395         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
20396         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
20397         (USE_AS_STRCAT): Define.
20398         Add strcat and strncat support.
20399         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
20400         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
20401         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
20402         * string/strncat.c: Update.
20403         (USE_AS_STRNCAT): Define.
20404         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20405         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
20406         and i7.
20407         * sysdeps/x86_64/multiarch/init-arch.h
20408         (bit_Prefer_PMINUB_for_stringop): New.
20409         (index_Prefer_PMINUB_for_stringop): Likewise.
20410         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
20411         bit_Prefer_PMINUB_for_stringop.
20413 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
20415         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
20416         buffer64.
20417         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
20418         of casting of buffer.
20419         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
20420         buffer32 and buffer64.
20421         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
20422         writes instead of casting of buffer.
20423         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
20424         buffer32.
20425         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
20426         casting of buffer.
20428 2011-07-19  Andreas Schwab  <schwab@redhat.com>
20430         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
20432 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
20434         * nscd/nscd.c (termination_handler): Don't do anything for a database
20435         if it has not yet been initialized.
20437 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
20439         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
20441 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
20443         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
20445 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
20447         * po/nl.po: Update from translation team.
20448         * po/sv.po: Likewise.
20450 2011-07-16  Roland McGrath  <roland@hack.frob.com>
20452         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
20453         now disallowed by GCC.
20455         * configure.in (use-default-link): Default to yes if a test -shared
20456         link meets our qualifications.
20457         * configure: Regenerated.
20459         * config.make.in (output-format): New variable.
20460         * configure.in: Check for ld --print-output-format support.
20461         * configure: Regenerated.
20462         * Makerules ($(common-objpfx)format.lds)
20463         [$(output-format) != unknown]: Just use $(output-format),
20464         instead of the linker-script munging.
20466 2011-07-14  Roland McGrath  <roland@hack.frob.com>
20468         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
20469         of $(common-objpfx)shlib.lds.
20470         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
20472         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
20473         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
20475         * configure.in (-z relro check): Adjust test code to add a large
20476         writable data section after it.
20477         * configure: Regenerated.
20479 2011-07-11  Roland McGrath  <roland@hack.frob.com>
20481         * configure.in (-z relro check): Fix test code to make the variable
20482         truly const.
20483         * configure: Regenerated.
20485 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
20487         * nscd/nscd.h (struct traced_file): Define.
20488         (struct database_dyn): Remove inotify_descr, reset_res, and filename
20489         elements.  Add traced_files.
20490         (inotify_fd): Declare.
20491         (register_traced_file): Declare.
20492         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
20493         (inotify_fd): Export.
20494         (resolv_conf_descr): Remove.
20495         (nscd_init): Move inotify descriptor creation to main.
20496         Don't register files for notification here.
20497         (register_traced_file): New function.
20498         (invalidate_cache): Don't use reset_res to determine whether to call
20499         res_init, go through the list of registered files.
20500         (main_loop_poll): The inotify descriptors are now stored in the
20501         structures for the traced files.
20502         (main_loop_epoll): Likewise
20503         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
20504         to __nss_disable_nscd.
20505         * nscd/cache.c (prune_cache): There is no single inotify descriptor
20506         for a database anymore.  Check the records for all the registered
20507         files instead.
20508         * nss/Makefile (libnss_files-routines): Add files-init.
20509         (libnss_db-routines): Add db-init.
20510         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
20511         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
20512         * nss/nss_db/db-init.c: New file.
20513         * nss/nss_files/files-init.c: New file.
20514         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
20515         __nss_lookup_function.
20516         (__nss_lookup_function): Call nss_load_library.
20517         (nss_load_all_libraries): New function.
20518         (__nss_disable_nscd): Take parameter with callback function for files
20519         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
20520         used for the cached services.
20521         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
20522         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
20523         options for features to all the files in nscd.
20525         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
20527 2011-07-10  Roland McGrath  <roland@hack.frob.com>
20529         * csu/elf-init.c (__libc_csu_init): Comment typo.
20531 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
20533         * po/pl.po: Update from translation team.
20534         * po/ja.po: Likewise.
20535         * po/ru.po: Likewise.
20536         * po/ko.po: Likewise.
20537         * po/fr.po: Likewise.
20539 2011-07-09  Roland McGrath  <roland@hack.frob.com>
20541         * configure.in (.ctors/.dtors header and trailer check):
20542         Use an empirical test on a built program.
20543         * configure: Regenerated.
20545         * configure.in (-z relro check): Use an empirical test on a built DSO.
20546         Detect, but do not require, on ia64.
20547         * configure: Regenerated.
20549         * configure.in (READELF): Find it with AC_CHECK_TOOL.
20550         Update tests that use readelf to use $READELF instead.
20551         * configure: Regenerated.
20553 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
20555         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
20556         if the result is not used.
20558 2011-07-05  Andreas Jaeger  <aj@suse.de>
20560         [BZ#9696]
20561         * stdlib/tst-strtod.c: Add testcase.
20563 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
20565         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
20566         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
20567         The latter has a higher limit.  Take additional parameter to pass to
20568         the new function.
20569         (__pathconf): Pass file to __statfs_link_max.
20570         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
20571         __statfs_link_max.
20572         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
20573         __statfs_link_max.
20575         [BZ #12868]
20576         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
20577         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20578         Handle Lustre.
20579         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
20580         (__statfs_filesize_max): Likewise.
20581         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
20583 2011-07-05  Andreas Jaeger  <aj@suse.de>
20585         * resolv/res_comp.c (dn_skipname): Remove unused variable.
20587 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
20589         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
20590         `status' variable.
20591         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
20592         Likewise.
20594 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
20596         * Makefile (strop-tests): Add strncat.
20597         * string/test-strncat.c: New file.
20599 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
20601         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
20603 2011-06-21  Andreas Jaeger  <aj@suse.de>
20605         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
20606         Copy rule from iconvdata/Makefile.
20608 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
20610         [BZ #12922]
20611         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
20612         but no long options are defined, just return 'W'.
20614 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
20616         [BZ #9696]
20617         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
20619 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
20621         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
20622         netgroups to read.
20623         (innetgr): Likewise.
20625 2011-07-05  Roland McGrath  <roland@hack.frob.com>
20627         * config.make.in (install_root): Default to $(DESTDIR).
20629 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
20631         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
20633 2011-07-02  Roland McGrath  <roland@hack.frob.com>
20635         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
20637         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
20638         containing directory rather than embedding absolute directory names.
20640         * scripts/check-local-headers.sh: Rewritten using awk.
20641         Match by word, not by line.  Print error messages for matches.
20642         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
20644         * Makerules [shlib-lds-flags empty]:
20645         ($(common-objpfx)libc_pic.opts): New target.
20646         ($(common-objpfx)libc_pic.os.clean): New target.
20647         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
20649         * config.make.in (OBJCOPY): New variable.
20650         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
20651         * configure: Regenerated.
20653         * config.make.in (use-default-link): New variable.
20654         * configure.in (use_default_link): Grok --with-default-link to set it.
20655         * configure: Regenerated.
20656         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
20657         (shlib-lds, shlib-lds-flags): Define to empty.
20659         * Makerules (shlib-lds): New variable.
20660         (shlib-lds-flags): New variable.
20661         (build-shlib, build-moduile, build-module-asneeded): Use it.
20662         ($(common-objpfx)libc.so): Use $(shlib-lds).
20663         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
20664         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
20666         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
20667         DT_FLAGS/DT_FLAGS_1 with zero flags.
20669         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
20670         linker script munging.
20672 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
20674         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
20675         as 128-bit value.
20676         * crypt/sha512.c (sha512_process_block): Perform total addition using
20677         128-bit if possible.
20678         (__sha512_finish_ctx): Likewise.
20679         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
20680         as 64-bit value.
20681         * crypt/sha256.c (SWAP64): Define.
20682         (sha256_process_block): Perform total addition using 64-bit if
20683         possible.
20684         (__sha256_finish_ctx): Likewise.
20686 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
20688         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
20689         * nscd/initgrcache.c (addinitgroupsX): Likewise.
20690         * nscd/hstcache.c (cache_addhst): Likewise.
20691         * nscd/grpcache.c (cache_addgr): Likewise.
20692         * nscd/aicache.c (addhstaiX): Likewise
20693         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
20695 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
20697         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
20698         * nscd/initgrcache.c (addinitgroupsX): Likewise.
20699         * nscd/hstcache.c (cache_addhst): Likewise.
20700         * nscd/grpcache.c (cache_addgr): Likewise.
20701         * nscd/aicache.c (addhstaiX): Likewise
20703 2011-07-01  Andreas Schwab  <schwab@redhat.com>
20705         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
20706         domain only when needed.
20708 2011-06-30  Andreas Schwab  <schwab@redhat.com>
20710         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
20711         is always restored.
20713 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
20715         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
20716         are re-adding the entry.
20717         * nscd/servicescache.c (cache_addserv): Likewise.
20719 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
20721         * sysdeps/generic/dl-irel.h: fix protection against multiple
20722         inclusions.
20723         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
20725 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
20727         [BZ #12935]
20728         * malloc/memusage.sh: Fix quoting in message.
20729         * debug/xtrace.sh: Likewise.
20731         * configure.in: Remove support for --experimental-malloc option, make
20732         it the default.
20733         * config.make.in: Likewise.
20734         * malloc/Makefile: Likewise.
20736 2011-06-27  Andreas Schwab  <schwab@redhat.com>
20738         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
20739         two-byte characters.
20741 2011-06-27  Roland McGrath  <roland@hack.frob.com>
20743         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
20744         AC_CACHE_CHECK invocation.
20745         * configure: Regenerated.
20747         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
20749 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
20751         [BZ #12350]
20752         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
20753         bit from old_res_options.
20755         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
20757         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
20758         value type for setfct.
20760 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
20762         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
20763         __gettimeofday instead of gettimeofday.
20765 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
20767         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
20769 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
20771         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
20773         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
20774         info.
20776 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
20778         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20779         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
20780         strcpy-sse2-unaligned strncpy-sse2-unaligned
20781         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
20782         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
20783         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
20784         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
20785         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
20786         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
20787         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
20788         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
20789         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
20790         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
20791         (STRCPY): Support SSE2 and SSSE3 versions.
20793 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
20795         [BZ #12874]
20796         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
20797         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
20798         kernels which artificially limit size of requests.
20800 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
20802         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20803         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
20804         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
20805         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
20806         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
20807         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
20808         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
20809         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
20810         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
20811         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
20812         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
20813         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
20814         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
20815         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
20816         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
20817         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20818         Enable unaligned load optimization for Intel Core i3, i5 and i7
20819         processors.
20820         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
20821         Define.
20822         (index_Fast_Unaligned_Load): Define.
20823         (HAS_FAST_UNALIGNED_LOAD): Define.
20825 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
20827         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
20829 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
20831         [BZ #12907]
20832         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
20833         until it is clear that the information is realy needed.
20834         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
20836 2011-06-22  Andreas Schwab  <schwab@redhat.com>
20838         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
20840 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
20842         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
20843         /sys/devices/system/cpu/online if it is usable.
20845         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
20846         reading the information from the /proc filesystem to once a second.
20848 2011-06-21  Andreas Jaeger  <aj@suse.de>
20850         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
20851         NULL after inclusion of kernel headers.
20853 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
20855         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
20856         calls to internal_setent.
20858         [BZ #12885]
20859         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
20860         addresses using gethostbyname4_r ignore IPv4 addresses.
20862         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
20863         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
20865         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
20867 2011-06-20  David S. Miller  <davem@davemloft.net>
20869         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
20870         inclusions.
20871         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
20873         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
20874         (elf_irel): Use it.
20875         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
20876         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
20877         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
20878         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
20879         * sysdeps/x86_64/dl-irel.h: Likewise.
20881         * elf/dl-runtime.c: Use elf_ifunc_invoke.
20882         * elf/dl-sym.c: Likewise.
20884 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
20886         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
20887         need to dereference resplen2.
20889 2011-06-14  Andreas Schwab  <schwab@redhat.com>
20891         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
20893 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
20895         * Makeconfig: Define vardbdir and inst_vardbdir.
20896         * nss/Makefile: Add rules to install db-Makefile.
20898         * nss/nss_db/db-XXX.c: Cleanup.
20900         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
20901         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
20902         GLIBC_PRIVATE.
20903         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
20904         * nss/makedb.c: Implement -g option to specify that value strings
20905         are generated and should not be added to table iterated over for
20906         get*ent calls.
20907         * nss/nss_db/db-initgroups.c: New file.
20909         * nss/getent.c: Add support for initgroups lookups through getgrouplist
20910         interface.
20912         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
20913         (internal_getgrouplist): Adjust to name change.
20914         Update use_initgroups_entry if this is not the first call.
20915         * nss/databases.def: Add initgroups entry.
20917         * nss/makedb.c (compute_tables): Check result of multiple hash table
20918         sizes to minimize maximum chain length.
20920 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
20922         * Versions.def: Add entry for libnss_db.
20923         * shlib-versions: Likewise.
20924         * nss/Makefile: Add rules to build libnss_db.
20925         * nss/Versions: Add libnss_db information.  Organize libnss_files
20926         entries better.
20927         * nss/db-Makefile: Add gshadow support.  Change rules for the new
20928         makedb progra.  Some minor improvements to generate smaller files.
20929         * nss/nss_db/nss_db.h: Move NSS database header data structures to
20930         here from...
20931         * nss/makedb.c: ...here.
20932         Improve database format to be smaller and require less memory at
20933         runtime.
20934         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
20935         db anymore.
20936         * nss/nss_db/db-netgrp.c: Likewise.
20937         * nss/nss_db/db-open.c: Likewise.
20938         * nss/nss_files/flies-XXX.x: Adjust comments.
20939         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
20940         * nss/nss_files/files-grp.c: Likewise.
20941         * nss/nss_files/files-hosts.c: Likewise.
20942         * nss/nss_files/files-network.c: Likewise.
20943         * nss/nss_files/files-proto.c: Likewise.
20944         * nss/nss_files/files-pwd.c: Likewise.
20945         * nss/nss_files/files-rpc.c: Likewise.
20946         * nss/nss_files/files-service.c: Likewise.
20947         * nss/nss_files/files-sgrp.c: Likewise.
20948         * nss/nss_files/files-spwd.c: Likewise.
20949         * nss/nss_db/db-alias.c: Removed.
20950         * nss/nss_db/dummy-db.h: Removed.
20952 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
20954         * nss/makedb.c: Rewritten to not use database library.
20955         * nss/Makefile: Update to build new makedb program.
20957 2011-06-14  Andreas Jaeger  <aj@suse.de>
20959         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
20960         memset declaration.
20962 2011-06-10  Andreas Schwab  <schwab@redhat.com>
20964         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
20965         tmpbuf.
20967 2011-06-10  Roland McGrath  <roland@hack.frob.com>
20969         * Makerules (shlib.lds): Fail if the linker script comes out empty.
20970         * elf/Makefile ($(objpfx)ld.so): Likewise.
20972         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
20973         Don't list ld.so twice in dependencies.
20975         * posix/bug-regex31.c: Include <stdlib.h>.
20977         * nscd/hstcache.c (cache_addhst): Remove unused variable.
20979         * nis/nss_compat/compat-spwd.c
20980         (getspent_next_nss_netgr): Remove unused variable.
20981         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
20983         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
20984         nonmembers" output to use the right array.
20986         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
20988         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
20990         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
20991         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
20992         * catgets/gencat.c (read_input_file): Likewise.
20993         * locale/programs/locarchive.c (enlarge_archive): Likewise.
20995         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
20996         variable definition inside #if's controlling its use.
20998         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
21000         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
21002         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
21004         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
21005         unreachable code.
21007         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
21009         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
21010         * configure: Regenerated.
21012         * Makerules: Revert last change.
21013         * elf/Makefile: Likewise.
21015 2011-06-09  Roland McGrath  <roland@hack.frob.com>
21017         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
21018         * elf/Makefile ($(objpfx)librtld.os): Likewise.
21019         (reloc-link): Likewise.
21021 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
21023         * elf/Makefile: Add rules to build pldd.
21024         * elf/pldd.c: New file.
21025         * elf/pldd-xx.c: New file.
21027 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
21029         * version.h: Update for 2.15 development version.
21031 2011-06-07  David S. Miller  <davem@davemloft.net>
21033         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
21034         ifuncs.
21035         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
21036         elf_machine_lazy_rel): Likewise.
21037         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
21038         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
21039         elf_machine_lazy_rel): Likewise.
21040         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
21041         dl_hwcap via passed in argument.
21042         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
21043         Likewise.
21045 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21047         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
21049 2011-06-06  Roland McGrath  <roland@hack.frob.com>
21051         [BZ #12849]
21052         * manual/fdl-1.1.texi: New file, verbatim from:
21053         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
21054         * manual/lgpl-2.1.texi: New file, verbatim from:
21055         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
21056         * manual/Makefile (licenses): New variable, list those new file names.
21057         (texis): Use it.
21058         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
21060         * manual/fdl.texi: File removed.
21061         * manual/lesser.texi: File removed.
21062         * manual/libc.texinfo (Copying, Documentation License):
21063         Use new @include file names, put @appendix directive before @include.
21065 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
21067         [BZ #12841]
21068         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
21069         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
21070         (mq_open): Add __NTH.
21072 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
21074         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21075         Assume Intel Core i3/i5/i7 processor if AVX is available.
21077 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
21079         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
21080         typo.
21082 2011-05-31  Andreas Schwab  <schwab@redhat.com>
21084         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
21085         memory.  Use alloca_account.  Fix memory leak when retrying.
21087 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
21089         * version.h (RELEASE): Bump for 2.14 release.
21090         * include/features.h (__GLIBC_MINOR__): Bump to 14.
21092         * config.make.in (RANLIB): Remove entry.
21094 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
21096         * po/Makefile (po-sed-cmd): Add ksh to extensions.
21097         (libc.pot): Work around missing support for .ksh extension in xgettext.
21099         [BZ #12684]
21100         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
21101         if both request failed.
21102         (send_dg): In case of server errors clear resplen or *resplen2.
21104         [BZ #12454]
21105         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
21106         when there are multiple maps.
21107         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
21108         (_dl_fini): Remove test here.
21110         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
21112 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
21114         [BZ #12350]
21115         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
21116         bit from old_res_options.
21117         (gaih_inet): Likewise.
21119         [BZ #11099]
21120         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
21121         as signed.
21123         * resolv/res_init.c (res_setoptions): Make the code more compact.
21125         [BZ #11558]
21126         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
21127         set RES_USEVC.
21129         [BZ #11634]
21130         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
21132         * malloc/malloc.h: Mark malloc hook variables as deprecated.
21134         [BZ #11781]
21135         * malloc/malloc.h: Declare malloc hook variables as volatile.
21137         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
21138         in last patch.
21140         [BZ #11799]
21141         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
21142         raise in the comment.
21143         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
21144         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
21145         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
21147 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
21149         [BZ #12811]
21150         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
21151         grow the buffers more if it already has to be sufficient.
21152         (build_wcs_upper_buffer): Likewise.
21153         * posix/regexec.c (check_matching): Likewise.
21154         (clean_state_log_if_needed): Likewise.
21155         (extend_buffers): Don't enlarge buffers beyond size of the input
21156         buffer.
21157         Patches mostly by Emil Wojak <emil@wojak.eu>.
21158         * posix/bug-regex32.c: New file.
21159         * posix/Makefile (tests): Add bug-regex32.
21161         * locale/findlocale.c (_nl_find_locale): Return right away if
21162         _nl_explode_name failed.
21163         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
21165         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
21167         * debug/xtrace.sh: Unify messages.
21168         * malloc/memusage.sh: Likewise.
21170         [BZ #12813]
21171         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
21172         time symbol from vDSO.  Substitute with vsyscall if not available.
21173         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
21174         __vdso_time.
21176         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
21177         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
21178         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
21179         Add sendmmsg and internal_sendmmsg.
21180         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
21181         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
21182         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
21184         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
21185         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
21186         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
21188 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
21190         [BZ #12813]
21191         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
21192         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
21193         available.
21194         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
21195         __vdso_getcpu.
21197         [BZ #12814]
21198         * iconvdata/Makefile (tests): Add bug-iconv9.
21199         * iconvdata/bug-iconv9.c: New file.
21201 2011-05-27  Andreas Schwab  <schwab@redhat.com>
21203         [BZ #12814]
21204         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
21206 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
21208         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
21209         (struct user_regs_struct): Change intcs field back to cs.
21211 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
21213         * po/ja.po: Update from translation team.
21215 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
21217         [BZ #12795]
21218         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
21219         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
21221 2011-05-20  Andreas Schwab  <schwab@redhat.com>
21223         * stdlib/longlong.h: Update from GCC.
21225 2011-05-23  Andreas Schwab  <schwab@redhat.com>
21227         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
21228         parameter name.
21229         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
21230         Add parameter name.
21231         (__sysconf): Pass it down.
21233 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
21235         [BZ #12671]
21236         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
21237         some situations.
21238         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
21239         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
21240         add in in __libc_use_alloca calls.  Adjust callers.
21241         (glob): Use malloc in some situations.
21243         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
21244         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
21245         pltexit.
21247 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
21249         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
21250         and CLOCK_BOOTTIME_ALARM.
21252         [BZ #12782]
21253         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
21254         is returned.
21256         * string/_strerror.c (__strerror_r): Print negative errors as signed
21257         numbers.
21259         [BZ #12777]
21260         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
21261         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
21262         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
21264         * configure.in: Fix typo in redirection and correct removal of test
21265         files in two cases.
21267         [BZ #12788]
21268         * locale/setlocale.c (new_composite_name): Fix test to check for
21269         identical name of all categories.
21271         [BZ #12792]
21272         * libio/filedoalloc.c (local_isatty): New function.
21273         (_IO_file_doallocate): Use local_isatty.
21274         * stdio-common/perror.c (perror): In case a new stream is used
21275         forward the stream error.
21276         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
21277         error flag.
21279 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
21281         [BZ #11869]
21282         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
21283         alloca.
21284         * include/alloca.h (extend_alloca_account): Define.
21286         [BZ #11857]
21287         * posix/regex.h: Fix comments with documentation of user-accessible
21288         fields after compilation and describe correct free'ing of pattern
21289         after re_compile_pattern.
21290         Patch by Reuben Thomas <rrt@sc3d.org>.
21292 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
21294         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
21295         and -mno-altivec to prevent the compiler from using Altivec and/or
21296         VSX instructions when the corresponding registers are not available.
21298 2011-05-19  Andreas Schwab  <schwab@redhat.com>
21300         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
21302 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
21304         * libio/freopen.c (freopen): Use __dup2, not dup2.
21305         * libio/freopen64.c (freopen64): Likewise.
21307 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
21309         [BZ #12775]
21310         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
21311         * math/Makefile (tests): Add test-powl.
21312         (CFLAGS-test-powl.c): Define.
21313         * math/test-powl.c: New file.
21315 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
21317         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
21319 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
21321         [BZ #11837]
21322         * iconvdata/gb18030.c: Update to GB18020-2005.
21324 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
21326         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
21327         RE_SYNTAX_POSIX_AWK): Update to match recent development.
21328         Patch by Aharon Robbins <arnold@skeeve.com>.
21330         [BZ #11892]
21331         * stdlib/putenv.c (putenv): Don't always create copy of the variable
21332         on the stack.
21334         [BZ #11895]
21335         * misc/pselect.c (__pselect): Handle timeout value errors hidden
21336         through underflows.
21338         [BZ #12766]
21339         * misc/error.c (error_at_line): Ensure file_name and old_file_name
21340         point to strings before performing equality test for error_one_per_line
21341         mode.
21343         [BZ #11697]
21344         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
21346         [BZ #11820]
21347         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
21348         (struct user_fpregs_struct): Avoid __uint*_t types.
21350         [BZ #6420]
21351         * malloc/mtrace.c (tr_where): Add additional parameter to point to
21352         symbol info.  Use it instead of calling _dl_addr locally.
21353         (lock_and_info): New function.
21354         (tr_freehook): Call lock_and_info and pass symbol info as additional
21355         parameter to tr_where.
21356         (tr_mallochook): Likewise.
21357         (tr_reallochook): Likewise.
21358         (tr_memalignhook): Likewise.
21360         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
21361         used and couldn't be at all thread-safe.
21363 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
21365         * libio/freopen.c (freopen): Don't close old file descriptor
21366         before the new one is opened.  Instead dup the new file descriptor
21367         to the old one after the new stream is created.
21368         * libio/freopen64.c (freopen64): Likewise.
21369         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
21370         * libio/fileops.c (_IO_new_file_close_it): Handle new
21371         _IO_FLAGS2_NOCLOSE flag.
21372         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
21373         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
21374         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
21375         _IO_FLAGS2_NOCLOSE flag.
21376         * include/unistd.h: Add hidden_proto for dup3.
21377         Define __have_dup3.
21378         * io/dup3.c: Define hidden symbol.
21379         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
21381         [BZ #7101]
21382         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
21383         when an incomplete long option is used.
21384         * posix/tst-getopt_long1.c: New file.
21385         * posix/Makefile (tests): Add tst-getopt_long1.
21387         [BZ #10138]
21388         * scripts/config.guess: Update from autoconf-2.68.
21389         * scripts/config.sub: Likewise.
21391         [BZ #10157]
21392         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
21393         tests into ...
21394         (has_cpuclock): ...this.  New function.
21395         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
21396         macro here based on has_cpuclock code.
21398         [BZ #10149]
21399         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21400         First byte (not low byte) is now always NUL.
21401         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
21403         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21404         Use non-cancelable interfaces.
21406         [BZ #9809]
21407         * locale/iso-639.def: Add entry for Sorani.
21409         [BZ #11901]
21410         * include/stdlib.h: Move include protection to the right place.
21411         Define abort_msg_s.  Declare __abort_msg with it.
21412         * stdlib/abort.c (__abort_msg): Adjust type.
21413         * assert/assert.c (__assert_fail_base): New function.  Majority
21414         of code from __assert_fail.  Allocate memory for __abort_msg with
21415         mmap.
21416         (__assert_fail): Now call __assert_fail_base.
21417         * assert/assert-perr.c: Remove bulk of implementation.  Use
21418         __assert_fail_base.
21419         * include/assert.hL Declare __assert_fail_base.
21420         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
21421         mmap.
21422         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
21424 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
21426         [BZ #11952]
21427         [BZ #12453]
21428         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
21429         until all modules are registered in the DTV.
21430         * elf/Makefile: Add rules to build and run tst-tls19.
21431         * elf/tst-tls19.c: New file.
21432         * elf/tst-tls19mod1.c: New file.
21433         * elf/tst-tls19mod2.c: New file.
21434         * elf/tst-tls19mod3.c: New file.
21435         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
21437         [BZ #12083]
21438         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
21439         correctly.
21441         [BZ #12601]
21442         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
21443         two-byte sequence errors.
21444         * iconvdata/Makefile (tests): Add bug-iconv8.
21445         * iconvdata/bug-iconv8.c: New file.
21447         [BZ #12626]
21448         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
21449         buf2 definition.
21451         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
21453         [BZ #12432]
21454         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
21455         (dummy_getcfa): New function.
21456         (init): Get _Unwind_GetCFA address, use dummy if not found.
21457         (backtrace_helper): In recursion check, also check whether CFA changes.
21458         (__backtrace): Completely initialize arg.
21460         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
21461         storing incomplete byte sequence in state object.  Avoid testing for
21462         guaranteed too small input if we know there is enough data available.
21464 2011-05-11  Andreas Schwab  <schwab@redhat.com>
21466         * Makeconfig (+link-pie): Indent.
21467         * Rules (binaries-pie): Define if $(have-fpie) and
21468         $(build-shared).
21469         (binaries-shared): Also filter out $(binaries-pie).
21470         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
21471         * nscd/Makefile (others-pie): Add nscd.
21472         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
21473         ($(objpfx)nscd): Remove command override.
21474         * login/Makefile (others-pie): Add pt_chown.
21475         ($(objpfx)pt_chown): Remove command override.
21476         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
21477         remove command overrides.
21479 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
21481         * libio/tst_putwc.c: Fix error messages.
21483         [BZ #12724]
21484         * libio/fileops.c (_IO_new_file_close_it): Always flush when
21485         currently writing and seek to current position when not.
21486         * libio/Makefile (tests): Add bug-fclose1.
21487         * libio/bug-fclose1.c: New file.
21489 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
21491         [BZ #12511]
21492         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
21493         don't set DF_1_NODELETE here.
21494         (do_lookup_x): When entering new entry test for copy relocation
21495         and if necessary set DF_1_NODELETE flag.
21496         * elf/tst-unique4.cc: New file.
21497         * elf/tst-unique4.h: New file.
21498         * elf/tst-unique4lib.cc: New file.
21499         * elf/Makefile: Add rules to build and run tst-unique4.
21500         Patch by Piotr Bury <pbury@goahead.com>.
21502 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
21504         [BZ #12052]
21505         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
21507         [BZ #12625]
21508         * misc/mntent_r.c (addmntent): Flush the stream after the output
21510         [BZ #12393]
21511         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
21512         (is_trusted_path_normalize): Skip initial colon.  Append slash
21513         to empty buffer.  Duplicate is_trusted_path code but allow
21514         constructed patch to be prefix.
21515         (is_dst): Allow $ORIGIN followed by /.
21516         (_dl_dst_substitute): Correct clearing of check_for_trusted.
21517         Correct testing of result of is_trusted_path_normalize
21518         (decompose_rpath): Fix warning.
21520 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
21522         [BZ #11257]
21523         * grp/initgroups.c (internal_getgrouplist): When we found the service
21524         list through the initgroups entry in nsswitch.conf do not always
21525         continue on a successful lookup.  Don't always use the
21526         __nss_group_database value if it is set.
21527         * nss/nsswitch.conf (initgroups): Change action for successful db
21528         lookup to continue for compatibility.
21530 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
21532         [BZ #11532]
21533         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
21534         and CP774 modules.
21535         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
21536         and CP774 modules.
21537         * iconvdata/tst-tables.sh: Likewise.
21538         * iconvdata/cp770.c: New file.
21539         * iconvdata/cp771.c: New file.
21540         * iconvdata/cp772.c: New file.
21541         * iconvdata/cp773.c: New file.
21542         * iconvdata/cp774.c: New file.
21543         * iconvdata/testdata/CP770: New file.
21544         * iconvdata/testdata/CP770..UTF8: New file.
21545         * iconvdata/testdata/CP771: New file.
21546         * iconvdata/testdata/CP771..UTF8: New file.
21547         * iconvdata/testdata/CP772: New file.
21548         * iconvdata/testdata/CP772..UTF8: New file.
21549         * iconvdata/testdata/CP773: New file.
21550         * iconvdata/testdata/CP773..UTF8: New file.
21551         * iconvdata/testdata/CP774: New file.
21552         * iconvdata/testdata/CP774..UTF8: New file.
21554         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
21555         END CHARMAP line.
21556         * iconvdata/gen-8bit-gap.sh: Likewise.
21557         * iconvdata/gen-8bit.sh: Likewise.
21559         * locale/iso-639.def: Add ary entry.
21561         [BZ #11258]
21562         * locale/C-translit.h.in: Add U20A1 transliteration.
21564         [BZ #12178]
21565         * locale/iso-639.def: Add wae entry.
21566         Patch by Kevin Bortis <bortis@translate-wae.ch>.
21568         [BZ #12545]
21569         * locale/programs/localedef.c (construct_output_path): Use ssize_t
21570         for n.
21572         [BZ #12711]
21573         * locale/C-translit.h.in: Add entry for U20B9.
21574         Patch by pravin.d.s@gmail.com.
21576 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
21578         [BZ #12713]
21579         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
21580         ENAMETOOLONG use generic getcwd.
21581         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
21582         in rtld.  Use *stat64.
21583         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
21584         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
21585         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
21586         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
21587         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
21588         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
21589         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
21590         __fstatat64 macros.
21591         * include/dirent.h: Add libc_hidden_proto for rewinddir.
21592         * dirent/rewinddir.c: Add libc_hidden_def.
21593         * sysdeps/mach/hurd/rewinddir.c: Likewise.
21594         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
21596         * include/dirent.h (__alloc_dir): Add flags parameter.
21597         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
21598         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
21599         __alloc_dir.
21600         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
21601         from fdopendir if O_CLOEXEC is already set.
21603 2011-03-15  Alan Modra  <amodra@gmail.com>
21605         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
21606         l_tls_firstbyte_offset non-zero.  Save padding offset in
21607         l_tls_firstbyte_offset for later use.
21608         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
21609         freeing static tls block.
21611 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
21613         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
21614         where #ifdef was intended.  The intent is to prevent ARG_MAX from
21615         being defined by the kernel headers.
21617 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
21619         [BZ #12734]
21620         * resolv/resolv.h: Define RES_NOTLDQUERY.
21621         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
21622         no-tld-query and set RES_NOTLDQUERY.
21623         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
21624         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
21625         modern BIND to search name as TLD unless forbidden.
21627 2011-05-07  Petr Baudis  <pasky@suse.cz>
21628             Ulrich Drepper  <drepper@gmail.com>
21630         [BZ #12393]
21631         * elf/dl-load.c (fillin_rpath): Move trusted path check...
21632         (is_trusted_path): ...to here.
21633         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
21634         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
21635         using is_trusted_path_normalize() in setuid scripts.
21637 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
21639         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
21640         __BEGIN/__END_DECLS.
21642 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
21644         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
21645         NSS_STATUS_NOTFOUND if no record was found.
21647 2011-05-05  Andreas Schwab  <schwab@redhat.com>
21649         * sunrpc/Makefile (headers): Add rpc/netdb.h.
21650         (headers-not-in-tirpc): Remove rpc/netdb.h
21651         * resolv/netdb.h: Revert last change.
21653 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
21655         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
21656         circular dependency between libgcc.a and libc.a.
21658 2011-05-05  Andreas Schwab  <schwab@redhat.com>
21660         * resolv/netdb.h: Don't include <rpc/netdb.h>.
21661         * nis/Makefile: Don't install rpcsvc/*.
21662         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
21663         instead of <rpc/types.h>.
21664         (MAXHOSTNAMELEN): Define.
21666 2011-05-03  Andreas Schwab  <schwab@redhat.com>
21668         * elf/ldconfig.c (add_dir): Don't crash on empty path.
21670 2011-04-28  Maciej Babinski  <mbabinski@google.com>
21672         [BZ #12714]
21673         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
21674         gethostbyname4_r when IPv6 results are possible.
21676 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
21678         [BZ #12723]
21679         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
21680         _PC_PIPE_BUF handling.
21682 2011-04-30  Bruno Haible  <bruno@clisp.org>
21684         [BZ #12717]
21685         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
21686         * resolv/netdb.h (getnameinfo): Change type of flags parameter
21687         to 'int'.
21688         * inet/getnameinfo.c (getnameinfo): Likewise.
21690 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
21692         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
21693         to groups setting in database lookup.
21694         * nss/nsswitch.conf: Add initgroups entry.
21696 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
21698         [BZ #12685]
21699         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
21700         mode string.
21701         Patch by Eric Blake <eblake@redhat.com>.
21703 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
21705         * sunrpc/Makefile (need-export-routines): Add svc_run.
21706         (routines): Remove svc_run.
21707         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
21708         * sunrpc/clnt_perr.c (clnt_perrno): Export.
21709         * sunrpc/svc_run.c (svc_run): Likewise.
21710         * sunrpc/svc_udp.c (svcudp_create): Likewise.
21712 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
21714         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
21715         problem in reallocation in last patch.
21717 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
21719         * sunrpc/Makefile: Move inclusion of Rules.
21721 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
21723         * nss/nss_files/files-initgroups.c: New file.
21724         * nss/Makefile (libnss_files-routines): Add files-initgroups.
21725         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
21726         _nss_files_initgroups_dyn.
21728 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
21730         * elf/elf.h (R_ARM_IRELATIVE): Define.
21732 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
21734         * po/ru.po: Update from translation team.
21736 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
21738         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
21739         dependencies.
21741 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
21743         [BZ #12653]
21744         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
21745         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
21746         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
21747         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21748         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21750 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
21752         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
21753         differing bytes.
21754         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21755         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21756         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21758 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
21760         [BZ #12420]
21761         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
21762         storing it.
21763         * stdlib/bug-getcontext.c: New file.
21764         * stdlib/Makefile: Add rules to build and run bug-getcontext.
21766 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21768         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
21769         instructions into .machine "z9-109".
21770         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
21771         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
21773 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21775         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
21776         between environment variables and auxiliary vector.
21778 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
21780         * Makefile: Add rules to build linkobj/libc.so.
21781         * include/libc-symbols.h: Define libc_hidden_nolink.
21782         * include/rpc/auth.h: Mark functions which are to be hidden.
21783         * include/rpc/auth_des.h: Likewise.
21784         * include/rpc/auth_unix.h: Likewise.
21785         * include/rpc/clnt.h: Likewise.
21786         * include/rpc/des_crypt.h: Likewise.
21787         * include/rpc/key_prot.h: Likewise.
21788         * include/rpc/pmap_clnt.h: Likewise.
21789         * include/rpc/pmap_prot.h: Likewise.
21790         * include/rpc/pmap_rmt.h: Likewise.
21791         * include/rpc/rpc_msg.h: Likewise.
21792         * include/rpc/svc.h: Likewise.
21793         * include/rpc/svc_auth.h: Likewise.
21794         * include/rpc/xdr.h: Likewise.
21795         * nis/Makefile: Link all DSOs against linkobj/libc.so.
21796         * nss/Makefile: Likewise.
21797         * sunrpc/Makefile: Don't install headers.  Build library with normal
21798         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
21799         * sunrpc/auth_des.c: Hide exported symbols by default, export some
21800         for the compat linking library.  Remove use of INTDEF/INTUSE.
21801         * sunrpc/auth_none.c: Likewise.
21802         * sunrpc/auth_unix.c: Likewise.
21803         * sunrpc/authdes_prot.c: Likewise.
21804         * sunrpc/authuxprot.c: Likewise.
21805         * sunrpc/clnt_gen.c: Likewise.
21806         * sunrpc/clnt_perr.c: Likewise.
21807         * sunrpc/clnt_raw.c: Likewise.
21808         * sunrpc/clnt_simp.c: Likewise.
21809         * sunrpc/clnt_tcp.c: Likewise.
21810         * sunrpc/clnt_udp.c: Likewise.
21811         * sunrpc/clnt_unix.c: Likewise.
21812         * sunrpc/des_crypt.c: Likewise.
21813         * sunrpc/des_soft.c: Likewise.
21814         * sunrpc/get_myaddr.c: Likewise.
21815         * sunrpc/key_call.c: Likewise.
21816         * sunrpc/key_prot.c: Likewise.
21817         * sunrpc/netname.c: Likewise.
21818         * sunrpc/pm_getmaps.c: Likewise.
21819         * sunrpc/pm_getport.c: Likewise.
21820         * sunrpc/pmap_clnt.c: Likewise.
21821         * sunrpc/pmap_prot.c: Likewise.
21822         * sunrpc/pmap_prot2.c: Likewise.
21823         * sunrpc/pmap_rmt.c: Likewise.
21824         * sunrpc/publickey.c: Likewise.
21825         * sunrpc/rpc_cmsg.c: Likewise.
21826         * sunrpc/rpc_common.c: Likewise.
21827         * sunrpc/rpc_dtable.c: Likewise.
21828         * sunrpc/rpc_prot.c: Likewise.
21829         * sunrpc/rpc_thread.c: Likewise.
21830         * sunrpc/rtime.c: Likewise.
21831         * sunrpc/svc.c: Likewise.
21832         * sunrpc/svc_auth.c: Likewise.
21833         * sunrpc/svc_authux.c: Likewise.
21834         * sunrpc/svc_raw.c: Likewise.
21835         * sunrpc/svc_run.c: Likewise.
21836         * sunrpc/svc_simple.c: Likewise.
21837         * sunrpc/svc_tcp.c: Likewise.
21838         * sunrpc/svc_udp.c: Likewise.
21839         * sunrpc/svc_unix.c: Likewise.
21840         * sunrpc/svcauth_des.c: Likewise.
21841         * sunrpc/xcrypt.c: Likewise.
21842         * sunrpc/xdr.c: Likewise.
21843         * sunrpc/xdr_array.c: Likewise.
21844         * sunrpc/xdr_float.c: Likewise.
21845         * sunrpc/xdr_intXX_t.c: Likewise.
21846         * sunrpc/xdr_mem.c: Likewise.
21847         * sunrpc/xdr_rec.c: Likewise.
21848         * sunrpc/xdr_ref.c: Likewise.
21849         * sunrpc/xdr_sizeof.c: Likewise.
21850         * sunrpc/xdr_stdio.c: Likewise.
21852 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
21854         [BZ #12650]
21855         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
21856         * sysdeps/ia64/dl-tls.h: Likewise.
21857         * sysdeps/powerpc/dl-tls.h: Likewise.
21858         * sysdeps/s390/dl-tls.h: Likewise.
21859         * sysdeps/sh/dl-tls.h: Likewise.
21860         * sysdeps/sparc/dl-tls.h: Likewise.
21861         * sysdeps/x86_64/dl-tls.h: Likewise.
21862         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
21864 2011-03-14  Andreas Schwab  <schwab@redhat.com>
21866         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
21867         rpath element also skip the following colon.
21868         (expand_dynamic_string_token): Add is_path parameter and pass
21869         down to DL_DST_REQUIRED and _dl_dst_substitute.
21870         (decompose_rpath): Call expand_dynamic_string_token with
21871         non-zero is_path.  Ignore empty rpaths.
21872         (_dl_map_object_from_fd): Call expand_dynamic_string_token
21873         with zero is_path.
21875 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
21877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
21878         Make cancelable.
21880 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
21882         [BZ #12655]
21883         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
21884         Patch by Filipe David Manana <fdmanana@apache.org>.
21886 2011-04-07  Andreas Schwab  <schwab@redhat.com>
21888         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
21889         Maintain aligned stack.
21890         (CHECK_RSP): Remove unused macro.
21892 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
21894         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
21895         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
21897 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
21899         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
21901         * include/features.h: Mention __USE_XOPEN2K8 in comment.
21903 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
21905         [BZ #12518]
21906         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
21907         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
21908         * sysdeps/x86_64/memmove.c: New file.
21909         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
21910         (memcpy): Renamed to ...
21911         (__new_memcpy): This.
21912         (memcpy): Provide GLIBC_2_14 memcpy.
21913         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
21914         (memcpy): Provide GLIBC_2_2_5 memcpy.
21916 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
21918         [BZ #12631]
21919         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
21921 2011-03-30  Andreas Schwab  <schwab@redhat.com>
21923         * misc/syncfs.c: New file.
21924         * misc/Makefile (routines): Add syncfs.
21925         * posix/unistd.h: Declare syncfs.
21926         * sysdeps/unix/syscalls.list: Add syncfs.
21928 2011-04-01  Andreas Schwab  <schwab@redhat.com>
21930         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
21931         open_by_handle_at.
21932         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
21933         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21934         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21935         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21936         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21937         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
21938         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21940 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
21942         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
21943         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21944         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
21945         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21946         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21947         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21948         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21950         * io/Makefile: Compile fallocate.c, fallocate64.c, and
21951         sync_file_range.c with -fexceptions.
21952         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
21953         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
21954         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
21955         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
21956         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
21957         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
21958         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
21959         sync_file_range as cancellation point
21960         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
21961         now a wrapper around __call_sync_file_range with cancellation handling.
21962         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
21963         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
21964         function name to __call_sync_file_range.
21965         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
21966         Add call_sync_file_range.
21968 2011-04-01  Andreas Schwab  <schwab@redhat.com>
21970         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21971         bits/timex.h.
21973 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
21975         * iconv/iconv.h: Fix typo in comment.
21976         * io/fcntl.h: Likewise.
21977         * libio/stdio.h: Likewise.
21978         * posix/spawn.h: Likewise.
21979         * posix/unistd.h: Likewise.
21980         * stdlib/stdlib.h: Likewise.
21981         * time/time.h: Likewise.
21982         * wcsmbs/wchar.h: Likewise.
21984         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
21985         open_by_handle): Add.
21986         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
21987         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
21988         Augment a few comments.
21989         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21990         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21991         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21992         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21993         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21994         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
21995         open_by_handle.
21997         * io/fcntl.h (AT_EMPTY_PATH): Define.
21999 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
22001         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
22002         * sysdeps/unix/sysv/linux/bits/time.h: New file.
22003         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
22004         to...
22005         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
22006         * Versions.def: Add GLIBC_2.14.
22007         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
22008         Export.
22010 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
22012         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
22013         round counter.
22014         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
22016 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
22018         [BZ #12597]
22019         * string/test-strncmp.c (do_page_test): New function.
22020         (check2): Likewise.
22021         (test_main): Call check2.
22022         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
22024 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
22026         [BZ #12587]
22027         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
22028         Handle cache information in CPU leaf 4.
22029         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
22031 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
22033         [BZ #12583]
22034         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
22035         character representation.
22036         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
22038 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
22040         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
22041         END(__isnan) to END(__isnanf) to match function entry point/label
22042         EALIGN(__isnanf,...).
22044 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
22046         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
22048 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
22050         [BZ #12510]
22051         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
22052         copy from the symbol referenced in the relocation to initialize the
22053         used variable.
22054         Patch by Piotr Bury <pbury@goahead.com>.
22055         * elf/Makefile: Add rules to build and tst-unique3.
22056         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
22057         * elf/tst-unique3.cc: New file.
22058         * elf/tst-unique3.h: New file.
22059         * elf/tst-unique3lib.cc: New file.
22060         * elf/tst-unique3lib2.cc: New file.
22062         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
22064 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
22066         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
22067         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
22068         to _start.
22070 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
22072         * elf/dl-load.c (_dl_map_object): If we are looking for the first
22073         to-be-loaded object along a path to loader is ld.so.
22075 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
22076             Ulrich Drepper  <drepper@gmail.com>
22078         * sysdeps/x86_64/memset.S: After aligning destination, code
22079         branches to different locations depending on the value of
22080         misalignment, when multiarch is enabled. Fix this.
22082 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
22084         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
22085         Set _x86_64_preferred_memory_instruction for AMD processsors.
22086         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22087         Set bit_Prefer_SSE_for_memop for AMD processors.
22089 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
22091         * libio/fmemopen.c (fmemopen): Optimize a bit.
22093 2011-03-03  Andreas Schwab  <schwab@redhat.com>
22095         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
22097 2011-03-03  Roland McGrath  <roland@redhat.com>
22099         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
22101 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
22103         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
22104         __bzero_ultra1 instead of __memset_ultra1.
22106 2011-02-23  Andreas Schwab  <schwab@redhat.com>
22107             Ulrich Drepper  <drepper@gmail.com>
22109         [BZ #12509]
22110         * include/link.h (struct link_map): Add l_orig_initfini.
22111         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
22112         returning unsuccessfully.
22113         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
22114         close of a file loaded at startup, restore the original l_initfini
22115         list.
22116         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
22117         list, store the pointer.
22118         * elf/Makefile ($(objpfx)noload-mem): New rule.
22119         (noload-ENV): Define.
22120         (tests): Add $(objpfx)noload-mem.
22121         * elf/noload.c: Include <memcheck.h>.
22122         (main): Call mtrace.  Close all opened handles.
22124 2011-02-17  Andreas Schwab  <schwab@redhat.com>
22126         [BZ #12454]
22127         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
22128         dependencies are missing.
22130 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22132         Fix __if_freereq crash: Unlike the generic version which uses free,
22133         Hurd needs munmap.
22134         * sysdeps/mach/hurd/ifreq.h: New file.
22136 2011-01-27  Petr Baudis  <pasky@suse.cz>
22137             Ulrich Drepper  <drepper@gmail.com>
22139         [BZ 12445]#
22140         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
22141         to extend_alloca().
22142         * stdio-common/bug23.c: New file.
22143         * stdio-common/Makefile (tests): Add bug23.
22145 2010-09-28  Andreas Schwab  <schwab@redhat.com>
22146             Ulrich Drepper  <drepper@gmail.com>
22148         [BZ #12489]
22149         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
22150         before performing relro protection.  At old place add assertion
22151         to make sure nothing changed.
22153 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
22154             Glauber de Oliveira Costa  <glommer@gmail.com>
22156         * elf/elf.h: Add new ARM TLS relocs.
22158 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
22160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
22161         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
22162         cast from r3.
22163         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
22164         'tests' variable.
22165         * sysdeps/wordsize-64/tst-writev.c: New file.
22167 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
22169         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
22170         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
22171         insns in _dl_start to prevent a TOC reference before relocs are
22172         resolved.
22174 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
22176         [BZ #12469]
22177         * Makeconfig: Remove RANLIB definition.
22178         * Makerules: Don't use RANLIB.
22179         * aclocal.m4: Remove ranlib test.
22180         * configure.in: No need to check for ranlib.
22181         * elf/rtld-Rules: Don't use RANLIB.
22183 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22185         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
22186         protection macro.
22187         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
22188         inclusion protection macro.
22190         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
22191         SIGRTMIN and SIGRTMAX and print information in that case only when
22192         SIGRTMIN is defined.
22194 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
22196         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
22197         arginfo fn returning -1.
22199         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
22200         and thousands string is zero terminated.
22202 2011-02-03  Andreas Schwab  <schwab@redhat.com>
22204         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
22205         sysdeps/unix/sysv/linux/bits/socket.h.
22207 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22209         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
22210         (__CPU_COUNT): Remove old macros.
22211         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
22212         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
22213         (__CPU_ALLOC, __CPU_FREE): Add macros.
22214         (__sched_cpualloc, __sched_cpufree): Add declarations.
22216 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
22218         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
22219         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
22220         * nscd/aicache.c (addhstaiX): Return timeout of added value.
22221         (readdhstai): Return value of addhstaiX call.
22222         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
22223         (addgrbyX): Return value returned by cache_addgr.
22224         (readdgrbyname): Return value returned by addgrbyX.
22225         (readdgrbygid): Likewise.
22226         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
22227         (addpwbyX): Return value returned by cache_addpw.
22228         (readdpwbyname): Return value returned by addhstbyX.
22229         (readdpwbyuid): Likewise.
22230         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
22231         (addservbyX): Return value returned by cache_addserv.
22232         (readdservbyname): Return value returned by addservbyX:
22233         (readdservbyport): Likewise.
22234         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
22235         (addhstbyX): Return value returned by cache_addhst.
22236         (readdhstbyname): Return value returned by addhstbyX.
22237         (readdhstbyaddr): Likewise.
22238         (readdhstbynamev6): Likewise.
22239         (readdhstbyaddrv6): Likewise.
22240         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
22241         (readdinitgroups): Return value returned by addinitgroupsX.
22242         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
22243         (prune_cache): Keep track of timeout value of re-added entries.
22244         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
22245         * nscd/nscd.h: Adjust prototypes of readd* functions.
22247 2011-02-04  Roland McGrath  <roland@redhat.com>
22249         * nis/nis_server.c (nis_servstate): Use the right name for 0.
22250         (nis_stats): Likewise.
22251         * nis/nis_modify.c (nis_modify): Likewise.
22252         * nis/nis_remove.c (nis_remove): Likewise.
22253         * nis/nis_add.c (nis_add): Likewise.
22255         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
22257         * posix/fnmatch_loop.c: Add some consts.
22259         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
22261 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
22263         [BZ #12460]
22264         * config.make.in (config-cflags-novzeroupper): Define.
22265         * configure.in: Substitute libc_cv_cc_novzeroupper.
22266         * elf/Makefile (AVX-CFLAGS): Define.
22267         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
22268         (CFLAGS-tst-auditmod4a.c): Likewise.
22269         (CFLAGS-tst-auditmod4b.c): Likewise.
22270         (CFLAGS-tst-auditmod6b.c): Likewise.
22271         (CFLAGS-tst-auditmod6c.c): Likewise.
22272         (CFLAGS-tst-auditmod7b.c): Likewise.
22273         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
22275 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
22277         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
22278         function to the callback.
22279         Patch partly by Jiri Olsa <jolsa@redhat.com>.
22281 2011-02-02  Andreas Schwab  <schwab@redhat.com>
22283         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
22284         of errno.
22286 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
22288         [BZ #11724]
22289         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
22290         of constructors.
22291         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
22292         of destructors.
22293         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
22295         [BZ #11724]
22296         * elf/Makefile: Add rules to build and run new test.
22297         * elf/tst-initorder.c: New file.
22298         * elf/tst-initorder.exp: New file.
22299         * elf/tst-initordera1.c: New file.
22300         * elf/tst-initordera2.c: New file.
22301         * elf/tst-initordera3.c: New file.
22302         * elf/tst-initordera4.c: New file.
22303         * elf/tst-initorderb1.c: New file.
22304         * elf/tst-initorderb2.c: New file.
22305         * elf/tst-order-a1.c: New file.
22306         * elf/tst-order-a2.c: New file.
22307         * elf/tst-order-a3.c: New file.
22308         * elf/tst-order-a4.c: New file.
22309         * elf/tst-order-b1.c: New file.
22310         * elf/tst-order-b2.c: New file.
22311         * elf/tst-order-main.c: New file.
22312         New test case by George Gensure <werkt0@gmail.com>.
22314 2010-10-01  Andreas Schwab  <schwab@redhat.com>
22316         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
22317         decoding ACE if AI_CANONIDN.
22319 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
22321         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
22323 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
22325         * version.h (RELEASE): Bump for 2.13 release.
22326         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
22328         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
22330         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
22331         MADV_NOHUGEPAGE.
22332         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
22333         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
22334         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22335         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
22336         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22337         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
22339         * posix/getconf.c: Update copyright year.
22340         * catgets/gencat.c: Likewise.
22341         * csu/version.c: Likewise.
22342         * debug/catchsegv.sh: Likewise.
22343         * debug/xtrace.sh: Likewise.
22344         * elf/ldconfig.c: Likewise.
22345         * elf/ldd.bash.in: Likewise.
22346         * elf/sprof.c (print_version): Likewise.
22347         * iconv/iconv_prog.c: Likewise.
22348         * iconv/iconvconfig.c: Likewise.
22349         * locale/programs/locale.c: Likewise.
22350         * locale/programs/localedef.c: Likewise.
22351         * malloc/memusage.sh: Likewise.
22352         * malloc/mtrace.pl: Likewise.
22353         * nscd/nscd.c (print_version): Likewise.
22354         * nss/getent.c: Likewise.
22356         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
22357         PF_CAIF, and PF_ALG.
22358         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22360 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
22362         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
22363         (modules-names): Use them.
22364         (ifunc-test-modules, ifunc-pie-tests): Define.
22365         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
22366         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
22367         (test-extras): Likewise.
22368         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
22369         $(compile-command.c).
22370         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
22371         (all-built-dso): Define.
22372         (check-textrel.out, check-execstack.out): Depend on it.
22374         * configure.in: Don't override --enable-multi-arch.
22376 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
22378         [BZ #6812]
22379         * nscd/hstcache.c (tryagain): Define.
22380         (cache_addhst): Return tryagain not notfound for temporary errors.
22381         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
22382         failed.
22384 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
22386         [BZ #10563]
22387         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
22388         to make the syscall.
22389         * sysdeps/unix/sysv/linux/setgroups.c: New file.
22391         [BZ #12378]
22392         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
22393         and fall back to matching as normal character if the string ends before
22394         the matching ']' is found.  This is what POSIX requires.
22395         * posix/testfnm.c: Adjust test result.
22396         * posix/globtest.sh: Adjust test result.  Add new test.
22397         * posix/tst-fnmatch.input: Likewise.
22398         * posix/tst-fnmatch2.c: Add new test.
22400 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
22402         * elf/Makefile (check-execstack): Revert last change.  Depend on
22403         check-execstack.h.
22404         (check-execstack.h): New target.
22405         (generated): Add check-execstack.h.
22406         * elf/check-execstack.c: Include "check-execstack.h".
22407         (main): Revert last change.
22408         (handle_file): Return zero if GNU_STACK is absent and
22409         DEFAULT_STACK_PERMS doesn't include PF_X.
22411 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
22413         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
22414         in child fails because the descriptor is already closed.
22415         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
22416         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
22417         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
22419         [BZ #12397]
22420         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
22421         syscall.
22423         [BZ #10484]
22424         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
22425         temporary buffer used to handle multi lookups locally.
22426         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
22428 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
22430         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
22431         loader is ld.so.
22433 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
22435         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
22436         alignment for SSE2.
22438 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
22440         [BZ #12394]
22441         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
22442         characters.  When rounding increased number of integer digits recompute
22443         number of groups.
22444         * stdio-common/tst-grouping.c: New file.
22445         * stdio-common/Makefile: Add rules to build and run tst-grouping.
22447 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
22449         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
22450         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
22452         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
22453         void.
22454         * bits/select.h: Likewise.
22456 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
22458         * po/ja.po: Update from translation team.
22460 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
22462         [BZ #11155]
22463         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
22464         implementation just like for lxstat, fxstatat, et al.
22466 2010-12-27  Jim Meyering  <meyering@redhat.com>
22468         [BZ #12348]
22469         * posix/regexec.c (build_trtable): Return failure indication upon
22470         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
22472 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
22474         [BZ #12201]
22475         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
22476         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
22477         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
22478         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
22480         [BZ #12207]
22481         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
22483         [BZ #12204]
22484         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
22485         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
22487 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
22489         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
22490         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
22491         script has SORT_BY_INIT_PRIORITY.
22492         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
22493         NO_CTORS_DTORS_SECTIONS is defined.
22494         * elf/soinit.c: Likewise.
22495         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
22496         NO_CTORS_DTORS_SECTIONS is defined.
22497         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
22498         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
22499         * sysdeps/sh/init-first.c: Likewise.
22500         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
22502 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
22504         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
22505         always use the slow path.
22507 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
22509         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
22510         similar rule which adds the sysdep directories to the header search in
22511         order to pick up the correct platform stackinfo.h.
22512         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
22513         perform test if it is, otherwise return successfully without testing.
22514         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
22515         DEFAULT_STACK_PERMS define in stackinfo.h.
22516         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
22517         defined in stackinfo.h.
22518         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
22519         DEFAULT_STACK_PERMS defined in stackinfo.h.
22520         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
22521         * sysdeps/ia64/stackinfo.h: Likewise.
22522         * sysdeps/s390/stackinfo.h: Likewise.
22523         * sysdeps/sh/stackinfo.h: Likewise.
22524         * sysdeps/sparc/stackinfo.h: Likewise.
22525         * sysdeps/x86_64/stackinfo.h: Likewise.
22526         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
22527         PF_X for powerpc64.  Retain PF_X for powerpc32.
22529 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
22531         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
22532         accurately.
22533         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
22534         GETDENTS_64BIT_ALIGNED.
22536 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
22538         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
22540 2010-12-10  Andreas Schwab  <schwab@redhat.com>
22542         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
22543         _GNU_SOURCE.
22545         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
22546         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
22547         Remove __restrict.
22548         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
22549         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
22551 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
22553         [BZ #11655]
22554         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
22555         are initialized.
22557 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
22559         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
22561 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
22563         * po/it.po: Update from translation team.
22565 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
22567         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
22568         unused codes.
22570 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
22572         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
22574 2010-11-24  Andreas Schwab  <schwab@redhat.com>
22576         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
22577         specially.
22578         (gaih_getanswer_slice): Likewise.
22580 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
22582         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
22584 2010-05-31  Petr Baudis  <pasky@suse.cz>
22586         [BZ #11149]
22587         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
22588         silently even in the chroot mode.
22590 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
22592         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
22593         last patch a bit.  Pretty printing
22595 2010-05-31  Petr Baudis <pasky@suse.cz>
22597         [BZ #10085]
22598         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
22599         initialization of skip_initgroups_dyn.
22601 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
22603         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
22604         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
22606 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
22608         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
22610 2010-11-11  Andreas Schwab  <schwab@redhat.com>
22612         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
22613         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
22614         (tst-fnmatch-ENV): Set MALLOC_TRACE.
22615         ($(objpfx)tst-fnmatch-mem): New rule.
22616         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
22617         * posix/tst-fnmatch.c (main): Call mtrace.
22619 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
22621         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22622         Support Intel processor model 6 and model 0x2c.
22624 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
22626         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
22627           signed comparison.
22629 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
22631         [BZ #12205]
22632         * string/test-strncasecmp.c (check_result): New function.
22633         (do_one_test): Use it.
22634         (check1): New function.
22635         (test_main): Use it.
22636         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
22637         Support strcasecmp and strncasecmp.
22639 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
22641         [BZ #12194]
22642         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
22643         * sysdeps/x86_64/bits/byteswap.h: Likewise.
22645 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
22647         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
22648         IFUNC support.
22649         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22650         memset-x86-64.
22651         * sysdeps/x86_64/multiarch/bzero.S: New file.
22652         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
22653         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
22654         * sysdeps/x86_64/multiarch/memset.S: New file.
22655         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
22656         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22657         Set bit_Prefer_SSE_for_memop for Intel processors.
22658         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
22659         Define.
22660         (index_Prefer_SSE_for_memop): Define.
22661         (HAS_PREFER_SSE_FOR_MEMOP): Define.
22663 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
22665         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
22666         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
22668 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
22670         [BZ #12191]
22671         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
22672         (__x86_64_raw_data_cache_size_half): Likewise.
22673         (__x86_64_raw_shared_cache_size): Likewise.
22674         (__x86_64_raw_shared_cache_size_half): Likewise.
22676         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
22677         (__x86_64_raw_data_cache_size_half): Likewise.
22678         (__x86_64_raw_shared_cache_size): Likewise.
22679         (__x86_64_raw_shared_cache_size_half): Likewise.
22680         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
22681         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
22682         and __x86_64_raw_shared_cache_size_half.  Round
22683         __x86_64_data_cache_size_half, __x86_64_data_cache_size
22684         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
22685         to multiple of 256 bytes.
22687 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
22689         [BZ #12167]
22690         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
22691         of inacessible symlinks.  Verify result of symlink before returning it.
22692         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
22693         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
22695 2010-10-28  Erich Ritz  <erichritz@gmail.com>
22697         * math/math.h (isinf): Fix typo in comment.
22699 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
22701         * po/da.po: Update from translation team.
22703 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
22705         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
22706         is added to the list.
22708 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22709             Ulrich Drepper  <drepper@gmail.com>
22711         * elf/dl-object.c (_dl_new_object): Don't append the new object to
22712         the global list here.  Move code to...
22713         (_dl_add_to_namespace_list): ...here.  New function.
22714         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
22715         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
22716         * elf/dl-load.c (lose): Don't remove the element from the list.
22717         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
22718         (_dl_map_object): Likewise.
22720 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
22722         [BZ #12159]
22723         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
22724         into all bytes of SSE register.
22725         Patch by Richard Li <richardpku@gmail.com>.
22727 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
22729         [BZ #12140]
22730         * malloc/malloc.c (_int_free): Fill correct number of bytes when
22731         perturbing.
22733 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
22735         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
22736         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
22737         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
22738         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
22739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
22740         submachine.
22741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
22743 2010-10-22  Andreas Schwab  <schwab@redhat.com>
22745         * include/dlfcn.h (__RTLD_SECURE): Define.
22746         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
22747         mode & __RTLD_SECURE instead.
22748         (open_path): Rename preloaded parameter to secure.
22749         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
22750         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
22751         * elf/dl-deps.c (openaux): Likewise.
22752         * elf/rtld.c (struct map_args): Remove is_preloaded.
22753         (map_doit): Don't use it.
22754         (dl_main): Likewise.
22755         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
22756         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
22758 2010-09-09  Andreas Schwab  <schwab@redhat.com>
22760         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
22761         (sysd-rules-targets): Remove duplicates.
22762         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
22763         rtld-%.$o dependency.
22765 2010-10-18  Andreas Schwab  <schwab@redhat.com>
22767         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
22768         _dl_map_object do it.
22770 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
22772         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
22773         fast fma builtins, define the macros in the C99 standard.
22774         (FP_FAST_FMAF): Likewise.
22775         (FP_FAST_FMAL): Likewise.
22776         * sysdeps/x86_64/bits/mathdef.h: Likewise.
22778         * bits/mathdef.h: Update copyright year.
22779         * sysdeps/powerpc/bits/mathdef.h: Likewise.
22781 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
22783         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
22784         builtins, define the macros in the C99 standard.
22785         (FP_FAST_FMAF): Likewise.
22786         (FP_FAST_FMAL): Likewise.
22787         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
22788         multiply/add.
22789         (FP_FAST_FMAF): Likewise.
22791 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
22793         [BZ #3268]
22794         * math/libm-test.inc (fma_test): Some new testcases.
22795         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
22796         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
22797         y and infinite z.  Do multiplication by C already in long double.
22798         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
22799         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
22800         y and infinite z.  Do bitwise or of inexact bit into u.d.
22801         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
22802         * sysdeps/i386/fpu/s_fmaf.S: Removed.
22803         * sysdeps/i386/fpu/s_fma.S: Removed.
22804         * sysdeps/i386/fpu/s_fmal.S: Removed.
22806 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
22808         [BZ #3268]
22809         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
22810         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
22811         computation is not scheduled after fetestexcept.  Fix value
22812         of minimum denormal long double.
22814 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
22816         [BZ #3268]
22817         * math/libm-test.inc (fma_test): Add some more tests.
22818         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
22819         correctly.
22821 2010-10-15  Andreas Schwab  <schwab@redhat.com>
22823         * scripts/data/localplt-s390-linux-gnu.data: New file.
22824         * scripts/data/localplt-s390x-linux-gnu.data: New file.
22826 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
22828         [BZ #3268]
22829         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
22830         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
22831         instead of dbl-64.
22832         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
22833         inlines.
22834         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
22835         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
22836         if one of x and y is very large and the other is subnormal.
22837         * sysdeps/s390/fpu/s_fmaf.c: New file.
22838         * sysdeps/s390/fpu/s_fma.c: New file.
22839         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
22840         * sysdeps/powerpc/fpu/s_fma.S: New file.
22841         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
22842         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
22843         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
22845 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
22847         [BZ #3268]
22848         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
22849         fma tests.
22850         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
22851         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
22852         * sysdeps/i386/i686/multiarch/s_fma.c: Include
22853         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
22854         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
22855         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
22856         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
22858 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
22860         [BZ #12078]
22861         * posix/regcomp.c (parse_branch): One more memory leak plugged.
22862         * posix/bug-regex31.input: Add test case.
22864 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
22866         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
22867         * posix/bug-regex31.input: New file.
22869         [BZ #12078]
22870         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
22871         (parse_sub_exp): Fix last change, use postorder.
22873         * posix/bug-regex31.c: New file.
22874         * posix/Makefile: Add rules to build and run bug-regex31.
22876         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
22878         [BZ #12078]
22879         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
22881         [BZ #12108]
22882         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
22883         to have entries in sys_siglist.
22885         [BZ #12093]
22886         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
22887         be NULL.
22889 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
22891         [BZ #3268]
22892         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
22893         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
22894         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
22895         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
22896         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22897         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
22898         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
22899         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
22900         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
22901         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
22902         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
22903         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
22904         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
22905         * math/ftestexcept.c (fetestexcept): Likewise.
22906         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
22907         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
22908         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
22909         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
22910         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
22911         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
22912         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22914 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
22916         [BZ #12107]
22917         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
22918         newline.
22920 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
22922         * string/bug-strstr1.c: New file.
22923         * string/Makefile: Add rules to build and run bug-strstr1.
22925 2010-10-05  Eric Blake  <eblake@redhat.com>
22927         [BZ #12092]
22928         * string/str-two-way.h (two_way_long_needle): Always clear memory
22929         when skipping input due to the shift table.
22931 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
22933         [BZ #12005]
22934         * malloc/mcheck.c: Handle large requests.
22936         [BZ #12077]
22937         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
22938         for strncmp and strncasecmp.
22939         * string/stratcliff.c: Add tests for strcmp and strncmp.
22940         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
22942 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
22944         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
22945         __set_fpscr.
22947 2010-09-30  Andreas Jaeger  <aj@suse.de>
22949         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
22950         (CGROUP_SUPER_MAGIC): Define.
22951         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22952         Handle btrfs and cgroup file systems.
22953         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
22954         Likewise.
22956 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
22958         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
22959         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
22961 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22963         [BZ #12067]
22964         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
22965         trying to locate the ELF header.
22967 2010-09-27  Andreas Schwab  <schwab@redhat.com>
22969         [BZ #11611]
22970         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
22971         Mask out sign-bit copies when constructing f_fsid.
22973 2010-09-24  Petr Baudis <pasky@suse.cz>
22975         * debug/stack_chk_fail_local.c: Add missing licence exception.
22976         * debug/warning-nop.c: Likewise.
22978 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
22980         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
22981         implementing getdents64 using getdents syscall, set d_type if
22982         __ASSUME_GETDENTS32_D_TYPE.
22984 2010-09-16  Andreas Schwab  <schwab@redhat.com>
22986         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
22987         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
22989 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
22991         [BZ #12037]
22992         * posix/unistd.h: Undo change of feature selection for ftruncate from
22993         2010-01-11.
22995 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
22997         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
22998         detection.
23000 2010-09-20  Andreas Schwab  <schwab@redhat.com>
23002         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
23003         fanotify_mark.
23004         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
23006 2010-09-14  Andreas Schwab  <schwab@redhat.com>
23008         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
23009         variables after CHECK_SP call.
23010         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
23012 2010-09-13  Andreas Schwab  <schwab@redhat.com>
23013             Ulrich Drepper  <drepper@redhat.com>
23015         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
23016         re-relocationg ld.so.
23017         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
23018         _dl_init_paths call.
23019         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
23020         here anymore.
23022 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
23024         * resolv/res_init.c (__res_vinit): Count the default server we added.
23026 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
23027             Ulrich Drepper  <drepper@redhat.com>
23029         [BZ #11968]
23030         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
23031         (____longjmp_chk): Use %ebx for saving value across system call.
23032         Add unwind info.
23034 2010-09-06  Andreas Schwab  <schwab@redhat.com>
23036         * manual/Makefile: Don't mix pattern rules with normal rules.
23038 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
23040         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
23041         operation.
23042         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
23043         * libio/iofopncook.c (_IO_cookie_init): Likewise.
23044         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
23045         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
23046         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23047         Likewise.
23049 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
23051         [BZ #11979]
23052         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
23053         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
23055 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
23057         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
23058         * sysdeps/x86_64/addmul_1.S: Likewise.
23059         * sysdeps/x86_64/lshift.S: Likewise.
23060         * sysdeps/x86_64/mul_1.S: Likewise.
23061         * sysdeps/x86_64/rshift.S: Likewise.
23062         * sysdeps/x86_64/sub_n.S: Likewise.
23063         * sysdeps/x86_64/submul_1.S: Likewise.
23065 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23067         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
23068         Define __sched_param instead of SCHED_* and sched_param when
23069         <bits/sched.h> is included with __need_schedparam defined.
23070         * bits/sched.h [__need_schedparam]
23071         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
23072         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
23073         (__defined_schedparam): Define to 1.
23074         (__sched_param): New structure, identical to sched_param.
23075         (__need_schedparam): Undefine.
23077 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
23079         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
23080         (epoll_create1): Declare.
23082         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
23084 2010-08-31  Andreas Schwab  <schwab@redhat.com>
23086         [BZ #7066]
23087         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
23088         shifting retval into place.
23090 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
23092         * nis/rpcsvc/nis.h: Update copyright notice.
23093         * nis/rpcsvc/nis.x: Likewise.
23094         * nis/rpcsvc/nis_callback.h: Likewise.
23095         * nis/rpcsvc/nis_callback.x: Likewise.
23096         * nis/rpcsvc/nis_object.x: Likewise.
23097         * nis/rpcsvc/nis_tags.h: Likewise.
23098         * nis/rpcsvc/yp.h: Likewise.
23099         * nis/rpcsvc/yp.x: Likewise.
23100         * nis/rpcsvc/ypupd.h: Likewise.
23101         * nis/yp_xdr.c: Likewise.
23102         * nis/ypupdate_xdr.c: Likewise.
23104         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
23105         mainly the body of pmap_getport.  Add parameters to specify timeouts.
23106         (pmap_getport): Use __libc_rpc_getport.
23107         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
23108         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
23109         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
23111 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
23113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
23114         fanotify_mark.
23116 2010-08-27  Roland McGrath  <roland@redhat.com>
23118         * sysdeps/i386/i686/multiarch/Makefile
23119         (CFLAGS-varshift.c): New variable.
23121 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
23123         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
23124         * sysdeps/i386/i686/multiarch/varshift.c: New file.
23126         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
23128         * sysdeps/x86_64/strlen.S: Minimal code improvement.
23130 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
23132         * sysdeps/x86_64/strlen.S: Unroll the loop.
23133         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23134         strlen-sse2 strlen-sse2-bsf.
23135         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
23136         __strlen_no_bsf if bit_Slow_BSF is set.
23137         (__strlen_sse42): Removed.
23138         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
23139         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
23141 2010-08-25  Roland McGrath  <roland@redhat.com>
23143         * sysdeps/x86_64/multiarch/varshift.S: File removed.
23144         * sysdeps/x86_64/multiarch/varshift.c: New file.
23145         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
23146         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
23147         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
23148         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23150 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
23152         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23153         strlen-sse2 strlen-sse2-bsf.
23154         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
23155         __strlen_sse2_bsf if bit_Slow_BSF is unset.
23156         (__strlen_sse2): Removed.
23157         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
23158         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
23159         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
23160         bit_Slow_BSF for Atom.
23161         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
23162         (index_Slow_BSF): Define.
23163         (HAS_SLOW_BSF): Define.
23165 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
23167         [BZ #10851]
23168         * resolv/res_init.c (__res_vinit): When no server address at all
23169         is given default to loopback.
23171 2010-08-24  Roland McGrath  <roland@redhat.com>
23173         * configure.in: Remove config-name.h generation.
23174         * configure: Regenerated.
23175         * config-name.in: File removed.
23176         * scripts/config-uname.sh: New file.
23177         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
23178         ($(objdir)config-name.h): New target.
23180         * sunrpc/rpc_parse.h: Avoid nested comment.
23182 2010-08-24  Richard Henderson  <rth@redhat.com>
23183             Ulrich Drepper  <drepper@redhat.com>
23184             H.J. Lu  <hongjiu.lu@intel.com>
23186         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
23187         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
23188         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
23189         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
23190         _mm_alignr_epi8 with _mm_loadu_si128.
23191         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
23192         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
23193         (__m128i_shift_right): Removed.
23194         * sysdeps/i386/i686/multiarch/varshift.h: New file.
23195         * sysdeps/i386/i686/multiarch/varshift.S: New file.
23196         * sysdeps/x86_64/multiarch/varshift.h: New file.
23197         * sysdeps/x86_64/multiarch/varshift.S: New file.
23199 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
23201         * configure.in: Move assembler checks to before sysdep dir checking.
23203 2010-08-20  Petr Baudis  <pasky@suse.cz>
23205         * LICENSES: Sync the sunrpc license.
23207 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
23209         * sunrpc/auth_des.c: Update copyright notice once again.
23210         * sunrpc/auth_none.c: Likewise.
23211         * sunrpc/auth_unix.c: Likewise.
23212         * sunrpc/authdes_prot.c: Likewise.
23213         * sunrpc/authuxprot.c: Likewise.
23214         * sunrpc/bindrsvprt.c: Likewise.
23215         * sunrpc/clnt_gen.c: Likewise.
23216         * sunrpc/clnt_perr.c: Likewise.
23217         * sunrpc/clnt_raw.c: Likewise.
23218         * sunrpc/clnt_simp.c: Likewise.
23219         * sunrpc/clnt_tcp.c: Likewise.
23220         * sunrpc/clnt_udp.c: Likewise.
23221         * sunrpc/clnt_unix.c: Likewise.
23222         * sunrpc/des_crypt.c: Likewise.
23223         * sunrpc/des_soft.c: Likewise.
23224         * sunrpc/get_myaddr.c: Likewise.
23225         * sunrpc/getrpcport.c: Likewise.
23226         * sunrpc/key_call.c: Likewise.
23227         * sunrpc/key_prot.c: Likewise.
23228         * sunrpc/openchild.c: Likewise.
23229         * sunrpc/pm_getmaps.c: Likewise.
23230         * sunrpc/pm_getport.c: Likewise.
23231         * sunrpc/pmap_clnt.c: Likewise.
23232         * sunrpc/pmap_prot.c: Likewise.
23233         * sunrpc/pmap_prot2.c: Likewise.
23234         * sunrpc/pmap_rmt.c: Likewise.
23235         * sunrpc/rpc/auth.h: Likewise.
23236         * sunrpc/rpc/auth_unix.h: Likewise.
23237         * sunrpc/rpc/clnt.h: Likewise.
23238         * sunrpc/rpc/des_crypt.h: Likewise.
23239         * sunrpc/rpc/key_prot.h: Likewise.
23240         * sunrpc/rpc/netdb.h: Likewise.
23241         * sunrpc/rpc/pmap_clnt.h: Likewise.
23242         * sunrpc/rpc/pmap_prot.h: Likewise.
23243         * sunrpc/rpc/pmap_rmt.h: Likewise.
23244         * sunrpc/rpc/rpc.h: Likewise.
23245         * sunrpc/rpc/rpc_des.h: Likewise.
23246         * sunrpc/rpc/rpc_msg.h: Likewise.
23247         * sunrpc/rpc/svc.h: Likewise.
23248         * sunrpc/rpc/svc_auth.h: Likewise.
23249         * sunrpc/rpc/types.h: Likewise.
23250         * sunrpc/rpc/xdr.h: Likewise.
23251         * sunrpc/rpc_clntout.c: Likewise.
23252         * sunrpc/rpc_cmsg.c: Likewise.
23253         * sunrpc/rpc_common.c: Likewise.
23254         * sunrpc/rpc_cout.c: Likewise.
23255         * sunrpc/rpc_dtable.c: Likewise.
23256         * sunrpc/rpc_hout.c: Likewise.
23257         * sunrpc/rpc_main.c: Likewise.
23258         * sunrpc/rpc_parse.c: Likewise.
23259         * sunrpc/rpc_parse.h: Likewise.
23260         * sunrpc/rpc_prot.c: Likewise.
23261         * sunrpc/rpc_sample.c: Likewise.
23262         * sunrpc/rpc_scan.c: Likewise.
23263         * sunrpc/rpc_scan.h: Likewise.
23264         * sunrpc/rpc_svcout.c: Likewise.
23265         * sunrpc/rpc_tblout.c: Likewise.
23266         * sunrpc/rpc_util.c: Likewise.
23267         * sunrpc/rpc_util.h: Likewise.
23268         * sunrpc/rpcinfo.c: Likewise.
23269         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
23270         * sunrpc/rpcsvc/key_prot.x: Likewise.
23271         * sunrpc/rpcsvc/klm_prot.x: Likewise.
23272         * sunrpc/rpcsvc/mount.x: Likewise.
23273         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
23274         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
23275         * sunrpc/rpcsvc/rex.x: Likewise.
23276         * sunrpc/rpcsvc/rstat.x: Likewise.
23277         * sunrpc/rpcsvc/rusers.x: Likewise.
23278         * sunrpc/rpcsvc/sm_inter.x: Likewise.
23279         * sunrpc/rpcsvc/spray.x: Likewise.
23280         * sunrpc/rpcsvc/yppasswd.x: Likewise.
23281         * sunrpc/rtime.c: Likewise.
23282         * sunrpc/svc.c: Likewise.
23283         * sunrpc/svc_auth.c: Likewise.
23284         * sunrpc/svc_authux.c: Likewise.
23285         * sunrpc/svc_raw.c: Likewise.
23286         * sunrpc/svc_run.c: Likewise.
23287         * sunrpc/svc_simple.c: Likewise.
23288         * sunrpc/svc_tcp.c: Likewise.
23289         * sunrpc/svc_udp.c: Likewise.
23290         * sunrpc/svc_unix.c: Likewise.
23291         * sunrpc/svcauth_des.c: Likewise.
23292         * sunrpc/xcrypt.c: Likewise.
23293         * sunrpc/xdr.c: Likewise.
23294         * sunrpc/xdr_array.c: Likewise.
23295         * sunrpc/xdr_float.c: Likewise.
23296         * sunrpc/xdr_mem.c: Likewise.
23297         * sunrpc/xdr_rec.c: Likewise.
23298         * sunrpc/xdr_ref.c: Likewise.
23299         * sunrpc/xdr_sizeof.c: Likewise.
23300         * sunrpc/xdr_stdio.c: Likewise.
23302         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
23303         handling.
23305 2010-08-19  Andreas Schwab  <schwab@redhat.com>
23307         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
23309 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
23311         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
23312         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
23313         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
23314         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
23315         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
23316         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
23317         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
23318         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
23319         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
23320         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
23321         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
23322         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
23323         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
23324         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
23326 2010-07-26  Anton Blanchard  <anton@samba.org>
23328         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
23329         * malloc/arena.c (heap_trim): Likewise.
23331 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
23333         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
23334         here.  Not...
23335         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
23336         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
23338 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
23340         * sysdeps/i386/elf/Makefile: New file.
23342 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
23344         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
23345         from fanotify_init.
23346         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
23347         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
23349 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
23351         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
23352         of strncasecmp_l.
23353         * sysdeps/multiarch/strcmp.S: Likewise.
23355 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
23357         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
23358         strncase_l-nonascii.
23359         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
23360         Add strncase_l-ssse3.
23361         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
23362         * sysdeps/x86_64/strcmp.S: Likewise.
23363         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
23364         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
23365         * sysdeps/x86_64/strncase.S: New file.
23366         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
23367         * sysdeps/x86_64/strncase_l.S: New file.
23368         * string/Makefile (strop-tests): Add strncasecmp.
23369         * string/test-strncasecmp.c: New file.
23371         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
23372         warning.
23374         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
23375         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
23377 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
23379         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
23381 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
23383         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
23384         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
23385         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
23387 2010-05-01  Alan Modra  <amodra@gmail.com>
23389         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
23390         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
23391         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
23392         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
23393         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
23394         tidying.  Don't tail-call __sigjmp_save for static lib.
23395         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
23396         save location.
23397         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
23398         (CALL_MCOUNT): Add eh info, and nop after bl.
23399         (TAIL_CALL_SYSCALL_ERROR): New macro.
23400         (PSEUDO_RET): Use it.
23401         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
23402         Correct save location of integer regs and cr.
23403         (_dl_profile_resolve): Correct cr save location.  Delete nops
23404         after bl when SHARED.  Reduce cfi size a little by better
23405         placement of cfi directives.
23406         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
23407         make a stack frame.  Instead use parm save area as a temp.
23408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
23409         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
23410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
23411         Don't make a stack frame for parent, use parm save area.
23412         Increase child stack frame to 112 bytes.  Don't save unused reg,
23413         and adjust reg usage.  Set up cfi on error recovery and
23414         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
23415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
23416         (__makecontext): Add dummy nop after jump to exit.
23417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
23418         Use correct parm save area and cr save, reduce stack frame.
23419         Correct cfi for possible PSEUDO_RET frame setup.
23420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
23421         Branch to local label emitted by PSEUDO_RET rather than
23422         __syscall_error.
23424 2010-08-12  Andreas Schwab  <schwab@redhat.com>
23426         [BZ #11904]
23427         * locale/programs/locale.c (print_assignment): New function.
23428         (show_locale_vars): Use it.
23430 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
23432         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
23433         field.
23434         (struct statfs64): Likewise.
23435         (_STATFS_F_FLAGS): Define.
23436         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
23437         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23438         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
23439         (ST_VALID): Define locally.
23440         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
23441         __statvfs_getflags, use the provided value.
23442         * sysdeps/unix/sysv/linux/kernel-features.h: Define
23443         __ASSUME_STATFS_F_FLAGS.
23445         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
23447         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
23448         Add sys/fanotify.h.
23449         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
23450         fanotify_mask for GLIBC_2.13.
23451         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
23452         fanotify_init and fanotify_mark.
23453         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
23454         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
23456         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
23457         Add prlimit.
23458         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
23459         prlimit64 for GLIBC_2.13.
23460         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
23461         prlimit64.
23462         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
23463         syscall.
23464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
23465         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
23466         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
23467         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
23468         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
23469         add prlimit alias.
23470         * sysdeps/unix/sysv/linux/prlimit.c: New file.
23472         [BZ #11903]
23473         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
23474         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
23476         * nss/Makefile: Add rules to build and run tst-nss-test1.
23477         * shlib-versions: Add entry for libnss_test1.
23478         * nss/nss_test1.c: New file.
23479         * nss/tst-nss-test1.c: New file.
23481         * nss/nsswitch.c (__nss_database_custom): Define new variable.
23482         (__nss_configure_lookup): Set appropriate entry in
23483         __nss_configure_lookup to true.
23484         * nss/nsswitch.h: Define enum with indeces of databases in
23485         databases and __nss_database_custom arrays.  Declare
23486         __nss_database_custom.
23487         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
23488         to avoid using nscd when custom rules are installed.
23489         * nss/getXXbyYY_r.c: Likewise.
23490         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23492         * nss/nss_files/files-parse.c: Whitespace fixes.
23494 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
23496         [BZ #11883]
23497         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
23498         * posix/fnmatch_loop.c: Likewise.
23500 2010-07-17  Andi Kleen  <ak@linux.intel.com>
23502         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
23503         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
23504         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
23505         * Versions.def [GLIBC_2.13]: Add.
23507 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
23509         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
23510         Also fail if tpwd after pwuid call is NULL.
23512 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23514         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
23515         when converting to ms.
23517 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23519         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
23520         EOPNOTSUPP errors with ENOTTY.
23521         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
23522         EOPNOTSUPP errors with ENOTTY.
23524 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
23526         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
23527         Add strcasecmp_l-ssse3.
23528         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
23529         strcasecmp.
23530         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
23531         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
23532         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
23534 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
23536         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
23538         * string/Makefile (strop-tests): Add strcasecmp.
23539         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
23540         strcasecmp_l-nonascii.
23541         (gen-as-const-headers): Add locale-defines.sym.
23542         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
23543         * sysdeps/x86_64/strcasecmp.S: New file.
23544         * sysdeps/x86_64/strcasecmp_l.S: New file.
23545         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
23546         * sysdeps/x86_64/locale-defines.sym: New file.
23547         * string/test-strcasecmp.c: New file.
23549         * string/test-strcasestr.c: Test both ends of the range of characters.
23550         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
23552 2010-07-29  Roland McGrath  <roland@redhat.com>
23554         [BZ #11856]
23555         * manual/locale.texi (Yes-or-No Questions): Fix example code.
23557 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
23559         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
23560         for ld.so.
23562 2010-07-27  Andreas Schwab  <schwab@redhat.com>
23564         * manual/memory.texi (Malloc Tunable Parameters): Document
23565         M_PERTURB.
23567 2010-07-26  Roland McGrath  <roland@redhat.com>
23569         [BZ #11840]
23570         * configure.in (-fgnu89-inline check): Set and substitute
23571         gnu89_inline, not libc_cv_gnu89_inline.
23572         * configure: Regenerated.
23573         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
23575 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
23577         * string/test-strnlen.c: New file.
23578         * string/Makefile (strop-tests): Add strnlen.
23579         * string/tester.c (test_strnlen): Add a few more test cases.
23580         * string/tst-strlen.c: Better error reporting.
23582         * sysdeps/x86_64/strnlen.S: New file.
23584 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
23586         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
23587         lower-latency instructions.
23589 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
23591         * string/test-strcasestr.c: New file.
23592         * string/test-strstr.c: New file.
23593         * string/Makefile (strop-tests): Add strstr and strcasestr.
23594         * string/str-two-way.h: Don't undefine MAX.
23595         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
23597 2010-07-21  Andreas Schwab  <schwab@redhat.com>
23599         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23600         strcasestr-nonascii.
23601         (CFLAGS-strcasestr-nonascii.c): Define.
23602         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
23603         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
23604         Remove unused attribute.
23606 2010-07-20  Roland McGrath  <roland@redhat.com>
23608         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
23609         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
23610         ld.so.cache was broken.  With it, there is no way to disable dsocaps
23611         like LD_HWCAP_MASK can disable hwcaps.
23613 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
23615         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
23617 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
23619         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
23620         call in strcasestr.
23621         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
23622         __strcasestr_sse42_nonascii.
23623         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
23624         strcasestr-nonascii.c.
23625         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
23627 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
23629         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
23630         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
23631         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
23632         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
23634 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
23636         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
23637         fcntl.
23639 2010-07-06  Andreas Schwab  <schwab@redhat.com>
23641         [BZ #11577]
23642         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
23643         dl_signal_cerror.
23645 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
23647         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
23648         _PC_PIPE_BUF using F_GETPIPE_SZ.
23650 2010-07-05  Roland McGrath  <roland@redhat.com>
23652         * manual/arith.texi (Rounding Functions): Fix rint description
23653         implicit in round description.
23655 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
23657         * elf/Makefile: Fix linking for a few tests to make recent linker
23658         happy.
23660 2010-06-30  Andreas Schwab  <schwab@redhat.com>
23662         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
23663         $(common-objpfx)libc_nonshared.a.
23665 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
23667         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
23668         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
23669         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
23670         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
23671         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
23672         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
23673         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
23674         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
23675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
23676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
23677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
23678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
23679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
23680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
23681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
23682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
23683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
23684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
23685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
23686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
23687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
23688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
23689         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
23690         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
23691         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
23692         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
23693         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
23694         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
23695         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
23696         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
23697         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
23698         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
23699         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
23700         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
23701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
23702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
23703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
23704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
23705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
23706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
23707         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
23708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
23709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
23710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
23711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
23712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
23713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
23714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
23716 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
23718         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
23719         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
23720         * string/memmove.c (memmove): Renamed to ...
23721         (MEMMOVE): ...this.  Default to memmove.
23722         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
23723         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
23724         (END_CHK): Define.
23725         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23726         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
23727         mempcpy-ssse3-back memmove-ssse3-back.
23728         * sysdeps/x86_64/multiarch/bcopy.S: New file .
23729         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
23730         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
23731         * sysdeps/x86_64/multiarch/memcpy.S: New file.
23732         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
23733         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
23734         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
23735         * sysdeps/x86_64/multiarch/memmove.c: New file.
23736         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
23737         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
23738         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
23739         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
23740         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
23741         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
23742         Define.
23743         (index_Fast_Copy_Backward): Define.
23744         (HAS_ARCH_FEATURE): Define.
23745         (HAS_FAST_REP_STRING): Define.
23746         (HAS_FAST_COPY_BACKWARD): Define.
23748 2010-06-21  Andreas Schwab  <schwab@redhat.com>
23750         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
23751         Restore proper fallback handling.
23753 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
23755         [BZ #11701]
23756         * posix/group_member.c (__group_member): Correct checking loop.
23758         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
23759         OOM in getpwuid_r correctly.  Return error number when the caller
23760         should return, otherwise -1.
23761         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
23762         call returning > 0 value.
23763         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
23765 2010-06-07  Andreas Schwab  <schwab@redhat.com>
23767         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
23768         libc_nonshared.a from targets in modules-names.
23770 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
23772         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
23773         requires it.
23775 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
23777         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
23778         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
23779         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
23780         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
23782 2010-06-02  Andreas Schwab  <schwab@redhat.com>
23784         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
23786 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
23788         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
23789         and F_GETPIPE_SZ.
23790         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
23791         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23792         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23793         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23794         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23795         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
23797 2010-06-14  Roland McGrath  <roland@redhat.com>
23799         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
23801 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
23803         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
23804         __REDIRECT followed by __THROW.
23805         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
23806         * posix/getopt.h (getopt): Likewise.
23808 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
23810         * hurd/lookup-at.c (__file_name_lookup_at): Accept
23811         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
23812         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
23813         in AT_FLAGS.
23814         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
23815         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
23817 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
23819         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
23821 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
23823         [BZ #11640]
23824         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23825         Properly check family and model.
23827 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
23829         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
23831 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
23833         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
23835 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
23837         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
23838         symbol reference.
23840 2010-05-19  Andreas Schwab  <schwab@redhat.com>
23842         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
23843         symbol reference.
23845 2010-05-21  Andreas Schwab  <schwab@redhat.com>
23847         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
23848         and internal_recvmmsg.
23849         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
23850         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
23851         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
23852         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
23854         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
23855         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
23856         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
23858 2010-05-20  Andreas Schwab  <schwab@redhat.com>
23860         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
23862 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
23864         POWER7 optimizations.
23865         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
23866         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
23868 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
23870         * version.h: Update for 2.13 development version.
23872 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
23874         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
23875         exceptions.  Return 0.
23877 2010-05-07  Roland McGrath  <roland@redhat.com>
23879         * elf/ldconfig.c (main): Add a const.
23881 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
23883         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
23884         (args_options): Add no-idn option.
23885         (ahosts_keys_int): Add idn_flags to ai_flags.
23886         (parse_option): Handle 'i' option to clear idn_flags.
23888         * malloc/malloc.c (_int_free): Possible race in the most recently
23889         added check.  Only act on the data if no current modification
23890         happened.
23892 See ChangeLog.17 for earlier changes.