Optimize sparc 32-bit V9 GMP multiply routines.
[glibc.git] / ChangeLog
blob426420404c1c603395218207fb5ddfdafc1dcca8
1 2013-01-10  David S. Miller  <davem@davemloft.net>
3         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
4         sparc V9 rather than using V8 code.
5         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
6         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8 2013-01-10  Roland McGrath  <roland@hack.frob.com>
10         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
11         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
12         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
13         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
14         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
15         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
16         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
17         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
18         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
19         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
20         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
21         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
22         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
23         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
24         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
25         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
26         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
27         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
28         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
29         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
30         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
31         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
32         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
33         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
34         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
35         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
36         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
38 2013-01-10  David S. Miller  <davem@davemloft.net>
40         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
44         * posix/Makefile (tests-static): New variable.
45         (tests): Add $(tests-static).
46         (tst-exec-static-ARGS): New variable.
47         (tst-spawn-static-ARGS): Likewise.
48         * posix/tst-exec-static.c: New file.
49         * posix/tst-spawn-static.c: Likewise.
50         * posix/tst-exec.c: Support run directly.
51         * posix/tst-spawn.c: Likewise.
53 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
55         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
56         long.
57         * math/bits/mathcalls.h (llrint): Likewise.
58         (llround): Likewise.
59         * stdlib/stdlib.h (struct drand48_data): Likewise.
60         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
61         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
62         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
63         Likewise.
64         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
65         Likewise.
66         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
67         (elf_greg_t): Likewise.
68         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
69         (__jmp_buf): Likewise.
70         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
71         definitions.
72         (llrint): Likewise, for all definitions.
73         (llrintl): Likewise.
75         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
76         Remove [__GNUC__] condition.
77         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
78         condition to just [__USE_ISOC99].
79         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
81 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
83         [BZ #14200]
84         * sysdeps/unix/sysv/linux/x86/bits/environments.h
85         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
86         defined.
87         (_POSIX_V6_ILP32_OFF32): Likewise.
88         (_XBS5_ILP32_OFF32): Likewise.
89         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
90         (__ILP32_OFFBIG_LDFLAGS): Likewise.
92 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
94         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
96         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
97         doubles __mpexp_twomm1.  Adjust usage.
98         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
99         Remove.
101 2013-01-10  Andreas Schwab  <schwab@suse.de>
103         [BZ #14964]
104         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
105         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
107 2013-01-09  David S. Miller  <davem@davemloft.net>
109         [BZ #15003]
110         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
111         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
112         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
113         TCP_FASTOPEN): Define.
114         (tcp_repair_opt): New structure.
115         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
116         enum values.
117         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
118         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
119         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
120         (tcp_cookie_transactions): New structure.
122 2013-01-09  Anton Blanchard  <anton@samba.org>
124         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
125         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
126         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
127         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
129 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
131         * include/features.h (__USE_ANSI): Remove.
133 2013-01-09  Roland McGrath  <roland@hack.frob.com>
135         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
137         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
139 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
141         * sysdeps/s390/fpu/libm-test-ulps: Update.
143         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
145         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
146         (__acr): Likewise.
147         (__cpy): Likewise.
148         (norm): Likewise.
149         (denorm): Likewise.
150         (__mp_dbl): Likewise.
151         (__dbl_mp): Likewise.
152         (add_magnitudes): Likewise.
153         (sub_magnitudes): Likewise.
154         (__add): Likewise.
155         (__sub): Likewise.
156         (__mul): Likewise.
157         (__inv): Likewise.
158         (__dvd): Likewise.
159         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
160         (__acr): Likewise.
161         (__cpy): Likewise.
162         (norm): Likewise.
163         (denorm): Likewise.
164         (__mp_dbl): Likewise.
165         (__dbl_mp): Likewise.
166         (add_magnitudes): Likewise.
167         (sub_magnitudes): Likewise.
168         (__add): Likewise.
169         (__sub): Likewise.
170         (__mul): Likewise.
171         (__inv): Likewise.
172         (__dvd): Likewise.
173         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
174         (__acr): Likewise.
175         (__cpy): Likewise.
176         (norm): Likewise.
177         (denorm): Likewise.
178         (__mp_dbl): Likewise.
179         (__dbl_mp): Likewise.
180         (add_magnitudes): Likewise.
181         (sub_magnitudes): Likewise.
182         (__add): Likewise.
183         (__sub): Likewise.
184         (__mul): Likewise.
185         (__inv): Likewise.
186         (__dvd): Likewise.
188 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
190         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
191         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
192         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
193         2 && __USE_EXTERN_INLINES]: Likewise.
195 2013-01-08  Andreas Jaeger  <aj@suse.de>
197         [BZ# 14985]
198         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
199         Remove.
200         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
201         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
203 2013-01-07  Anton Blanchard  <anton@samba.org>
205         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
206         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
207         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
208         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
209         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
210         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
211         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
212         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
213         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
214         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
215         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
216         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
217         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
218         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
219         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
220         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
221         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
222         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
223         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
224         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
225         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
226         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
227         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
228         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
229         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
230         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
231         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
232         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
233         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
234         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
235         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
236         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
237         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
238         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
239         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
240         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
241         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
242         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
243         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
244         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
245         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
246         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
247         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
249 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
251         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
252         (__MALLOC_PMT): Likewise.
253         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
254         [__GNUC__], only on [_LIBC].
255         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
256         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
257         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
258         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
259         forward declaration.
260         (realloc_hook_ini): Likewise.
261         (memalign_hook_ini): Likewise.
262         (__libc_memalign): Do not use __MALLOC_PMT in variable
263         declaration.
264         (__libc_valloc): Likewise.
265         (__libc_pvalloc): Likewise.
266         (__libc_calloc): Likewise.
267         (__posix_memalign): Likewise.
269         [BZ #14996]
270         * math/s_casinh.c: Include <float.h>.
271         (__casinh): Do not do computation with squaring and square root
272         for large arguments.
273         * math/s_casinhf.c: Include <float.h>.
274         (__casinhf): Do not do computation with squaring and square root
275         for large arguments.
276         * math/s_casinhl.c: Include <float.h>.
277         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
278         (__casinhl): Do not do computation with squaring and square root
279         for large arguments.
280         * math/libm-test.inc (casin_test): Add more tests.
281         (casinh_test): Likewise.
282         * sysdeps/i386/fpu/libm-test-ulps: Update.
283         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
285 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
287         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
288         (__x86_64_raw_data_cache_size): Likewise.
289         (__x86_64_data_cache_size_half): Likewise.
290         (__x86_64_raw_data_cache_size_half): Likewise.
291         (__x86_64_shared_cache_size): Likewise.
292         (__x86_64_raw_shared_cache_size): Likewise.
293         (__x86_64_shared_cache_size_half): Likewise.
294         (__x86_64_raw_shared_cache_size_half): Likewise.
295         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
296         to ...
297         (__x86_data_cache_size): This.
298         (__x86_64_raw_data_cache_size): Renamed to ...
299         (__x86_raw_data_cache_size): This.
300         (__x86_64_data_cache_size_half): Renamed to ...
301         (__x86_data_cache_size_half): This.
302         (__x86_64_raw_data_cache_size_half): Renamed to ...
303         (__x86_raw_data_cache_size_half): This.
304         (__x86_64_shared_cache_size): Renamed to ...
305         (__x86_shared_cache_size): This.
306         (__x86_64_raw_shared_cache_size): Renamed to ...
307         (__x86_raw_shared_cache_size): This.
308         (__x86_64_shared_cache_size_half): Renamed to ...
309         (__x86_shared_cache_size_half): This.
310         (__x86_64_raw_shared_cache_size_half): Renamed to ...
311         (__x86_raw_shared_cache_size_half): This.
312         * sysdeps/x86_64/memcpy.S: Updated.
313         * sysdeps/x86_64/memset.S: Likewise.
314         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
315         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
316         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
318 2013-01-04  David S. Miller  <davem@davemloft.net>
320         * sysdeps/sparc/fpu/libm-test-ulps: Update.
322 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
324         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
325         1 to avoid redefinition warning.
326         (__USE_GNU): Don't define.
327         (init_signaling_nan): Protoize.
329         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
331 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
333         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
334         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
335         (__cpymn): Likewise.
336         (norm): Remove commented code.
337         (denorm): Likewise.
338         (__mp_dbl): Likewise.
339         (__inv): Likewise.
340         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
341         (__cpymn): Likewise.
342         (norm): Remove commented code.
343         (denorm): Likewise.
344         (__mp_dbl): Likewise.
345         (__inv): Likewise.
347         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
348         mp_no value for 1.0 and 2.0.
349         (norm): Use RADIXI instead of radixi.d.
350         (denorm): Likewise.
351         (__mul): Use 0.0 instead of zero.d.
352         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
353         mp_no value for 1.0 and 2.0.
354         (norm): Use RADIXI instead of radixi.d.
355         (denorm): Likewise.
356         (__mul): Use 0.0 instead of zero.d.
358 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
360         [BZ #14994]
361         * math/s_casinh.c (__casinh): Reduce finite argument to first
362         quadrant then set signs of results at the end.
363         * math/s_casinhf.c (__casinhf): Likewise.
364         * math/s_casinhl.c (__casinhl): Likewise.
365         * math/libm-test.inc (casin_test): Add more tests.
366         (casinh_test): Likewise.
367         * sysdeps/i386/fpu/libm-test-ulps: Update.
368         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
370 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
372         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
374         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
376         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
377         declarations.
378         (denorm): Likewise.
379         (__mp_dbl): Likewise.
380         (__inv): Likewise.
382         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
383         and adjust the header comment.
385         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
386         variable name from declaration.
388 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
390         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
391         Initialize COMMON_CPUID_INDEX_7 element.
392         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
393         (CPUID_RTM): Likewise.
394         (HAS_RTM): Likewise.
395         (COMMON_CPUID_INDEX_7): New enum.
397 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
399         [BZ #14981]
400         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
401         size is zero, record memory as freed.
403 2013-01-03  Andreas Jaeger  <aj@suse.de>
405         * po/ia.po: Add new Interlingua translation.
407 2012-01-03  Allan McRae  <allan@archlinux.org>
409         * locale/programs/localedef.c: Fix description of '--posix' flag.
411 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
413         * NEWS: Update dates in second copyright notice.
414         * README: Update copyright dates in example.
415         * manual/libc.texinfo: Update copyright dates.
416         * scripts/test-installation.pl: Update copyright date in --version
417         output.
419         * hurd/ctty-input.c: Fix copyright notice formatting.
420         * hurd/ctty-output.c: Likewise.
421         * hurd/dtable.c: Likewise.
422         * hurd/hurd-raise.c: Likewise.
423         * hurd/hurdprio.c: Likewise.
424         * hurd/msgportdemux.c: Likewise.
425         * misc/sys/file.h: Likewise.
426         * misc/sys/ioctl.h: Likewise.
427         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
428         * sysdeps/mach/hurd/chdir.c: Likewise.
429         * sysdeps/mach/hurd/fchdir.c: Likewise.
430         * sysdeps/mach/hurd/rename.c: Likewise.
431         * sysdeps/mach/hurd/rmdir.c: Likewise.
432         * sysdeps/mach/hurd/seekdir.c: Likewise.
433         * sysdeps/mach/hurd/setsid.c: Likewise.
434         * sysdeps/posix/wait3.c: Likewise.
436         * All files with FSF copyright notices: Update copyright dates
437         using scripts/update-copyrights.
438         * intl/plural.c: Regenerated.
439         * locale/programs/charmap-kw.h: Likewise.
440         * locale/programs/locfile-kw.h: Likewise.
442 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
444         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
445         four values.
447         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
448         calculation loop and add branch prediction.
450         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
451         check access beyond bounds of m1np.
453         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
454         MPTWO.
455         (__inv): Remove local variable MPTWO to use the global
456         constant.
457         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
458         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
459         variable MPTWO.
460         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
461         MP3HALFS static const.
463 2013-01-01  David S. Miller  <davem@davemloft.net>
465         * po/ca.po: Update from translation team.
467 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
469         * scripts/update-copyrights: New file.
470         * Makeconfig: Reformat copyright notice.
471         * ctype/ctype.h: Likewise.
472         * debug/swprintf_chk.c: Likewise.
473         * elf/dl-cache.c: Likewise.
474         * elf/dl-debug.c: Likewise.
475         * elf/dl-object.c: Likewise.
476         * grp/initgroups.c: Likewise.
477         * hurd/Makefile: Likewise.
478         * hurd/hurd/signal.h: Likewise.
479         * hurd/hurdfault.c: Likewise.
480         * hurd/hurdioctl.c: Likewise.
481         * hurd/hurdlookup.c: Likewise.
482         * hurd/intr-msg.c: Likewise.
483         * iconv/gconv_open.c: Likewise.
484         * libio/swprintf.c: Likewise.
485         * locale/lc-ctype.c: Likewise.
486         * locale/nl_langinfo.c: Likewise.
487         * mach/Machrules: Likewise.
488         * mach/Makefile: Likewise.
489         * malloc/obstack.h: Likewise.
490         * manual/Makefile: Likewise.
491         * manual/tsort.awk: Likewise.
492         * misc/bits/stab.def: Likewise.
493         * nis/nis_print_group_entry.c: Likewise.
494         * nis/nis_table.c: Likewise.
495         * nis/nss_compat/compat-pwd.c: Likewise.
496         * nis/nss_compat/compat-spwd.c: Likewise.
497         * po/Makefile: Likewise.
498         * posix/fnmatch.c: Likewise.
499         * posix/regex.h: Likewise.
500         * resolv/Makefile: Likewise.
501         * resolv/nss_dns/dns-network.c: Likewise.
502         * resolv/res_hconf.c: Likewise.
503         * scripts/gen-sorted.awk: Likewise.
504         * soft-fp/soft-fp.h: Likewise.
505         * stdio-common/printf.h: Likewise.
506         * stdlib/monetary.h: Likewise.
507         * stdlib/random.c: Likewise.
508         * stdlib/random_r.c: Likewise.
509         * sysdeps/generic/Makefile: Likewise.
510         * sysdeps/gnu/Makefile: Likewise.
511         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
512         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
513         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
514         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
515         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
516         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
517         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
518         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
519         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
520         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
521         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
522         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
523         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
524         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
525         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
526         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
527         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
528         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
529         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
530         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
531         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
532         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
533         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
534         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
535         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
536         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
537         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
538         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
539         * sysdeps/mach/hurd/errnos.awk: Likewise.
540         * sysdeps/mach/hurd/fork.c: Likewise.
541         * sysdeps/mach/hurd/getcwd.c: Likewise.
542         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
543         * sysdeps/mach/hurd/mmap.c: Likewise.
544         * sysdeps/mach/hurd/utimes.c: Likewise.
545         * sysdeps/mach/hurd/xmknod.c: Likewise.
546         * sysdeps/posix/profil.c: Likewise.
547         * sysdeps/posix/readdir_r.c: Likewise.
548         * sysdeps/powerpc/bits/mathdef.h: Likewise.
549         * sysdeps/powerpc/bits/setjmp.h: Likewise.
550         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
551         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
552         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
553         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
554         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
555         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
556         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
557         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
558         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
559         * sysdeps/pthread/lio_listio.c: Likewise.
560         * sysdeps/sparc/dl-procinfo.h: Likewise.
561         * sysdeps/unix/i386/sysdep.S: Likewise.
562         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
563         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
564         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
565         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
567         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
568         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
569         * sysdeps/unix/sysv/linux/speed.c: Likewise.
570         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
571         * sysdeps/wordsize-32/divdi3.c: Likewise.
572         * time/sys/time.h: Likewise.
573         * wcsmbs/Makefile: Likewise.
575 2013-01-01  David S. Miller  <davem@davemloft.net>
577         * po/fr.po: Update from translation team.
579         * catgets/gencat.c: Update copyright year.
580         * csu/version.c: Likewise.
581         * debug/catchsegv.sh: Likewise.
582         * debug/pcprofiledump.c: Likewise.
583         * debug/xtrace.sh: Likewise.
584         * elf/ldconfig.c: Likewise.
585         * elf/ldd.bash.in: Likewise.
586         * elf/pldd.c: Likewise.
587         * elf/sotruss.ksh: Likewise.
588         * elf/sprof.c: Likewise.
589         * iconv/iconv_prog.c: Likewise.
590         * iconv/iconvconfig.c: Likewise.
591         * locale/programs/locale.c: Likewise.
592         * locale/programs/localedef.c: Likewise.
593         * login/programs/pt_chown.c: Likewise.
594         * malloc/memusage.sh: Likewise.
595         * malloc/memusagestat.c: Likewise.
596         * malloc/mtrace.pl: Likewise.
597         * nscd/nscd.c: Likewise.
598         * nss/getent.c: Likewise.
599         * nss/makedb.c: Likewise.
600         * posix/getconf.c: Likewise.
602 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
604         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
605         numbers.
607 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
609         * math/bits/mathcalls.h (modf): Use __nonnull.
611 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
613         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
614         (split): Use macro CN instead of the bare value.
615         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
616         could be used.
617         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
618         instead of the bare value.
619         (power1): Likewise.
621 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
623         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
624         __ATAN_TWOM.
625         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
627         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
628         their values.
629         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
630         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
631         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
632         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
634 2012-12-28  Andreas Jaeger  <aj@suse.de>
636         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
637         values are from Linux 3.7.
639         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
640         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
642 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
644         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
645         TRUE case.
647         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
648         (norm): Likewise.
649         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
650         variables with preprocessor constants.
651         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
652         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
653         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
655 2012-12-27  Bruno Haible  <bruno@clisp.org>
657         [BZ #14317]
658         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
659         only if needed.
661 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
663         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
664         and use variable directly.
665         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
667         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
668         MPONE.
669         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
670         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
671         variable MPONE.
672         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
673         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
674         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
675         include directive.  Remove local variable MPONE.
676         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
677         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
678         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
680 2012-12-25  David S. Miller  <davem@davemloft.net>
682         * version.h (RELEASE): Set to "development".
683         (VERSION): Set to "2.17.90".
684         * NEWS: Add 2.18 section.
686 2012-12-21  David S. Miller  <davem@davemloft.net>
688         * po/hr.po: Update from translation team.
690 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
692         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
694 2012-12-19  Steve Ellcey  <sellcey@mips.com>
696         * NEWS:  Mention new memcpy for MIPS.
698 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
700         * manual/contrib.texi (Contributors): Spelling correction.
702 2012-12-15  David S. Miller  <davem@davemloft.net>
704         * po/ru.po: Update from translation team.
706 2012-12-13  David S. Miller  <davem@davemloft.net>
708         * NEWS: Mention IFUNC testsuite enhancements.
710         * po/pl.po: Update from translation team.
711         * po/bg.po: Likewise.
713         * manual/contrib.texi (Contributors): Update entries for Hongjiu
714         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
716 2012-12-11  David S. Miller  <davem@davemloft.net>
718         * po/sv.po: Update from translation team.
720         * po/vi.po: Update from translation team.
722         * po/cs.po: Update from translation team.
724         * po/de.po: Update from translation team.
725         * po/eo.po: Likewise.
726         * po/nl.po: Likewise.
728 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
730         [BZ #14246]
731         * manual/argp.texi (Argp Helper Functions): Move node to follow
732         Argp Parsing State.
734         [BZ #14872]
735         * manual/conf.texi (Limits on File System Capacity): Mention if
736         terminating null is included in the max size.
738 2012-12-10  Andreas Jaeger  <aj@suse.de>
740         * po/cs.po: Update from translation team.
742 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
744         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
745         void pointer and cast to uintptr_t.
746         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
747         path.
748         * sysdeps/s390/s390-64/memcpy.S: Likewise.
749         * sysdeps/s390/s390-64/memset.S: Likewise.
751 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
753         [BZ #14833]
754         * menual/message.texi (Message Translation): Fix typos.
755         (Helper programs for gettext): Likewise.
757 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
759         [BZ #14898]
760         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
761         Change to -1.
763 2012-12-07  David S. Miller  <davem@davemloft.net>
765         * po/libc.pot: Update.
767 2012-12-07  Richard Henderson  <rth@redhat.com>
769         [BZ #10114]
770         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
771         normal/normal case to before the switch.
772         (_FP_DIV): Likewise.
774 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
775             Mike Frysinger  <vapier@gentoo.org>
777         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
778         check for __NR_fadvise64_64.
780 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
782         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
783         0, not just to plain "0" as a statement.
784         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
785         with cw.
787 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
789         * NEWS: Use sourceware.org in Bugzilla URL.
791 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
794         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
796         * stdio-common/tst-put-error.c (do_test): Add newline to the
797         padded test to ensure flush.
799 2012-12-05  Jeff Law  <law@redhat.com>
801         * sunrpc/etc.rpc (fedfs_admin): Add entry.
803 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
805         * README: Don't refer to ports add-on as distributed separately.
806         Mention AArch64 in list of systems supported in the ports add-on.
808         * LICENSES: Add more non-FSF copyright and license notices.
810         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
811         ((unused)).
813         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
815         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
816         10000 as width of padded output.
818 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
820         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
822         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
823         variable LX with __attribute__ ((unused)).
824         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
825         Likewise.
826         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
827         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
828         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
829         with __attribute__ ((unused)).
831 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
833         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
835 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
837         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
838         (CFLAGS-nldbl-acos.c): New variable.
839         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
840         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
841         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
842         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
843         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
844         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
845         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
846         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
847         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
848         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
849         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
850         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
851         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
852         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
853         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
854         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
855         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
856         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
857         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
858         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
859         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
860         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
861         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
862         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
863         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
864         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
865         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
866         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
867         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
868         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
869         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
870         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
871         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
872         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
873         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
874         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
875         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
876         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
877         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
878         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
879         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
880         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
881         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
882         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
883         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
884         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
885         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
886         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
887         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
888         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
889         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
890         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
891         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
892         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
893         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
894         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
895         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
896         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
897         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
898         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
899         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
900         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
901         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
902         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
903         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
904         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
905         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
906         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
907         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
908         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
909         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
910         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
911         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
912         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
913         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
914         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
915         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
916         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
917         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
918         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
919         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
920         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
921         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
922         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
923         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
924         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
925         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
926         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
927         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
928         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
929         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
930         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
931         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
932         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
933         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
934         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
935         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
938         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
940         [BZ #14914]
941         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
942         whole low double instead of just low 47 bits when splitting values
943         into two parts.
945 2012-12-03  Allan McRae  <allan@archlinux.org>
947         * manual/stdio.texi (Predefined Printf Handlers): Remove
948         @hsep and @vsep usage.
950 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
952         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
953         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
955 2012-12-03  Jeff Law  <law@redhat.com>
957         * time/sys/time.h (settimeofday): Do not mark TV argument
958         as __nonnull.
960 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
962         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
963         when currently writing and seek to current position when not.
964         * libio/Makefile (tests): Remove bug-fclose1.
965         * libio/bug-fclose1.c: Delete.
967 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
969         * manual/arith.texi (feenableexcept): Fix typo.
970         (fedisableexcept): Likewise.
972 2012-11-30  Roland McGrath  <roland@hack.frob.com>
974         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
975         second, differently-typed declaration, rather than a cast.
977 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
979         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
980         * include/rpc/svc.h: ... here.
982 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
984         [BZ #13013]
985         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
986         depending n and resplen2 to catch cases where answer
987         equals answerp2.
989 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
991         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
992         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
994 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
996         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
998 2012-11-29  Roland McGrath  <roland@hack.frob.com>
1000         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
1002 2012-11-28  Jeff Law  <law@redhat.com>
1004         [BZ #13761]
1005         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
1006         dataset_temporary.  Track alloca usage into alloca_used.
1007         If dataset is large allocate and release it via malloc/free.
1009 2012-06-04  Florian Weimer  <fweimer@redhat.com>
1011         [BZ #14197]
1012         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
1014 2012-11-28  David S. Miller  <davem@davemloft.net>
1016         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1018 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
1020         [BZ #14803]
1021         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
1022         of pi/2 rounded to nearest to 64 bits.
1023         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
1024         nearest to 64 bits.
1025         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
1026         bits.
1028 2012-11-28  Jeff Law <law@redhat.com>
1029             Martin Osvald <mosvald@redhat.com>
1031         [BZ #14889]
1032         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
1033         * sunrpc/svc.c: Include time.h.
1034         (__svc_accept_failed): New function.
1035         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
1036         any reason other than EINTR, call __svc_accept_failed.
1037         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
1038         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
1040 2012-11-28  Andreas Schwab  <schwab@suse.de>
1042         * scripts/abilist.awk: Also handle indirect functions in .opd
1043         section.
1045 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
1047         [BZ #13881]
1048         * sysdeps/x86/fpu/powl_helper.c: New file.
1049         * sysdeps/x86/fpu/Makefile: Likewise.
1050         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
1051         (p3): New object.
1052         (__ieee754_powl): Use __powl_helper for finite arguments except
1053         integer exponents below 8.
1054         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
1055         (p3): New object.
1056         (__ieee754_powl): Use __powl_helper for finite arguments except
1057         integer exponents below 8.
1058         * math/libm-test.inc (pow_test): Add more tests and enable some
1059         previously disabled tests.
1060         * sysdeps/i386/fpu/libm-test-ulps: Update.
1061         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1063 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
1064             Carlos O'Donell  <carlos_odonell@mentor.com>
1066         * nss/makedb.c (is_prime): Assert that input is odd and greater
1067         than 4.  Note that fact in a comment too.
1068         (next_prime): Add 4 to input.
1070 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
1072         [BZ #11741]
1073         * libio/Makefile (tests): Add test case tst-fwrite-error.
1074         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
1075         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
1076         * libio/tst-fwrite-error.c: New test case.
1078 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
1080         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
1081         before casting to void *.
1082         * include/libc-internal.h (__pointer_type): New macro.
1083         (__integer_if_pointer_type_sub): Likewise.
1084         (__integer_if_pointer_type): Likewise.
1085         (cast_to_integer): Likewise.
1086         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
1087         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
1088         before casting to atomic64_t.
1089         (atomic_exchange_acq): Likewise.
1090         (__arch_exchange_and_add_body): Likewise.
1091         (__arch_add_body): Likewise.
1092         (atomic_add_negative): Likewise.
1093         (atomic_add_zero): Likewise.
1095 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
1097         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
1098         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
1099         (add_fdes): Likewise.
1100         (linear_search_fdes): Likewise.
1101         (binary_search_unencoded_fdes): Likewise.
1103 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
1105         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
1107 2012-11-24  Adam Conrad  <adconrad@0c3.net>
1109         * configure.in: Autodetect C++ header directories.
1110         * configure: Regenerated.
1112 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
1114         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
1116 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
1118         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1120 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
1122         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
1123         LDBL_MANT_DIG == 106]: Disable some tests.
1124         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
1125         Likewise.
1126         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
1127         Likewise.
1129         [BZ #14871]
1130         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
1131         input for small inputs.  Return +/- pi/2 for large inputs.
1132         * math/libm-test.inc (atan_test): Add more tests.
1134         * sysdeps/generic/unwind-dw2-fde-glibc.c
1135         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
1136         __attribute__ ((unused)).
1138         [BZ #14645]
1139         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
1140         x * y if x and y are nonzero and z is zero.
1142         [BZ #14811]
1143         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
1144         nonzero exponents with absolute value below 0x1p-117 to +/-
1145         0x1p-117.
1147         [BZ #14869]
1148         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
1149         up arguments below 2**-450, not just those below 2**-500.
1150         * math/libm-test.inc (hypot_test): Add another test.
1152         [BZ #14868]
1153         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
1154         Return a+b for ratio over 2**120, not 2**60.
1155         * math/libm-test.inc (hypot_test): Add another test.
1157         * math/libm-test.inc (clog_test): Use
1158         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
1159         (clog10_test): Likewise.
1161         [BZ #6778]
1162         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
1164 2012-11-22  Andreas Schwab  <schwab@suse.de>
1166         * sysdeps/i386/fpu/libm-test-ulps: Update.
1168 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
1170         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
1171         printf output with newline.
1173 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
1175         [BZ #14865]
1176         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
1177         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
1178         -z nodlopen, -z initfirst and -z execstack support.
1179         * configure: Regenerated.
1181         * elf/elf.h (DF_1_NODIRECT): New macro.
1182         (DF_1_IGNMULDEF): Likewise.
1183         (DF_1_NOKSYMS): Likewise.
1184         (DF_1_NOHDR): Likewise.
1185         (DF_1_EDITED): Likewise.
1186         (DF_1_NORELOC): Likewise.
1187         (DF_1_SYMINTPOSE): Likewise.
1188         (DF_1_GLOBAUDIT): Likewise.
1189         (DF_1_SINGLETON): Likewise.
1190         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
1191         DT_1_SUPPORTED_MASK bits.
1192         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
1194 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
1196         * sysdeps/unix/make-syscalls.sh: Document prefixes.
1198 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
1200         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
1201         macro.
1203         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
1204         (sendmmsg): Move declarations...
1205         * socket/sys/socket.h: ... here.
1206         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
1207         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
1208         include it from...
1209         * socket/recvmmsg.c: ... this new file.
1210         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
1211         (sendmmsg): Rename to __sendmmsg, create weak alias and make
1212         definition of __sendmmsg hidden.
1213         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
1214         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
1215         Move ENOSYS stub into and include it from...
1216         * socket/sendmmsg.c: ... this new file.
1217         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
1218         (sysdep_routines): Move recvmmsg and sendmmsg...
1219         * socket/Makefile (routines): ... here.
1220         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
1221         (GLIBC_PRIVATE): Add __sendmmsg.
1222         * include/sys/socket.h (__sendmmsg): Add declarations.
1223         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
1224         sendmmsg.
1226 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
1228         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
1229         variable I1 with __attribute__ ((unused)).
1230         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
1232 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
1234         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
1235         DUMMY variables with __attribute__ ((unused)).
1237         * bits/byteswap.h: Include <bits/types.h>.
1238         (__bswap_64): Use __uint64_t instead of unsigned long long int.
1240 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
1242         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
1243         string_t.  Do not manually set errno.
1244         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
1245         length with __strnlen.  Make sure to both set errno and return it on
1246         failure.
1248 2012-11-19  David S. Miller  <davem@davemloft.net>
1250         With help from Joseph Myers.
1251         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
1252         very large arguments properly.
1253         * math/libm-test.inc (atan_test): New tests.
1254         (atan2_test): New tests.
1255         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1256         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1258 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
1260         [BZ #14856]
1261         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
1262         Define to 3.
1264         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
1265         [POSIX] (EADDRNOTAVAIL): Likewise.
1266         [POSIX] (EAFNOSUPPORT): Likewise.
1267         [POSIX] (EALREADY): Likewise.
1268         [POSIX] (ECONNABORTED): Likewise.
1269         [POSIX] (ECONNREFUSED): Likewise.
1270         [POSIX] (ECONNRESET): Likewise.
1271         [POSIX] (EDESTADDRREQ): Likewise.
1272         [POSIX] (EDQUOT): Likewise.
1273         [POSIX] (EHOSTUNREACH): Likewise.
1274         [POSIX] (EIDRM): Likewise.
1275         [POSIX] (EISCONN): Likewise.
1276         [POSIX] (ELOOP): Likewise.
1277         [POSIX] (EMULTIHOP): Likewise.
1278         [POSIX] (ENETDOWN): Likewise.
1279         [POSIX] (ENETUNREACH): Likewise.
1280         [POSIX] (ENOBUFS): Likewise.
1281         [POSIX] (ENODATA): Likewise.
1282         [POSIX] (ENOLINK): Likewise.
1283         [POSIX] (ENOMSG): Likewise.
1284         [POSIX] (ENOPROTOOPT): Likewise.
1285         [POSIX] (ENOSR): Likewise.
1286         [POSIX] (ENOSTR): Likewise.
1287         [POSIX] (ENOTCONN): Likewise.
1288         [POSIX] (ENOTSOCK): Likewise.
1289         [POSIX] (EOPNOTSUPP): Likewise.
1290         [POSIX] (EOVERFLOW): Likewise.
1291         [POSIX] (EPROTO): Likewise.
1292         [POSIX] (EPROTONOSUPPORT): Likewise.
1293         [POSIX] (EPROTOTYPE): Likewise.
1294         [POSIX] (ESTALE): Likewise.
1295         [POSIX] (ETIME): Likewise.
1296         [POSIX] (ETXTBSY): Likewise.
1297         [POSIX] (EWOULDBLOCK): Likewise.
1298         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
1299         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
1300         [POSIX] (SEEK_CUR): Likewise.
1301         [POSIX] (SEEK_END): Likewise.
1302         [POSIX || UNIX98] (mode_t): Do not require.
1303         [POSIX] (off_t): Likewise.
1304         [POSIX] (pid_t): Likewise.
1305         [POSIX] (sys/stat.h): Do not allow header.
1306         [POSIX] (unistd.h): Likewise.
1307         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
1308         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
1309         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
1310         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
1311         require.
1312         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
1313         sigevent): Specify elements.
1314         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
1315         entry.
1316         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
1317         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
1319         * conform/data/cpio.h-data [POSIX]: Disable whole file.
1320         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
1321         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
1322         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
1323         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
1324         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
1325         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
1326         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
1327         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
1328         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
1329         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
1330         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
1331         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
1332         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
1333         Likewise.
1334         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
1335         Likewise.
1336         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
1337         Likewise.
1338         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
1339         Likewise.
1340         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
1341         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
1342         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
1343         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
1344         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
1345         Specify lower bound on value.
1346         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
1347         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
1348         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
1349         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
1350         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
1351         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
1352         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
1353         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
1354         value.
1355         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
1356         as optional.
1357         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
1358         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
1359         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
1360         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
1361         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
1362         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
1363         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
1364         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
1365         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
1366         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
1367         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
1368         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
1369         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
1370         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
1371         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
1372         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
1373         entry.
1374         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
1375         optional.
1376         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
1377         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
1378         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
1379         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
1380         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
1381         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
1382         Likewise.
1383         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
1384         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
1385         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
1386         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
1387         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
1388         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
1389         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
1390         as optional.
1391         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
1392         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
1393         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
1394         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
1395         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
1396         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
1397         specify as optional.
1398         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
1399         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
1400         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
1401         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
1402         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
1403         [XPG3] (NL_LANGMAX): Likewise.
1404         [POSIX || XPG3] (NL_MSGMAX): Likewise.
1405         [POSIX || XPG3] (NL_NMAX): Likewise.
1406         [POSIX || XPG3] (NL_SETMAX): Likewise.
1407         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
1408         [XPG3] (NZERO): Likewise.
1409         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
1410         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
1411         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
1412         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
1413         (REG_ERANGE): Expect.
1414         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
1415         optional-constant.
1416         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
1417         Use (void) in prototype.
1418         [POSIX] (*_t): Allow.
1419         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
1420         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
1421         (WRDE_BADVAL): Expect.
1423         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
1424         expect.
1425         [XPG3 || XPG4] (O_RSYNC): Likewise.
1426         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
1427         Likewise.
1428         [XPG3 || XPG4] (pthread_sigmask): Likewise.
1429         [XPG3 || XPG4] (sigqueue): Likewise.
1430         [XPG3 || XPG4] (sigtimedwait): Likewise.
1431         [XPG3 || XPG4] (sigwaitinfo): Likewise.
1432         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
1433         [XPG3 || XPG4] (vsnprintf): Likewise.
1434         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
1435         Likewise.
1436         [XPG3 || XPG4] (blksize_t): Likewise.
1437         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
1438         Likewise.
1439         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
1440         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
1441         [XPG3 || XPG4] (struct itimerspec): Likewise.
1442         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
1443         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
1444         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
1445         [XPG3 || XPG4] (clockid_t): Likewise.
1446         [XPG3 || XPG4] (timer_t): Likewise.
1447         [XPG3 || XPG4] (clock_getres): Likewise.
1448         [XPG3 || XPG4] (clock_gettime): Likewise.
1449         [XPG3 || XPG4] (clock_settime): Likewise.
1450         [XPG3 || XPG4] (nanosleep): Likewise.
1451         [XPG3 || XPG4] (timer_create): Likewise.
1452         [XPG3 || XPG4] (timer_delete): Likewise.
1453         [XPG3 || XPG4] (timer_gettime): Likewise.
1454         [XPG3 || XPG4] (timer_getoverrun): Likewise.
1455         [XPG3 || XPG4] (timer_settime): Likewise.
1456         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
1457         [XPG3 || XPG4] (getlogin_r): Likewise.
1458         [XPG3 || XPG4] (pread): Likewise.
1459         [XPG3 || XPG4] (pthread_atfork): Likewise.
1460         [XPG3 || XPG4] (pwrite): Likewise.
1462         [BZ #14835]
1463         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
1464         <bits/siginfo.h>.
1466 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
1468         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
1469         finalizing MALLSTREAM.
1471         * sysdeps/mach/hurd/syncfs.c: New file.
1473 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
1475         [BZ #14719]
1476         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
1477         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
1478         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
1479         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
1480         (_nss_dns_gethostbyname4_r): Likewise.
1481         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
1482         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
1484 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
1486         [BZ #13763]
1487         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
1489 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
1491         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
1492         * elf/cache.c (print_entry): Print ",AArch64" for
1493         FLAG_AARCH64_LIB64
1495         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
1496         * elf/cache.c (print_entry): Print ",hard-float" for
1497         FLAG_ARM_LIBHF.
1499 2012-11-18  David S. Miller  <davem@davemloft.net>
1501         With help from Joseph Myers.
1502         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
1503         cutoff to 2**-13.
1504         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
1505         cutoff to 2**-25.
1506         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
1507         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
1508         small.
1509         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
1510         * math/libm-test.inc (y0_test): New tests.
1511         (y1_test): New tests.
1512         * sysdeps/i386/fpu/libm-test-ulps: Update.
1513         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1514         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1516 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
1518         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
1519         64-bit targets.
1520         * configure: Regenerated.
1522 2012-11-17  David S. Miller  <davem@davemloft.net>
1524         [BZ #14811]
1525         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
1526         nonzero exponents with absolute value below 0x1p-128 to +/-
1527         0x1p-128.
1529 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
1531         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
1533         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
1535         * posix/getconf-speclist.c: New file.
1536         * posix/posix-envs.def: Likewise.
1537         * posix/confstr.c (START_ENV_GROUP): New macro.
1538         (END_ENV_GROUP): Likewise.
1539         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
1540         (KNOWN_PRESENT_ENV_STRING): Likewise.
1541         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
1542         (UNKNOWN_ENVIRONMENT): Likewise.
1543         (confstr): Include posix-envs.def instead of handling
1544         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
1545         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
1546         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
1547         (END_ENV_GROUP): Likewise.
1548         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
1549         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
1550         (UNKNOWN_ENVIRONMENT): Likewise.
1551         (__sysconf): Include posix-envs.def instead of handling associated
1552         cases directly here.
1553         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
1554         preprocessing getconf-speclist.c rather than running getconf or
1555         generating empty file.
1557 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
1559         * scripts/check-local-headers.sh: Ignore 'mach' headers.
1561 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
1563         [BZ #14672]
1564         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
1566 2012-11-16  David S. Miller  <davem@davemloft.net>
1568         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
1569         smaller than LDBL_EPSILON/2.0L, just return xm1.
1571 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
1573         * elf/tst-array1.c (init): Set constructor priority to 1000.
1574         (fini): Set destructor priority to 1000.
1575         * elf/tst-array2dep.c: Likewise.
1577 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
1579         [BZ #11741]
1580         * libio/fileops.c (_IO_new_file_write): Correctly return error.
1581         (_IO_new_file_xsputn): Also return EOF if none of the input
1582         data was written when overflow failed.
1583         * libio/iopadn.c (_IO_padn): Likewise.
1584         * libio/iowpadn.c (_IO_wpadn): Likewise.
1585         * stdio-common/tst-put-error.c: Add copyright notice.
1586         (do_test): Add case for printing padded string.
1587         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
1588         _IO_padn returned error.
1589         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
1590         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
1591         return EOF.
1593 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
1595         * libio/libioP.h: Add comment note that the references to C++
1596         bits are now obsolete.
1598 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
1600         * math/libm-test.inc (check_complex): Use asprintf.
1602 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
1604         * debug/pcprofiledump.c (print_version): Update copyright year.
1605         * malloc/memusagestat.c (print_version): Likewise.
1607 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
1609         [BZ #14831]
1610         * elf/Makefile (tests): Add tst-audit8.
1611         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
1612         ($(objpfx)tst-audit8.out): New target.
1613         (tst-audit8-ENV): New variable.
1614         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
1615         audit if l_reloc_result is NULL.
1616         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
1617         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
1618         * elf/tst-audit8.c: New file.
1620 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
1622         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
1623         * misc/Makefile (CFLAGS-select.c): Define.
1624         * posix/Makefile (CFLAGS-pause.c): Define.
1626 2012-11-13  David S. Miller  <davem@davemloft.net>
1628         * crypt/Makefile: Move test targets after toplevel Rules
1629         inclusion.  Grab any necessary sysdep routines when linking.
1630         * crypt/md5.c (md5_process_block): Remove define, we will always
1631         name it __md5_process_block.
1632         (md5_finish_ctx): Update md5_process_block call.
1633         (md5_stream): Likewise.
1634         (md5_process_bytes): Likewise.
1635         (md5_process_block): Rename to __md5_process_block and move to ...
1636         * crypt/md5-block.c: ... here.
1637         * crypt/sha256.c (sha256_process_block): Move to ...
1638         * crypt/sha256-block.c: ... here.
1639         * crypt/sha512.c (sha512_process_block): Move to ...
1640         * crypt/sha512-block.c: ... here.
1641         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
1642         path.
1643         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
1644         * sysdeps/sparc/sparc64/multiarch/Makefile
1645         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
1646         crypt subdir.
1647         (localedef-aux): Add md5 crypto assembler when in locale subdir.
1648         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
1649         multiarch changes.
1650         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
1651         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
1652         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
1653         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
1654         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
1655         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
1656         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
1657         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
1658         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
1659         file.
1660         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
1661         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
1662         file.
1663         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
1665 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
1667         * timezone/tzselect.ksh: Update from tzcode git revision
1668         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
1669         * timezone/zdump.c: Likewise.
1670         * timezone/zic.c: Likewise.
1671         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
1672         in TZVERSION setting, not $(PKGVERSION).
1673         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
1674         REPORT_BUGS_TO settings.
1676         [BZ #14838]
1677         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
1678         macro.
1680 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
1682         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
1683         detection to immediately after _FP_ROUND().
1684         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
1685         bits are 0.
1687 2012-11-11  David S. Miller  <davem@davemloft.net>
1689         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
1690         inttypes.h
1691         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
1692         __close rather than their public counterparts.
1694 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
1696         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
1697         file.
1698         [UNIX98] (sem_timedwait): Do not expect.
1699         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
1700         [XPG4 || UNIX98] (sockatmark): Do not expect.
1701         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
1702         (clock_getcpuclockid): Do not expect.
1703         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
1704         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
1705         Do not expect.
1706         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
1707         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
1708         [UNIX98] (vwscanf): Likewise.
1709         [UNIX98] (vswscanf): Likewise.
1711 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
1713         * timezone/version.h: Remove file.
1714         * timezone/README: Do not refer to version.h.
1715         * timezone/Makefile ($(objpfx)zic.o): New dependency on
1716         $(objpfx)version.h.
1717         ($(objpfx)zdump.o): Likewise.
1718         ($(objpfx)version.h): New target.
1720         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
1721         2012i.
1722         * timezone/README: Don't mention modification to tzselect.ksh.
1723         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
1724         work on unmodified tzselect.ksh.  Substitute version numbers in
1725         tzselect.ksh.
1727         * Makefile (format-me): Remove.
1728         (INSTALL): Adjust indentation.  Use commands directly instead of
1729         using $(format-me).
1731         * aclocal.m4 (ACX_PKGVERSION): New macro.
1732         (ACX_BUGURL): Likewise.
1733         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
1734         (PKGVERSION): New AC_DEFINE_UNQUOTED.
1735         (REPORT_BUGS_TO): Likewise.
1736         * configure: Regenerated.
1737         * config.h.in (PKGVERSION): New macro.
1738         (REPORT_BUGS_TO): Likewise.
1739         * config.make.in (PKGVERSION): New variable.
1740         (PKGVERSION_TEXI): Likewise.
1741         (REPORT_BUGS_TO): Likewise.
1742         (REPORT_BUGS_TEXI): Likewise.
1743         * Makefile (format-me): Use -I$(common-objpfx)manual.
1744         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
1745         ($(common-objpfx)manual/%): New target.
1746         (manual/%): Remove target.
1747         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
1748         (print_version): Use PKGVERSION.
1749         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
1750         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
1751         and REPORT_BUGS_TO.
1752         ($(objpfx)xtrace): Likewise.
1753         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
1754         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
1755         (print_version): Use PKGVERSION.
1756         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
1757         (do_version): Use PKGVERSION.
1758         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
1759         REPORT_BUGS_TO.
1760         (common-ldd-rewrite): Likewise.
1761         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
1762         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
1763         (print_version): Use PKGVERSION.
1764         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
1765         * elf/pldd.c (argp_program_bug_address): Remove variable.
1766         (more_help): New function.
1767         (argp): Use more_help.
1768         (print_version): Use PKGVERSION.
1769         * elf/sln.c (main): Use PKGVERSION.
1770         (usage): Use REPORT_BUGS_TO.
1771         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
1772         (top level): Use PKGVERSION.
1773         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
1774         (print_version): Use PKGVERSION.
1775         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
1776         (print_version): Use PKGVERSION.
1777         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
1778         (print_version): Use PKGVERSION.
1779         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
1780         (print_version): Use PKGVERSION.
1781         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
1782         (print_version): Use PKGVERSION.
1783         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
1784         (print_version): Use PKGVERSION.
1785         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
1786         and BUGURL.
1787         ($(objpfx)memusage): Likewise.
1788         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
1789         (do_version): Use PKGVERSION.
1790         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
1791         (print_version): Use PKGVERSION.
1792         * malloc/mtrace.pl ($PACKAGE): Remove variable.
1793         ($PKGVERSION): New variable.
1794         ($REPORT_BUGS_TO): Likewise.
1795         (usage): Use $REPORT_BUGS_TO.
1796         (top level): Use $PKGVERSION.
1797         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
1798         ($(objpfx)pkgvers.texi): New rule.
1799         ($(objpfx)stamp-pkgvers): Likewise.
1800         * manual/install.texi: Include pkgvers.texi.
1801         (--with-pkgversion): Document new configure option.
1802         (--with-bugurl): Likewise.
1803         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
1804         than necessarily for this particular distribution.  Use
1805         REPORT_BUGS_TO for where to report bugs.
1806         * INSTALL: Regenerated.
1807         * manual/libc.texinfo: Include pkgvers.texi.
1808         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
1809         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
1810         (print_version): Use PKGVERSION.
1811         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
1812         (print_version): Use PKGVERSION.
1813         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
1814         (print_version): Use PKGVERSION.
1815         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
1816         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
1817         macro.
1818         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
1819         (print_version): Use PKGVERSION.
1820         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
1821         (print_version): Use PKGVERSION.
1822         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
1823         and PKGVERSION.
1825         * timezone/checktab.awk: Update from tzcode 2012i.
1826         * timezone/ialloc.c: Likewise.
1827         * timezone/private.h: Likewise.
1828         * timezone/scheck.c: Likewise.
1829         * timezone/tzfile.h: Likewise.
1830         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
1831         (TZVERSION): Hardcode tzcode version number.
1832         * timezone/zdump.c: Update from tzcode 2012i.
1833         * timezone/zic.c: Likewise.
1834         * timezone/version.h: New file.
1835         * timezone/README: Describe version.h.  Update upstream location.
1837         [BZ #14824]
1838         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
1839         (mktemp): Enable declaration.
1840         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
1841         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
1842         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
1843         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
1844         Likewise.
1845         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
1846         Likewise.
1847         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
1848         Likewise.
1849         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
1850         Likewise.
1851         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
1852         Likewise.
1853         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
1854         Likewise.
1856         [BZ #14821]
1857         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
1858         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
1859         for copies of such integer values.
1860         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
1861         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
1863 2012-11-09  Andreas Jaeger  <aj@suse.de>
1865         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
1866         definitions and declarations that are provided by
1867         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
1869 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1871         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
1872         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
1873         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
1874         definition.
1876 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
1878         * elf/elf.h: Update comment before AArch64 relocations.
1880 2012-11-07  David S. Miller  <davem@davemloft.net>
1882         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
1883         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1884         (__start_context): Declare.
1885         (__makecontext_ret): Delete.
1886         (__makecontext): Hook up __start_context instead of
1887         __makecontext_ret.
1888         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
1889         (sysdep_routines): Add __start_context when in stdlib.
1891 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
1893         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
1894         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
1895         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
1896         hardcoded "nm".
1897         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
1898         (READELF): New variable.  Use it instead of hardcoded "readelf".
1900 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
1902         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
1903         * sysdeps/x86/Makefile: Here.
1904         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
1905         * sysdeps/x86/tst-xmmymm.sh: This.
1907 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
1909         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
1910         expectations.
1911         [UNIX98] (pthread_barrier_t): Do not expect.
1912         [UNIX98] (pthread_barrierattr_t): Likewise.
1913         [UNIX98] (pthread_spinlock_t): Likewise.
1914         [UNIX98] (pthread_barrier_destroy): Likewise.
1915         [UNIX98] (pthread_barrier_init): Likewise.
1916         [UNIX98] (pthread_barrier_wait): Likewise.
1917         [UNIX98] (pthread_barrierattr_destroy): Likewise.
1918         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
1919         [UNIX98] (pthread_barrierattr_init): Likewise.
1920         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
1921         [UNIX98] (pthread_getcpuclockid): Likewise.
1922         [UNIX98] (pthread_mutex_timedlock): Likewise.
1923         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
1924         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
1925         [UNIX98] (pthread_sigmask): Likewise.
1926         [UNIX98] (pthread_spin_destroy): Likewise.
1927         [UNIX98] (pthread_spin_init): Likewise.
1928         [UNIX98] (pthread_spin_lock): Likewise.
1929         [UNIX98] (pthread_spin_trylock): Likewise.
1930         [UNIX98] (pthread_spin_unlock): Likewise.
1931         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
1932         Do not expect.
1933         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
1934         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
1935         [XPG3 || XPG4] (pthread_cond_t): Likewise.
1936         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
1937         [XPG3 || XPG4] (pthread_key_t): Likewise.
1938         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
1939         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
1940         [XPG3 || XPG4] (pthread_once_t): Likewise.
1941         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
1942         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
1943         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
1944         [XPG3 || XPG4] (pthread_t): Likewise.
1946         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
1947         not expect.
1948         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
1950         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
1951         Change function return type to int.
1953         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
1954         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
1955         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
1956         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
1957         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
1958         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
1959         [!POSIX] (posix_madvise): Likewise.
1960         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
1961         && !UNIX98].
1962         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
1963         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
1964         (mode_t): Likewise.
1965         (posix_mem_offset): Likewise.
1966         (posix_typed_mem_get_info): Likewise.
1967         (posix_typed_mem_open): Likewise.
1969         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
1970         Change condition to [XOPEN2K8].
1972         * conform/conformtest.pl: Preprocess allow-header data with -x c
1973         instead of from stdin.
1974         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
1975         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
1976         [C99-based standards] (cerfc): Likewise.
1977         [C99-based standards] (cexp2): Likewise.
1978         [C99-based standards] (cexpm1): Likewise.
1979         [C99-based standards] (clog10): Likewise.
1980         [C99-based standards] (clog1p): Likewise.
1981         [C99-based standards] (clog2): Likewise.
1982         [C99-based standards] (clgamma): Likewise.
1983         [C99-based standards] (ctgamma): Likewise.
1984         [C99-based standards] (cerff): Likewise.
1985         [C99-based standards] (cerfcf): Likewise.
1986         [C99-based standards] (cexp2f): Likewise.
1987         [C99-based standards] (cexpm1f): Likewise.
1988         [C99-based standards] (clog10f): Likewise.
1989         [C99-based standards] (clog1pf): Likewise.
1990         [C99-based standards] (clog2f): Likewise.
1991         [C99-based standards] (clgammaf): Likewise.
1992         [C99-based standards] (ctgammaf): Likewise.
1993         [C99-based standards] (cerfl): Likewise.
1994         [C99-based standards] (cerfcl): Likewise.
1995         [C99-based standards] (cexp2l): Likewise.
1996         [C99-based standards] (cexpm1l): Likewise.
1997         [C99-based standards] (clog10l): Likewise.
1998         [C99-based standards] (clog1pl): Likewise.
1999         [C99-based standards] (clog2l): Likewise.
2000         [C99-based standards] (clgammal): Likewise.
2001         [C99-based standards] (ctgammal): Likewise.
2002         * conform/data/inttypes.h-data [C99-based standards]: Include
2003         stdint.h-data.  Remove all expectations for stdint.h contents.
2004         [C99-based standards] (PRI*): Do not allow.
2005         [C99-based standards] (SCN*): Likewise.
2006         [C99-based standards] (*_t): Likewise.
2007         [C99-based-standards] (PRId8): Expect macro.
2008         [C99-based-standards] (PRIi8): Likewise.
2009         [C99-based-standards] (PRIo8): Likewise.
2010         [C99-based-standards] (PRIu8): Likewise.
2011         [C99-based-standards] (PRIx8): Likewise.
2012         [C99-based-standards] (PRIX8): Likewise.
2013         [C99-based-standards] (SCNd8): Likewise.
2014         [C99-based-standards] (SCNi8): Likewise.
2015         [C99-based-standards] (SCNo8): Likewise.
2016         [C99-based-standards] (SCNu8): Likewise.
2017         [C99-based-standards] (SCNx8): Likewise.
2018         [C99-based-standards] (PRIdLEAST8): Likewise.
2019         [C99-based-standards] (PRIiLEAST8): Likewise.
2020         [C99-based-standards] (PRIoLEAST8): Likewise.
2021         [C99-based-standards] (PRIuLEAST8): Likewise.
2022         [C99-based-standards] (PRIxLEAST8): Likewise.
2023         [C99-based-standards] (PRIXLEAST8): Likewise.
2024         [C99-based-standards] (SCNdLEAST8): Likewise.
2025         [C99-based-standards] (SCNiLEAST8): Likewise.
2026         [C99-based-standards] (SCNoLEAST8): Likewise.
2027         [C99-based-standards] (SCNuLEAST8): Likewise.
2028         [C99-based-standards] (SCNxLEAST8): Likewise.
2029         [C99-based-standards] (PRIdFAST8): Likewise.
2030         [C99-based-standards] (PRIiFAST8): Likewise.
2031         [C99-based-standards] (PRIoFAST8): Likewise.
2032         [C99-based-standards] (PRIuFAST8): Likewise.
2033         [C99-based-standards] (PRIxFAST8): Likewise.
2034         [C99-based-standards] (PRIXFAST8): Likewise.
2035         [C99-based-standards] (SCNdFAST8): Likewise.
2036         [C99-based-standards] (SCNiFAST8): Likewise.
2037         [C99-based-standards] (SCNoFAST8): Likewise.
2038         [C99-based-standards] (SCNuFAST8): Likewise.
2039         [C99-based-standards] (SCNxFAST8): Likewise.
2040         [C99-based-standards] (PRId16): Likewise.
2041         [C99-based-standards] (PRIi16): Likewise.
2042         [C99-based-standards] (PRIo16): Likewise.
2043         [C99-based-standards] (PRIu16): Likewise.
2044         [C99-based-standards] (PRIx16): Likewise.
2045         [C99-based-standards] (PRIX16): Likewise.
2046         [C99-based-standards] (SCNd16): Likewise.
2047         [C99-based-standards] (SCNi16): Likewise.
2048         [C99-based-standards] (SCNo16): Likewise.
2049         [C99-based-standards] (SCNu16): Likewise.
2050         [C99-based-standards] (SCNx16): Likewise.
2051         [C99-based-standards] (PRIdLEAST16): Likewise.
2052         [C99-based-standards] (PRIiLEAST16): Likewise.
2053         [C99-based-standards] (PRIoLEAST16): Likewise.
2054         [C99-based-standards] (PRIuLEAST16): Likewise.
2055         [C99-based-standards] (PRIxLEAST16): Likewise.
2056         [C99-based-standards] (PRIXLEAST16): Likewise.
2057         [C99-based-standards] (SCNdLEAST16): Likewise.
2058         [C99-based-standards] (SCNiLEAST16): Likewise.
2059         [C99-based-standards] (SCNoLEAST16): Likewise.
2060         [C99-based-standards] (SCNuLEAST16): Likewise.
2061         [C99-based-standards] (SCNxLEAST16): Likewise.
2062         [C99-based-standards] (PRIdFAST16): Likewise.
2063         [C99-based-standards] (PRIiFAST16): Likewise.
2064         [C99-based-standards] (PRIoFAST16): Likewise.
2065         [C99-based-standards] (PRIuFAST16): Likewise.
2066         [C99-based-standards] (PRIxFAST16): Likewise.
2067         [C99-based-standards] (PRIXFAST16): Likewise.
2068         [C99-based-standards] (SCNdFAST16): Likewise.
2069         [C99-based-standards] (SCNiFAST16): Likewise.
2070         [C99-based-standards] (SCNoFAST16): Likewise.
2071         [C99-based-standards] (SCNuFAST16): Likewise.
2072         [C99-based-standards] (SCNxFAST16): Likewise.
2073         [C99-based-standards] (PRId32): Likewise.
2074         [C99-based-standards] (PRIi32): Likewise.
2075         [C99-based-standards] (PRIo32): Likewise.
2076         [C99-based-standards] (PRIu32): Likewise.
2077         [C99-based-standards] (PRIx32): Likewise.
2078         [C99-based-standards] (PRIX32): Likewise.
2079         [C99-based-standards] (SCNd32): Likewise.
2080         [C99-based-standards] (SCNi32): Likewise.
2081         [C99-based-standards] (SCNo32): Likewise.
2082         [C99-based-standards] (SCNu32): Likewise.
2083         [C99-based-standards] (SCNx32): Likewise.
2084         [C99-based-standards] (PRIdLEAST32): Likewise.
2085         [C99-based-standards] (PRIiLEAST32): Likewise.
2086         [C99-based-standards] (PRIoLEAST32): Likewise.
2087         [C99-based-standards] (PRIuLEAST32): Likewise.
2088         [C99-based-standards] (PRIxLEAST32): Likewise.
2089         [C99-based-standards] (PRIXLEAST32): Likewise.
2090         [C99-based-standards] (SCNdLEAST32): Likewise.
2091         [C99-based-standards] (SCNiLEAST32): Likewise.
2092         [C99-based-standards] (SCNoLEAST32): Likewise.
2093         [C99-based-standards] (SCNuLEAST32): Likewise.
2094         [C99-based-standards] (SCNxLEAST32): Likewise.
2095         [C99-based-standards] (PRIdFAST32): Likewise.
2096         [C99-based-standards] (PRIiFAST32): Likewise.
2097         [C99-based-standards] (PRIoFAST32): Likewise.
2098         [C99-based-standards] (PRIuFAST32): Likewise.
2099         [C99-based-standards] (PRIxFAST32): Likewise.
2100         [C99-based-standards] (PRIXFAST32): Likewise.
2101         [C99-based-standards] (SCNdFAST32): Likewise.
2102         [C99-based-standards] (SCNiFAST32): Likewise.
2103         [C99-based-standards] (SCNoFAST32): Likewise.
2104         [C99-based-standards] (SCNuFAST32): Likewise.
2105         [C99-based-standards] (SCNxFAST32): Likewise.
2106         [C99-based-standards] (PRId64): Likewise.
2107         [C99-based-standards] (PRIi64): Likewise.
2108         [C99-based-standards] (PRIo64): Likewise.
2109         [C99-based-standards] (PRIu64): Likewise.
2110         [C99-based-standards] (PRIx64): Likewise.
2111         [C99-based-standards] (PRIX64): Likewise.
2112         [C99-based-standards] (SCNd64): Likewise.
2113         [C99-based-standards] (SCNi64): Likewise.
2114         [C99-based-standards] (SCNo64): Likewise.
2115         [C99-based-standards] (SCNu64): Likewise.
2116         [C99-based-standards] (SCNx64): Likewise.
2117         [C99-based-standards] (PRIdLEAST64): Likewise.
2118         [C99-based-standards] (PRIiLEAST64): Likewise.
2119         [C99-based-standards] (PRIoLEAST64): Likewise.
2120         [C99-based-standards] (PRIuLEAST64): Likewise.
2121         [C99-based-standards] (PRIxLEAST64): Likewise.
2122         [C99-based-standards] (PRIXLEAST64): Likewise.
2123         [C99-based-standards] (SCNdLEAST64): Likewise.
2124         [C99-based-standards] (SCNiLEAST64): Likewise.
2125         [C99-based-standards] (SCNoLEAST64): Likewise.
2126         [C99-based-standards] (SCNuLEAST64): Likewise.
2127         [C99-based-standards] (SCNxLEAST64): Likewise.
2128         [C99-based-standards] (PRIdFAST64): Likewise.
2129         [C99-based-standards] (PRIiFAST64): Likewise.
2130         [C99-based-standards] (PRIoFAST64): Likewise.
2131         [C99-based-standards] (PRIuFAST64): Likewise.
2132         [C99-based-standards] (PRIxFAST64): Likewise.
2133         [C99-based-standards] (PRIXFAST64): Likewise.
2134         [C99-based-standards] (SCNdFAST64): Likewise.
2135         [C99-based-standards] (SCNiFAST64): Likewise.
2136         [C99-based-standards] (SCNoFAST64): Likewise.
2137         [C99-based-standards] (SCNuFAST64): Likewise.
2138         [C99-based-standards] (SCNxFAST64): Likewise.
2139         [C99-based-standards] (PRIdMAX): Likewise.
2140         [C99-based-standards] (PRIiMAX): Likewise.
2141         [C99-based-standards] (PRIoMAX): Likewise.
2142         [C99-based-standards] (PRIuMAX): Likewise.
2143         [C99-based-standards] (PRIxMAX): Likewise.
2144         [C99-based-standards] (PRIXMAX): Likewise.
2145         [C99-based-standards] (SCNdMAX): Likewise.
2146         [C99-based-standards] (SCNiMAX): Likewise.
2147         [C99-based-standards] (SCNoMAX): Likewise.
2148         [C99-based-standards] (SCNuMAX): Likewise.
2149         [C99-based-standards] (SCNxMAX): Likewise.
2150         [C99-based-standards] (PRIdPTR): Likewise.
2151         [C99-based-standards] (PRIiPTR): Likewise.
2152         [C99-based-standards] (PRIoPTR): Likewise.
2153         [C99-based-standards] (PRIuPTR): Likewise.
2154         [C99-based-standards] (PRIxPTR): Likewise.
2155         [C99-based-standards] (PRIXPTR): Likewise.
2156         [C99-based-standards] (SCNdPTR): Likewise.
2157         [C99-based-standards] (SCNiPTR): Likewise.
2158         [C99-based-standards] (SCNoPTR): Likewise.
2159         [C99-based-standards] (SCNuPTR): Likewise.
2160         [C99-based-standards] (SCNxPTR): Likewise.
2161         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
2162         allow.
2163         * conform/data/stdint.h-data: Update comments to clarify
2164         requirements.
2165         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
2166         type.
2167         [C99-based standards] (INT8_MAX): Likewise.
2168         [C99-based standards] (INT16_MIN): Likewise.
2169         [C99-based standards] (INT16_MAX): Likewise.
2170         [C99-based standards] (INT32_MIN): Likewise.
2171         [C99-based standards] (INT32_MAX): Likewise.
2172         [C99-based standards] (INT64_MIN): Likewise.
2173         [C99-based standards] (INT64_MAX): Likewise.
2174         [C99-based standards] (UINT8_MAX): Likewise.
2175         [C99-based standards] (UINT16_MAX): Likewise.
2176         [C99-based standards] (UINT32_MAX): Likewise.
2177         [C99-based standards] (UINT64_MAX): Likewise.
2178         [C99-based standards] (INT_LEAST8_MIN): Likewise.
2179         [C99-based standards] (INT_LEAST8_MAX): Likewise.
2180         [C99-based standards] (INT_LEAST16_MIN): Likewise.
2181         [C99-based standards] (INT_LEAST16_MAX): Likewise.
2182         [C99-based standards] (INT_LEAST32_MIN): Likewise.
2183         [C99-based standards] (INT_LEAST32_MAX): Likewise.
2184         [C99-based standards] (INT_LEAST64_MIN): Likewise.
2185         [C99-based standards] (INT_LEAST64_MAX): Likewise.
2186         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
2187         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
2188         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
2189         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
2190         [C99-based standards] (INT_FAST8_MIN): Likewise.
2191         [C99-based standards] (INT_FAST8_MAX): Likewise.
2192         [C99-based standards] (INT_FAST16_MIN): Likewise.
2193         [C99-based standards] (INT_FAST16_MAX): Likewise.
2194         [C99-based standards] (INT_FAST32_MIN): Likewise.
2195         [C99-based standards] (INT_FAST32_MAX): Likewise.
2196         [C99-based standards] (INT_FAST64_MIN): Likewise.
2197         [C99-based standards] (INT_FAST64_MAX): Likewise.
2198         [C99-based standards] (UINT_FAST8_MAX): Likewise.
2199         [C99-based standards] (UINT_FAST16_MAX): Likewise.
2200         [C99-based standards] (UINT_FAST32_MAX): Likewise.
2201         [C99-based standards] (UINT_FAST64_MAX): Likewise.
2202         [C99-based standards] (INTPTR_MIN): Likewise.
2203         [C99-based standards] (INTPTR_MAX): Likewise.
2204         [C99-based standards] (UINTPTR_MAX): Likewise.
2205         [C99-based standards] (INTMAX_MIN): Likewise.
2206         [C99-based standards] (INTMAX_MAX): Likewise.
2207         [C99-based standards] (UINTMAX_MAX): Likewise.
2208         [C99-based standards] (PTRDIFF_MIN): Likewise.
2209         [C99-based standards] (PTRDIFF_MAX): Likewise.
2210         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
2211         [C99-based standards] (SIZE_MAX): Likewise.
2212         [C99-based standards] (WCHAR_MAX): Likewise.
2213         [C99-based standards] (WINT_MAX): Likewise.
2214         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
2215         constraint on value.
2216         [C99-based standards] (WCHAR_MIN): Likewise.
2217         [C99-based standards] (WINT_MIN): Likewise.
2218         [C99-based standards] (*_t): Allow.
2219         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
2220         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
2221         Include math.h-data and complex.h-data.  Remove all expectations
2222         of math.h and complex.h contents.
2223         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
2224         at end of line.
2225         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
2226         (struct tm): Expect tag.
2227         [C99-based-standards] (wcstof): Expect function.
2228         [C99-based-standards] (wcstold): Likewise.
2229         [C99-based-standards] (wcstoll): Likewise.
2230         [C99-based-standards] (wcstoull): Likewise.
2231         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
2232         macro-int-constant.  Specify type.
2233         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
2234         constraint on value.
2235         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
2236         Specify type.
2237         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
2238         Specify value.
2239         [ISO C standards]: Do not allow headers.
2240         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
2241         wcs[abcdefghijklmnopqrstuvwxyz]*.
2242         [ISO C standards] (*_t): Do not allow.
2243         * conform/data/wctype.h-data [C99-based standards] (iswblank):
2244         Expect function.
2245         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
2246         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
2247         Specify type.
2248         [ISO C standards]: Do not allow headers.
2249         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
2250         is[abcdefghijklmnopqrstuvwxyz]*.
2251         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
2252         to[abcdefghijklmnopqrstuvwxyz]*.
2253         [ISO C standards] (*_t): Do not allow.
2254         * conform/data/stdalign.h-data: New file.
2255         * conform/data/stdbool.h-data: Likewise.
2256         * conform/data/stdnoreturn.h-data: Likewise.
2258 2012-11-07  Roland McGrath  <roland@hack.frob.com>
2260         [BZ #14815]
2261         * manual/filesys.texi (Directory Entries): Typo fix.
2262         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
2264 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
2266         * elf/elf.h (EM_AARCH64): New macro.
2267         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
2268         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
2269         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
2270         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
2271         (R_AARCH64_TLSDESC): Likewise.
2272         (NT_ARM_TLS): Likewise.
2273         (NT_ARM_HW_BREAK): Likewise.
2274         (NT_ARM_HW_WATCH): Likewise.
2276 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
2278         [BZ #14811]
2279         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
2280         (__ieee754_powl): Saturate nonzero exponents with absolute value
2281         below 0x1p-79 to +/- 0x1p-79.
2282         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
2283         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
2284         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
2285         nonzero exponents with absolute value below 0x1p-32 to +/-
2286         0x1p-32.
2287         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
2288         (__ieee754_powl): Saturate nonzero exponents with absolute value
2289         below 0x1p-79 to +/- 0x1p-79.
2290         * math/libm-test.inc (pow_test): Add more tests.
2292 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2294         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
2295         _dl_s390_cap_flags with kernel. Increase string length.
2296         (_dl_s390_platforms): Add z196 and zEC12.
2298 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
2300         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
2301         Change XOPEN21K to XOPEN2K.
2303 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
2305         * string/memmove.c: Use memcpy when possible.
2307 2012-11-06  Andreas Jaeger  <aj@suse.de>
2309         * po/eo.po: Update from translation team.
2311 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
2313         [BZ #14793]
2314         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
2315         exponent and small x and y exponents, scale x or y up.  Increase
2316         by 2 the exponent used in scaling up.
2317         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2318         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2319         * math/libm-test.inc (fma_test): Add more tests.
2320         (fma_test_towardzero): Likewise.
2321         (fma_test_downward): Likewise.
2322         (fma_test_upward): Likewise.
2324 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
2326         [BZ #14805]
2327         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
2328         fenv_t *.
2330         [BZ #14801]
2331         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
2332         namespace for names of struct fields.
2333         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
2334         fenv_t fields.
2335         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
2336         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
2338 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2340         [BZ #3665]
2341         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
2343 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
2345         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
2346         PTR_DEMANGLE.
2348         [BZ #5246]
2349         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
2350         PTR_DEMANGLE.
2352 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
2354         [BZ #14797]
2355         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
2356         definitely overflow as x * y not x * y + z.
2357         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2358         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2359         * math/libm-test.inc (fma_test): Add more tests.
2360         (fma_test_towardzero): Likewise.
2361         (fma_test_downward): Likewise.
2362         (fma_test_upward): Likewise.
2364 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
2366         [BZ #157]
2368         * include/stub-tag.h: Remove file.
2369         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
2370         '#include' of it.
2371         * manual/maint.texi (Porting): Don't reference it.
2372         * Makerules ($(objpfx)stubs): Likewise.
2373         * dirent/closedir.c: Don't include <stub-tag.h>.
2374         * dirent/dirfd.c: Likewise.
2375         * dirent/fdopendir.c: Likewise.
2376         * dirent/getdents.c: Likewise.
2377         * dirent/getdents64.c: Likewise.
2378         * dirent/opendir.c: Likewise.
2379         * dirent/readdir.c: Likewise.
2380         * dirent/readdir64.c: Likewise.
2381         * dirent/readdir64_r.c: Likewise.
2382         * dirent/readdir_r.c: Likewise.
2383         * dirent/rewinddir.c: Likewise.
2384         * dirent/seekdir.c: Likewise.
2385         * dirent/telldir.c: Likewise.
2386         * gmon/profil.c: Likewise.
2387         * grp/setgroups.c: Likewise.
2388         * inet/if_index.c: Likewise.
2389         * io/access.c: Likewise.
2390         * io/chdir.c: Likewise.
2391         * io/chmod.c: Likewise.
2392         * io/chown.c: Likewise.
2393         * io/close.c: Likewise.
2394         * io/dup.c: Likewise.
2395         * io/dup2.c: Likewise.
2396         * io/dup3.c: Likewise.
2397         * io/euidaccess.c: Likewise.
2398         * io/faccessat.c: Likewise.
2399         * io/fchdir.c: Likewise.
2400         * io/fchmod.c: Likewise.
2401         * io/fchmodat.c: Likewise.
2402         * io/fchown.c: Likewise.
2403         * io/fchownat.c: Likewise.
2404         * io/fcntl.c: Likewise.
2405         * io/flock.c: Likewise.
2406         * io/fstatfs.c: Likewise.
2407         * io/fstatfs64.c: Likewise.
2408         * io/fstatvfs.c: Likewise.
2409         * io/fstatvfs64.c: Likewise.
2410         * io/futimens.c: Likewise.
2411         * io/fxstat.c: Likewise.
2412         * io/fxstat64.c: Likewise.
2413         * io/fxstatat.c: Likewise.
2414         * io/fxstatat64.c: Likewise.
2415         * io/getcwd.c: Likewise.
2416         * io/isatty.c: Likewise.
2417         * io/lchmod.c: Likewise.
2418         * io/lchown.c: Likewise.
2419         * io/link.c: Likewise.
2420         * io/linkat.c: Likewise.
2421         * io/lseek.c: Likewise.
2422         * io/lseek64.c: Likewise.
2423         * io/lxstat64.c: Likewise.
2424         * io/mkdir.c: Likewise.
2425         * io/mkdirat.c: Likewise.
2426         * io/mkfifo.c: Likewise.
2427         * io/mkfifoat.c: Likewise.
2428         * io/open.c: Likewise.
2429         * io/open64.c: Likewise.
2430         * io/openat.c: Likewise.
2431         * io/openat64.c: Likewise.
2432         * io/pipe.c: Likewise.
2433         * io/pipe2.c: Likewise.
2434         * io/poll.c: Likewise.
2435         * io/posix_fadvise.c: Likewise.
2436         * io/posix_fadvise64.c: Likewise.
2437         * io/posix_fallocate.c: Likewise.
2438         * io/posix_fallocate64.c: Likewise.
2439         * io/read.c: Likewise.
2440         * io/readlink.c: Likewise.
2441         * io/readlinkat.c: Likewise.
2442         * io/rmdir.c: Likewise.
2443         * io/sendfile.c: Likewise.
2444         * io/sendfile64.c: Likewise.
2445         * io/statfs.c: Likewise.
2446         * io/statfs64.c: Likewise.
2447         * io/statvfs.c: Likewise.
2448         * io/statvfs64.c: Likewise.
2449         * io/symlink.c: Likewise.
2450         * io/symlinkat.c: Likewise.
2451         * io/ttyname.c: Likewise.
2452         * io/ttyname_r.c: Likewise.
2453         * io/umask.c: Likewise.
2454         * io/unlink.c: Likewise.
2455         * io/unlinkat.c: Likewise.
2456         * io/utime.c: Likewise.
2457         * io/utimensat.c: Likewise.
2458         * io/write.c: Likewise.
2459         * io/xmknod.c: Likewise.
2460         * io/xmknodat.c: Likewise.
2461         * io/xstat.c: Likewise.
2462         * io/xstat64.c: Likewise.
2463         * login/getpt.c: Likewise.
2464         * login/grantpt.c: Likewise.
2465         * login/unlockpt.c: Likewise.
2466         * math/e_acoshl.c: Likewise.
2467         * math/e_acosl.c: Likewise.
2468         * math/e_asinl.c: Likewise.
2469         * math/e_atan2l.c: Likewise.
2470         * math/e_atanhl.c: Likewise.
2471         * math/e_coshl.c: Likewise.
2472         * math/e_expl.c: Likewise.
2473         * math/e_fmodl.c: Likewise.
2474         * math/e_gammal_r.c: Likewise.
2475         * math/e_hypotl.c: Likewise.
2476         * math/e_j0l.c: Likewise.
2477         * math/e_j1l.c: Likewise.
2478         * math/e_jnl.c: Likewise.
2479         * math/e_lgammal_r.c: Likewise.
2480         * math/e_log10l.c: Likewise.
2481         * math/e_log2l.c: Likewise.
2482         * math/e_logl.c: Likewise.
2483         * math/e_powl.c: Likewise.
2484         * math/e_rem_pio2l.c: Likewise.
2485         * math/e_sinhl.c: Likewise.
2486         * math/e_sqrtl.c: Likewise.
2487         * math/fclrexcpt.c: Likewise.
2488         * math/fedisblxcpt.c: Likewise.
2489         * math/feenablxcpt.c: Likewise.
2490         * math/fegetenv.c: Likewise.
2491         * math/fegetexcept.c: Likewise.
2492         * math/fegetround.c: Likewise.
2493         * math/feholdexcpt.c: Likewise.
2494         * math/fesetenv.c: Likewise.
2495         * math/fesetround.c: Likewise.
2496         * math/feupdateenv.c: Likewise.
2497         * math/fgetexcptflg.c: Likewise.
2498         * math/fraiseexcpt.c: Likewise.
2499         * math/fsetexcptflg.c: Likewise.
2500         * math/ftestexcept.c: Likewise.
2501         * math/k_cosl.c: Likewise.
2502         * math/k_rem_pio2l.c: Likewise.
2503         * math/k_sinl.c: Likewise.
2504         * math/k_tanl.c: Likewise.
2505         * math/s_asinhl.c: Likewise.
2506         * math/s_atanl.c: Likewise.
2507         * math/s_cbrtl.c: Likewise.
2508         * math/s_erfl.c: Likewise.
2509         * math/s_expm1l.c: Likewise.
2510         * math/s_log1pl.c: Likewise.
2511         * math/s_tanhl.c: Likewise.
2512         * misc/acct.c: Likewise.
2513         * misc/brk.c: Likewise.
2514         * misc/chflags.c: Likewise.
2515         * misc/chroot.c: Likewise.
2516         * misc/fchflags.c: Likewise.
2517         * misc/fgetxattr.c: Likewise.
2518         * misc/flistxattr.c: Likewise.
2519         * misc/fremovexattr.c: Likewise.
2520         * misc/fsetxattr.c: Likewise.
2521         * misc/fsync.c: Likewise.
2522         * misc/ftruncate.c: Likewise.
2523         * misc/futimes.c: Likewise.
2524         * misc/futimesat.c: Likewise.
2525         * misc/getdomain.c: Likewise.
2526         * misc/getdtsz.c: Likewise.
2527         * misc/gethostid.c: Likewise.
2528         * misc/gethostname.c: Likewise.
2529         * misc/getloadavg.c: Likewise.
2530         * misc/getpagesize.c: Likewise.
2531         * misc/getsysstats.c: Likewise.
2532         * misc/getxattr.c: Likewise.
2533         * misc/gtty.c: Likewise.
2534         * misc/ioctl.c: Likewise.
2535         * misc/lgetxattr.c: Likewise.
2536         * misc/listxattr.c: Likewise.
2537         * misc/llistxattr.c: Likewise.
2538         * misc/lremovexattr.c: Likewise.
2539         * misc/lsetxattr.c: Likewise.
2540         * misc/lutimes.c: Likewise.
2541         * misc/madvise.c: Likewise.
2542         * misc/mincore.c: Likewise.
2543         * misc/mlock.c: Likewise.
2544         * misc/mlockall.c: Likewise.
2545         * misc/mmap.c: Likewise.
2546         * misc/mprotect.c: Likewise.
2547         * misc/msync.c: Likewise.
2548         * misc/munlock.c: Likewise.
2549         * misc/munlockall.c: Likewise.
2550         * misc/munmap.c: Likewise.
2551         * misc/preadv.c: Likewise.
2552         * misc/preadv64.c: Likewise.
2553         * misc/ptrace.c: Likewise.
2554         * misc/pwritev.c: Likewise.
2555         * misc/pwritev64.c: Likewise.
2556         * misc/readv.c: Likewise.
2557         * misc/reboot.c: Likewise.
2558         * misc/remap_file_pages.c: Likewise.
2559         * misc/removexattr.c: Likewise.
2560         * misc/revoke.c: Likewise.
2561         * misc/select.c: Likewise.
2562         * misc/setdomain.c: Likewise.
2563         * misc/setegid.c: Likewise.
2564         * misc/seteuid.c: Likewise.
2565         * misc/sethostid.c: Likewise.
2566         * misc/sethostname.c: Likewise.
2567         * misc/setregid.c: Likewise.
2568         * misc/setreuid.c: Likewise.
2569         * misc/setxattr.c: Likewise.
2570         * misc/sstk.c: Likewise.
2571         * misc/stty.c: Likewise.
2572         * misc/swapoff.c: Likewise.
2573         * misc/swapon.c: Likewise.
2574         * misc/sync.c: Likewise.
2575         * misc/syncfs.c: Likewise.
2576         * misc/syscall.c: Likewise.
2577         * misc/truncate.c: Likewise.
2578         * misc/ualarm.c: Likewise.
2579         * misc/usleep.c: Likewise.
2580         * misc/ustat.c: Likewise.
2581         * misc/utimes.c: Likewise.
2582         * misc/vhangup.c: Likewise.
2583         * misc/writev.c: Likewise.
2584         * posix/_exit.c: Likewise.
2585         * posix/alarm.c: Likewise.
2586         * posix/execve.c: Likewise.
2587         * posix/fexecve.c: Likewise.
2588         * posix/fork.c: Likewise.
2589         * posix/fpathconf.c: Likewise.
2590         * posix/getaddrinfo.c: Likewise.
2591         * posix/getegid.c: Likewise.
2592         * posix/geteuid.c: Likewise.
2593         * posix/getgid.c: Likewise.
2594         * posix/getgroups.c: Likewise.
2595         * posix/getlogin.c: Likewise.
2596         * posix/getlogin_r.c: Likewise.
2597         * posix/getpgid.c: Likewise.
2598         * posix/getpid.c: Likewise.
2599         * posix/getppid.c: Likewise.
2600         * posix/getresgid.c: Likewise.
2601         * posix/getresuid.c: Likewise.
2602         * posix/getsid.c: Likewise.
2603         * posix/getuid.c: Likewise.
2604         * posix/glob64.c: Likewise.
2605         * posix/nanosleep.c: Likewise.
2606         * posix/pathconf.c: Likewise.
2607         * posix/pause.c: Likewise.
2608         * posix/posix_madvise.c: Likewise.
2609         * posix/pread.c: Likewise.
2610         * posix/pread64.c: Likewise.
2611         * posix/pwrite.c: Likewise.
2612         * posix/pwrite64.c: Likewise.
2613         * posix/sched_getaffinity.c: Likewise.
2614         * posix/sched_getp.c: Likewise.
2615         * posix/sched_gets.c: Likewise.
2616         * posix/sched_primax.c: Likewise.
2617         * posix/sched_primin.c: Likewise.
2618         * posix/sched_rr_gi.c: Likewise.
2619         * posix/sched_setaffinity.c: Likewise.
2620         * posix/sched_setp.c: Likewise.
2621         * posix/sched_sets.c: Likewise.
2622         * posix/sched_yield.c: Likewise.
2623         * posix/setgid.c: Likewise.
2624         * posix/setlogin.c: Likewise.
2625         * posix/setpgid.c: Likewise.
2626         * posix/setresgid.c: Likewise.
2627         * posix/setresuid.c: Likewise.
2628         * posix/setsid.c: Likewise.
2629         * posix/setuid.c: Likewise.
2630         * posix/sleep.c: Likewise.
2631         * posix/spawni.c: Likewise.
2632         * posix/sysconf.c: Likewise.
2633         * posix/times.c: Likewise.
2634         * posix/wait.c: Likewise.
2635         * posix/wait3.c: Likewise.
2636         * posix/wait4.c: Likewise.
2637         * posix/waitpid.c: Likewise.
2638         * resolv/gai_sigqueue.c: Likewise.
2639         * resource/getpriority.c: Likewise.
2640         * resource/getrlimit.c: Likewise.
2641         * resource/getrusage.c: Likewise.
2642         * resource/nice.c: Likewise.
2643         * resource/setpriority.c: Likewise.
2644         * resource/setrlimit.c: Likewise.
2645         * resource/ulimit.c: Likewise.
2646         * rt/aio_cancel.c: Likewise.
2647         * rt/aio_fsync.c: Likewise.
2648         * rt/aio_read.c: Likewise.
2649         * rt/aio_sigqueue.c: Likewise.
2650         * rt/aio_suspend.c: Likewise.
2651         * rt/aio_write.c: Likewise.
2652         * rt/clock_getres.c: Likewise.
2653         * rt/clock_gettime.c: Likewise.
2654         * rt/clock_nanosleep.c: Likewise.
2655         * rt/clock_settime.c: Likewise.
2656         * rt/lio_listio.c: Likewise.
2657         * rt/mq_close.c: Likewise.
2658         * rt/mq_getattr.c: Likewise.
2659         * rt/mq_notify.c: Likewise.
2660         * rt/mq_open.c: Likewise.
2661         * rt/mq_receive.c: Likewise.
2662         * rt/mq_send.c: Likewise.
2663         * rt/mq_setattr.c: Likewise.
2664         * rt/mq_timedreceive.c: Likewise.
2665         * rt/mq_timedsend.c: Likewise.
2666         * rt/mq_unlink.c: Likewise.
2667         * rt/shm_open.c: Likewise.
2668         * rt/shm_unlink.c: Likewise.
2669         * rt/timer_create.c: Likewise.
2670         * rt/timer_delete.c: Likewise.
2671         * rt/timer_getoverr.c: Likewise.
2672         * rt/timer_gettime.c: Likewise.
2673         * rt/timer_settime.c: Likewise.
2674         * setjmp/__longjmp.c: Likewise.
2675         * setjmp/setjmp.c: Likewise.
2676         * signal/kill.c: Likewise.
2677         * signal/killpg.c: Likewise.
2678         * signal/raise.c: Likewise.
2679         * signal/sigaction.c: Likewise.
2680         * signal/sigaltstack.c: Likewise.
2681         * signal/sigblock.c: Likewise.
2682         * signal/sigignore.c: Likewise.
2683         * signal/sigintr.c: Likewise.
2684         * signal/signal.c: Likewise.
2685         * signal/sigpause.c: Likewise.
2686         * signal/sigpending.c: Likewise.
2687         * signal/sigqueue.c: Likewise.
2688         * signal/sigreturn.c: Likewise.
2689         * signal/sigset.c: Likewise.
2690         * signal/sigsetmask.c: Likewise.
2691         * signal/sigstack.c: Likewise.
2692         * signal/sigsuspend.c: Likewise.
2693         * signal/sigtimedwait.c: Likewise.
2694         * signal/sigvec.c: Likewise.
2695         * signal/sigwait.c: Likewise.
2696         * signal/sigwaitinfo.c: Likewise.
2697         * signal/sysv_signal.c: Likewise.
2698         * socket/accept.c: Likewise.
2699         * socket/accept4.c: Likewise.
2700         * socket/bind.c: Likewise.
2701         * socket/connect.c: Likewise.
2702         * socket/getpeername.c: Likewise.
2703         * socket/getsockname.c: Likewise.
2704         * socket/getsockopt.c: Likewise.
2705         * socket/isfdtype.c: Likewise.
2706         * socket/listen.c: Likewise.
2707         * socket/recv.c: Likewise.
2708         * socket/recvfrom.c: Likewise.
2709         * socket/recvmsg.c: Likewise.
2710         * socket/send.c: Likewise.
2711         * socket/sendmsg.c: Likewise.
2712         * socket/sendto.c: Likewise.
2713         * socket/setsockopt.c: Likewise.
2714         * socket/shutdown.c: Likewise.
2715         * socket/sockatmark.c: Likewise.
2716         * socket/socket.c: Likewise.
2717         * socket/socketpair.c: Likewise.
2718         * stdio-common/ctermid.c: Likewise.
2719         * stdio-common/cuserid.c: Likewise.
2720         * stdio-common/remove.c: Likewise.
2721         * stdio-common/rename.c: Likewise.
2722         * stdio-common/renameat.c: Likewise.
2723         * stdio-common/tempname.c: Likewise.
2724         * stdlib/getcontext.c: Likewise.
2725         * stdlib/makecontext.c: Likewise.
2726         * stdlib/setcontext.c: Likewise.
2727         * stdlib/swapcontext.c: Likewise.
2728         * stdlib/system.c: Likewise.
2729         * streams/fattach.c: Likewise.
2730         * streams/fdetach.c: Likewise.
2731         * streams/getmsg.c: Likewise.
2732         * streams/getpmsg.c: Likewise.
2733         * streams/putmsg.c: Likewise.
2734         * streams/putpmsg.c: Likewise.
2735         * sysdeps/unix/bsd/getpt.c: Likewise.
2736         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
2737         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
2738         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
2740         Likewise.
2741         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
2742         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
2743         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2744         * sysvipc/msgctl.c: Likewise.
2745         * sysvipc/msgget.c: Likewise.
2746         * sysvipc/msgrcv.c: Likewise.
2747         * sysvipc/msgsnd.c: Likewise.
2748         * sysvipc/semctl.c: Likewise.
2749         * sysvipc/semget.c: Likewise.
2750         * sysvipc/semop.c: Likewise.
2751         * sysvipc/semtimedop.c: Likewise.
2752         * sysvipc/shmat.c: Likewise.
2753         * sysvipc/shmctl.c: Likewise.
2754         * sysvipc/shmdt.c: Likewise.
2755         * sysvipc/shmget.c: Likewise.
2756         * termios/tcdrain.c: Likewise.
2757         * termios/tcflow.c: Likewise.
2758         * termios/tcflush.c: Likewise.
2759         * termios/tcgetattr.c: Likewise.
2760         * termios/tcgetpgrp.c: Likewise.
2761         * termios/tcsendbrk.c: Likewise.
2762         * termios/tcsetattr.c: Likewise.
2763         * termios/tcsetpgrp.c: Likewise.
2764         * time/adjtime.c: Likewise.
2765         * time/clock.c: Likewise.
2766         * time/getitimer.c: Likewise.
2767         * time/gettimeofday.c: Likewise.
2768         * time/setitimer.c: Likewise.
2769         * time/settimeofday.c: Likewise.
2770         * time/stime.c: Likewise.
2771         * time/time.c: Likewise.
2773 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
2775         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
2776         /usr/old/bin.
2778         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
2779         instead of spaces.
2780         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
2782 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
2784         [BZ #14796]
2785         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
2786         FE_TONEAREST before applying Dekker multiplication and Knuth
2787         addition.  Clear inexact exceptions and check for exact zero
2788         results afterwards.
2789         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2790         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2791         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2792         * math/libm-test.inc (fma_test): Add more tests.
2793         (fma_test_towardzero): Likewise.
2794         (fma_test_downward): Likewise.
2795         (fma_test_upward): Likewise.
2796         * sysdeps/generic/math_private.h (default_libc_fesetround): New
2797         function.
2798         (libc_fesetround): New macro.
2799         (libc_fesetroundf): Likewise.
2800         (libc_fesetroundl): Likewise.
2801         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
2802         function.
2803         (libc_fesetround_387): Likewise.
2804         (libc_fesetroundf): New macro.
2805         (libc_fesetround): Likewise.
2806         (libc_fesetroundl): Likewise.
2807         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
2808         function.
2809         (libc_fesetroundf): New macro.
2810         (libc_fesetround): Likewise.
2811         (libc_fesetroundl): Likewise.
2812         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
2813         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
2814         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
2815         libm_hidden_ver.
2816         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
2817         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
2818         libm_hidden_def.
2819         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
2820         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
2821         libm_hidden_ver.
2822         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
2823         libm_hidden_def.
2825         [BZ #3439]
2826         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
2827         integer constant usable in #if and use that to give value to enum
2828         constant.
2829         (FE_DIVBYZERO): Likewise.
2830         (FE_UNDERFLOW): Likewise.
2831         (FE_OVERFLOW): Likewise.
2832         (FE_INVALID): Likewise.
2833         (FE_INVALID_SNAN): Likewise.
2834         (FE_INVALID_ISI): Likewise.
2835         (FE_INVALID_IDI): Likewise.
2836         (FE_INVALID_ZDZ): Likewise.
2837         (FE_INVALID_IMZ): Likewise.
2838         (FE_INVALID_COMPARE): Likewise.
2839         (FE_INVALID_SOFTWARE): Likewise.
2840         (FE_INVALID_SQRT): Likewise.
2841         (FE_INVALID_INTEGER_CONVERSION): Likewise.
2842         (FE_TONEAREST): Likewise.
2843         (FE_TOWARDZERO): Likewise.
2844         (FE_UPWARD): Likewise.
2845         (FE_DOWNWARD): Likewise.
2846         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
2847         (FE_DIVBYZERO): Likewise.
2848         (FE_OVERFLOW): Likewise.
2849         (FE_UNDERFLOW): Likewise.
2850         (FE_INEXACT): Likewise.
2851         (FE_TONEAREST): Likewise.
2852         (FE_DOWNWARD): Likewise.
2853         (FE_UPWARD): Likewise.
2854         (FE_TOWARDZERO): Likewise.
2855         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
2856         (FE_UNDERFLOW): Likewise.
2857         (FE_OVERFLOW): Likewise.
2858         (FE_DIVBYZERO): Likewise.
2859         (FE_INVALID): Likewise.
2860         (FE_TONEAREST): Likewise.
2861         (FE_TOWARDZERO): Likewise.
2862         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
2863         (FE_OVERFLOW): Likewise.
2864         (FE_UNDERFLOW): Likewise.
2865         (FE_DIVBYZERO): Likewise.
2866         (FE_INEXACT): Likewise.
2867         (FE_TONEAREST): Likewise.
2868         (FE_TOWARDZERO): Likewise.
2869         (FE_UPWARD): Likewise.
2870         (FE_DOWNWARD): Likewise.
2871         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
2872         (FE_DIVBYZERO): Likewise.
2873         (FE_OVERFLOW): Likewise.
2874         (FE_UNDERFLOW): Likewise.
2875         (FE_INEXACT): Likewise.
2876         (FE_TONEAREST): Likewise.
2877         (FE_DOWNWARD): Likewise.
2878         (FE_UPWARD): Likewise.
2879         (FE_TOWARDZERO): Likewise.
2881 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
2883         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
2885 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
2887         * scripts/cross-test-ssh.sh (command): Use newlines to separate
2888         commands.  Quote $PWD.
2889         (blacklist_exports): Don't use remove_newlines.  Replace "declare
2890         -x" by "export".
2891         (remove_newlines): Remove.
2893 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
2895         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
2896         * stdlib/stdlib.h (atof): Moved to ...
2897         * include/bits/stdlib-float.h: Here.  New file.
2898         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
2899         * stdlib/bits/stdlib-float.h: New file.
2900         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
2901         -mno-sse -mno-mmx.
2902         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
2903         <xmmintrin.h>.
2905 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
2907         * conform/conformtest.pl (@headers): Add fenv.h.
2908         * conform/data/fenv.h-data: New file.
2909         * include/fenv.h [_ISOMAC]: Disable all contents of file except
2910         include of <math/fenv.h>.
2912         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
2913         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
2914         && !UNIX98].  Enables tests for XOPEN2K8.
2915         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
2916         POSIX2008]: Likewise.
2918         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
2919         (struct rusage): Do not expect type or its members.
2921         [BZ #3439]
2922         * math/math.h (FP_NAN): Define macro to integer constant usable in
2923         #if and use that to give value to enum constant.
2924         (FP_INFINITE): Likewise.
2925         (FP_ZERO): Likewise.
2926         (FP_SUBNORMAL): Likewise.
2927         (FP_NORMAL): Likewise.
2929 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
2931         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
2932         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
2933         arguments.
2935 2012-11-02  Roland McGrath  <roland@hack.frob.com>
2937         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
2938         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
2939         autoconf-time if not.
2940         * configure.in: Remove AC_PREREQ.
2942 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2944         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
2945         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
2946         of the internal implementation.
2948 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
2950         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
2951         except include of <misc/sys/syslog.h>.
2953 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
2955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
2956         function returns with a NULL context exit with zero.
2958 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2960         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
2962 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
2964         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
2965         (run_program_cmd): This.
2966         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
2967         (tst_langinfo): New variable.  Use it.
2969 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
2971         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
2972         floating point opcodes.
2974 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
2976         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
2977         variable.
2979         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
2981         * sysdeps/mach/hurd/powerpc: Remove directory.
2982         * sysdeps/mach/powerpc: Likewise.
2984 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
2986         * scripts/check-local-headers.sh: Ignore c++ headers.
2988 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
2990         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
2991         __libc_cleanup_region_start argument.
2993 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
2995         [BZ #14784]
2996         [BZ #14785]
2997         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
2998         x * y using scaling, not as x * y + z.
2999         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3000         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3001         * math/libm-test.inc (fma_test): Add more tests.
3002         (fma_test_towardzero): Likewise.
3003         (fma_test_downward): Likewise.
3004         (fma_test_upward): Likewise.
3006 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
3008         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
3010 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
3012         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
3013         New variable.
3015 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
3017         * rt/tst-shm.c (worker): Correct checking for mmap failure.
3019 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
3021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3022         Fix sort order.
3023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3024         Likewise.
3026 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3029         Fix the order of the list for glibc 2.17.
3030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3031         Likewise.
3033 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
3035         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3037 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
3039         [BZ #14610]
3040         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
3041         for low part of x being zero before using __atanl (y).
3042         * math/libm-test.inc (atan2_test): Add another test.
3044         * manual/install.texi (Configuring and compiling): Document
3045         general use of test-wrapper and test-wrapper-env.
3046         * INSTALL: Regenerated.
3048         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
3049         (__fma): Do not extract and scale down low bits on after-rounding
3050         systems when result rounded to normal precision would have normal
3051         exponent.
3052         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
3053         (__fmal): Do not extract and scale down low bits on after-rounding
3054         systems when result rounded to normal precision would have normal
3055         exponent.
3056         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
3057         (__fmal): Do not extract and scale down low bits on after-rounding
3058         systems when result rounded to normal precision would have normal
3059         exponent.
3060         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
3061         macro.
3062         (fma_test): Add more tests.
3063         (fma_test_towardzero): Likewise.
3064         (fma_test_downward): Likewise.
3065         (fma_test_upward): Likewise.
3067 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
3069         * sysdeps/i386/tininess.h: Renamed to ...
3070         * sysdeps/x86/tininess.h: This.
3071         * sysdeps/x86_64/tininess.h: Removed.
3073 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
3075         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
3076         input.  Use $(build-program-cmd).
3077         ($(objpfx)tst-array1-static.out): Likewise.
3078         ($(objpfx)tst-array2.out): Likewise.
3079         ($(objpfx)tst-array3.out): Likewise.
3080         ($(objpfx)tst-array4.out): Likewise.
3081         ($(objpfx)tst-array5.out): Likewise.
3082         ($(objpfx)tst-array5-static.out): Likewise.
3084 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
3086         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
3087         if defined.
3089         * nss/nsswitch.h (nss_interface_function): Provide new
3090         macro for use with NSS functions.
3091         * grp/initgroups.c: Use new macro.
3092         * nss/getXXbyYY.c: Likewise.
3093         * nss/getXXbyYY_r.c: Likewise.
3094         * nss/getXXent.c: Likewise.
3095         * nss/getXXent_r.c: Likewise.
3096         * sysdeps/posix/getaddrinfo.c: Likewise.
3098 2012-10-30  Andreas Jaeger  <aj@suse.de>
3100         * po/ru.po: Update Russion translation from translation project.
3102 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
3104         [BZ #14152]
3105         [BZ #14783]
3106         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
3107         result and shift together with sticky bit instead of replicating
3108         round-to-nearest rounding.
3109         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3110         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3111         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
3112         missing underflow exceptions.
3113         (fma_test_towardzero): Add more tests.
3114         (fma_test_downward): Likewise.
3115         (fma_test_upward): Likewise.
3117         [BZ #14047]
3118         * sysdeps/generic/tininess.h: New file.
3119         * sysdeps/i386/tininess.h: Likewise.
3120         * sysdeps/sh/tininess.h: Likewise.
3121         * sysdeps/x86_64/tininess.h: Likewise.
3122         * stdlib/tst-strtod-underflow.c: Likewise.
3123         * stdlib/tst-tininess.c: Likewise.
3124         * stdlib/strtod_l.c: Include <tininess.h>.
3125         (round_and_return): Do not set errno for exact underflow cases.
3126         Force an underflow exception when setting errno for underflow.
3127         Determine underflow based on rounding to normal precision if
3128         TININESS_AFTER_ROUNDING.
3129         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
3130         ERANGE for exact underflow cases.
3131         * stdlib/Makefile (tests): Add tst-tininess and
3132         tst-strtod-underflow.
3133         ($(objpfx)tst-tininess): Use $(link-libm).
3134         ($(objpfx)tst-strtod-underflow): Likewise.
3136 2012-10-30  Andreas Jaeger  <aj@suse.de>
3138         [BZ#14767]
3139         * elf/Makefile (tests): Remove conditional for have-initfini-array
3140         since this is now always required and the variable does not exist
3141         anymore.
3142         (tests-static): Likewise.
3143         (modules-names): Likewise.
3145         * po/eo.po: Add Esperanto translation from translation project.
3147         * elf/tst-array1.c (fini_array): Make writeable so that it can be
3148         merged with constructor/destructor.
3149         (init_array): Likewise.
3150         * elf/tst-array2dep.c (fini_array): Likewise.
3151         (init_array): Likewise.
3153 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
3155         * manual/message.texi: Delete @cartouche tags.
3157 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
3159         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
3160         EOPNOTSUPP.
3161         * sysdeps/mach/hurd/fsync.c: Likewise.
3163         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
3164         [_POSIX_REALTIME_SIGNALS]: Change condition to
3165         [_POSIX_REALTIME_SIGNALS > 0].
3167 2012-10-27  Andreas Jaeger  <aj@suse.de>
3169         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
3170         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
3171         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
3172         [__WORDSIZE != 64]: Likewise.
3174 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
3176         *  iconvdata/tst-table.sh: Remove ${SHELL}.
3177         *  iconvdata/tst-tables.sh: Likewise.
3179 2012-10-25  David S. Miller  <davem@davemloft.net>
3181         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3182         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
3183         of strtoull.
3185         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
3186         ifunc-impl-list.c
3187         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3188         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
3189         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
3190         file.
3192 2012-10-25  Roland McGrath  <roland@hack.frob.com>
3194         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3195         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
3196         __getdirentries.
3198 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
3199             Jim Blandy  <jimb@codesourcery.com>
3201         * scripts/cross-test-ssh.sh: New file.
3202         * manual/install.texi (Configuring and compiling): Document use of
3203         cross-test-ssh.sh.
3204         * INSTALL: Regenerated.
3206 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
3208         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
3209         EOPNOTSUPP.
3211 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
3213         * Makeconfig (run-program-prefix): Fix comment.
3215 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
3216             Jim Blandy  <jimb@codesourcery.com>
3218         * Makeconfig (test-wrapper): New variable,
3219         (test-wrapper-env): Likewise.
3220         [$(cross-compiling) = yes && $(test-wrapper) != ""]
3221         (run-built-tests): Define to yes.
3222         (run-program-prefix): Use $(test-wrapper).
3223         (built-program-cmd): Likewise.
3224         * Rules (make-test-out): Use $(test-wrapper-env) and
3225         $(host-built-program-cmd).
3226         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
3227         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
3228         tst-pathopt.sh.
3229         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
3230         $(test-wrapper-env) to tst-rtld-load-self.sh.
3231         ($(objpfx)order2.out): Use $(test-wrapper).
3232         ($(objpfx)tst-initorder.out): Likewise.
3233         ($(objpfx)tst-initorder2.out): Likewise.
3234         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
3235         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
3236         (test_wrapper_env): New variable.  Use it to run ld.so.
3237         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
3238         Use it to run ld.so.
3239         (test_wrapper_env): Likewise.
3240         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
3241         $(test-wrapper) to run-iconv-test.sh.
3242         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
3243         (ICONV): Use $test_wrapper.
3244         * posix/Makefile ($(objpfx)globtest.out): Pass
3245         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
3246         globtest.sh, not $(run-program-prefix).
3247         * posix/globtest.sh (run_via_rtld_prefix): New variable.
3248         (test_wrapper): Likewise.
3249         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
3250         set together with run_via_rtld_prefix.
3251         (run_program_prefix): Define in terms of test_wrapper and
3252         run_via_rtld_prefix.
3254 2012-10-24  Roland McGrath  <roland@hack.frob.com>
3256         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
3257         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
3258         Targets removed.
3260         [BZ #14743]
3261         * include/time.h: Remove librt_hidden_proto (clock_gettime).
3262         Declare __clock_getres, __clock_gettime, __clock_settime,
3263         __clock_nanosleep, and __clock_getcpuclockid.
3264         * rt/clock_gettime.c: Define __clock_gettime as an alias.
3265         Remove librt_hidden_def (clock_gettime).
3266         * sysdeps/unix/clock_gettime.c: Likewise.
3267         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
3268         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
3269         * rt/clock_getres.c: Define __clock_getres as an alias.
3270         * sysdeps/posix/clock_getres.c: Likewise.
3271         * rt/clock_settime.c: Define __clock_settime as an alias.
3272         * sysdeps/unix/clock_settime.c: Likewise.
3273         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
3274         * sysdeps/unix/clock_nanosleep.c: Likewise.
3275         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
3276         * rt/clock-compat.c: New file.
3277         * rt/Makefile (librt-routines): Add clock-compat and move
3278         $(clock-routines) to ...
3279         (routines): ... here, new variable.
3280         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
3281         Don't add get_clockfreq here.
3282         * rt/Versions (libc: GLIBC_2.17): New version set.
3283         Add clock_* symbols here.
3284         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
3285         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
3286         (GLIBC_2.17): Add clock_* symbols.
3287         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
3288         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
3289         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
3290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3291         Likewise.
3292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3293         Likewise.
3294         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
3295         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
3296         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
3297         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
3298         * NEWS: Mention the move.
3300         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
3301         Use __open, __read, __close rather than their public counterparts.
3302         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3303         (__get_clockfreq_via_cpuinfo): Likewise.
3304         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
3305         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
3307         * config.h.in (HAVE_IFUNC): New #undef.
3308         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
3309         was successful.
3310         * configure: Regenerated.
3312 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
3314         * configure.in: Move READELF check to start of file.
3315         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
3316         libc_cv_asm_gnu_indirect_function in the process.
3317         * configure: Regenerated.
3319 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
3321         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
3322         send the output to /dev/null.
3323         (libc_cv_cc_with_libunwind): Likewise.
3324         (libc_cv_as_noexecstack): Likewise.
3325         * configure: Regenerate.
3327 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
3329         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
3331         * posix/globtest.sh (TMPDIR): Do not set.
3332         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
3333         (testout): Likewise.
3335 2012-10-24  Andreas Jaeger  <aj@suse.de>
3337         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
3338         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
3339         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
3340         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
3341         posix_fadvise64, posix_fallocate64.
3343         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
3344         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
3345         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
3346         Likewise.
3347         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
3348         Likewise.
3349         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
3351         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
3352         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
3353         <bits/fcntl-linux.h>.
3354         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
3356         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
3357         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
3358         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
3359         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
3360         [__WORDSIZE != 64]: Likewise.
3362 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
3364         * Makeconfig (run-built-tests): New variable.
3365         * Rules [$(cross-compiling) = yes]: Change condition to
3366         [$(run-built-tests) = no].
3367         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
3368         to [$(run-built-tests) = yes].
3369         * elf/Makefile [$(cross-compiling) = no]: Likewise
3370         * grp/Makefile [$(cross-compiling) = no]: Likewise.
3371         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
3372         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
3373         * intl/Makefile [$(cross-compiling) = no]: Likewise.
3374         * io/Makefile [$(cross-compiling) = no]: Likewise.
3375         * libio/Makefile [$(cross-compiling) = no]: Likewise.
3376         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
3377         * misc/Makefile [$(cross-compiling) = no]: Likewise.
3378         * posix/Makefile [$(cross-compiling) = no]: Likewise.
3379         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
3380         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
3381         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
3382         * string/Makefile [$(cross-compiling) = no]: Likewise.
3384         * posix/Makefile ($(objpfx)globtest.out): Pass
3385         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
3386         $(rtld-installed-name).
3387         * posix/globtest.sh (elf_objpfx): Remove variable.
3388         (rtld_installed_name): Likewise.
3389         (library_path): Likewise.
3390         (run_program_prefix): New variable.  Use for running globtest
3391         binary.
3393 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
3394             Joseph Myers  <joseph@codesourcery.com>
3396         * Makeconfig (host-built-program-cmd): New variable.
3397         * elf/Makefile (tst-stackguard1-ARGS): Use
3398         $(host-built-program-cmd).
3399         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
3400         (tst-spawn-ARGS): Likewise.
3401         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
3403 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
3404             Jim Blandy  <jimb@codesourcery.com>
3406         * Makeconfig (run-via-rtld-prefix): New variable.
3407         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
3408         (built-program-cmd): Likewise.
3410 2012-10-22  Andreas Jaeger  <aj@suse.de>
3412         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
3413         __O_RSYNC if it exists, otherwise to O_SYNC.
3415 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
3416             Joseph Myers  <joseph@codesourcery.com>
3418         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
3419         /dev/null.
3420         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
3421         from /dev/null
3422         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
3423         /dev/null.
3425 2012-10-22  Andreas Jaeger  <aj@suse.de>
3427         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
3428         Define always.
3429         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
3431         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3432         bits/fcntl-linux.h.
3434         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
3435         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
3437         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
3438         to __O_LARGEFILE.
3439         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
3440         to __O_LARGEFILE.
3442 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
3443             Joseph Myers  <joseph@codesourcery.com>
3445         * config.make.in (NM): New variable.
3447 2012-10-21  Andreas Jaeger  <aj@suse.de>
3449         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
3450         definitions and declarations that are provided by
3451         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
3453 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
3455         [BZ #14683]
3456         * elf/Makefile (tests-static): Add tst-leaks1-static.
3457         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
3458         ($(objpfx)tst-leaks1-static): New rule.
3459         ($(objpfx)tst-leaks1-static-mem): Likewise.
3460         (tst-leaks1-static-ENV): New macro.
3461         * elf/dl-open.c (dl_open_worker): Check the main application
3462         only if SHARED is defined.
3463         * elf/tst-leaks1-static.c: New file.
3465 2012-10-20  Andreas Jaeger  <aj@suse.de>
3467         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
3468         generic values for Linux.
3469         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
3470         and declarations that are provided by <bits/fcntl-linux.h> and
3471         include <bits/fcntl-linux.h>.
3472         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3473         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
3475 2012-10-20  Roland McGrath  <roland@hack.frob.com>
3477         * io/fcntl.h: Move include of <bits/types.h> to the top and
3478         include it unconditionally.
3480 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
3482         * wcsmbs/Makefile (tests-ifunc): New variable.
3483         (tests): Add $(tests-ifunc).
3484         * wcsmbs/test-wcschr-ifunc.c: New file.
3485         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
3486         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
3487         * wcsmbs/test-wcslen-ifunc.c: Likewise.
3488         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
3489         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
3491         * string/Makefile (tests-ifunc): New variable.
3492         (tests): Add $(tests-ifunc).
3493         * string/test-memccpy.c (TEST_NAME): New macro.
3494         * string/test-memchr.c (TEST_NAME): Likewise.
3495         * string/test-memcmp.c (TEST_NAME): Likewise.
3496         * string/test-memcpy.c (TEST_NAME): Likewise.
3497         * string/test-memmem.c (TEST_NAME): Likewise.
3498         * string/test-memmove.c (TEST_NAME): Likewise.
3499         * string/test-memset.c (TEST_NAME): Likewise.
3500         * string/test-rawmemchr.c (TEST_NAME): Likewise.
3501         * string/test-stpcpy.c (TEST_NAME): Likewise.
3502         * string/test-stpncpy.c (TEST_NAME): Likewise.
3503         * string/test-strcasecmp.c (TEST_NAME): Likewise.
3504         * string/test-strcasestr.c (TEST_NAME): Likewise.
3505         * string/test-strcat.c (TEST_NAME): Likewise.
3506         * string/test-strchr.c (TEST_NAME): Likewise.
3507         * string/test-strcmp.c(TEST_NAME): Likewise.
3508         * string/test-strcpy.c (TEST_NAME): Likewise.
3509         * string/test-strcspn.c (TEST_NAME): Likewise.
3510         * string/test-strlen.c (TEST_NAME): Likewise.
3511         * string/test-strncasecmp.c (TEST_NAME): Likewise.
3512         * string/test-strncmp.c (TEST_NAME): Likewise.
3513         * string/test-strncpy.c (TEST_NAME): Likewise.
3514         * string/test-strnlen.c (TEST_NAME): Likewise.
3515         * string/test-strpbrk.c (TEST_NAME): Likewise.
3516         * string/test-strrchr.c (TEST_NAME): Likewise.
3517         * string/test-strspn.c (TEST_NAME): Likewise.
3518         * string/test-strstr.c (TEST_NAME): Likewise.
3519         * string/test-bcopy-ifunc.c: New file.
3520         * string/test-bzero-ifunc.c: Likewise.
3521         * string/test-memccpy-ifunc.c: Likewise.
3522         * string/test-memchr-ifunc.c: Likewise.
3523         * string/test-memcmp-ifunc.c: Likewise.
3524         * string/test-memcpy-ifunc.c: Likewise.
3525         * string/test-memmem-ifunc.c: Likewise.
3526         * string/test-memmove-ifunc.c: Likewise.
3527         * string/test-mempcpy-ifunc.c: Likewise.
3528         * string/test-memset-ifunc.c: Likewise.
3529         * string/test-rawmemchr-ifunc.c: Likewise.
3530         * string/test-stpcpy-ifunc.c: Likewise.
3531         * string/test-stpncpy-ifunc.c: Likewise.
3532         * string/test-strcasecmp-ifunc.c: Likewise.
3533         * string/test-strcasestr-ifunc.c: Likewise.
3534         * string/test-strcat-ifunc.c: Likewise.
3535         * string/test-strchr-ifunc.c: Likewise.
3536         * string/test-strchrnul-ifunc.c: Likewise.
3537         * string/test-strcmp-ifunc.c: Likewise.
3538         * string/test-strcpy-ifunc.c: Likewise.
3539         * string/test-strcspn-ifunc.c: Likewise.
3540         * string/test-strlen-ifunc.c: Likewise.
3541         * string/test-strncasecmp-ifunc.c: Likewise.
3542         * string/test-strncat-ifunc.c: Likewise.
3543         * string/test-strncmp-ifunc.c: Likewise.
3544         * string/test-strncpy-ifunc.c: Likewise.
3545         * string/test-strnlen-ifunc.c: Likewise.
3546         * string/test-strpbrk-ifunc.c: Likewise.
3547         * string/test-strrchr-ifunc.c: Likewise.
3548         * string/test-strspn-ifunc.c: Likewise.
3549         * string/test-strstr-ifunc.c: Likewise.
3551         * debug/Makefile (tests-ifunc): New variable.
3552         (tests): Add $(tests-ifunc).
3553         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
3554         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
3555         * debug/test-stpcpy_chk-ifunc.c: New file.
3556         * debug/test-strcpy_chk-ifunc.c: Likewise.
3558 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
3560         [BZ #13601]
3561         * elf/dl-load.c (open_verify): Retry read if the entire ELF
3562         header is not read in.
3564 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
3566         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
3567         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
3568         directly.  Pass built executable to script as
3569         $(built-program-cmd).
3570         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
3571         $testprogram without using LD_LIBRARY_PATH and $ldso.
3573         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
3574         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
3575         $(rtld-installed-name).
3576         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
3577         (rtld_installed_name): Likewise.
3578         (library_path): Likewise.
3579         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
3580         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
3581         $(run-program-prefix) to tst-tables.sh.
3582         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
3583         it to run tst-table-from and tst-table-to.
3584         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
3585         Pass it to tst-table.sh.
3586         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
3587         $(run-program-prefix) to tst-gettext.sh.
3588         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
3589         tst-translit.sh.
3590         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
3591         tst-gettext2.sh.
3592         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
3593         to run tst-gettext.
3594         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
3595         to run tst-gettext2.
3596         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
3597         to run tst-translit.
3598         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
3599         $(run-program-prefix) to tst-mtrace.sh.
3600         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
3601         to run tst-mtrace.
3602         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
3603         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
3604         $(rtld-installed-name).
3605         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
3606         (rtld_installed_name): Likewise.
3607         (run_program_prefix): New variable.  Use it to run wordexp-test.
3609         * Makeconfig (ARCH): Remove all definitions.
3610         (machine): Likewise.
3611         [ARCH]: Remove conditional code.
3612         [!objdir]: Give error.
3613         [!objdir] (objpfx): Remove.
3614         [!objdir] (common-objpfx): Likewise.
3615         [!objdir] (common-objdir): Likewise.
3616         * configure.in (config_makefile): Remove.  Hardcode Makefile in
3617         AC_CONFIG_FILES call.
3618         * configure: Regenerated.
3620         [BZ #13888]
3621         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
3622         or TMPDIR.
3623         (testout): Likewise.
3625         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
3626         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
3627         $(rtld-installed-name).
3628         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
3629         (rtld_installed_name): Likwise.
3630         (runit): Remove function.
3631         (run_getconf): New variable,  Use it for running getconf binary.
3633 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
3635         [BZ #14716]
3636         * string/test-memmem.c (check_result): New function.
3637         (do_one_test): Use it.
3638         (check1): New function.
3639         (test_main): Use it.
3641 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
3643         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
3645 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
3647         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
3648         (_G_LSEEK64): Likewise.
3649         (_G_MMAP64): Likewise.
3650         (_G_FSTAT64): Likewise.
3651         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
3652         (_G_LSEEK64): Likewise.
3653         (_G_MMAP64): Likewise.
3654         (_G_FSTAT64): Likewise.
3655         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
3656         unconditional.  Call __mmap64 directly.
3657         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
3658         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
3659         __lseek64 directly.
3660         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
3661         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
3662         __mmap64 directly.
3663         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
3664         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
3665         __lseek64 directly.
3666         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
3667         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
3668         __lseek64 directly.
3669         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
3670         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
3671         __lseek64 directly.
3672         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
3673         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
3674         __fxstat64 directly.
3675         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
3676         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
3677         unconditional.
3678         (freopen64) [!_G_OPEN64]: Remove conditional code.
3679         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
3680         unconditional.
3681         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
3682         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
3683         unconditional.
3684         (ftello64) [!_G_LSEEK64]: Remove conditional code.
3685         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
3686         unconditional.
3687         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
3688         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
3689         unconditional.
3690         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
3691         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
3692         unconditional.
3693         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
3694         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
3695         unconditional.
3696         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
3697         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
3698         unconditional.
3699         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
3701 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
3703         [BZ #12140]
3704         * manual/memory.texi (Malloc Tunable Parameters): Add note
3705         about free list pointers overwriting some perturb bytes.
3706         Wording suggested by Roland McGrath.
3708 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
3710         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
3711         (lgamma_test): Likewise.
3712         (tgamma_test): Likewise.
3714 2012-10-16  Florian Weimer  <fweimer@redhat.com>
3716         [BZ #14700]
3717         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
3718         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
3720 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
3722         * NEWS: Mention BZ #14716.
3723         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
3724         when removing AVAILABLE1_USES_J macro.
3726 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
3728         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
3729         (__bswap_64): __uint64_t for unsigned 64-bit int.
3731 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
3733         * include/string.h (memmem): Declare libc hidden alias.
3734         * string/memmem.c (memmem): Define libc hidden alias.
3735         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
3736         __read, __close instead of open, read, close.
3738 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
3740         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
3741         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
3742         global and hidden.
3743         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
3744         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
3745         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
3746         Likewise.
3747         (__rawmemchr_sse2): Likewise.
3748         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
3749         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
3750         (__strchr_sse2): Likewise.
3751         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
3752         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
3753         (__strcasecmp_sse2): Likewise.
3754         (__strncasecmp_sse2): Likewise.
3755         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
3756         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
3757         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
3758         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
3759         (__strrchr_sse2): Likewise.
3760         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
3761         ifunc-impl-list.c.
3762         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3763         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3764         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3765         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
3766         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3767         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3768         * sysdeps/x86_64/multiarch/memset.S: Likewise.
3769         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3770         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
3771         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
3772         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
3773         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
3774         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
3775         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3776         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3777         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3778         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3779         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3780         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
3781         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
3782         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
3783         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
3784         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
3785         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
3786         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
3787         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3788         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3789         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
3790         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3791         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3793         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
3794         global and hidden.
3795         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
3796         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
3797         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
3798         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
3799         Likewise.
3800         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
3801         Likewise.
3802         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
3803         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
3804         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
3805         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
3806         ifunc-impl-list.c.
3807         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3808         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3809         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3810         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3811         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3812         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3813         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3814         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3815         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3816         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3817         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3818         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3819         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3820         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
3821         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
3822         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3823         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
3824         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
3825         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3826         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3827         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3828         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3829         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3830         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3831         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3832         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
3833         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
3834         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
3835         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
3836         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3837         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
3838         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3839         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3840         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
3841         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3842         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3843         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3844         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3845         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3846         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3847         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
3849         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
3850         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
3851         * include/ifunc-impl-list.h: New file.
3852         * misc/ifunc-impl-list.c: Likewise.
3853         * misc/Makefile (routines): Add ifunc-impl-list.
3854         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
3855         * string/test-string.h: Include <ifunc-impl-list.h>.
3856         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
3857         impl_array): New variables.
3858         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
3859         are defined.
3860         (test_init): Call __libc_ifunc_impl_list to initialize
3861         func_list if TEST_IFUNC and TEST_NAME are defined.
3863         * string/Makefile (strop-tests): Add bcopy and bzero.
3864         * string/test-bcopy.c: New file.
3865         * string/test-bzero.c: Likewise.
3866         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
3867         defined.
3868         * string/test-memset.c: Support bzero test if TEST_BZERO is
3869         defined.
3870         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
3871         __libc_memmove.
3872         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
3873         __libc_memset.
3874         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
3875         of memset.
3877 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
3879         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
3880         * configure: Regenerated.
3882         * Makeconfig (+link-static-before-libc): Don't include
3883         $(link-static-libc).
3885         * libio/libio.h (_IO_pos_t): Remove.
3887 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
3889         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
3890         McGrath.
3892 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
3894         * crypt/crypt-entry.c: Include fips-private.h.
3895         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
3896         * crypt/md5c-test.c (main): Tolerate disabled MD5.
3897         * sysdeps/unix/sysv/linux/fips-private.h: New file.
3898         * sysdeps/generic/fips-private.h: New file, dummy fallback.
3900 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
3902         * crypt/crypt-private.h: Include stdbool.h.
3903         (_ufc_setup_salt_r): Return bool.
3904         * crypt/crypt-entry.c: Include errno.h.
3905         (__crypt_r): Return NULL with EINVAL for bad salt.
3906         * crypt/crypt_util.c (bad_for_salt): New.
3907         (_ufc_setup_salt_r): Check that salt is long enough and within
3908         the specified alphabet.
3909         * crypt/badsalttest.c: New file.
3910         * crypt/Makefile (tests): Add it.
3911         ($(objpfx)badsalttest): New.
3913 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
3915         * NEWS: Add entry for BZ #14602.
3917 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
3919         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
3920         type-generic.
3921         * math/libm-test.inc: Update comment listing what functions and
3922         macros are tested.
3923         (isgreater_test): New function.
3924         (isgreaterequal_test): Likewise.
3925         (isless_test): Likewise.
3926         (islessequal_test): Likewise.
3927         (islessgreater_test): Likewise.
3928         (isunordered_test): Likewise.
3929         (main): Call the new functions.
3931 2012-10-09  Roland McGrath  <roland@hack.frob.com>
3933         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
3934         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
3935         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
3936         * sysdeps/i386/configure: Regenerated.
3937         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
3938         * sysdeps/mach/configure: Regenerated.
3939         * sysdeps/mach/hurd/configure: Regenerated.
3940         * sysdeps/powerpc/configure: Regenerated.
3941         * sysdeps/powerpc/powerpc32/configure: Regenerated.
3942         * sysdeps/powerpc/powerpc64/configure: Regenerated.
3943         * sysdeps/s390/s390-32/configure: Regenerated.
3944         * sysdeps/s390/s390-64/configure: Regenerated.
3945         * sysdeps/sh/configure: Regenerated.
3946         * sysdeps/sparc/configure: Regenerated.
3947         * sysdeps/unix/sysv/linux/configure: Regenerated.
3948         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
3949         * sysdeps/x86_64/configure: Regenerated.
3951         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
3952         defined.  Don't check if MAP is NULL.
3954 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
3956         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
3957         (_G_stat64): Likewise.
3958         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
3959         (_G_stat64): Likewise.
3960         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
3961         instead of struct _G_stat64.
3962         * libio/fileops.c (mmap_remap_check): Likewise.
3963         (decide_maybe_mmap): Likewise.
3964         (_IO_new_file_seekoff): Likewise.
3965         (_IO_file_stat): Likewise.
3966         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
3967         _G_off64_t.
3968         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
3969         instead of struct _G_stat64.
3970         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
3972 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
3974         [BZ #14602]
3975         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3976         Replace with ...
3977         (CHECK_EOL): New macro.
3978         (two_way_short_needle): Check beginning of haystack for EOL.  Use
3979         CHECK_EOL.
3980         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3981         Replace with CHECK_EOL.
3982         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3983         Replace with CHECK_EOL.
3985 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
3987         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
3988         type-generic.
3989         * math/libm-test.inc: Update comment listing what functions and
3990         macros are tested.
3991         (finite_test): New function.
3992         (isinf_test): Likewise.
3993         (isnan_test): Likewise.
3994         (fpclassify_test): Test subnormal input.
3995         (isfinite_test): Likewise.
3996         (isnormal_test): Likewise.
3997         (main): Call the new functions.
3999 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
4001         [BZ #14660]
4002         * Makerules (%.dynsym): Force C locale when running
4003         $(OBJDUMP) --dynamic-syms.
4005 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
4007         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
4008         <stdint.h>.
4010 2012-10-06  David S. Miller  <davem@davemloft.net>
4012         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
4013         upper 32-bits of the length value in %o2 since we use branch-on-register
4014         tests which consider the entire 64-bit register.
4016 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
4018         * string/test-strstr.c (check2): Add a test for page boundary.
4020 2012-10-05  David S. Miller  <davem@davemloft.net>
4022         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
4023         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
4024         file.
4025         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
4026         sysdep_routines.
4027         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
4028         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
4029         and bzero when HWCAP_SPARC_CRYPTO is present.
4031 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
4033         [BZ #14602]
4034         * string/test-strstr.c (check2): New function.
4035         (test_main): Call check2.
4037         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
4038         and bug-strchr1.
4039         * string/bug-strcasestr1.c (do_test): Moved to ...
4040         * string/test-strcasestr.c (check1): Here.  New function.
4041         (do_one_test): Break out result checking code into ...
4042         (check_result): This.  New function.
4043         (do_one_test): Call check_result.
4044         (test_main): Call check1.
4045         * string/bug-strchr1.c (do_test): Moved to ...
4046         * string/test-strchr.c (check1): Here.  New function.
4047         (do_one_test): Break out result checking code into ...
4048         (check_result): This.  New function.
4049         (do_one_test): Call check_result.
4050         (test_main): Call check1.
4051         * string/bug-strstr1.c (main): Moved to ...
4052         * string/test-strchr.c (check1): Here.  New function.
4053         (do_one_test): Break out result checking code into ...
4054         (check_result): This.  New function.
4055         (do_one_test): Call check_result.
4056         (test_main): Call check1.
4057         * string/bug-strcasestr1.c: Removed.
4058         * string/bug-strchr1.c: Likewise.
4059         * string/bug-strstr1.c: Likewise.
4061         * elf/Makefile (dl-routines): Add hwcaps.
4062         * elf/dl-support.c (_dl_important_hwcaps): Removed.
4063         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
4064         (_dl_important_hwcaps): Moved to ...
4065         * elf/dl-hwcaps.c: Here.  New file.
4066         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
4068         [BZ #14557]
4069         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
4070         if IS_IN_rtld isn't defined.
4072         * elf/dl-support.c (_dl_sysinfo_map): New.
4073         Include "get-dynamic-info.h" and "setup-vdso.h".
4074         (_dl_non_dynamic_init): Call setup_vdso.
4075         * elf/dynamic-link.h: Don't include <assert.h>.
4076         (elf_get_dynamic_info): Moved to ...
4077         * elf/get-dynamic-info.h: Here.  New file.
4078         * elf/dynamic-link.h: Include "get-dynamic-info.h".
4079         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
4080         * elf/setup-vdso.h: Here.  New file.
4081         * elf/rtld.c: Include "setup-vdso.h".
4082         (dl_main): Call setup_vdso.
4084 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
4086         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
4087         creal in comment listing functions tested.  List finite, isinf,
4088         isnan, isless, islessequal, isgreater, isgreaterequal,
4089         islessgreater, isunordered, lgamma_r and pow10 as functions and
4090         macros not tested.  Mention which functions not tested are aliases
4091         for other functions.  Fix typo.  Note that signs of NaNs are not
4092         tested.
4094         * scripts/config.guess: Update from config.git.
4095         * scripts/config.sub: Likewise.
4097 2012-10-04  Roland McGrath  <roland@hack.frob.com>
4099         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
4100         * misc/madvise.c (madvise): Renamed to __madvise.
4101         Make madvise a weak alias.
4102         * include/sys/mman.h: Declare __madvise.
4103         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
4104         * sysdeps/unix/syscalls.list
4105         (madvise): Make __madvise the strong name, and madvise a weak alias.
4106         * sysdeps/unix/sysv/linux/syscalls.list
4107         (madvise, mmap): Remove redundant entries.
4108         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
4109         * malloc/malloc.c (mtrim): Likewise.
4110         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
4112 2012-10-03  Roland McGrath  <roland@hack.frob.com>
4114         * sysdeps/mach/hurd/dl-cache.c: File removed.
4115         * config.h.in (USE_LDCONFIG): New #undef.
4116         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
4117         * configure: Regenerated.
4118         * elf/Makefile (dl-routines): Add dl-cache only under
4119         [$(use-ldconfig) = yes].
4120         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
4121         cache on [USE_LDCONFIG].
4122         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
4123         [USE_LDCONFIG].
4124         * elf/rtld.c (dl_main): Likewise.
4126 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
4128         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
4129         _SC_LEVEL4_CACHE_LINESIZE.
4131 2012-10-03  Roland McGrath  <roland@hack.frob.com>
4133         * sysdeps/unix/bsd/confstr.h: File removed.
4135 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
4137         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
4138         sys/sdt-config.h.
4140 2012-10-02  Roland McGrath  <roland@hack.frob.com>
4142         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
4143         Make 'mapoff' field ElfW(Off) rather than off_t.
4145 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
4147         * nscd/Makefile: Remove nscd-cflags and all its users.
4148         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
4149         (CFLAGS-nonlib): Add compiler flags for nscd modules.
4151         [BZ #10631]
4152         * malloc.c (malloc_printerr): Clarify error message.
4154 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
4156         [BZ #14648]
4157         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4158         Set bit_FMA_Usable if FMA is supported.
4159         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
4160         macro.
4161         (bit_FMA4_Usable): Updated.
4162         (index_FMA_Usable): New macro.
4163         (CPUID_FMA): Likewise
4164         (HAS_FMA): Defined with bit_FMA_Usable.
4166 2012-10-01  Roland McGrath  <roland@hack.frob.com>
4168         * bits/types.h (__swblk_t): Type removed.
4169         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
4170         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
4171         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4172         (__SWBLK_T_TYPE): Likewise.
4173         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
4174         (__SWBLK_T_TYPE): Likewise.
4175         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4176         (__SWBLK_T_TYPE): Likewise.
4177         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4178         (__SWBLK_T_TYPE): Likewise.
4180 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
4181             Honza Horak <hhorak@redhat.com>
4183         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
4184         (xdr_mapname): Use YPMAXMAP as maxsize.
4185         (xdr_peername): Use YPMAXPEER as maxsize.
4186         (xdr_keydat): Use YPAXRECORD as maxsize.
4187         (xdr_valdat): Use YPMAXRECORD as maxsize.
4189 2012-10-01  Roland McGrath  <roland@hack.frob.com>
4191         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
4193         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
4194         * csu/init-first.c: ... here.
4195         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
4196         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
4197         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
4198         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
4199         * sysdeps/i386/init-first.c: File removed.
4200         * sysdeps/sh/init-first.c: File removed.
4202 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
4204         [BZ #14645]
4205         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
4206         if x * y might underflow to zero and z is zero.
4207         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4208         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4209         * math/libm-test.inc (min_subnorm_value): New variable.
4210         (fma_test): Add more tests.
4211         (fma_test_towardzero): Likewise.
4212         (fma_test_downward): Likewise
4213         (fma_test_upward): Likewise.
4214         (initialize): Set min_subnorm_value.
4216 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
4218         [BZ #14638]
4219         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
4220         0 + 0.
4221         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
4222         mode for addition resulting in exact zero.
4223         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
4224         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
4225         exact 0 + 0.
4226         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4227         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4228         * math/libm-test.inc (fma_test): Add more tests.
4229         (fma_test_towardzero): New function.
4230         (fma_test_downward): Likewise.
4231         (fma_test_upward): Likewise.
4232         (main): Call the new functions.
4234 2012-09-28  David S. Miller  <davem@davemloft.net>
4236         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
4238 2012-09-28  Roland McGrath  <roland@hack.frob.com>
4240         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
4241         instead of SIGALRM.
4243         * sysdeps/gnu/_G_config.h: Moved to ...
4244         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
4245         * sysdeps/mach/hurd/_G_config.h: Moved to ...
4246         * sysdeps/generic/_G_config.h: ... here.
4248         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
4250         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
4252         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
4253         Conditionalize target on [libnss_test1.so-version].
4255         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
4257         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
4258         (elfobjdir): Move out of conditionals.
4260         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
4261         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
4262         (__nss_lookup_function): Conditionalize label remove_from_tree on
4263         [!DO_STATIC_NSS || SHARED], matching its only use.
4265 2012-09-28  David S. Miller  <davem@davemloft.net>
4267         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
4268         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
4269         file.
4270         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
4271         sysdep_routines.
4272         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
4273         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
4274         when HWCAP_SPARC_CRYPTO is present.
4276 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
4278         * io/tst-mknodat.c: Create a FIFO instead of a socket.
4280 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
4282         [BZ #6530]
4283         * stdio-common/vfprintf.c (process_string_arg): Revert
4284         2000-07-22 change.
4286 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
4288         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
4289         for testcase.
4290         * stdio-common/tst-sprintf.c: Include <locale.h>
4291         (main): Test sprintf's handling of incomplete multibyte
4292         characters.
4294 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
4296         * elf/dl-runtime.c (VERSYMIDX): Removed.
4297         * elf/dl-version.c (VERSYMIDX): Likewise.
4298         * elf/do-rel.h (VERSYMIDX): Likewise.
4299         (VALIDX): Likewise.
4300         * elf/dynamic-link.h (VERSYMIDX): Likewise.
4301         * elf/rtld.c (VALIDX): Likewise.
4302         (ADDRIDX): Likewise.
4303         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
4304         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
4305         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
4306         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
4307         (VALIDX): Likewise.
4308         (ADDRIDX): Likewise.
4310 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
4312         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
4314 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
4316         [BZ #11438]
4317         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
4318         to global scope.
4319         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
4320         addresses are in the same scope as 192.0.2/24.
4321         * posix/gai.conf: Document new scope table defaults.
4323 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4325         [BZ #5298]
4326         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
4327         for ftell.  Compute offsets from write pointers instead.
4328         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
4330 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4332         [BZ #14543]
4333         * libio/Makefile (tests): New test case tst-fseek.
4334         * libio/tst-fseek.c: New test case to verify that fseek/ftell
4335         combination works in wide mode.
4336         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
4337         state when the external buffer state changes.
4339 2012-09-27  David S. Miller  <davem@davemloft.net>
4341         [BZ #14376]
4342         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
4343         pass reloc->r_addend in as the 'high' argument to
4344         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
4346         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4348 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
4350         * rt/tst-aio2.c: Include <pthread.h>.
4351         * rt/tst-aio3.c: Likewise.
4353 2012-09-27  Steve Ellcey  <sellcey@mips.com>
4355         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
4357 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
4359         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
4360         contents on [SHARED].
4362 2012-09-26  Marek Polacek  <polacek@redhat.com>
4364         [BZ #14530]
4365         [BZ #13741]
4366         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
4367         for C++ and GCC <4.3 as well as for non GCC compilers.
4369 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
4371         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4373 2012-09-25  Roland McGrath  <roland@hack.frob.com>
4375         * Makefile.in (all, install): Declare with .PHONY.
4376         Reported by Michael Hope <michael.hope@linaro.org>.
4378 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4380         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
4381         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
4382         system header.
4383         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
4384         Likewise.
4385         (sydep_routines): Add the new and the internal functions.
4386         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
4387         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
4388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
4389         (GLIBC_2.17): Add the new function.
4390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
4391         (GLIBC_2.17): Likewise.
4392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
4393         (GLIBC_2.17): Likewise.
4394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
4395         (GLIBC_2.17): Likewise.
4396         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
4398 2012-09-25  Alan Modra  <amodra@gmail.com>
4400         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
4401         Add release barrier before setting once_control to say
4402         initialisation is done.  Add hints on lwarx.  Use macro in
4403         place of isync.
4404         (clear_once_control): Add release barrier.
4406 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
4408         [BZ #13629]
4409         * math/s_clog.c (__clog): Handle more values close to |z| = 1
4410         specially.
4411         * math/s_clog10.c (__clog10): Likewise.
4412         * math/s_clog10f.c (__clog10f): Likewise.
4413         * math/s_clog10l.c (__clog10l): Likewise.
4414         * math/s_clogf.c (__clogf): Likewise.
4415         * math/s_clogl.c (__clogl): Likewise.
4416         * math/Makefile (libm-calls): Add x2y2m1.
4417         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
4418         (__x2y2m1): Likewise.
4419         (__x2y2m1l): Likewise.
4420         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
4421         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
4422         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
4423         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
4424         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
4425         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
4426         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
4427         * sysdeps/i386/fpu/libm-test-ulps: Update.
4428         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4430         [BZ #14621]
4431         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
4432         int as type of variable DEPTH.
4433         (glob): Use size_t instead of int as type of variables NEWCOUNT
4434         and OLD_PATHC.
4436 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
4438         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
4439         Add s_sincosf-sse2.
4440         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
4441         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
4442         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
4443         macros for using routine as __sincosf_ia32.
4444         Use macro for function declaration and weak_alias.
4445         * sysdeps/i386/fpu/libm-test-ulps: Update.
4447         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
4448         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4450         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
4451         subnormal argument.
4452         * math/s_cexpf.c (__cexpf): Likewise.
4453         * math/s_csinf.c (__csinf): Likewise.
4454         * math/s_csinhf.c (__csinhf): Likewise.
4455         * math/s_ctanf.c (__ctanf): Likewise.
4456         * math/s_ctanhf.c (__ctanhf): Likewise.
4457         * math/s_ccosh.c (__ccoshf): Likewise.
4458         * math/s_cexp.c (__cexpl): Likewise.
4459         * math/s_csin.c (__csin): Likewise.
4460         * math/s_csinh.c (__csinh): Likewise.
4461         * math/s_ctan.c (__ctan): Likewise.
4462         * math/s_ctanh.c (ctanh): Likewise.
4463         * math/s_ccoshl.c (__ccoshl): Likewise.
4464         * math/s_cexpl.c (__cexpl): Likewise.
4465         * math/s_csinl.c (__csinl): Likewise.
4466         * math/s_csinhl.c (__csinhl): Likewise.
4467         * math/s_ctanl.c (__ctanl): Likewise.
4468         * math/s_ctanhl.c (__ctanhl): Likewise.
4470 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
4472         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
4473         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
4474         (_IO_off_t): Define to __off_t, not _G_off_t.
4475         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
4476         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
4477         (_IO_wint_t): Define to wint_t, not _G_wint_t.
4478         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
4479         type of __dummy and __dummy2 fields.
4480         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
4481         (_G_ssize_t): Likewise.
4482         (_G_off_t): Likewise.
4483         (_G_pid_t): Likewise.
4484         (_G_uid_t): Likewise.
4485         (_G_wchar_t): Likewise.
4486         (_G_wint_t): Likewise.
4487         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
4488         (_G_ssize_t): Likewise.
4489         (_G_off_t): Likewise.
4490         (_G_pid_t): Likewise.
4491         (_G_uid_t): Likewise.
4492         (_G_wchar_t): Likewise.
4493         (_G_wint_t): Likewise.
4494         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
4495         (_G_ssize_t): Likewise.
4496         (_G_off_t): Likewise.
4497         (_G_pid_t): Likewise.
4498         (_G_uid_t): Likewise.
4499         (_G_wchar_t): Likewise.
4500         (_G_wint_t): Likewise.
4502 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
4504         * malloc/arena.c: Include malloc-sysdep.h.
4505         (shrink_heap): Use check_may_shrink_heap to decide if madvise
4506         is sufficient to shrink the heap or an unmap is needed.
4507         * sysdeps/generic/malloc-sysdep.h: New file.  Define
4508         new function check_may_shrink_heap.
4509         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
4510         new function check_may_shrink_heap.
4512 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
4514         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
4515         comments.
4517 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
4519         * catgets/test-gencat.sh: Add "set -e".
4520         * elf/tst-pathopt.sh: Likewise.
4521         * grp/tst_fgetgrent.sh: Likewise.
4522         * iconvdata/run-iconv-test.sh: Likewise.
4523         * intl/tst-gettext.sh: Likewise.
4524         * intl/tst-gettext2.sh: Likewise.
4525         * intl/tst-gettext4.sh: Likewise.
4526         * intl/tst-gettext6.sh: Likewise.
4527         * intl/tst-translit.sh: Likewise.
4528         * io/ftwtest-sh: Likewise.
4529         * libio/test-freopen.sh: Likewise.
4530         * malloc/tst-mtrace.sh: Likewise.
4531         * posix/globtest.sh: Likewise.
4532         * posix/tst-getconf.sh: Likewise.
4533         * posix/wordexp-tst.sh: Likewise.
4534         * stdio-common/tst-printf.sh: Likewise.
4535         * stdio-common/tst-unbputc.sh: Likewise.
4536         * stdlib/tst-fmtmsg.sh: Likewise.
4537         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
4538         * catgets/Makefile: Do not specify -e option when running
4539         testsuite shell scripts.
4540         * elf/Makefile: Likewise.
4541         * grp/Makefile: Likewise.
4542         * iconvdata/Makefile: Likewise.
4543         * intl/Makefile: Likewise.
4544         * io/Makefile: Likewise.
4545         * libio/Makefile: Likewise.
4546         * malloc/Makefile: Likewise.
4547         * posix/Makefile: Likewise.
4548         * stdio-common/Makefile: Likewise.
4549         * stdlib/Makefile: Likewise.
4550         * sysdeps/x86_64/Makefile: Likewise.
4552         * io/ftwtest-sh: Add copyright header.
4553         * posix/globtest.sh: Likewise.
4554         * posix/tst-getconf.sh: Likewise.
4555         * posix/wordexp-tst.sh: Likewise.
4556         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
4558 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
4560         [BZ #13679]
4561         * Makeconfig (+link): Defined as $(+link-static) if
4562         $(build-shared) isn't yes.
4563         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
4564         isn't yes.
4565         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
4567         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
4569         [BZ #14562]
4570         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
4571         new chunk size with MALLOC_ALIGN_MASK.
4573 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
4575         [BZ #5044]
4576         * stdio-common/printf_fphex.c: Include <stdbool.h> and
4577         <rounding-mode.h>.
4578         (__printf_fphex): Determine rounding using get_rounding_mode and
4579         round_away.
4580         * stdio-common/tst-printf-round.c (struct hex_test): New
4581         structure.
4582         (hex_tests): New variable.
4583         (test_hex_in_one_mode): New function.
4584         (do_test): Also run tests for hex float output.
4586 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
4588         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
4589         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
4590         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
4591         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
4592         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
4593         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
4594         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
4595         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
4597 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
4599         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
4600         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
4601         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
4602         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
4604 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
4606         [BZ #14579]
4607         * elf/rtld.c (dl_main): Limit the check for self loading to normal
4608         mode only.
4609         * elf/tst-rtld-load-self.sh: New test.
4610         * elf/Makefile: Run it.
4612 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
4614         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
4615         (tst-writev-ENV): Remove.
4616         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
4618 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
4620         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
4622 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
4624         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
4625         unconditional.
4626         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
4627         Likewise.
4628         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
4629         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
4630         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
4631         Likewise.
4633 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
4635         [BZ #14587]
4636         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
4637         * config.make.in (have-cpp-asm-debuginfo): Removed.
4638         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
4639         * configure: Regenerated.
4641 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
4643         [BZ #5044]
4644         * stdio-common/printf_fp.c: Include <stdbool.h> and
4645         <rounding-mode.h>.
4646         (___printf_fp): Determine rounding using get_rounding_mode and
4647         round_away.
4648         * stdio-common/tst-printf-round.c: New file.
4649         * stdio-common/Makefile (tests): Add tst-printf-round.
4650         (link-libm): New variable.
4651         ($(objpfx)tst-printf-round): Depend in $(link-libm).
4653 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
4655         [BZ #14576]
4656         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
4657         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
4658         Likewise.
4659         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
4660         Likewise.
4662 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
4664         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
4665         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4666         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4667         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4669 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
4671         [BZ #14518]
4672         * include/rounding-mode.h: New file.
4673         * sysdeps/generic/get-rounding-mode.h: Likewise.
4674         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
4675         * stdlib/strtod_l.c: Include <rounding-mode.h>.
4676         (MAX_VALUE): New macro.
4677         (MIN_VALUE): Likewise.
4678         (overflow_value): New function.
4679         (underflow_value): Likewise.
4680         (round_and_return): Use overflow_value and underflow_value to
4681         determine return values in overflow and underflow cases.  Use
4682         round_away to determine rounding depending on rounding mode.
4683         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
4684         determine return values in overflow and underflow cases.
4685         * stdlib/tst-strtod-round.c: Include <fenv.h>.
4686         (struct test_results): New structure.
4687         (struct test): Use struct test_results to store expected results
4688         for all rounding modes.
4689         (TEST): Include expected results for all rounding modes.
4690         (test_in_one_mode): New function.
4691         (do_test): Use test_in_one_mode to compute and check results.
4692         Check results for all rounding modes.
4693         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
4694         $(link-libm).
4696 2012-12-09  Allan McRae  <allan@archlinux.org>
4698         * sysdeps/i386/fpu/libm-test-ulps: Update
4700 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
4702         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
4703         (_G_int32_t): Likewise.
4704         (_G_uint16_t): Likewise.
4705         (_G_uint32_t): Likewise.
4706         (_G_HAVE_BOOL): Likewise.
4707         (_G_HAVE_ATEXIT): Likewise.
4708         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4709         (_G_HAVE_IO_FILE_OPEN): Likewise.
4710         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
4711         (_G_int32_t): Likewise.
4712         (_G_uint16_t): Likewise.
4713         (_G_uint32_t): Likewise.
4714         (_G_HAVE_BOOL): Likewise.
4715         (_G_HAVE_ATEXIT): Likewise.
4716         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4717         (_G_HAVE_IO_FILE_OPEN): Likewise.
4718         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
4719         (_G_int32_t): Likewise.
4720         (_G_uint16_t): Likewise.
4721         (_G_uint32_t): Likewise.
4722         (_G_HAVE_BOOL): Likewise.
4723         (_G_HAVE_ATEXIT): Likewise.
4724         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4725         (_G_HAVE_IO_FILE_OPEN): Likewise.
4727 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
4729         * csu/libc-tls.c: Update copyright years.
4731 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
4733         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
4734         [!_G_USING_THUNKS]: Remove conditional code.
4735         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
4736         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
4738         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
4739         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
4740         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4741         (_G_VTABLE_LABEL_PREFIX): Likewise.
4742         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4743         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4744         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4745         (_G_VTABLE_LABEL_PREFIX): Likewise.
4746         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
4747         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4748         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4749         (_G_VTABLE_LABEL_PREFIX): Likewise.
4750         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
4752 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
4754         * libio/Makefile: Include ../Makeconfig before tests.
4755         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
4756         only if $(build-shared) is yes.
4758         * iconv/gconv_db.c: Update copyright years.
4760 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
4762         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
4763         unwind info if defined PIC. Fix special cases description.
4764         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
4766         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
4767         DP_HI_MASK entry.
4768         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
4770 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
4772         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
4774         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
4775         is NULL.
4777         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
4778         (LDLIBS-tst-chk4): This.
4779         (LDFLAGS-tst-chk5): Renamed to ...
4780         (LDLIBS-tst-chk5): This.
4781         (LDFLAGS-tst-chk6): Renamed to ...
4782         (LDLIBS-tst-chk6): This.
4783         (LDFLAGS-tst-lfschk4): Renamed to ...
4784         (LDLIBS-tst-lfschk4): This.
4785         (LDFLAGS-tst-lfschk5): Renamed to ...
4786         (LDLIBS-tst-lfschk5): This.
4787         (LDFLAGS-tst-lfschk6): Renamed to ...
4788         (LDLIBS-tst-lfschk6): This.
4790         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
4791         on $(common-objpfx)soversions.mk.
4793 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
4795         [BZ #10014]
4796         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
4797         example host name.
4799 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
4801         * malloc/arena.c (arena_get_retry): New function that gets
4802         another arena for the caller to try its request on.
4803         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
4804         current arena cannot fulfill the request.
4805         (__libc_memalign): Likewise.
4806         (__libc_memalign): Likewise.
4807         (__libc_pvalloc): Likewise.
4808         (__libc_calloc): Likewise.
4810 2012-09-05  John Tobey  <john.tobey@gmail.com>
4812         [BZ #13542]
4813         * manual/arith.texi (Operations on Complex): Fix description
4814         of carg branch cut.
4816 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
4818         [BZ #10014]
4819         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
4820         host name.
4822         [BZ #10038]
4823         * manual/memory.texi (Memory): Make order of menu items match
4824         order of sections.
4826 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
4828         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
4829         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
4830         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
4832 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
4834         * csu/libc-tls.c (static_dtv): Renamed to ...
4835         (_dl_static_dtv): This.  Make it global.
4836         (_dl_initial_dtv): Removed.
4837         (__libc_setup_tls): Updated.
4838         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
4839         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
4840         DL_INITIAL_DTV.
4842 2012-09-06  Petr Machata  <pmachata@redhat.com>
4844         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
4845         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
4846         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
4847         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
4849 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
4851         [BZ #14545]
4852         * csu/libc-tls.c (_dl_initial_dtv): New variable.
4853         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
4854         freeing dtv[-1].
4856 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
4858         [BZ #14544]
4859         * Makeconfig (link-static-before-libc): Replace $(+prector)
4860         with $(+prectorT).
4861         (link-static-after-libc): Replace $(+postctor) with
4862         $(+postctorT).
4863         (link-bounded): Replace $(+prector)/$(+postctor) with
4864         $(+prectorT)/$(+postctorT).
4865         (+prectorT): New macro.
4866         (+postctorT): Likewise.
4868 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
4870         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
4871         (round_str): Handle values above the maximum for IBM long double
4872         as inexact.
4873         * stdlib/tst-strtod-round.c (tests): Regenerated.
4875 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4877         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
4878         assembler flag.
4879         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
4880         zarch_nohighgprs around the zarch optimized routines.
4881         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
4882         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
4883         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
4884         for zarch.
4886 2012-09-05  David S. Miller  <davem@davemloft.net>
4888         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4890         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
4891         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
4892         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
4893         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
4894         entries.
4896 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
4898         * malloc/arena.c: Fold copyright years.
4899         * malloc/mcheck.c, malloc/memusage.c: Likewise.
4901 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
4903         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
4905 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
4907         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
4909 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
4911         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
4912         change internal state upon failure.
4914 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
4916         * malloc/mcheck.c (mcheck_check_all): Fix typo.
4917         * malloc/memusage.c (mmap): Likewise.
4918         (mmap64, mremap): Likewise.  Adjust name in comment.
4920 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
4922         * libio/fileops.c: Fix typos in comments.
4923         * libio/oldfileops.c: Likewise.
4924         * libio/wfileops.c: Likewise.
4926 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
4928         [BZ #1349]
4929         * malloc/Makefile (tests): Add tst-malloc-usable test case.
4930         (tst-malloc-usable-ENV): Set environment for test case.
4931         * malloc/hooks.c (malloc_check_get_size): New function to get
4932         requested size.
4933         * malloc/malloc.c (musable): Use malloc_check_get_size.
4934         * malloc/tst-malloc-usable.c: New test case.
4936 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
4938         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
4940 2012-09-05  Allan McRae  <allan@archlinux.org>
4942         [BZ #13966]
4943         * configure.in (CXX_SYSINCLUDES): Use compiler output to
4944         determine header location.
4945         * configure: Regenerated.
4947 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
4949         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
4950         float format.
4951         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
4952         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
4953         format.
4954         (test): Regenerate.
4956 2012-09-04  David S. Miller  <davem@davemloft.net>
4958         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
4959         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
4960         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
4962 2012-09-04  Florian Weimer  <fweimer@redhat.com>
4964         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
4965         failures.
4967         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
4969 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
4971         [BZ #9914]
4972         * libio/iogetdelim.c: Include <limits.h>.
4973         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
4974         + len + 1 would overflow.
4976 2012-09-03  Andreas Jaeger  <aj@suse.de>
4978         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4979         * sysdeps/i386/fpu/libm-test-ulps: Update.
4981 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
4983         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
4984         Add s_sinf-sse2, s_conf-sse2.
4986         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
4987         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
4988         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
4989         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
4991         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
4992         for using routine as __sinf_ia32.
4993         Use macro for function declaration and weak_alias.
4994         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
4995         for using routine as __cosf_ia32.
4996         Use macro for function declaration and weak_alias.
4998         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
4999         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
5001         * sysdeps/x86_64/fpu/s_sinf.S: New file.
5002         * sysdeps/x86_64/fpu/s_cosf.S: New file.
5003         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5005         * math/libm-test.inc (cos_test): Add more test cases.
5006         (sin_test): Likewise.
5007         (sincos_test): Likewise.
5009 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5011         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
5012         (IFUNC_RESOLVE): Make pointers to the specialized implementations
5013         hidden.
5014         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5016 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
5018         [BZ #14538]
5019         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
5020         first element of the GOT.
5021         (elf_machine_load_address): Return the difference between
5022         the runtime address of _DYNAMIC and elf_machine_dynamic ().
5024 2012-09-01  Allan McRae  <allan@archlinux.org>
5026         [BZ #13412]
5027         * configure.in (AWK): Require gawk version 3.0 or later.
5028         * configure: Regenerated.
5030 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
5032         * sysdeps/unix/sysv/linux/kernel-features.h
5033         (__ASSUME_POSIX_CPU_TIMERS): Remove.
5034         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
5035         [__NR_clock_getres]: Make code unconditional.
5036         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
5037         (clock_getcpuclockid): Remove code left unreachable by removal of
5038         conditionals.
5039         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
5040         code unconditional.
5041         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
5042         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
5043         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
5044         Make code unconditional.
5045         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
5046         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
5047         * sysdeps/unix/sysv/linux/clock_settime.c
5048         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
5049         conditional code.
5050         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
5051         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
5053 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
5055         [BZ #14476]
5056         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
5057         scripts/test-installation.pl.
5059         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
5060         and $ld_so_version if it is set.
5062 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
5064         [BZ #14516]
5065         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
5066         failure if reading from procfs failed.
5067         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
5069 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
5071         * sysdeps/unix/sysv/linux/kernel-features.h
5072         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
5073         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
5074         Remove conditional code.
5075         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5076         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
5077         Remove conditional code.
5078         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5079         * sysdeps/unix/sysv/linux/i386/fxstat.c
5080         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
5081         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5082         * sysdeps/unix/sysv/linux/i386/fxstatat.c
5083         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
5084         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5085         * sysdeps/unix/sysv/linux/i386/lxstat.c
5086         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
5087         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5088         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
5089         Remove conditional code.
5090         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5091         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
5092         Remove conditional code.
5093         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5094         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
5095         <kernel-features.h>.
5096         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
5097         Remove.
5098         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
5099         Remove conditional code.
5100         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5101         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
5102         Remove conditional.
5104 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
5106         [BZ #5400]
5107         * NEWS: Add fixed bug number.
5109 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
5111         [BZ #14519]
5112         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
5113         underflowing exponent in case of negative sign.
5114         * stdlib/tst-strtod-round-data: Add more tests.
5115         * stdlib/tst-strtod-round.c (tests): Regenerated.
5117         [BZ #3479]
5118         * stdlib/strtod_l.c (NDIG): Remove.
5119         (HEXNDIG): Likewise.
5120         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
5121         smallest representable value.
5122         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
5123         lie within an exact representation of 1/2 ulp of the result.
5124         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
5125         unconditionally.
5126         (TENS_P9_IDX): Define unconditionally.
5127         (TENS_P9_SIZE): Likewise.
5128         (TENS_P10_IDX): Likewise.
5129         (TENS_P10_SIZE): Likewise.
5130         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
5131         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
5132         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
5133         entries for 10^2^13 and 10^2^14.
5134         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
5135         (TENS_P13_IDX): Define.
5136         (TENS_P13_SIZE): Likewise.
5137         (TENS_P14_IDX): Likewise.
5138         (TENS_P14_SIZE): Likewise.
5139         (_fpioconst_pow10): Change array size to
5140         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
5141         unconditional.
5142         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
5143         1024]: Add entries for 10^2^13 and 10^2^14.
5144         [LAST_POW10 > _LAST_POW10]: Remove #error.
5145         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
5146         (_fpioconst_pow10): Change array size to
5147         FPIOCONST_POW10_ARRAY_SIZE.
5148         * stdlib/gen-fpioconst.c: New file.
5149         * stdlib/gen-tst-strtod-round.c: Likewise.
5150         * stdlib/tst-strtod-round-data: Likewise.
5151         * stdlib/tst-strtod-round.c: Likewise.
5152         * stdlib/Makefile (tests): Add tst-strtod-round.
5154         [BZ #14459]
5155         * stdlib/strtod_l.c: Include <stdint.h>.
5156         (NDEBUG): Do not define.
5157         (round_and_return): Change EXPONENT parameter to type intmax_t.
5158         Rearrange calculations to avoid internal overflow possibilities.
5159         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
5160         Rearrange calculations to avoid internal overflow possibilities.
5161         Assert that number fits inside MPNSIZE limbs.
5162         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
5163         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
5164         calculations and add assertions to avoid internal overflow
5165         possibilities.  Add casts to avoid signed/unsigned operations.
5166         * stdlib/tst-strtod-overflow.c: New file.
5167         * stdlib/Makefile (tests): Add tst-strtod-overflow.
5169 2012-08-25  Marek Polacek  <polacek@redhat.com>
5171         * time/time.h: Fix some typos in comments.
5173 2012-08-23  Roland McGrath  <roland@hack.frob.com>
5175         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
5176         * posix/tst-rfc3484-2.c: Likewise.
5177         * posix/tst-rfc3484-3.c: Likewise.
5179 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
5181         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
5182         (EF_ARM_ABI_FLOAT_HARD): Likewise.
5184 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
5186         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
5187         #include of fxstatat64.c.
5189 2012-08-22  Roland McGrath  <roland@hack.frob.com>
5191         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
5192         * shadow/getspent_r.c: Likewise.
5193         * shadow/getspnam.c: Likewise.
5194         * shadow/getspnam_r.c: Likewise.
5195         * gshadow/getsgent.c: Likewise.
5196         * gshadow/getsgent_r.c: Likewise.
5197         * gshadow/getsgnam.c: Likewise.
5198         * gshadow/getsgnam_r.c: Likewise.
5199         * inet/getnetbyad.c: Likewise.
5200         * inet/getnetbyad_r.c: Likewise.
5201         * inet/getnetbynm.c: Likewise.
5202         * inet/getnetbynm_r.c: Likewise.
5203         * inet/getnetent.c: Likewise.
5204         * inet/getnetent_r.c: Likewise.
5205         * inet/getproto.c: Likewise.
5206         * inet/getproto_r.c: Likewise.
5207         * inet/getprtent.c: Likewise.
5208         * inet/getprtent_r.c: Likewise.
5209         * inet/getprtname.c: Likewise.
5210         * inet/getprtname_r.c: Likewise.
5211         * inet/getrpcbyname.c: Likewise.
5212         * inet/getrpcbyname_r.c: Likewise.
5213         * inet/getrpcbynumber.c: Likewise.
5214         * inet/getrpcbynumber_r.c: Likewise.
5215         * inet/getrpcent.c: Likewise.
5216         * inet/getrpcent_r.c: Likewise.
5217         * inet/getaliasent.c: Likewise.
5218         * inet/getaliasent_r.c: Likewise.
5219         * inet/getaliasname.c: Likewise.
5220         * inet/getaliasname_r.c: Likewise.
5221         * nscd/getgrgid_r.c: Likewise.
5222         * nscd/getgrnam_r.c: Likewise.
5223         * nscd/gethstbyad_r.c: Likewise.
5224         * nscd/gethstbynm3_r.c: Likewise.
5225         * nscd/getpwnam_r.c: Likewise.
5226         * nscd/getpwuid_r.c: Likewise.
5227         * nscd/getsrvbynm_r.c: Likewise.
5228         * nscd/getsrvbypt_r.c: Likewise.
5229         * nscd/gai.c: Likewise.
5231         * configure.in (build_nscd): New substituted variable, set
5232         by --disable-build-nscd and defaults to $use_nscd.
5233         * configure: Regenerated.
5234         * config.make.in (build-nscd): New substituted variable.
5235         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
5236         Change conditional to require [$(build-nscd) = yes] as well.
5237         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
5239         [BZ# 13696]
5240         * configure.in (use_nscd): New substituted variable, set by
5241         --disable-nscd.  If enabled, define USE_NSCD.
5242         * configure: Regenerated.
5243         * config.h.in: Add USE_NSCD.
5244         * config.make.in (use-nscd): New substituted variable.
5245         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
5246         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
5247         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
5248         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
5249         (CFLAGS-getgrnam_r.c): Likewise.
5250         (CFLAGS-initgroups.c): Likewise.
5251         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
5252         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
5253         Variables removed.
5254         * inet/getnetgrent_r.c
5255         (nscd_setnetgrent): New function, broken out of ...
5256         (setnetgrent): ... here.  Call it.
5257         (innetgr): Conditionalize nscd bits on [USE_NSCD].
5258         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
5259         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
5260         * nscd/Makefile (routines, aux): Move definitions after include of
5261         Makeconfig.  Conditionalize on [$(use-nscd) != no].
5262         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
5263         Conditionalize on [USE_NSCD].
5264         (is_nscd, nscd_init_cb): Likewise.
5265         (nss_load_library): Conditionalize init callback on [USE_NSCD].
5266         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
5267         * nss/nss_db/db-init.c: Likewise.
5268         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
5269         [USE_NSCD].
5270         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
5271         (make_request): Use it.
5272         (cache_valid_p): New function.
5273         (__check_pf): Use it.
5274         * NEWS: Add item for --disable-nscd.
5276 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
5278         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
5279         to support sed >= 4.2.1-20-ga9bf076.
5280         * configure: Regenerated.
5282 2012-08-22  Roland McGrath  <roland@hack.frob.com>
5284         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
5285         Conditionalize whole body on [IREL].
5287 2012-08-22  Jeff Law <law@redhat.com>
5289         [BZ #14505]
5290         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
5291         if the family is PF_UNSPEC.
5293 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
5295         * Makerules (lib-version): Rename from V.
5296         (install-lib-nosubdir): Change V to lib-version.
5298 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
5300         [BZ #14252]
5301         * powerpc32/power6/wcschr.c: New file.
5302         * powerpc32/power6/wcscpy.c: New file.
5303         * powerpc32/power6/wcsrchr.c: New file.
5304         * powerpc64/power6/wcschr.c: New file.
5305         * powerpc64/power6/wcscpy.c: New file.
5306         * powerpc64/power6/wcsrchr.c: New file.
5308 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
5310         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
5311         (two_way_short_needle): Use it.
5312         * string/strstr.c (AVAILABLE1_USES_J): Define.
5313         * string/strcasestr.c: Likewise.
5315         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
5316         array references.
5317         * string/strcasestr.c (TOLOWER): Make side-effect safe.
5319         [BZ #11607]
5320         * NEWS: Add an entry.
5321         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
5322         define their defaults.
5323         (two_way_short_needle): Detect end-of-string on-the-fly.
5324         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
5325         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
5326         * string/bug-strcasestr1.c: New test.
5327         * string/Makefile: Run it.
5329 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
5331         [BZ #11607]
5332         * string/str-two-way.h (two_way_short_needle): Optimize matching of
5333         the first character.
5335 2012-08-21  Roland McGrath  <roland@hack.frob.com>
5337         * csu/elf-init.c (__libc_csu_irel): Function removed.
5338         * csu/libc-start.c (apply_irel): New function.
5339         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
5341 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
5343         * sysdeps/unix/sysv/linux/kernel-features.h
5344         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
5345         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
5346         <kernel-features.h>.
5347         [__NR_fadvise64_64]: Make code unconditional.
5348         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
5349         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
5350         !__NR_fadvise64_64)]: Likewise.
5351         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
5352         !__NR_fadvise64_64))]: Likewise.
5353         [__NR_fadvise64]: Make code unconditional.
5354         [!__NR_fadvise64]: Remove conditional code.
5355         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
5356         <kernel-features.h>.
5357         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
5358         unconditional.
5359         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
5360         conditional code.
5361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
5362         not include <kernel-features.h>.
5363         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
5364         unconditional.
5365         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
5366         conditional code.
5367         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
5368         include <kernel-features.h>.
5369         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
5370         unconditional.
5371         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
5372         conditional code.
5374 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
5376         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
5377         slight instruction rearrangements per scrollpipe analysis.
5378         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
5380 2012-08-20  Roland McGrath  <roland@hack.frob.com>
5382         * manual/syslog.texi (syslog; vsyslog, closelog):
5383         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
5384         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
5386         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
5387         DSOCAPS to match condition on defining it.
5389 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
5391         * sysdeps/unix/sysv/linux/kernel-features.h
5392         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
5393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
5394         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5395         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
5397         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5398         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
5400         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5401         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5403         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
5404         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
5406         * sysdeps/unix/sysv/linux/kernel-features.h
5407         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
5408         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
5409         unconditional.
5410         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5411         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
5412         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
5413         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5414         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
5415         Make code unconditional.
5416         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5417         (__mmap64) [!__NR_mmap2]: Likewise.
5418         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
5419         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
5420         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5421         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
5422         [__NR_mmap2]: Make code unconditional.
5423         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5424         (__mmap64) [!__NR_mmap2]: Likewise.
5426 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5428         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
5430 2012-08-18  Andreas Jaeger  <aj@suse.de>
5432         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
5434 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
5436         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
5437         * include/unistd.h (__have_sock_cloexec): Likewise.
5438         (__have_pipe2): Likewise.
5439         (__have_dup3): Likewise.
5441 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
5443         [BZ #9685]
5444         * include/unistd.h (__have_pipe2): Change define into an extern int.
5445         (__have_dup3): Likewise.
5446         * socket/have_sock_cloexec.c: Include fcntl.h.
5447         (__have_pipe2): New variable.
5448         (__have_dup3): Likewise.
5450 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
5452         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
5454 2012-08-17  Marek Polacek  <polacek@redhat.com>
5456         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
5457         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
5459 2012-08-17  Roland McGrath  <roland@hack.frob.com>
5461         * configure.in: Add AC_SUBST for sysheaders.
5462         * configure: Regenerated.
5463         * config.make.in (sysheaders): New substituted variable.
5465         * sysdeps/unix/mkfifo.c: Moved ...
5466         * sysdeps/posix/mkfifo.c: ... here.
5467         * sysdeps/unix/mkfifoat.c: Moved ...
5468         * sysdeps/posix/mkfifoat.c: ... here.
5470         * sysdeps/unix/utime.c: Moved ...
5471         * sysdeps/posix/utime.c: ... here.
5473         * sysdeps/unix/time.c: Moved ...
5474         * sysdeps/posix/time.c: ... here.
5475         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
5476         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
5478         * sysdeps/unix/nice.c: Moved ...
5479         * sysdeps/posix/nice.c: ... here.
5481         * sysdeps/unix/alarm.c: Moved ...
5482         * sysdeps/posix/alarm.c: ... here.
5484         * intl/Makefile ($(codeset_mo)): Depend on the input file.
5486 2012-08-17  Jeff Law <law@redhat.com>
5488         * intl/Makefile (codeset_mo): New variable.
5489         ($(codeset_mo)): New target.
5490         (tst-codeset.out): Depend on that.  Remove explicit rule.
5491         (tst-gettext3.out, tst-gettext5.out): Likewise.
5492         (LOCPATH-ENV, tst-codeset-ENV): New variables.
5493         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
5494         * intl/tst-codeset.sh: Remove.
5495         * intl/tst-gettext3.sh: Likewise.
5496         * intl/tst-gettext5.sh: Likewise.
5498 2012-08-17  Roland McGrath  <roland@hack.frob.com>
5500         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
5501         * sysdeps/unix/syscalls.list: ... here.
5503         * sysdeps/posix/getaddrinfo.c
5504         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
5505         (gaiconf_init, gaiconf_reload): Use them.
5506         [!_STATBUF_ST_NSEC]
5507         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
5508         Define using time_t rather than struct timespec.
5510         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
5511         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
5512         Macros removed.
5513         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
5514         [!NO_THREADS].
5515         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
5516         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
5517         Likewise.
5519         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
5520         __libc_cleanup_push argument.
5522         * bits/param.h: New file.
5523         * misc/sys/param.h: New file.
5524         * include/sys/param.h: New file.
5525         * misc/Makefile (headers): Add bits/param.h.
5526         * sysdeps/generic/sys/param.h: File removed.
5527         * sysdeps/unix/sysv/linux/bits/param.h: New file.
5528         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
5529         * sysdeps/mach/hurd/bits/param.h: New file.
5530         * sysdeps/mach/hurd/sys/param.h: File removed.
5532         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
5533         last change.
5535         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
5536         [_IO_MTSAFE_IO].
5537         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
5538         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
5539         New macros.
5541         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
5542         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
5543         rather than -D_IO_MTSAFE_IO conditionally.
5544         * stdio-common/Makefile (CPPFLAGS): Likewise.
5545         * wcsmbs/Makefile (CPPFLAGS): Likewise.
5546         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
5547         Use $(libio-mtsafe).
5548         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
5549         of -D_IO_MTSAFE_IO.
5550         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
5551         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
5552         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
5553         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
5554         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
5555         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
5556         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
5557         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
5558         (CFLAGS-fread_u_chk.c): Likewise.
5559         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
5560         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
5561         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
5562         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
5563         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
5564         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
5565         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
5566         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
5567         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
5569         * libio/Makefile: Test [$(libc-reentrant) = yes]
5570         instead of [$(filter %REENTRANT, $(defines)) nonempty].
5572         * Makeconfig
5573         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
5574         * sysdeps/pthread/configure: File removed.
5575         * sysdeps/pthread/Makeconfig: New file.
5576         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
5577         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
5579 2012-08-16  Gary Benson  <gbenson@redhat.com>
5581         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
5582         unmapping the first object in a namespace.
5584 2012-08-16  Roland McGrath  <roland@hack.frob.com>
5586         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
5587         (__internal_setnetgrent): ... this.  Add internal_function to
5588         definition.  Add libc_hidden_def.
5589         (setnetgrent): Update caller.
5590         (internal_endnetgrent): Renamed to ...
5591         (__internal_endnetgrent): ... this.  Add internal_function to
5592         definition.  Add libc_hidden_def.
5593         (endnetgrent): Update caller.
5594         (internal_getnetgrent_r): Renamed to ...
5595         (__internal_getnetgrent_r): ... this.  Add internal_function to
5596         definition.  Add libc_hidden_def.
5597         (__getnetgrent_r): Update caller.
5598         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
5600 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
5602         * stdlib/longlong.h: Update from GCC.
5604 2012-08-16  Roland McGrath  <roland@hack.frob.com>
5606         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
5607         on _QL, which is set by umul_ppmm but never used.
5608         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
5609         variables, which are set by GMP macros but never used.
5610         * stdio-common/_itowa.c (_itowa): Likewise.
5611         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
5612         * stdlib/mod_1.c (mpn_mod_1): Likewise.
5614 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
5616         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
5617         struct La_sh_regs is not constant.
5618         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
5619         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
5620         and struct La_sparc64_regs are not constant.
5622 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
5624         * sysdeps/unix/sysv/linux/kernel-features.h
5625         (__ASSUME_POSIX_TIMERS): Remove.
5626         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
5627         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5628         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
5629         Make code unconditional.
5630         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5631         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
5632         Make code unconditional.
5633         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5634         * sysdeps/unix/sysv/linux/clock_nanosleep.c
5635         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
5636         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5637         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
5638         Make code unconditional.
5639         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5640         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
5641         (__libc_missing_posix_timers): Remove.
5643 2012-08-15  Roland McGrath  <roland@hack.frob.com>
5645         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
5646         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
5648         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
5650         * elf/dl-sym.c: Include <stdlib.h>.
5652         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
5653         constants, which avoids warnings in 32-bit builds.
5655         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
5656         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
5658         * misc/lseek.c: File moved to ...
5659         * io/lseek.c: ... here.
5661         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
5663         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
5664         shifting LEN more than 31 bits at once.
5666 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5668         [BZ #14195]
5669         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
5670         segmentation fault for a case of two empty input strings.
5671         * string/test-strncasecmp.c (check1): Renamed to...
5672         (bz12205): ...this.
5673         (bz14195): Add new testcase for two empty input strings and N > 0.
5674         (test_main): Call new testcase, adapt for renamed function.
5676 2012-08-15  Andreas Jaeger  <aj@suse.de>
5678         [BZ #14090]
5679         * crypt/md5test2.c: New test, based on test supplied by Serge
5680         Belyshev <belyshev@depni.sinp.msu.ru>.
5681         * crypt/Makefile (xtests): Add md5test-giant..
5682         * crypt/Makefile ($(objpfx)md5test-giant): Add.
5684 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
5686         [BZ #14090]
5687         * crypt/md5.c (md5_process_block): Don't assume the buffer
5688         length is less than 2**32.
5689         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
5690         length is less than 2**64.
5692 2012-08-15  Roland McGrath  <roland@hack.frob.com>
5694         * string/str-two-way.h: Include <sys/param.h>.
5695         (MAX): Macro removed.
5697         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
5698         Move #define and #undef of memmove to just before and after
5699         including <string.h>.
5701         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
5702         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
5703         and after including <string.h>.  Move declarations of
5704         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
5705         to before #include "string/memmove.c".
5707         * include/dirent.h: Declare __getdirentries.
5709         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
5710         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
5712 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
5714         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
5715         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
5716         * sysdeps/i386/configure: Regenerated.
5717         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
5718         STABS_CURRENT_FILE, and STABS_FUN.
5719         (END): Remove call to STABS_FUN_END.
5720         (STABS_CURRENT_FILE1): Delete.
5721         (STABS_CURRENT_FILE): Likewise.
5722         (STABS_FUN): Likewise.
5723         (STABS_FUN_END): Likewise.
5724         (STABS_FUN2): Likewise.
5725         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
5726         * sysdeps/x86_64/configure: Regenerated.
5728 2012-08-14  Roland McGrath  <roland@hack.frob.com>
5730         * elf/dl-open.c: Include <atomic.h>.
5731         * elf/dl-lookup.c: Likewise.
5733 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
5735         * sysdeps/unix/sysv/linux/kernel-features.h
5736         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
5737         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
5738         unconditionally.
5739         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
5740         unconditionally.
5741         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
5742         condition on __ASSUME_CLONE_THREAD_FLAGS.
5744 2012-08-14  Andreas Jaeger  <aj@suse.de>
5746         * sysdeps/i386/fpu/libm-test-ulps: Update.
5748 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
5750         * include/atomic.h (atomic_exchange_and_add): Split into ...
5751         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
5752         New atomic macros.
5754 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
5756         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5758 2012-08-13  Jeff Law <law@redhat.com>
5760         * manual/stdio.texi (snprintf): Clarify handling of the trailing
5761         null byte in the output string.
5763 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
5765         * sysdeps/unix/sysv/linux/kernel-features.h
5766         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
5767         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
5768         (__ASSUME_ARG_MAX_STACK_BASED): Define.
5769         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
5770         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
5771         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
5772         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
5774 2012-08-09  Jeff Law <law@redhat.com>
5776         [BZ #13939]
5777         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
5778         When avoid_arena is set, don't retry in the that arena.  Pick the
5779         next one, whatever it might be.
5780         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
5781         (arena_lock): Pass in new parameter to arena_get2.
5782         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
5783         arena_get2.
5784         (__libc_malloc): Unify retrying after main arena failure with
5785         __libc_memalign version.
5786         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
5788 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
5790         [BZ #14166]
5791         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
5792         to __redirect_strstr.
5793         (__strstr_sse42): Use typeof __redirect_strstr.
5794         (__strstr_ia32): Likewise.
5795         (__libc_strstr): New prototype.
5796         (strstr): Renamed to ...
5797         (__libc_strstr): This.
5798         (strstr): New strong alias of __libc_strstr.
5799         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
5800         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
5801         __redirect_time.
5802         Include <time.h>.
5803         (__libc_time): New prototype.
5804         (time_ifunc): Replace time with __libc_time.
5805         (time): New strong alias and hidden definition of __libc_time.
5806         (__GI_time): Remove strong alias.
5807         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
5808         Include <stddef.h>.
5809         (memmove): Redefined to __redirect_memmove.
5810         (__memmove_sse2): Use typeof __redirect_memmove.
5811         (__memmove_ssse3): Likewise.
5812         (__memmove_ssse3_back): Likewise.
5813         (__libc_memmove): New prototype.
5814         (memmove): Renamed to ...
5815         (__libc_memmove): This.
5816         (memmove): New strong alias of __libc_memmove.
5818 2012-08-08  Mark Salter  <msalter@redhat.com>
5820         * elf/elf.h
5821         (R_MN10300_TLS_GD): Define.
5822         (R_MN10300_TLS_LD): Likewise.
5823         (R_MN10300_TLS_LDO): Likewise.
5824         (R_MN10300_TLS_GOTIE): Likewise.
5825         (R_MN10300_TLS_IE): Likewise.
5826         (R_MN10300_TLS_LE): Likewise.
5827         (R_MN10300_TLS_DTPMOD): Likewise.
5828         (R_MN10300_TLS_DTPOFF): Likewise.
5829         (R_MN10300_TLS_TPOFF): Likewise.
5830         (R_MN10300_SYM_DIFF): Likewise.
5831         (R_MN10300_ALIGN): Likewise.
5832         (R_MN10300_NUM): Update.
5834 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
5836         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
5837         Remove.
5839 2012-08-08  Roland McGrath  <roland@hack.frob.com>
5841         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
5843         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
5844         sysdeps/unix -> sysdeps/posix move.
5845         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
5847 2012-08-07      Allan McRae     <allan@archlinux.org>
5849         [BZ #14303]
5850         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
5851         (SUNOS_CPP): Likewise.
5852         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
5853         not found.
5854         (open_input): Call CPP using execvp.
5856 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
5858         * sysdeps/unix/sysv/linux/kernel-features.h
5859         (__ASSUME_PROT_GROWSUPDOWN): Remove.
5860         (__ASSUME_NO_CLONE_DETACHED): Likewise.
5861         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
5862         (__ASSUME_WAITID_SYSCALL): Likewise.
5863         * sysdeps/unix/sysv/linux/dl-execstack.c
5864         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
5865         code unconditional.
5866         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
5867         conditional code.
5868         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
5869         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
5870         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
5871         code.
5872         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
5873         unconditional.
5874         [__ASSUME_WAITID_SYSCALL]: Likewise.
5875         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
5877 2012-08-07  Roland McGrath  <roland@hack.frob.com>
5879         * sysdeps/unix/closedir.c: Renamed to ...
5880         * sysdeps/posix/closedir.c: ... here.
5881         * sysdeps/unix/dirfd.c: Renamed to ...
5882         * sysdeps/posix/dirfd.c: ... here.
5883         * sysdeps/unix/dirstream.h: Renamed to ...
5884         * sysdeps/posix/dirstream.h: ... here.
5885         * sysdeps/unix/fdopendir.c: Renamed to ...
5886         * sysdeps/posix/fdopendir.c: ... here.
5887         * sysdeps/unix/opendir.c: Renamed to ...
5888         * sysdeps/posix/opendir.c: ... here.
5889         * sysdeps/unix/readdir.c: Renamed to ...
5890         * sysdeps/posix/readdir.c: ... here.
5891         * sysdeps/unix/readdir_r.c: Renamed to ...
5892         * sysdeps/posix/readdir_r.c: ... here.
5893         * sysdeps/unix/rewinddir.c: Renamed to ...
5894         * sysdeps/posix/rewinddir.c: ... here.
5895         * sysdeps/unix/seekdir.c: Renamed to ...
5896         * sysdeps/posix/seekdir.c: ... here.
5897         * sysdeps/unix/telldir.c: Renamed to ...
5898         * sysdeps/posix/telldir.c: ... here.
5899         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
5900         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
5901         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
5902         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
5904         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
5905         * bits/fcntl.h: ... here.
5907         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
5908         not 0.
5909         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
5910         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
5911         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
5912         (struct flock): Move l_start, l_len to the beginning.
5913         Use __pid_t for l_pid.
5914         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
5915         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
5916         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
5917         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
5918         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
5919         [__USE_LARGEFILE64] (struct flock64): New type.
5920         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
5922         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
5923         * bits/dirent.h: ... here.
5925         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
5926         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
5928 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
5930         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5931         Change from 2.6.0 to 2.6.16.
5932         * sysdeps/unix/sysv/linux/configure: Regenerated.
5933         * sysdeps/unix/sysv/linux/kernel-features.h
5934         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
5935         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
5936         version.
5937         (__ASSUME_UTIMES): Likewise.
5938         (__ASSUME_CLONE_STOPPED): Remove.
5939         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
5940         architectures, not kernel version.
5941         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
5942         (__ASSUME_NO_CLONE_DETACHED): Likewise.
5943         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
5944         (__ASSUME_WAITID_SYSCALL): Likewise.
5945         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
5946         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
5947         * README: State 2.6.16 as minimum Linux kernel version.  Do not
5948         refer to older versions.
5950 2012-08-06  Roland McGrath  <roland@hack.frob.com>
5952         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
5953         Define alphasort64 as an alias.
5954         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
5955         Define versionsort64 as an alias.
5956         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
5957         Define scandir64 as an alias.
5958         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
5959         Define scandirat64 as an alias.
5960         * dirent/alphasort64.c (alphasort64):
5961         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
5962         * dirent/versionsort64.c: Likewise.
5963         * dirent/scandir64.c: Likewise.
5964         * dirent/scandirat64.c: Likewise.
5965         * sysdeps/wordsize-64/alphasort.c: File removed.
5966         * sysdeps/wordsize-64/alphasort64.c: File removed.
5967         * sysdeps/wordsize-64/scandir.c: File removed.
5968         * sysdeps/wordsize-64/scandir64.c: File removed.
5969         * sysdeps/wordsize-64/scandirat.c: File removed.
5970         * sysdeps/wordsize-64/scandirat64.c: File removed.
5971         * sysdeps/wordsize-64/versionsort.c: File removed.
5972         * sysdeps/wordsize-64/versionsort64.c: File removed.
5973         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
5974         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
5975         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
5976         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
5977         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
5978         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
5979         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
5980         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
5982         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
5983         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
5984         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
5985         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5986         [defined __arch64__ || defined __sparcv9]
5987         (__INO_T_MATCHES_INO64_T): New macro.
5988         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5989         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
5990         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
5991         * sysdeps/unix/sysv/linux/bits/dirent.h
5992         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
5993         (_DIRENT_MATCHES_DIRENT64): New macro.
5995         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
5996         Define lockf64 as an alias.
5997         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
5998         Define fseeko64 as an alias.
5999         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
6000         Define ftello64 as an alias.
6001         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
6002         Define _IO_fgetpos64 and fgetpos64 as aliases.
6003         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
6004         Define _IO_fsetpos64 and fsetpos64 as aliases.
6005         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
6006         Conditionalize body on this.
6007         * libio/fseeko64.c: Likewise.
6008         * libio/ftello64.c: Likewise.
6009         * libio/iofgetpos64.c: Likewise.
6010         * libio/iofsetpos64.c: Likewise.
6011         * sysdeps/wordsize-64/lockf.c: File removed.
6012         * sysdeps/wordsize-64/lockf64.c: File removed.
6013         * sysdeps/wordsize-64/fseeko.c: File removed.
6014         * sysdeps/wordsize-64/fseeko64.c: File removed.
6015         * sysdeps/wordsize-64/ftello.c: File removed.
6016         * sysdeps/wordsize-64/ftello64.c: File removed.
6017         * sysdeps/wordsize-64/iofgetpos.c: File removed.
6018         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
6019         * sysdeps/wordsize-64/iofsetpos.c: File removed.
6020         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
6021         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
6022         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
6023         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
6024         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
6025         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
6026         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
6027         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
6028         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
6029         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
6030         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
6032         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
6033         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
6034         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
6035         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6036         [defined __arch64__ || defined __sparcv9]
6037         (__OFF_T_MATCHES_OFF64_T): New macro.
6038         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
6039         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
6040         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6041         (__OFF_T_MATCHES_OFF64_T): New macro.
6043 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
6045         * stdlib/secure-getenv.c (__secure_getenv): Replace
6046         GLIBC_2_16 with GLIBC_2_17.
6048 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
6050         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
6051         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
6053 2012-08-03  David S. Miller  <davem@davemloft.net>
6055         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6057 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
6059         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
6060         Remove.
6061         (__ASSUME_CORRECT_SI_PID): Likewise.
6062         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
6063         (__ASSUME_TMPFS_NAME): Likewise.
6064         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
6065         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
6066         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
6067         (HAVE_AUX_SECURE): Make definition unconditional.
6068         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
6069         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
6071 2012-08-03  Roland McGrath  <roland@hack.frob.com>
6073         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
6074         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
6075         * sysdeps/mach/hurd/eloop-threshold.h: New file.
6076         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
6077         __eloop_threshold instead of SYMLOOP_MAX.
6079         * sysdeps/generic/eloop-threshold.h: New file.
6080         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
6081         of MAXSYMLINKS.
6082         * elf/chroot_canon.c (chroot_canon): Likewise.
6084 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
6086         [BZ #13717]
6087         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6088         Change to 2.6.0 everywhere.
6089         * sysdeps/unix/sysv/linux/configure: Regenerated.
6090         * sysdeps/unix/sysv/linux/kernel-features.h
6091         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
6092         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
6093         kernel versions.
6094         (__ASSUME_POSIX_TIMERS): Define unconditionally.
6095         (__ASSUME_FUTEX_REQUEUE): Remove.
6096         (__ASSUME_STATFS64): Define unconditionally.
6097         (__ASSUME_AT_SECURE): Likewise.
6098         (__ASSUME_CORRECT_SI_PID): Likewise.
6099         (__ASSUME_TGKILL): Define without depending on kernel version for
6100         i386.
6101         (__ASSUME_UTIMES): Likewise.
6102         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
6103         kernel version.
6104         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
6105         (__ASSUME_TMPFS_NAME): Likewise.
6106         * README: Update reference to Linux kernel versions.
6108 2012-08-02  Marek Polacek  <polacek@redhat.com>
6110         [BZ# 14150]
6111         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
6112         libc_cv_asm_type_prefix with %.
6113         * configure: Regenerated.
6114         * include/libc-symbols.h: Remove comment about
6115         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
6116         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
6117         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
6118         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
6119         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
6120         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
6121         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
6122         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
6123         * elf/tst-unique2mod1.c: Likewise.
6124         * elf/tst-unique1mod2.c: Likewise.
6125         * elf/tst-unique1mod1.c: Likewise.
6126         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
6127         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
6128         Replace ASM_TYPE_DIRECTIVE with .type.
6129         * sysdeps/s390/s390-64/sysdep.h: Likewise.
6130         * sysdeps/i386/sysdep.h: Likewise.
6131         * sysdeps/x86_64/sysdep.h: Likewise.
6132         * sysdeps/sh/sysdep.h: Likewise.
6133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
6134         Do not define ASM_TYPE_DIRECTIVE.
6135         * sysdeps/powerpc/sysdep.h: Likewise.
6136         * sysdeps/powerpc/powerpc32/sysdep.h:
6137         Replace ASM_TYPE_DIRECTIVE with .type.
6138         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
6139         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6140         * sysdeps/i386/fpu/e_powf.S: Likewise.
6141         * sysdeps/i386/fpu/e_expl.S: Likewise.
6142         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6143         * sysdeps/i386/fpu/e_acosh.S: Likewise.
6144         * sysdeps/i386/fpu/e_pow.S: Likewise.
6145         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
6146         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6147         * sysdeps/i386/fpu/s_expm1.S: Likewise.
6148         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
6149         * sysdeps/i386/fpu/e_log2.S: Likewise.
6150         * sysdeps/i386/fpu/e_log2l.S: Likewise.
6151         * sysdeps/i386/fpu/e_scalb.S: Likewise.
6152         * sysdeps/i386/fpu/e_powl.S: Likewise.
6153         * sysdeps/i386/fpu/e_log10f.S: Likewise.
6154         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
6155         * sysdeps/i386/fpu/e_logl.S: Likewise.
6156         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
6157         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
6158         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
6159         * sysdeps/i386/fpu/e_log2f.S: Likewise.
6160         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6161         * sysdeps/i386/fpu/e_log.S: Likewise.
6162         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6163         * sysdeps/i386/fpu/e_logf.S: Likewise.
6164         * sysdeps/i386/fpu/e_log10l.S: Likewise.
6165         * sysdeps/i386/fpu/e_atanh.S: Likewise.
6166         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
6167         * sysdeps/i386/fpu/e_log10.S: Likewise.
6168         * sysdeps/i386/fpu/s_frexp.S: Likewise.
6169         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6170         * sysdeps/i386/fpu/s_asinh.S: Likewise.
6171         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
6172         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6173         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
6174         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
6175         * sysdeps/i386/i686/strtok.S: Likewise.
6176         * sysdeps/i386/i386-mcount.S: Likewise.
6177         * sysdeps/i386/strtok.S: Likewise.
6178         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
6179         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6180         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6181         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6182         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
6183         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6184         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
6185         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
6186         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6187         * sysdeps/x86_64/_mcount.S: Likewise.
6188         * sysdeps/x86_64/strtok.S: Likewise.
6189         * sysdeps/sh/_mcount.S: Likewise.
6191 2012-08-01  Roland McGrath  <roland@hack.frob.com>
6193         * libio/iofopen.c: Include <fcntl.h>.
6194         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
6195         (_IO_fopen64, fopen64): Define as aliases.
6196         * libio/iofopen64.c: Include <fcntl.h>.
6197         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
6198         Conditionalize body on this.
6199         * sysdeps/wordsize-64/iofopen.c: File removed.
6200         * sysdeps/wordsize-64/iofopen64.c: File removed.
6202 2012-08-01  Marek Polacek  <polacek@redhat.com>
6204         * libc/Makeconfig: Use elf in place of binfmt-subdir.
6205         Use dlfcn directly instead of a variable.
6206         (binfmt-subdir): Do not define.
6207         (dlfcn): Likewise.
6209 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
6211         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
6212         Remove all definitions.
6213         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
6214         <kernel-features.h>.
6215         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
6216         (miss_F_GETOWN_EX): Remove all definitions.
6217         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
6218         macro definition.
6219         [!__ASSUME_FCNTL64]: Remove conditional code.
6220         [__ASSUME_FCNTL64]: Make code unconditional.
6221         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
6222         <kernel-features.h>.
6223         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
6224         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
6225         (lockf64) [__NR_fcntl64]: Make code unconditional.
6226         (lockf64) [__ASSUME_FCNTL64]: Likewise.
6228         * sysdeps/unix/sysv/linux/kernel-features.h
6229         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
6230         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
6231         Make code unconditional.
6232         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
6233         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
6234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
6235         [__NR_vfork]: Make code unconditional.
6236         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
6237         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
6238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
6239         [__NR_vfork]: Make code unconditional.
6240         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
6241         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
6243 2012-08-01  Roland McGrath  <roland@hack.frob.com>
6245         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
6246         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
6248         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6249         Define mkstemp64 as an alias.
6250         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6251         Define mkstemps64 as an alias.
6252         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6253         Define mkostemp64 as an alias.
6254         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6255         Define mkostemps64 as an alias.
6256         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
6257         Conditionalize body on this.
6258         * misc/mkostemp64.c: Likewise.
6259         * misc/mkostemps64.c: Likewise.
6260         * misc/mkstemps64.c: Likewise.
6261         * sysdeps/wordsize-64/mkstemp64.c: File removed.
6262         * sysdeps/wordsize-64/mkostemp64.c: File removed.
6263         * sysdeps/wordsize-64/mkostemp.c: File removed.
6264         * sysdeps/wordsize-64/mkstemp.c: File removed.
6265         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
6266         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
6267         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
6268         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
6270         [BZ #14138]
6271         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
6272         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
6273         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
6274         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
6276         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
6277         compat_symbol macros from <shlib-compat.h> rather than the underlying
6278         default_symbol_version and symbol_version macros, so that DEFAULT
6279         lines in shlib-versions are respected.
6280         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
6282 2012-08-01  Florian Weimer  <fweimer@redhat.com>
6284         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
6285         Declare with warn_unused_result.
6286         (setgid, setregid, setegid, setresgid): Likewise.
6287         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
6288         Likewise.
6289         * WUR-REPORT: Remove set*id functions.
6291 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
6293         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
6295 2012-07-31  Roland McGrath  <roland@hack.frob.com>
6297         * include/sys/socket.h (__libc_accept, __libc_accept4):
6298         Add attribute_hidden.
6299         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
6301         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
6302         use of PTR_MANGLE.
6303         * inet/getnetgrent_r.c (setup): Likewise.
6305         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
6307 2012-07-31  David S. Miller  <davem@davemloft.net>
6309         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6311 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
6313         [BZ #13629]
6314         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
6315         value between 1.0 and 2.0 and smaller part has absolute value less
6316         than 1.0.
6317         * math/s_clog10.c (__clog10): Likewise.
6318         * math/s_clog10f.c (__clog10f): Likewise.
6319         * math/s_clog10l.c (__clog10l): Likewise.
6320         * math/s_clogf.c (__clogf): Likewise.
6321         * math/s_clogl.c (__clogl): Likewise.
6322         * math/libm-test.inc (clog_test): Add more tests.
6323         (clog10_test): Likewise.
6324         * sysdeps/i386/fpu/libm-test-ulps: Update.
6325         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6327 2012-07-31  Florian Weimer  <fweimer@redhat.com>
6329         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
6330         Exit with zero in case no suitable GID is found, and write a
6331         message to standard error.
6333 2012-07-30  Roland McGrath  <roland@hack.frob.com>
6335         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
6336         rather than to 1.
6337         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
6338         (MAXPATHLEN): Removed.
6339         (NOGROUP, NODEV): New macros.
6340         (setbit, clrbit, isset, isclr): New macros.
6341         (howmany, roundup, powerof2): New macros.
6342         (DEV_BSIZE): New macro.
6344         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
6345         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
6347         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
6348         definition on [!__NO_LONG_DOUBLE_MATH].
6350         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
6351         PTR_MANGLE and PTR_DEMANGLE.
6353         * socket/accept4.c (accept4): Rename to __libc_accept4.
6354         Define accept4 as a weak alias.
6356         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
6357         on [_DIRENT_HAVE_D_TYPE].
6358         * io/ftw.c (ftw_dir): Likewise.
6360         * io/xmknod.c (__xmknod): Don't check PATH for being null.
6362         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
6364         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
6365         Use the BSD numbers rather than the arbitrary ones we had.
6366         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
6367         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
6368         (SIGXCPU, SIGXFSZ): New macros.
6369         (_NSIG): Now 32.
6371         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
6372         initializer on [_LIBC_REENTRANT].
6374         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
6375         definitions inside [_POSIX_MAPPED_FILES].
6377         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
6379         * dirent/opendir.c: Include <fcntl.h>.
6381         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
6382         (__libc_getspecific): Likewise.
6383         (__libc_key_create): Likewise.
6385         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
6386         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
6387         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
6388         (tmpfile64): Define as alias.
6389         * sysdeps/wordsize-64/tmpfile.c: File removed.
6390         * sysdeps/wordsize-64/tmpfile64.c: File removed.
6391         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
6392         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
6394         * stdio-common/vfscanf.c: Include <stdbool.h>.
6395         * nss/makedb.c: Likewise.
6396         * stdio-common/_i18n_number.h: Likewise.
6397         * argp/argp-help.c: Likewise.
6398         * posix/wordexp.c: Likewise.
6399         * sysdeps/posix/spawni.c: Likewise.
6400         * nss/nss_files/files-initgroups.c: Likewise.
6401         * stdio-common/reg-modifier.c: Include <stdlib.h>.
6402         * nss/nss_files/files-initgroups.c: Likewise.
6403         * nss/nss_db/db-netgrp.c: Likewise.
6404         * nss/nss_db/db-initgroups.c: Likewise.
6405         * io/fchmodat.c: Include <sys/stat.h>.
6407         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
6408         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
6410         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
6411         [HAVE_MMAP].
6413         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
6414         Add multiple inclusion protection.
6416 2012-07-27  David S. Miller  <davem@davemloft.net>
6418         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6420 2012-07-27  Gary Benson  <gbenson@redhat.com>
6422         [BZ #14298]
6423         * elf/rtld.c: Include <stap-probe.h>.
6424         (dl_main): Added static probes "init_start" and "init_complete".
6425         * elf/dl-load.c: Include <stap-probe.h>.
6426         (lose): Take new parameter "nsid".
6427         Added static probe "map_failed".
6428         (_dl_map_object_from_fd): Pass namespace id to lose.
6429         Added static probe "map_start".
6430         (open_verify): Pass namespace id to lose.
6431         * elf/dl-open.c: Include <stap-probe.h>.
6432         (dl_open_worker) Added static probes "map_complete", "reloc_start"
6433         and "reloc_complete".
6434         * elf/dl-close.c: Include <stap-probe.h>.
6435         (_dl_close_worker): Added static probes "unmap_start" and
6436         "unmap_complete".
6437         * elf/rtld-debugger-interface.txt: New file documenting the above.
6439 2012-07-26  Roland McGrath  <roland@hack.frob.com>
6441         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
6442         rather than a string variable.
6443         * sunrpc/rpc_main.c (h_output): Likewise.
6444         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
6446 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
6448         * inet/check_native.c: New file.
6450 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
6452         [BZ #13629]
6453         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
6454         if larger part has absolute value 1.0.
6455         * math/s_clog10.c (__clog10): Likewise.
6456         * math/s_clog10f.c (__clog10f): Likewise.
6457         * math/s_clog10l.c (__clog10l): Likewise.
6458         * math/s_clogf.c (__clogf): Likewise.
6459         * math/s_clogl.c (__clogl): Likewise.
6460         * math/libm-test.inc (clog_test): Add more tests.
6461         (clog10_test): Likewise.
6462         * sysdeps/i386/fpu/libm-test-ulps: Update.
6463         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6465         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
6466         (pltexit): Likewise.
6467         (La_regs): Likewise.
6468         (La_retval): Likewise.
6469         (int_retval): Likewise.
6470         Update #error for removed macros to refer only to definitions in
6471         tst-audit.h.
6472         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
6473         macro.
6474         (pltexit): Likewise.
6475         (La_regs): Likewise.
6476         (La_retval): Likewise.
6477         (int_retval): Likewise.
6478         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
6479         macro.
6480         (pltexit): Likewise.
6481         (La_regs): Likewise.
6482         (La_retval): Likewise.
6483         (int_retval): Likewise.
6484         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
6485         macro.
6486         (pltexit): Likewise.
6487         (La_regs): Likewise.
6488         (La_retval): Likewise.
6489         (int_retval): Likewise.
6490         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
6491         macro.
6492         (pltexit): Likewise.
6493         (La_regs): Likewise.
6494         (La_retval): Likewise.
6495         (int_retval): Likewise.
6496         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
6497         macro.
6498         (pltexit): Likewise.
6499         (La_regs): Likewise.
6500         (La_retval): Likewise.
6501         (int_retval): Likewise.
6502         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
6503         macro.
6504         (pltexit): Likewise.
6505         (La_regs): Likewise.
6506         (La_retval): Likewise.
6507         (int_retval): Likewise.
6508         * sysdeps/generic/tst-audit.h: Update comment to refer only to
6509         macro definitions in tst-audit.h.
6510         * sysdeps/i386/tst-audit.h: New file.
6511         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
6512         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
6513         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
6514         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
6515         * sysdeps/sh/tst-audit.h: Likewise.
6516         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
6517         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
6518         * sysdeps/x86_64/tst-audit.h: Likewise.
6520 2012-07-26  Andreas Jaeger  <aj@suse.de>
6522         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
6523         ptrace.
6525         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
6526         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
6527         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
6528         PTRACE_O_MASK.
6529         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
6530         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
6531         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
6533         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
6534         value.
6536         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
6537         _sigsys.
6538         (si_call_addr, si_syscall, si_arch): Define new macro.
6539         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
6540         _sigsys.
6541         (si_call_addr, si_syscall, si_arch): Define new marcro.
6542         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
6543         _sigsys.
6544         (si_call_addr, si_syscall, si_arch): Define new macro.
6545         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
6546         _sigsys.
6547         (si_call_addr, si_syscall, si_arch): Define new macro.
6549 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
6551         [BZ #13717]
6552         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6553         Change to 2.4.21 where previously 2.4.1.
6554         * sysdeps/unix/sysv/linux/configure: Regenerated.
6555         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
6556         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
6557         Linux kernel version.
6558         (__ASSUME_STD_AUXV): Remove.
6559         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
6560         kernel version.
6561         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
6562         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
6563         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
6564         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
6565         (__ASSUME_NETLINK_SUPPORT): Likewise.
6566         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
6567         (__no_netlink_support): Remove conditional definition.
6568         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
6569         Remove.
6570         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
6571         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
6572         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
6573         (if_nameindex_ioctl): Remove.
6574         (if_nameindex_netlink): Do not handle __no_netlink_support.
6575         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
6576         code.
6577         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
6578         Remove conditional code.
6579         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
6580         code.
6581         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
6582         unconditional.
6583         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
6584         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
6585         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
6586         Remove.
6587         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
6588         [!__ASSUME_STD_AUXV]: Remove conditional code.
6589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
6590         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
6591         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
6592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
6593         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
6594         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
6595         code.
6596         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
6597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
6598         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
6599         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
6600         conditional code.
6601         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
6602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
6603         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
6604         code.
6605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
6606         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
6607         conditional code.
6608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
6609         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6610         code unconditional.
6611         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6612         conditional code.
6613         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6614         unconditional.
6615         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6616         conditional code.
6617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6618         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6619         unconditional.
6620         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6621         conditional code.
6622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
6623         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6624         code unconditional.
6625         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6626         conditional code.
6627         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6628         unconditional.
6629         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6630         conditional code.
6631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
6632         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6633         code unconditional.
6634         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6635         conditional code.
6636         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6637         unconditional.
6638         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6639         conditional code.
6641 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
6643         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
6644         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
6645         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6646         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
6647         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
6648         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
6649         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
6650         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
6651         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
6652         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
6653         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
6654         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
6655         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
6656         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
6657         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
6658         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
6659         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
6660         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
6661         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
6662         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
6663         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
6664         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
6665         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
6667 2012-07-25  Florian Weimer  <fweimer@redhat.com>
6669         * Versions.def: Add GLIBC_2.17.
6670         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
6671         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
6672         Introduce __libc_secure_getenv.
6673         * stdlib/Versions (2.17): Add secure_getenv
6674         (GLIBC_PRIVATE): Add __libc_secure_getenv.
6675         * stdlib/secure-getenv.c: Rename __secure_getenv to
6676         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
6677         symbol __secure_getenv for GLIBC_2.0.
6678         * stdlib/tst-secure-getenv.c: New.
6679         * stdlib/Makefile (tests): Add testcase.
6680         * manual/startup.texi (Environment Access): Document
6681         secure_getenv.
6682         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
6683         __libc_secure_getenv.
6684         * inet/ruserpass.c (ruserpass): Likewise.
6685         * malloc/mtrace.c (mtrace): Likewise.
6686         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
6687         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
6688         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
6689         * sysdeps/posix/tempname.c: Likewise.  Evaluate
6690         HAVE_SECURE_GETENV.
6691         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
6692         __secure_getenv to __libc_secure_getenv.
6693         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
6694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6695         Likewise.
6696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6697         Likewise.
6698         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
6699         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
6700         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6701         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
6702         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
6703         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6704         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
6706 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
6708         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
6709         (struct La_i86_retval): Likewise.
6710         (struct La_x86_64_regs): Likewise.
6711         (struct La_x86_64_retval): Likewise.
6712         (struct La_x32_regs): Likewise.
6713         (struct La_x32_retval): Likewise.
6714         (struct La_ppc32_regs): Likewise.
6715         (struct La_ppc32_retval): Likewise.
6716         (struct La_ppc64_regs): Likewise.
6717         (struct La_ppc64_retval): Likewise.
6718         (struct La_sh_regs): Likewise.
6719         (struct La_sh_retval): Likewise.
6720         (struct La_s390_32_regs): Likewise.
6721         (struct La_s390_32_retval): Likewise.
6722         (struct La_s390_64_regs): Likewise.
6723         (struct La_s390_64_retval): Likewise.
6724         (struct La_sparc32_regs): Likewise.
6725         (struct La_sparc32_retval): Likewise.
6726         (struct La_sparc64_regs): Likewise.
6727         (struct La_sparc64_retval): Likewise.
6728         (struct audit_ifaces): Remove architecture-specific pltenter and
6729         pltexit members.
6730         * sysdeps/i386/ldsodefs.h: New file.
6731         * sysdeps/powerpc/ldsodefs.h: Likewise.
6732         * sysdeps/s390/ldsodefs.h: Likewise.
6733         * sysdeps/sh/ldsodefs.h: Likewise.
6734         * sysdeps/sparc/ldsodefs.h: Likewise.
6735         * sysdeps/x86_64/ldsodefs.h: Likewise.
6737 2012-07-25  Marek Polacek  <polacek@redhat.com>
6739         [BZ #6808]
6740         * math/libm-test.inc (yn_test): Add another test.
6741         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
6742         to ERANGE when the result is +-Inf.
6743         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
6744         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
6745         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
6746         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
6748 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
6750         * conform/data/time.h-data (NULL): Use macro-constant.  Require
6751         equal to 0.
6752         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
6753         clock_t.
6754         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
6756 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
6758         * configure.in <sysdeps resolving>: Correct printing
6759         Implies_before.
6760         * configure: Regenerate.
6762 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
6764         * math/w_ilogb.c: Include <limits.h>.
6765         * math/w_ilogbl.c: Likewise.
6767 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
6769         * manual/lang.texi (__va_copy): Document primarily as ISO C99
6770         va_copy.  Document allowing for unavailable va_copy only as
6771         pre-C99 compatibility.
6772         * manual/string.texi (Copying and Concatenation): Use va_copy
6773         instead of __va_copy in concat example.
6775 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
6777         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
6778         (__sendto): Use create_address_port.  Initialize APORT and deallocate
6779         it if not null.
6781         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
6782         with O_NOLINK passed to __file_name_lookup.
6784         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
6785         with O_NOLINK passed to __file_name_lookup.
6787         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
6788         negative N or less than NGIDS.
6790         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
6791         type to string_t.  Set ERANGE as errno and return it if NAME is not big
6792         enough.  Use memcpy instead of strncpy.
6794 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
6796         * elf/Makefile (check-data): Remove.
6797         (localplt.data): New vpath directive.
6798         ($(objpfx)check-localplt.out): Use localplt.data from vpath
6799         instead of $(check-data).
6800         * scripts/data/localplt-generic.data: Move to ...
6801         * sysdeps/generic/localplt.data: ... here.
6802         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
6803         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
6804         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
6805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
6806         ... here.
6807         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
6808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
6809         ... here.
6810         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
6811         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
6812         ... here.
6813         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
6814         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
6815         ... here.
6816         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
6817         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
6818         ... here.
6819         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
6820         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
6821         ... here.
6823 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6825         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
6826         PPC32 and PPC64 files.
6827         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
6828         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
6830 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6832         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
6833         __makecontext_ret to ...
6834         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
6835         ... here and call exit if uc_link is NULL.  New file.
6836         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
6837         __makecontext_ret.S.
6838         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
6839         __makecontext_ret to ...
6840         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
6841         ... here and call exit if uc_link is NULL.  New file.
6842         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
6843         __makecontext_ret.S.
6845 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6847         * elf/elf.h (R_390_IRELATIVE): New definition.
6848         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
6849         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
6850         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
6851         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
6852         (elf_machine_lazy_rel): Likewise.
6853         * sysdeps/s390/dl-irel.h: New file.
6854         * sysdeps/s390/s390-64/memcpy.S: New asm code.
6855         * sysdeps/s390/s390-64/memset.S: New asm code.
6856         * sysdeps/s390/s390-64/memcmp.S: New asm code.
6857         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
6858         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
6859         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
6860         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
6861         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
6862         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
6863         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
6864         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
6865         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
6866         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
6867         * sysdeps/s390/s390-32/memcpy.S: New asm code.
6868         * sysdeps/s390/s390-32/memset.S: New asm code.
6869         * sysdeps/s390/s390-32/memcmp.S: New asm code.
6871 2012-07-17  Marek Polacek  <polacek@redhat.com>
6873         [BZ #14349]
6874         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
6875         * sysdeps/s390/s390-64/configure.in: Likewise.
6876         * sysdeps/sparc/configure.in: Likewise.
6877         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
6878         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
6879         * sysdeps/i386/configure.in: Likewise.
6880         * sysdeps/x86_64/configure.in: Likewise.
6881         * sysdeps/sh/configure.in: Likewise.
6882         * sysdeps/s390/s390-32/configure: Regenerated.
6883         * sysdeps/s390/s390-64/configure: Likewise.
6884         * sysdeps/x86_64/configure: Likewise.
6885         * sysdeps/sh/configure: Likewise.
6886         * sysdeps/powerpc/powerpc64/configure: Likewise.
6887         * sysdeps/powerpc/powerpc32/configure: Likewise.
6888         * sysdeps/sparc/configure: Likwise.
6889         * sysdeps/i386/configure: Likewise.
6891         * elf/dl-open.c: Comment fixes.
6893 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
6895         * Makefile [CXX] (check-data): Remove.
6896         [CXX] (c++-types.data): New vpath directive.
6897         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
6898         vpath.  Do not allow for C++ type data being missing.
6899         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
6900         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
6901         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
6902         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
6903         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
6904         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
6905         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
6906         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
6907         ... here.
6908         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
6909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
6910         ... here.
6911         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
6912         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
6913         ... here.
6914         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
6915         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
6916         ... here.
6917         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
6918         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
6919         ... here.
6920         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
6921         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
6922         ... here.
6923         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
6924         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
6925         ... here.
6926         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
6927         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
6929         * elf/tls-macros.h (TLS_LE): Move architecture-specific
6930         definitions to architecture-specific files.
6931         (TLS_IE): Likewise.
6932         (TLS_LD): Likewise.
6933         (TLS_GD): Likewise.
6934         * sysdeps/i386/tls-macros.h: New file.
6935         * sysdeps/powerpc/tls-macros.h: Likewise.
6936         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
6937         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
6938         * sysdeps/sh/tls-macros.h: Likewise.
6939         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
6940         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
6941         * sysdeps/x86_64/tls-macros.h: Likewise.
6943 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
6945         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
6946         zero value for regular exit case.
6948         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
6949         (__start_context): Preserve zero value for regular exit case.
6951 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
6952             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6954         * manual/setjmp.texi (setcontext): Clarify normal process
6955         termination when uc_link is the null pointer.
6956         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
6957         exit call.
6959 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
6961         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
6962         preprocessor.  Test for each exception mask separately.
6964 2012-07-16  Andreas Jaeger  <aj@suse.de>
6966         * po/ru.po: Update from translation team.
6968 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
6970         * conform/data/string.h-data (NULL): Use macro-constant.  Require
6971         equal to 0.
6972         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
6973         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
6974         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
6975         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
6976         [ISO || ISO99 || ISO11] (*_t): Do not allow.
6978 2012-07-13  Andreas Jaeger  <aj@suse.de>
6980         * po/fr.po: Update from translation team.
6982 2012-07-12  Marek Polacek  <polacek@redhat.com>
6984         [BZ #14173]
6985         * math/libm-test.inc (yn_test): Add test for BZ #14173.
6986         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
6987         loop condition.
6989 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
6991         [BZ #13717]
6992         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6993         Change to 2.4.1 where previously 2.4.0.
6994         * sysdeps/unix/sysv/linux/configure: Regenerated.
6995         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
6996         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
6997         version.
6998         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
6999         (__ASSUME_AT_CLKTCK): Remove.
7000         (__ASSUME_AT_PAGESIZE): Likewise.
7001         (__ASSUME_AT_XID): Likewise.
7002         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
7003         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
7004         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
7005         unconditionally.
7006         (HAVE_AUX_PAGESIZE): Likewise.
7007         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
7008         [__ASSUME_AT_CLKTCK]: Make code unconditional.
7009         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
7011 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
7013         [BZ #14307]
7014         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
7015         the temporary buffer used to invoke __gethostbyname2_r,
7016         __gethostbyaddr_r and gethostbyname4_r to make room for struct
7017         host_data / struct gaih_addrtuple.
7018         * resolv/nss_dns/dns-host.c (global scope): Move definition of
7019         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
7020         header file nss/nsswitch.h.
7021         * nss/nsswitch.h (global scope): Add definition of implementation
7022         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
7023         resolv/nss_dns/dns-host.c).
7025 2012-07-11  Andreas Jaeger  <aj@suse.de>
7027         * po/fr.po: Update from translation team.
7029         * po/sv.po: Update from translation team
7030         * po/fr.po: Another update from translation team.
7032 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7034         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
7035         for subnormals or multiply small sinh result by itself.
7036         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
7037         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7039 2012-07-11  David S. Miller  <davem@davemloft.net>
7041         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7043 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
7045         [BZ #14347]
7046         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
7047         (INTERNAL_MARK): Shift it here.
7049 2012-07-10  Marek Polacek  <polacek@redhat.com>
7051         [BZ #14151]
7052         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
7053         libc_cv_asm_global_directive with .globl.
7054         * configure: Regenerated.
7055         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
7056         with .globl.
7057         * sysdeps/i386/configure: Regenerated.
7058         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
7059         with .globl.
7060         * sysdeps/x86_64/configure: Regenerated.
7061         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
7062         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
7063         * elf/tst-unique2mod2.c: Likewise.
7064         * elf/tst-unique2mod1.c: Likewise.
7065         * elf/tst-unique1mod2.c: Likewise.
7066         * elf/tst-unique1mod1.c: Likewise.
7067         * sysdeps/s390/s390-32/sysdep.h: Likewise.
7068         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
7069         * sysdeps/s390/s390-64/sysdep.h: Likewise.
7070         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7071         * sysdeps/mach/sysdep.h: Likewise.
7072         * sysdeps/i386/sysdep.h: Likewise.
7073         * sysdeps/i386/i386-mcount.S: Likewise.
7074         * sysdeps/x86_64/_mcount.S: Likewise.
7075         * sysdeps/x86_64/sysdep.h: Likewise.
7076         * sysdeps/sh/_mcount.S: Likewise.
7077         * sysdeps/sh/sysdep.h: Likewise.
7078         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
7079         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
7080         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
7081         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
7082         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
7083         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
7084         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
7085         * locale/localeinfo.h: Likewise.
7086         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
7087         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
7089 2012-07-09  Roland McGrath  <roland@hack.frob.com>
7091         [BZ #14336]
7092         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
7093         system".
7094         * manual/message.texi (The Uniforum approach): Likewise.
7095         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
7096         (glibc iconv Implementation): Likewise.
7098 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
7100         [BZ #14337]
7101         * math/s_clog.c (__clog): Avoid scaling a value down where that
7102         could result in underflow.
7103         * math/s_clog10.c (__clog10): Likewise.
7104         * math/s_clog10f.c (__clog10f): Likewise.
7105         * math/s_clog10l.c (__clog10l): Likewise.
7106         * math/s_clogf.c (__clogf): Likewise.
7107         * math/s_clogl.c (__clogl): Likewise.
7108         * math/libm-test.inc (clog_test): Add more tests.
7109         (clog10_test): Likewise.
7110         * sysdeps/i386/fpu/libm-test-ulps: Update.
7111         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7113 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
7115         [BZ #14283]
7116         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
7117         by 7 not 8 to examine high bit of fractional part.
7119         [BZ #14042]
7120         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
7121         for call to __mcount_internal.
7122         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
7123         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
7124         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
7126 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
7128         [BZ #14154]
7129         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
7130         approximation for values within 0x1p-13f of an odd multiple of
7131         pi/4.
7132         * math/libm-test.inc (tan_test): Do not allow spurious underflow
7133         exception.  Add more tests.
7134         * sysdeps/i386/fpu/libm-test-ulps: Update.
7136         [BZ #6778]
7137         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
7138         inputs and return -1 for them.  Do not check for +Inf in case not
7139         reachable for +Inf.
7140         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
7141         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
7142         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
7143         and return -1 for them.  Do not check for +Inf in case not
7144         reachable for +Inf.
7145         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
7146         define.
7147         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
7148         and return -1 for them.  Do not check for +Inf in case not
7149         reachable for +Inf.
7150         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
7151         spurious underflow.
7152         * sysdeps/i386/fpu/libm-test-ulps: Update.
7153         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7155 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
7157         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
7159 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
7161         [BZ #14157]
7162         [BZ #14331]
7163         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
7164         could result in spurious underflow.  Scale down values above
7165         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
7166         * math/s_csqrtf.c (__csqrtf): Likewise.
7167         * math/s_csqrtl.c (__csqrtl): Likewise.
7168         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
7169         spurious underflow.
7170         * sysdeps/i386/fpu/libm-test-ulps: Update.
7171         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7173 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
7175         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
7176         xopen-msg.sed.
7177         * catgets/xopen-msg.awk: New file.
7178         * catgets/xopen-msg.sed: Removed.
7180         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
7181         po2text.sed.
7182         * intl/po2test.awk: New file.
7183         * intl/po2test.sed: Removed.
7185 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
7187         [BZ #14328]
7188         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
7189         or multiply small sinh result by itself.
7190         * math/s_ctanf.c (__ctanf): Likewise.
7191         * math/s_ctanh.c (__ctanh): Likewise.
7192         * math/s_ctanhf.c (__ctanhf): Likewise.
7193         * math/s_ctanhl.c (__ctanhl): Likewise.
7194         * math/s_ctanl.c (__ctanl): Likewise.
7195         * math/libm-test.inc (ctan_test_tonearest): New function.
7196         (ctan_test_towardzero): Likewise.
7197         (ctan_test_downward): Likewise.
7198         (ctan_test_upward): Likewise.
7199         (ctanh_test_tonearest): Likewise.
7200         (ctanh_test_towardzero): Likewise.
7201         (ctanh_test_downward): Likewise.
7202         (ctanh_test_upward): Likewise.
7203         (main): Call these new functions.
7204         * sysdeps/i386/fpu/libm-test-ulps: Update.
7205         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7207 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
7209         * .gitignore: Delete /ports entry.
7211 2012-07-03  Andreas Jaeger  <aj@suse.de>
7213         * po/bg.po: Update from translation team.
7214         * po/cs.po: Likewise.
7215         * po/de.po: Likewise.
7216         * po/hr.po: Likewise.
7217         * po/nl.pl: Likewise.
7218         * po/pl.po: Likewise.
7219         * po/vi.po: Likewise.
7221 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
7223         * Makeconfig [!+link] (+link-before-libc): New variable.
7224         [!+link] (+link-after-libc): Likewise.
7225         [!+link] (+link-tests): Likewise.
7226         [!+link] (+link): Define in terms of $(+link-before-libc) and
7227         $(+link-after-libc).
7228         [!+link-static] (+link-static-before-libc): New variable.
7229         [!+link-static] (+link-static-after-libc): Likewise.
7230         [!+link-static] (+link-static-tests): Likewise.
7231         [!+link-static] (+link-static): Define in terms of
7232         $(+link-static-before-libc) and $(+link-static-after-libc).
7233         [build-shared] (link-libc-before-gnulib): New variable.
7234         [build-shared] (link-libc-tests): Likewise.
7235         [build-shared] (link-libc): Define in terms of
7236         $(link-libc-before-gnulib).
7237         [!build-shared] (link-libc-tests): New variable.
7238         (link-libc-static-tests): New variable.
7239         [!gnulib] (gnulib-arch): New variable.
7240         [!gnulib] (gnulib-tests): Likewise.
7241         [!gnulib] (static-gnulib-arch): Likewise.
7242         [!gnulib] (static-gnulib-tests): Likewise.
7243         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
7244         Define with "=" instead of ":=".
7245         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
7246         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
7247         * Rules (binaries-all-notests): New variable.
7248         (binaries-all-tests): Likewise.
7249         (binaries-static-notests): Likewise.
7250         (binaries-static-tests): Likewise.
7251         (binaries-all): Define using $(binaries-all-notests) and
7252         $(binaries-all-tests).
7253         (binaries-static): Define using $(binaries-static-notests) and
7254         $(binaries-static-tests).
7255         (binaries-shared-tests): New variable.
7256         (binaries-shared-notests): Likewise.
7257         (binaries-shared): Remove variable.
7258         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
7259         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
7260         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
7261         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
7262         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
7263         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
7264         * elf/Makefile (sln-modules): New variable.
7265         (extra-objs): Add $(sln-modules:=.o).
7266         (ldconfig-modules): Add static-stubs.
7267         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
7268         * elf/static-stubs.c: New file.
7270         [BZ #14283]
7271         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
7272         by 7 not 8 to examine high bit of fractional part.  Use volatile
7273         variables when splitting into final array of floats if
7274         __FLT_EVAL_METHOD__ != 0.
7275         * math/libm-test.inc (cos_test): Add another test.
7276         (sin_test): Likewise.
7277         * sysdeps/i386/fpu/libm-test-ulps: Update.
7279         [BZ #14273]
7280         * math/libm-test.inc (cosh_test): Add more tests.
7282         * version.h (RELEASE): Set to "development".
7283         (VERSION): Set to "2.16.90".
7285 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
7287         * NEWS: Update copyright. Remove last-updated date.
7288         Mention math library bug fixes and timezone data changes.
7289         * README: Mention GNU/Hurd, x32, and HPPA support status.
7291 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
7293         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
7295 2012-06-27  Andreas Jaeger  <aj@suse.de>
7297         * manual/contrib.texi (Contributors): Add Samuel Thibault.
7299 2012-06-25  Andreas Jaeger  <aj@suse.de>
7301         * sysdeps/s390/fpu/libm-test-ulps: Update.
7303 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
7304             Thomas Schwinge  <thomas@codesourcery.com>
7306         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
7307         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
7308         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
7309         fanotify_mark.
7311 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
7313         * sysdeps/mach/start.c: Remove file.
7314         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
7315         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
7316         * sysdeps/sh/init-first.c: Likewise.
7318         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
7319         registers for frame unwinding purposes, add CFI directives.
7320         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
7321         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
7322         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
7323         Likewise.
7325         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
7326         __fortify_fail returning.
7327         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
7329         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
7330         sysdeps/sh/____longjmp_chk.S.
7331         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
7332         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
7333         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
7334         (gen-as-const-headers): Append sigaltstack-offsets.sym.
7336         * sysdeps/sh/abort-instr.h: New file.
7337         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
7338         process in case exit returns.
7340         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
7341         initialize the GOT register before use.
7343         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
7344         calculation of ARGC > 4.
7346         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
7347         meaningful names to some local labels.
7349 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
7350             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7352         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
7353         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
7354         (__arch_compare_and_exchange_val_16_acq): Likewise.
7355         (__arch_compare_and_exchange_val_32_acq): Likewise.
7356         (atomic_exchange_and_add): Fix gUSA sequence.
7357         (atomic_add): Likewise.
7358         (atomic_add_negative): Likewise.
7359         (atomic_add_zero): Likewise.
7360         (atomic_bit_test_set): Likewise.
7362 2012-06-22  Andreas Schwab  <schwab@redhat.com>
7364         [BZ #13579]
7365         * include/link.h (struct link_map): Add l_free_initfini.
7366         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
7367         l_initfini.
7368         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
7369         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
7370         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
7371         set.
7373 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
7375         * configure.in: Use AC_LANG_SOURCE.
7376         * configure: Regenerate.
7378 2012-06-22  Roland McGrath  <roland@hack.frob.com>
7380         * configure.in (libc_cv_localstatedir): New substituted variable.
7381         * configure: Regenerated.
7382         * config.make.in (localstatedir): New variable, substituted from
7383         libc_cv_localstatedir.
7384         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
7385         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
7386         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
7387         * sysdeps/gnu/configure: Regenerated.
7389 2012-06-21  Jeff Law  <law@redhat.com>
7391         [BZ #14277]
7392         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
7393         free.  Simplify list management for _LIBC case.
7395 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
7397         [BZ #14273]
7398         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
7399         Clear sign bit of 64-bit integer value before comparing against
7400         overflow value.
7402         * sysdeps/mach/configure: Regenerated.
7404 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
7406         [BZ #14278]
7407         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
7409 2012-06-21  Jeff Law  <law@redhat.com>
7411         [BZ #13882]
7412         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
7413         uint16_t for elements in the "seen" array to avoid char overflows.
7414         * elf/dl-fini.c (_dl_sort_fini): Likewise.
7415         * elf/dl-open.c (dl_open_worker): Likewise.
7417 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
7419         * scripts/list-sources.sh: Scan PORTS for translations.
7420         * po/libc.pot: Regenerated.
7422 2012-06-21  Andreas Jaeger  <aj@suse.de>
7424         [BZ #12194]
7425         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
7426         warning.
7427         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
7428         * bits/byteswap-16.h (__bswap_16): Likewise.
7429         * bits/byteswap.h (__bswap_constant_16): Likewise.
7431 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
7433         [BZ #14117]
7434         * sysdeps/i386/fpu_control.h: Removed.
7435         * sysdeps/x86_64/fpu_control.h: Moved to ...
7436         * sysdeps/x86/fpu_control.h: Here.
7438         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
7439         (_FPU_SETCW): Likewise.
7441 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
7443         [BZ #14117]
7444         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
7445         * sysdeps/x86/fpu/bits/mathinline.h: This.
7446         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
7448         [BZ #14050]
7449         [BZ #14117]
7450         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
7451         functions if __x86_64__ is defined.
7453 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
7455         * string/endian.h: Add !__ASSEMBLER__ condition for including
7456         conversion interfaces.
7458 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
7460         [BZ #14241]
7461         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
7462         of ABS(x) in calculating zero to negative powers other than odd
7463         integers.
7464         * math/libm-test.inc (pow_test): Add more tests.
7466 2012-06-15  Andreas Jaeger  <aj@suse.de>
7468         * manual/contrib.texi (Contributors): Update entry of Liubov
7469         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
7470         Machado Filho.
7472 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
7474         * string/string.h: Add __wur to GNU version of strerror_r.
7476 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
7478         [BZ #14229]
7479         * string/Makefile (tests): Add tst-strtok_r.
7480         * string/tst-strtok_r.c: New file.
7481         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
7482         RAX_LP/RDX_LP on SAVE_PTR.
7484 2012-06-14  Roland McGrath  <roland@hack.frob.com>
7486         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
7488 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
7490         * libm_test.inc (csqrt_test): Allow more spurious underflow
7491         exceptions.
7492         (j0_test): Likewise.
7493         (j1_test): Likewise.
7494         (y0_test): Likewise.
7495         (y1_test): Likewise.
7497 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
7499         * po/Makefile (libc.pot): Use UTF-8 charset.
7501 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
7503         [BZ #14210]
7504         Suppress sign-conversion warning from FD_SET.
7505         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
7506         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
7507         not unsigned long int.
7508         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
7510 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
7512         [BZ #14050]
7513         [BZ #14117]
7514         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
7515         __extern_always_inline instead of __extern_inline.
7516         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
7517         (__signbit): Likewise.
7518         (__signbitl): Support C++ namespace.
7519         (lrintf): New inline function.
7520         (lrint): Likewise.
7521         (llrintf): Likewise.
7522         (llrint): Likewise.
7523         (fmaxf): Likewise.
7524         (fmax): Likewise.
7525         (fminf): Likewise.
7526         (fmin): Likewise.
7527         (rint): Likewise.
7528         (rintf): Likewise.
7529         (ceil): Likewise.
7530         (ceilf): Likewise.
7531         (floor): Likewise.
7532         (floorf): Likewise.
7533         (nearbyint): Likewise.
7534         (nearbyintf): Likewise.
7536 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
7538         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
7539         non-default versions.
7541 2012-06-11  Roland McGrath  <roland@hack.frob.com>
7543         [BZ #14218]
7544         * manual/argp.texi (Argp): Reword argp_parse description slightly.
7546 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
7548         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
7549         (FE_UPWARD, FE_DOWNWARD): Don't define.
7550         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
7551         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7553         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
7554         reading it.
7555         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
7556         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
7558 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7560         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
7561         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
7562         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
7563         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
7565 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
7567         [BZ #14117]
7568         * sysdeps/i386/fpu/bits/fenv.h: Removed.
7569         * sysdeps/i386/fpu/Implies: New file.
7570         * sysdeps/x86_64/fpu/Implies: Likewise.
7571         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
7572         * sysdeps/x86/fpu/bits/fenv.h: This.
7574         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
7575         __SSE_MATH__.
7577 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
7579         [BZ #14134]
7580         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
7581         character 0xffff that matches the last element of the
7582         conversion table.
7584 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7586         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
7587         fmodl commit.
7589 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7591         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
7592         values higher than 25.6283.
7594 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7596         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
7597         subnormal exponent extraction and add some __builtin_expect.
7598         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
7599         Fix for subnormal mantissa calculation.
7601 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
7603         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
7604         cpu2 is -1 and errno is not ENOSYS.
7606 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
7608         [BZ #14117]
7609         * sysdeps/i386/i486/bits/string.h: Renamed to ...
7610         * sysdeps/x86/bits/string.h: This.
7611         * sysdeps/x86_64/bits/string.h: Removed.
7613         * sysdeps/i386/i486/bits/string.h: Define inline functions only
7614         if not compiling for x86-64, but compiling for >= i486.
7616         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
7617         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
7619         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
7620         New macro from Linux kernel 3.4.0.
7621         (FP_XSTATE_MAGIC2): Likewise.
7622         (FP_XSTATE_MAGIC2_SIZE): Likewise.
7623         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
7624         (struct _fpx_sw_bytes): New struct.
7625         (struct _xsave_hdr): Likewise.
7626         (struct _ymmh_state): Likewise.
7627         (struct _xstate): Likewise.
7629         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
7630         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
7631         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
7632         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
7633         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
7634         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
7636         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
7637         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
7638         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
7639         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
7640         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
7641         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
7643 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7645         [BZ #13743]
7646         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
7647         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
7648         (sysdep_headers): Include sys/platform/ppc.h.
7649         * sysdeps/powerpc/test-gettimebase.c: Test for
7650         __ppc_get_timebase() to catch future ISA opcode/insn changes.
7651         * manual/Makefile (appendices): Include platform.texi.
7652         * manual/contrib.texi (Contributors): Update @node pointers.
7653         * manual/maint.texi (Maintenance): Likewise.
7654         (Platform): New node.
7655         * manual/platform.texi: New file.  Document the new features.
7657 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
7658             Jakub Jelinek  <jakub@redhat.com>
7660         [BZ #14188]
7661         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
7662         where __builtin_expect is unavailable.
7664 2012-06-03  David S. Miller  <davem@davemloft.net>
7666         * stdlib/longlong.h: Updated from GCC.
7668 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
7670         [BZ #14042]
7671         * sysdeps/powerpc/powerpc32/mcount.c: New file.
7672         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
7673         __mcount_internal.
7674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
7675         (GLIBC_2.16): Likewise.
7677 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
7679         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
7681 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
7683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
7684         (default-abi): New variable.
7685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
7686         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
7687         variable.
7688         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
7689         Likewise.
7690         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
7691         Likewise.
7692         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
7693         Likewise.
7695         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
7696         definition.  Document in comment.
7698 2012-06-01  David S. Miller  <davem@davemloft.net>
7700         * stdlib/longlong.h: Updated from GCC.
7702 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
7704         [BZ #14117]
7705         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
7706         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
7707         sys/debugreg.h sys/io.h here.
7708         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
7709         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
7710         sys/io.h.
7711         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
7712         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
7713         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
7714         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
7715         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
7716         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
7718         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
7719         Define only if __x86_64__ is defined.
7721 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
7723         [BZ #14048]
7724         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
7725         Use int64_t for variable i.
7726         * math/libm-test.inc (fmod_test): Add more tests.
7728         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
7729         z computation is not scheduled after fetestexcept.
7730         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
7731         Use math_force_eval instead of asm to ensure calculation scheduled
7732         before exception test.
7733         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
7734         Ensure a1 + u.d computation is not scheduled after fetestexcept.
7736 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
7738         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
7739         computation is not scheduled after fetestexcept.
7741 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
7743         [BZ #14117]
7744         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
7745         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
7747 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7749         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
7750         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7752 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
7754         [BZ #14117]
7755         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
7756         <bits/wordsize.h>.
7757         (__WCHAR_MIN): Support __WORDSIZE == 64.
7758         (__WCHAR_MAX): Likewise.
7760         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
7761         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
7763         [BZ #14183]
7764         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
7765         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
7767         [BZ #14117]
7768         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
7769         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
7771         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
7772         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
7774         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
7775         Defined to 1 if __x86_64__ isn't defined.
7776         (_STAT_VER_LINUX_OLD): New.
7777         (st_atime): Remove duplicate.
7778         (st_mtime): Likewise.
7779         (st_ctime): Likewise.
7781 2012-05-31  David S. Miller  <davem@davemloft.net>
7783         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
7784         entries.
7786 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
7788         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
7789         gen-libm-test.pl.
7791         [BZ #14132]
7792         * elf/dl-reloc.c: Include <_itoa.h>.
7793         (_dl_reloc_bad_type): Remove use of INTUSE.
7794         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
7795         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
7796         * stdio-common/psiginfo.c (psiginfo): Likewise.
7797         * stdio-common/psignal.c (psignal): Likewise.
7798         * string/strsignal.c (strsignal): Likewise.
7799         * include/signal.h (_sys_siglist): Declare hidden proto.
7800         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
7801         INTVARDEF with libc_hidden_data_def.
7802         * stdio-common/itoa-udigits.c: Likewise.
7803         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
7804         (_itoa_lower_digits_internal): Remove declaration.
7805         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
7806         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
7807         (_sys_sigabbrev_internal): Remove aliases.
7808         (_sys_siglist): Define hidden alias.
7810 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
7812         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7813         bits/sysctl.h.
7815 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
7817         [BZ #14117]
7818         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
7819         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
7821         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
7822         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
7823         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
7824         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
7825         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
7826         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
7828         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
7829         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
7830         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
7832         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
7833         with __addr.
7834         (insw): Likewise.
7835         (insl): Likewise.
7836         (outsb): Likewise.
7837         (outsw): Likewise.
7838         (outsl): Likewise.
7840         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
7841         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
7842         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
7844         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
7845         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
7846         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
7847         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
7848         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
7849         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
7851         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
7852         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
7854         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
7855         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
7857         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
7858         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
7859         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
7861         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
7862         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
7863         to ...
7864         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
7866         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
7867         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
7868         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
7870         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
7871         for x86-64.
7872         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
7874 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
7876         * math/math.h (M_El): Use two more decimal places.
7877         (M_LOG2El): Likewise.
7878         (M_LOG10El): Likewise.
7879         (M_LN2l): Likewise.
7880         (M_LN10l): Likewise.
7881         (M_PIl): Likewise.
7882         (M_PI_2l): Likewise.
7883         (M_PI_4l): Likewise.
7884         (M_1_PIl): Likewise.
7885         (M_2_PIl): Likewise.
7886         (M_2_SQRTPIl): Likewise.
7887         (M_SQRT2l): Likewise.
7888         (M_SQRT1_2l): Likewise.
7890 2012-05-31  David S. Miller  <davem@davemloft.net>
7892         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
7893         values between float registers.
7894         * sysdeps/sparc/sparc64/memset.S: Likewise.
7895         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7897 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
7899         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
7900         -D_FORTIFY_SOURCE=1.
7901         (CPPFLAGS-tst-longjmp_chk.c): Define.
7902         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
7903         (CPPFLAGS-tst-longjmp_chk2.c): Define.
7904         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
7905         CFLAGS-tst-wchar-h.c.
7907 2012-05-31  Marek Polacek  <polacek@redhat.com>
7909         [BZ #14132]
7910         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
7911         __endmntent_internal): Remove declaration.
7912         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
7913         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
7914         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
7916 2012-05-30  David S. Miller  <davem@davemloft.net>
7918         * sysdeps/sparc/sparc32/soft-fp/q_util.c
7919         (___Q_simulate_exceptions): Use real FP ops rather than writing
7920         into the %fsr.
7921         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
7922         Likewise.
7924 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
7926         [BZ #14117]
7927         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
7928         * sysdeps/x86/bits/xtitypes.h: This.
7930         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
7931         * sysdeps/x86/bits/wordsize.h: This.
7933         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
7934         * sysdeps/x86/bits/huge_vall.h: This.
7936         * sysdeps/i386/bits/select.h: Removed.
7937         * sysdeps/x86_64/bits/select.h: Renamed to ...
7938         * sysdeps/x86/bits/select.h: This.
7940         * sysdeps/i386/bits/setjmp.h: Removed.
7941         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
7942         * sysdeps/x86/bits/setjmp.h: This.
7944         * sysdeps/i386/bits/mathdef.h: Removed.
7945         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
7946         * sysdeps/x86/bits/mathdef.h: This.
7948 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
7950         [BZ #14132]
7951         * include/sys/socket.h (__connect_internal)
7952         (__libc_sa_len_internal): Remove declaration.
7953         (__connect, __libc_sa_len): Declare hidden_proto.
7954         (SA_LEN): Remove use of INTUSE.
7955         * socket/connect.c: Add libc_hidden_def.
7956         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
7957         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
7958         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
7959         alias.
7960         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
7961         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7962         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
7963         of adding _internal alias.
7965 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
7967         [BZ #14117]
7968         * sysdeps/i386/bits/link.h: Removed.
7969         * sysdeps/i386/bits/linkmap.h: Likewise.
7970         * sysdeps/x86_64/bits/link.h: Renamed to ...
7971         * sysdeps/x86/bits/link.h: This.
7972         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
7973         * sysdeps/x86/bits/linkmap.h: This.
7975         * sysdeps/i386/bits/endian.h: Removed.
7976         * sysdeps/x86_64/bits/endian.h: Renamed to ...
7977         * sysdeps/x86/bits/endian.h: This.
7979         * sysdeps/i386/bits/byteswap.h: Removed.
7980         * sysdeps/i386/bits/byteswap-16.h: Likewise.
7981         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
7982         * sysdeps/x86/bits/byteswap.h: This.
7983         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
7984         * sysdeps/x86/bits/byteswap-16.h: This.
7985         * sysdeps/i386/Implies: Add x86.
7986         * sysdeps/x86_64/Implies: Likewise.
7988 2012-05-30  David S. Miller  <davem@davemloft.net>
7990         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
7991         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
7992         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
7993         (FP_TRAPPING_EXCEPTIONS): Define.
7994         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
7995         (FP_TRAPPING_EXCEPTIONS): Define.
7996         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
7997         subnormals only when inexact has been signalled or underflow
7998         exceptions are enabled.
7999         (_FP_PACK_CANONICAL): Likewise.
8001 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
8003         [BZ #14183]
8004         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
8005         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
8007 2012-05-30  Richard Henderson  <rth@twiddle.net>
8009         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
8010         with #ifndef NOT_IN_libc.
8012         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
8013         marked to avoid plt entry.
8015 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
8017         [BZ #14112]
8018         * Makeconfig (default-abi): New macro.
8019         (abi-includes): Likewise.
8020         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
8021         $(abi-$(default-abi)-lib-soname) for soname if defined.
8022         ($(common-objpfx)gnu/lib-names.stmp): Generate from
8023         abi-variants.
8024         * Makefile (installed-stubs): Likewise.
8025         * include/stubs-biarch.h: Removed.
8026         * scripts/lib-names.awk: Only handle one library at a time.
8027         * scripts/soversions.awk: Remove WORDSIZE support.
8028         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
8029         entries.
8030         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
8031         Removed.
8032         (syscall-list-default-condition): Likewise.
8033         (syscall-list-default-condition): Likewise.
8034         (syscall-list-includes): Likewise.
8035         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
8036         syscall-list-* with abi-*.  Handle undefined abi-variants.
8037         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
8038         * sysdeps/unix/sysv/linux/i386/Implies: New file.
8039         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
8040         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
8041         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
8042         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
8043         Removed.
8044         (syscall-list-32-options): Likewise.
8045         (syscall-list-32-condition): Likewise.
8046         (syscall-list-64-options): Likewise.
8047         (syscall-list-64-condition): Likewise.
8048         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
8049         macro.
8050         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
8051         Renamed to ...
8052         (abi-*): This.
8053         (abi-64-ld-soname): New macro.
8054         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
8055         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
8056         Renamed to ...
8057         (abi-*): This.
8058         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
8059         * sysdeps/x86_64/x32/shlib-versions: Likewise.
8061 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
8063         * sysdeps/unix/sysv/linux/kernel-features.h
8064         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
8065         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
8066         include <kernel-features.h>.
8067         [!__NR_ftruncate64]: Remove conditional code.
8068         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8069         [__NR_ftruncate64]: Make code unconditional.
8070         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8071         * sysdeps/unix/sysv/linux/truncate64.c: Do not
8072         include <kernel-features.h>.
8073         [!__NR_ftruncate64]: Remove conditional code.
8074         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8075         [__NR_ftruncate64]: Make code unconditional.
8076         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
8078         include <kernel-features.h>.
8079         [!__NR_ftruncate64]: Remove conditional code.
8080         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8081         [__NR_ftruncate64]: Make code unconditional.
8082         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
8084         include <kernel-features.h>.
8085         [!__NR_ftruncate64]: Remove conditional code.
8086         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8087         [__NR_ftruncate64]: Make code unconditional.
8088         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8090         * configure.in (libc_cv_fpie): Weaken to a compile test using
8091         LIBC_TRY_CC_OPTION.
8092         * configure: Regenerated.
8094 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8096         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
8097         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
8098         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
8099         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8100         Refreshed.
8101         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
8102         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
8103         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
8104         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
8105         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
8106         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8107         Refreshed.
8109 2012-05-27  David S. Miller  <davem@davemloft.net>
8111         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
8112         (___Q_zero): New.
8113         (__Q_simulate_exceptions): Return void.  Change to simulate
8114         exceptions by writing into the %fsr.
8115         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
8116         (__Qp_handle_exceptions): Likewise.
8117         (numbers): Delete.
8118         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
8119         __Qp_handle_exceptions.
8120         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
8121         __Qp_handle_exceptions.
8122         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
8123         as unused and give dummy FP_RND_NEAREST initializer.
8124         (FP_INHIBIT_RESULTS): Define.
8125         (___Q_simulate_exceptions): Update declaration.
8126         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
8127         formatting.
8128         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
8129         as unused and give dummy FP_RND_NEAREST initializer.
8130         (__Qp_handle_exceptions): Update declaration.
8131         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
8132         formatting.
8134 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
8136         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
8137         the temporary FPU control word.
8138         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
8139         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
8140         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
8141         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
8142         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
8143         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
8144         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
8145         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
8146         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
8147         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
8148         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
8150 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8152         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
8153         fields.
8155 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
8157         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
8158         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
8159         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
8160         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
8161         Likewise.
8162         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
8163         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
8164         Likewise.
8166 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
8168         * po/h.po: Update from translation team.
8170 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
8172         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
8174         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
8175         handling of denormals.
8176         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
8177         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
8178         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
8179         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
8180         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8181         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
8182         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
8183         Likewise.
8185 2012-05-26  Marek Polacek  <polacek@redhat.com>
8187         [BZ #14152]
8188         * math/libm-test.inc (fma_test): Don't always expect underflow
8189         exception.
8191 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
8193         [BZ #12416]
8194         * elf/tst-execstack.c: Include stackinfo.h.
8195         (do_test): Adjust test case to ensure that pthread_getattr_np
8196         behaviour remains the same after marking stack executable.
8198 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
8200         * sysdeps/unix/sysv/linux/kernel-features.h
8201         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
8202         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
8203         kernel-features.h.
8204         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
8205         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
8206         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
8207         kernel-features.h.
8208         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
8209         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
8211 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
8213         * configure.in: Define the default includes to being none.
8214         * configure: Regenerated.
8216 2012-05-25  Roland McGrath  <roland@hack.frob.com>
8218         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
8219         * sysdeps/x86_64/setjmp.S: Likewise.
8220         * sysdeps/i386/bsd-setjmp.S: Likewise.
8221         * sysdeps/i386/bsd-_setjmp.S: Likewise.
8222         * sysdeps/i386/setjmp.S: Likewise.
8223         * sysdeps/i386/__longjmp.S: Likewise.
8224         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
8225         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
8227         * include/stap-probe.h: New file.
8228         * configure.in: Handle --enable-systemtap.
8229         * configure: Regenerated.
8230         * config.h.in (USE_STAP_PROBE): New #undef.
8231         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
8232         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
8233         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
8235 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
8237         [BZ #13717]
8238         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
8239         to 2.4.0 where earlier.
8240         * sysdeps/unix/sysv/linux/configure: Regenerated.
8241         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
8242         <kernel-features.h>.
8243         [__ASSUME_32BITUIDS]: Make code unconditional.
8244         [!__ASSUME_32BITUIDS]: Remove conditional code.
8245         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
8246         <kernel-features.h>.
8247         [__ASSUME_32BITUIDS]: Make code unconditional.
8248         [!__ASSUME_32BITUIDS]: Remove conditional code.
8249         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
8250         [__ASSUME_32BITUIDS]: Make code unconditional.
8251         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
8252         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
8253         <kernel-features.h>.
8254         [__ASSUME_32BITUIDS]: Make code unconditional.
8255         [!__ASSUME_32BITUIDS]: Remove conditional code.
8256         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
8257         <kernel-features.h>.
8258         [__ASSUME_32BITUIDS]: Make code unconditional.
8259         [!__ASSUME_32BITUIDS]: Remove conditional code.
8260         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
8261         <kernel-features.h>.
8262         [__ASSUME_32BITUIDS]: Make code unconditional.
8263         [!__ASSUME_32BITUIDS]: Remove conditional code.
8264         * sysdeps/unix/sysv/linux/i386/getgroups.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/i386/getresgid.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/i386/getresuid.c: Do not include
8273         <kernel-features.h>.
8274         [__ASSUME_32BITUIDS]: Make code unconditional.
8275         [!__ASSUME_32BITUIDS]: Remove conditional code.
8276         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
8277         <kernel-features.h>.
8278         [__ASSUME_32BITUIDS]: Make code unconditional.
8279         [!__ASSUME_32BITUIDS]: Remove conditional code.
8280         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
8281         <kernel-features.h>.
8282         [__ASSUME_32BITUIDS]: Make code unconditional.
8283         [!__ASSUME_32BITUIDS]: Remove conditional code.
8284         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
8285         <kernel-features.h>.
8286         [__ASSUME_32BITUIDS]: Make code unconditional.
8287         [!__ASSUME_32BITUIDS]: Remove conditional code.
8288         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
8289         <kernel-features.h>.
8290         [__ASSUME_32BITUIDS]: Make code unconditional.
8291         [!__ASSUME_32BITUIDS]: Remove conditional code.
8292         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
8293         <kernel-features.h>.
8294         [__NR_setresgid] (__setresgid): Do not declare.
8295         [__ASSUME_32BITUIDS]: Make code unconditional.
8296         [!__ASSUME_32BITUIDS]: Remove conditional code.
8297         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
8298         <kernel-features.h>.
8299         [__NR_setresuid] (__setresuid): Do not declare.
8300         [__ASSUME_32BITUIDS]: Make code unconditional.
8301         [!__ASSUME_32BITUIDS]: Remove conditional code.
8302         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
8303         <kernel-features.h>.
8304         [__ASSUME_32BITUIDS]: Make code unconditional.
8305         [!__ASSUME_32BITUIDS]: Remove conditional code.
8306         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
8307         <kernel-features.h>.
8308         [__ASSUME_32BITUIDS]: Make code unconditional.
8309         [!__ASSUME_32BITUIDS]: Remove conditional code.
8310         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
8311         <kernel-features.h>.
8312         [__ASSUME_32BITUIDS]: Make code unconditional.
8313         [!__ASSUME_32BITUIDS]: Remove conditional code.
8314         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
8315         <kernel-features.h>.
8316         [__ASSUME_32BITUIDS]: Make code unconditional.
8317         [!__ASSUME_32BITUIDS]: Remove conditional code.
8318         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
8319         <kernel-features.h>.
8320         [__ASSUME_32BITUIDS]: Make code unconditional.
8321         [!__ASSUME_32BITUIDS]: Remove conditional code.
8322         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
8323         <kernel-features.h>.
8324         [__ASSUME_32BITUIDS]: Make code unconditional.
8325         [!__ASSUME_32BITUIDS]: Remove conditional code.
8326         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
8327         <kernel-features.h>.
8328         [__ASSUME_32BITUIDS]: Make code unconditional.
8329         [!__ASSUME_32BITUIDS]: Remove conditional code.
8330         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
8331         <kernel-features.h>.
8332         [__ASSUME_32BITUIDS]: Make code unconditional.
8333         [!__ASSUME_32BITUIDS]: Remove conditional code.
8334         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
8335         <kernel-features.h>.
8336         [__ASSUME_32BITUIDS]: Make code unconditional.
8337         [!__ASSUME_32BITUIDS]: Remove conditional code.
8338         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
8339         <kernel-features.h>.
8340         [__ASSUME_32BITUIDS]: Make code unconditional.
8341         [!__ASSUME_32BITUIDS]: Remove conditional code.
8342         * sysdeps/unix/sysv/linux/kernel-features.h
8343         (__ASSUME_SETRESUID_SYSCALL): Remove.
8344         (__ASSUME_SETRESGID_SYSCALL): Likewise.
8345         (__ASSUME_32BITUIDS): Likewise.
8346         (__ASSUME_LDT_WORKS): Likewise.
8347         (__ASSUME_O_DIRECTORY): Likewise.
8348         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
8349         architecture but not kernel version.
8350         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
8351         (__ASSUME_MMAP2_SYSCALL): Likewise.
8352         (__ASSUME_STAT64_SYSCALL): Likewise.
8353         (__ASSUME_IPC64): Likewise.
8354         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
8355         <kernel-features.h>.
8356         [__ASSUME_32BITUIDS]: Make code unconditional.
8357         [!__ASSUME_32BITUIDS]: Remove conditional code.
8358         * sysdeps/unix/sysv/linux/opendir.c: Do not include
8359         <kernel-features.h>.
8360         [__ASSUME_O_DIRECTORY]: Make code unconditional.
8361         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
8362         132096]: Remove conditional code.
8363         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
8364         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
8365         <kernel-features.h>.
8366         [__ASSUME_32BITUIDS]: Make code unconditional.
8367         [!__ASSUME_32BITUIDS]: Remove conditional code.
8368         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
8369         <kernel-features.h>.
8370         [__ASSUME_32BITUIDS]: Make code unconditional.
8371         [!__ASSUME_32BITUIDS]: Remove conditional code.
8372         * sysdeps/unix/sysv/linux/setegid.c: Do not include
8373         <kernel-features.h>.
8374         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
8375         unconditional.
8376         (__setresgid): Do not declare.
8377         [__ASSUME_32BITUIDS]: Make code unconditional.
8378         [!__ASSUME_32BITUIDS]: Remove conditional code.
8379         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
8380         <kernel-features.h>.
8381         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
8382         unconditional.
8383         (__setresuid): Do not declare.
8384         [__ASSUME_32BITUIDS]: Make code unconditional.
8385         [!__ASSUME_32BITUIDS]: Remove conditional code.
8386         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
8387         <kernel-features.h>.
8388         [__ASSUME_32BITUIDS]: Make code unconditional.
8389         [!__ASSUME_32BITUIDS]: Remove conditional code.
8390         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
8391         <kernel-features.h>.
8392         [__ASSUME_32BITUIDS]: Make code unconditional.
8393         [!__ASSUME_32BITUIDS]: Remove conditional code.
8395 2012-05-25  Richard Henderson  <rth@twiddle.net>
8397         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
8398         dl_hwcap to ifunc resolver.
8399         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
8400         elf_ifunc_invoke.
8401         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
8402         dl_hwcap to ifunc resolver.
8403         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
8405 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
8407         [BZ #14153]
8408         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
8409         for |x| <= 2**-26, not 2**-57.
8410         * math/libm-test.inc (acos_test): Do not allow spurious underflow
8411         exception.
8413 2012-05-24  Jeff Law  <law@redhat.com>
8415         * stdio-common/Makefile (tests): Add bug25.
8416         * stdio-common/bug25.c: New test.
8418 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
8420         [BZ #13576]
8421         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
8422         multiple of MALLOC_ALIGNMENT in size.
8423         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
8425 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
8427         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
8428         Require >= 256.
8429         (FILENAME_MAX): Use macro-int-constant.
8430         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
8431         (_IOFBF): Use macro-int-constant.
8432         (_IOLBF): Likewise.
8433         (_IONBF): Likewise.
8434         (SEEK_CUR): Likewise.
8435         (SEEK_END): Likewise.
8436         (SEEK_SET): Likewise.
8437         (TMP_MAX): Likewise.
8438         (EOF): Use macro-int-constant.  Require < 0.
8439         (NULL): Use macro-constant.  Require == 0.
8440         (stdin): Require type to be FILE *.
8441         (stdout): Likewise.
8442         (stderr): Likewise.
8443         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
8444         macro-int-constant.
8445         (EXIT_SUCCESS): Likewise.
8446         (NULL): Use macro-constant.  Require == 0.
8447         (RAND_MAX): Use macro-int-constant.
8448         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
8449         [C99-based standards] (strtof): Require function.
8450         [C99-based standards] (strtold): Likewise.
8451         [C99-based standards] (strtoll): Likewise.
8452         [C99-based standards] (strtoull): Likewise.
8453         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
8454         [ISO || ISO99 || ISO11] (limits.h): Likewise.
8455         [ISO || ISO99 || ISO11] (math.h): Likewise.
8456         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
8457         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
8458         [ISO || ISO99 || ISO11] (*_t): Do not allow.
8460 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
8462         [BZ #14132]
8463         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
8464         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
8465         * intl/dgettext.c (DCGETTEXT): Likewise.
8466         * intl/gettext.c (DCGETTEXT): Likewise.
8467         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
8468         * posix/regex_internal.h (gettext): Likewise.
8469         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
8470         Remove declaration.
8471         * include/argz.h (__argz_count_internal)
8472         (__argz_stringify_internal): Remove declaration.
8473         (__argz_count, __argz_stringify): Declare hidden proto.
8474         * intl/dcgettext.c: Remove use of INTDEF.
8475         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
8476         * string/argz-stringify.c: Likewise.
8477         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
8478         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
8479         Declare hidden proto.
8480         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
8481         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
8482         Declare hidden proto.
8483         * include/stdio.h (__asprintf_internal): Don't declare.
8484         (__asprintf): Don't define as macro.  Declare hidden proto.
8485         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
8486         (__fsetlocking): Declare hidden proto.
8487         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
8488         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
8489         hidden proto.
8490         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
8491         (_IO_setlinebuf): Remove use of INTUSE.
8492         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
8493         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
8494         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
8495         Remove declaration.
8496         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
8497         (_IO_do_flush): Remove use of INTUSE.
8498         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
8499         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
8500         (_IO_adjust_column, _IO_least_wmarker)
8501         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
8502         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
8503         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
8504         (_IO_default_doallocate, _IO_wdefault_doallocate)
8505         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
8506         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
8507         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
8508         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
8509         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
8510         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
8511         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
8512         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
8513         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
8514         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
8515         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
8516         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
8517         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
8518         proto.
8519         (_IO_flush_all_internal, _IO_adjust_column_internal)
8520         (_IO_default_uflow_internal, _IO_default_finish_internal)
8521         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
8522         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
8523         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
8524         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
8525         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
8526         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
8527         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
8528         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
8529         (_IO_file_close_internal, _IO_file_close_it_internal)
8530         (_IO_file_underflow_internal, _IO_file_overflow_internal)
8531         (_IO_file_init_internal, _IO_file_attach_internal)
8532         (_IO_file_fopen_internal, _IO_file_read_internal)
8533         (_IO_file_sync_internal, _IO_file_seek_internal)
8534         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
8535         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
8536         (_IO_str_underflow_internal, _IO_str_overflow_internal)
8537         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
8538         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
8539         (_IO_list_all_internal, _IO_link_in_internal)
8540         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
8541         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
8542         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
8543         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
8544         (_IO_do_write_internal, _IO_padn_internal)
8545         (_IO_getline_info_internal, _IO_getline_internal)
8546         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
8547         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
8548         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
8549         (_IO_vfscanf_internal, _IO_vfprintf_internal)
8550         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
8551         (_IO_init_internal, _IO_un_link_internal): Don't declare.
8552         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
8553         with libc_hidden_ver, remove use of INTUSE.
8554         * libio/genops.c: Likewise.
8555         * libio/freopen.c: Likewise.
8556         * libio/freopen64.c: Likewise.
8557         * libio/iofclose.c: Likewise.
8558         * libio/iofdopen.c: Likewise.
8559         * libio/iofflush.c: Likewise.
8560         * libio/iofflush_u.c: Likewise.
8561         * libio/iofgets.c: Likewise.
8562         * libio/iofgets_u.c: Likewise.
8563         * libio/iofopen.c: Likewise.
8564         * libio/iofopncook.c: Likewise.
8565         * libio/iofread.c: Likewise.
8566         * libio/iofread_u.c: Likewise.
8567         * libio/ioftell.c: Likewise.
8568         * libio/iofwrite.c: Likewise.
8569         * libio/iogetline.c: Likewise.
8570         * libio/iogets.c: Likewise.
8571         * libio/iogetwline.c: Likewise.
8572         * libio/iopadn.c: Likewise.
8573         * libio/iopopen.c: Likewise.
8574         * libio/ioseekoff.c: Likewise.
8575         * libio/ioseekpos.c: Likewise.
8576         * libio/iosetbuffer.c: Likewise.
8577         * libio/iosetvbuf.c: Likewise.
8578         * libio/ioungetc.c: Likewise.
8579         * libio/ioungetwc.c: Likewise.
8580         * libio/iovdprintf.c: Likewise.
8581         * libio/iovsprintf.c: Likewise.
8582         * libio/iovsscanf.c: Likewise.
8583         * libio/memstream.c: Likewise.
8584         * libio/obprintf.c: Likewise.
8585         * libio/oldfileops.c: Likewise.
8586         * libio/oldiofclose.c: Likewise.
8587         * libio/oldiofdopen.c: Likewise.
8588         * libio/oldiofopen.c: Likewise.
8589         * libio/oldiopopen.c: Likewise.
8590         * libio/oldstdfiles.c: Likewise.
8591         * libio/putc.c: Likewise.
8592         * libio/setbuf.c: Likewise.
8593         * libio/setlinebuf.c: Likewise.
8594         * libio/stdfiles.c: Likewise.
8595         * libio/strops.c: Likewise.
8596         * libio/vasprintf.c: Likewise.
8597         * libio/vscanf.c: Likewise.
8598         * libio/vsnprintf.c: Likewise.
8599         * libio/vswprintf.c: Likewise.
8600         * libio/wfiledoalloc.c: Likewise.
8601         * libio/wfileops.c: Likewise.
8602         * libio/wgenops.c: Likewise.
8603         * libio/wmemstream.c: Likewise.
8604         * libio/wstrops.c: Likewise.
8605         * libio/__fpurge.c: Likewise.
8606         * libio/__fsetlocking.c: Likewise.
8607         * assert/assert.c: Likewise.
8608         * debug/fgets_chk.c: Likewise.
8609         * debug/fgets_u_chk.c: Likewise.
8610         * debug/fread_chk.c: Likewise.
8611         * debug/fread_u_chk.c: Likewise.
8612         * debug/gets_chk.c: Likewise.
8613         * debug/obprintf_chk.c: Likewise.
8614         * debug/vasprintf_chk.c: Likewise.
8615         * debug/vdprintf_chk.c: Likewise.
8616         * debug/vsnprintf_chk.c: Likewise.
8617         * debug/vsprintf_chk.c: Likewise.
8618         * malloc/mtrace.c: Likewise.
8619         * misc/error.c: Likewise.
8620         * misc/syslog.c: Likewise.
8621         * stdio-common/asprintf.c: Likewise.
8622         * stdio-common/fxprintf.c: Likewise.
8623         * stdio-common/getw.c: Likewise.
8624         * stdio-common/isoc99_fscanf.c: Likewise.
8625         * stdio-common/isoc99_scanf.c: Likewise.
8626         * stdio-common/isoc99_vfscanf.c: Likewise.
8627         * stdio-common/isoc99_vscanf.c: Likewise.
8628         * stdio-common/isoc99_vsscanf.c: Likewise.
8629         * stdio-common/printf-prs.c: Likewise.
8630         * stdio-common/printf_fp.c: Likewise.
8631         * stdio-common/printf_fphex.c: Likewise.
8632         * stdio-common/printf_size.c: Likewise.
8633         * stdio-common/putw.c: Likewise.
8634         * stdio-common/scanf.c: Likewise.
8635         * stdio-common/sprintf.c: Likewise.
8636         * stdio-common/tmpfile.c: Likewise.
8637         * stdio-common/vfprintf.c: Likewise.
8638         * stdio-common/vfscanf.c: Likewise.
8639         * stdlib/strfmon_l.c: Likewise.
8640         * sunrpc/openchild.c: Likewise.
8641         * sunrpc/xdr_stdio.c: Likewise.
8642         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
8643         * sysdeps/mach/hurd/tmpfile.c: Likewise.
8645 2012-05-24  Roland McGrath  <roland@hack.frob.com>
8647         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
8649         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
8650         in the third column, to generate for the shared library an IFUNC
8651         that uses _dl_vdso_vsym.
8652         * Makerules (COMPILE.c, compile-stdin.c): New variables.
8653         * Makeconfig (object-suffixes-noshared): New variable.
8655         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
8656         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
8657         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
8658         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
8660         [BZ #14132]
8661         * include/sys/time.h (__gettimeofday): Remove macro.
8662         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
8663         * time/gettimeofday.c (__gettimeofday): Remove #undef.
8664         Remove INTDEF.
8665         (__gettimeofday): Add libc_hidden_def.
8666         (gettimeofday): Add libc_hidden_weak.
8667         * sysdeps/mach/gettimeofday.c: Likewise.
8668         * sysdeps/posix/gettimeofday.c: Likewise.
8669         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
8670         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
8671         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
8672         (__gettimeofday_internal): Remove strong_alias.
8673         (__gettimeofday): Add libc_hidden_def.
8674         (gettimeofday): Add libc_hidden_weak.
8675         * sysdeps/unix/syscalls.list (gettimeofday):
8676         Remove __gettimeofday_internal alias.
8678 2012-05-24  Daniel Jacobowitz  <drow@false.org>
8679             H.J. Lu  <hongjiu.lu@intel.com>
8681         [BZ #12495]
8682         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
8683         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
8684         (largebin_index_32_big): New.
8685         (largebin_index): Use it for 16-byte alignment.
8686         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
8687         correction with front_misalign.
8689 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
8691         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
8692         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
8693         Likewise.
8694         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
8695         Likewise.
8696         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
8697         Likewise.
8698         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
8699         Likewise.
8700         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
8701         Likewise.
8702         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
8703         Likewise.
8704         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
8705         Likewise.
8706         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
8707         Likewise.
8708         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
8709         Likewise.
8710         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
8711         Likewise.
8712         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
8713         Likewise.
8714         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
8715         Likewise.
8717         * scripts/data/c++-types-x32-linux-gnu.data: New file.
8718         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
8720 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
8722         [BZ #10846]
8723         [BZ #14036]
8724         * math/libm-test.inc (exp_test): Add test from bug 14036.
8725         (pow_test): Add test from bug 10846.
8727         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
8728         and other flags.
8729         (special_function): Do not include flags in test name.
8730         (parse_args): Likewise.
8731         * sysdeps/i386/fpu/libm-test-ulps: Update.
8732         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8733         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8734         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8735         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8737         * math/gen-libm-test.pl (%beautify): Add entries for underflow
8738         exceptions.
8739         * math/libm-test.inc ("Philosophy"): Update comment about
8740         exception testing.
8741         (UNDERFLOW_EXCEPTION): New macro.
8742         (UNDERFLOW_EXCEPTION_OK): Likewise.
8743         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
8744         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
8745         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
8746         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
8747         (INVALID_EXCEPTION_OK): Update value.
8748         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8749         (OVERFLOW_EXCEPTION_OK): Likewise.
8750         (IGNORE_ZERO_INF_SIGN): Likewise.
8751         (test_exceptions): Handle underflow exceptions.
8752         (acos_test): Update for underflow exception expectations.
8753         (cexp_test): Likewise.
8754         (clog_test): Likewise.
8755         (clog10_test): Likewise.
8756         (csqrt_test): Likewise.
8757         (ctan_test): Likewise.
8758         (ctanh_test): Likewise.
8759         (exp_test): Likewise.
8760         (exp10_test): Likewise.
8761         (exp2_test): Likewise.
8762         (expm1_test): Likewise.
8763         (fma_test): Likewise.
8764         (j0_test): Likewise.
8765         (jn_test): Likewise.
8766         (nexttoward_test): Likewise.
8767         (pow_test): Likewise.
8768         (scalbn_test): Likewise.
8769         (scalbln_test): Likewise.
8770         (tan_test): Likewise.
8771         (y1_test): Likewise.
8772         * sysdeps/i386/fpu/libm-test-ulps: Update.
8773         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8775 2012-05-23  David S. Miller  <davem@davemloft.net>
8777         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
8778         (__libc_sigaction): Remove unused local variables.
8780 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
8782         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
8784 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
8786         mktime: avoid signed integer overflow
8787         * time/mktime.c (__mktime_internal): Do not mishandle the case
8788         where diff == INT_MIN.
8790         mktime: simplify computation of average
8791         * time/mktime.c (ranged_convert): Use new time_t_avg function
8792         instead of rolling our own (probably-slower) code.
8794         mktime: do not assume signed right shift propagates sign bit
8795         * time/mktime.c (isdst_differ): New static function.
8796         (__mktime_internal): No need to normalize tm_isdst now.
8797         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
8798         tm_isdst values.
8800         mktime: merge another wrapv change from gnulib
8801         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
8802         from some compilers.
8804         mktime: remove incorrect attempt at unusual arithmetics
8805         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
8806         The code didn't really work on such machines anyway.
8807         (TYPE_MINIMUM): Assume two's complement.
8808         (twos_complement_arithmetic): Verify that long_int and time_t
8809         are two's complement (or unsigned, in the latter case).
8811         mktime: check signed shifts on long_int and time_t, too
8812         * time/mktime.c (SHR): Check that shifts work as desired
8813         on the types long_int and time_t too, as SHR is used on
8814         such types.
8816         mktime: do not assume 'long' is wide enough
8817         * time/mktime.c (verify): Move decl up.
8818         (long_int): New type.
8819         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
8820         to remove assumption in the code that 'long' is wide enough to
8821         store year values.  This assumption is not true on x32 and on
8822         some non-glibc platforms.
8824         mktime: merge wrapv change from gnulib
8825         * time/mktime.c (WRAPV): New macro.
8826         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
8827         (guess_time_tm, __mktime_internal): Do not assume that signed
8828         integer overflow wraps around; modern compilers generate code
8829         where this assumption is no longer valid.
8831 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
8833         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
8834         Replace "jmp L(pseudo_end)" with "ret".
8835         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
8836         Likewise.
8838 2012-05-23  Andreas Jaeger  <aj@suse.de>
8840         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
8841         * sysdeps/unix/sysv/linux/poll.c: Remove file.
8843 2012-05-23  Andreas Jaeger  <aj@suse.de>
8844             Maximilian Attems  <max@stro.at>
8846         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
8847         New macros.
8849 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
8851         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
8852         code so that pseudo_end is just ret and the stack pointer is
8853         correct also for static library in error case.
8855 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
8857         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
8858         move to syscalls.list.
8859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
8860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
8861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
8862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
8864         * manual/install.texi (Running make install): Do not mention Linux
8865         kernel version for which pt_chown is not needed.
8866         (Linux): Do not mention problems with nscd with 2.0 kernels.
8867         * INSTALL: Regenerated.
8869 2012-05-23  Andreas Jaeger  <aj@suse.de>
8871         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
8872         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
8873         macro.
8874         * sysdeps/unix/sysv/linux/s390/bits/mman.h
8875         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8876         * sysdeps/unix/sysv/linux/sh/bits/mman.h
8877         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8878         * sysdeps/unix/sysv/linux/i386/bits/mman.h
8879         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8880         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
8881         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8882         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
8883         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8884         * sysdeps/unix/sysv/linux/bits/in.h
8885         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
8887 2012-05-22  Roland McGrath  <roland@hack.frob.com>
8889         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
8890         (PREPARE_VERSION): Just use assert instead, it will be elided
8891         under [NDEBUG] anyway.
8893 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
8895         * sysdeps/unix/sysv/linux/Makefile: Include
8896         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
8897         (sysdep_routines): Remove sysctl.
8898         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
8899         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
8900         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
8901         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
8902         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
8904 2012-05-22  Andreas Jaeger  <aj@suse.de>
8906         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
8907         that pseudo_end is just ret and the stack pointer is correct also
8908         for static library in error case.
8910 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
8912         [BZ #14122]
8913         * nss/nsswitch.c (defconfig_entries): New variable.
8914         (__nss_database_lookup): Don't leak defconfig entries.
8915         (nss_parse_service_list): Don't leak on error paths.
8916         (free_database_entries): New function.
8917         (free_defconfig): New function.
8918         (free_mem): Move common code to free_database_entries.
8920 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
8922         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
8923         Add arch_prctl.
8924         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
8926         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8927         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
8928         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
8929         New macro.
8930         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
8931         (INTERNAL_SYSCALL_TYPES): Likewise.
8932         (LOAD_ARGS_TYPES_[1-6]): Likewise.
8933         (LOAD_REGS_TYPES_[1-6]): Likewise.
8934         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
8935         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
8937 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8939         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
8940         copysignl for GLIBC_2_0.
8941         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
8942         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
8943         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
8944         logbl for GLIBC_2_0.
8945         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
8946         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
8948 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
8950         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
8951         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
8953         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
8954         Use "neg %eax".
8956         * time/mktime.c: Update copyright years.
8958 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
8960         mktime: merge comment-quoting-style change from gnulib
8961         * time/mktime.c: Quote 'like this' in comments.
8962         The GNU coding standards suggest that we no longer quote `like this',
8963         as "`" and "'" are typically rendered asymmetrically nowadays.
8964         The typical gnulib style is to quote 'like this' when quoting
8965         code, and "like this" when quoting English.
8967         * time/mktime.c (compile-command): Add "-I.".
8969         mktime: merge mktime-internal.h change from gnulib
8970         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
8972         mktime: merge time_r change from gnulib
8973         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
8975         mktime: merge DEBUG change from gnulib
8976         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
8977         case system <time.h> has a #define.
8979         mktime: merge <sys/types.h> change from gnulib
8980         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
8981         since <time.t> is now guaranteed to define time_t.
8983         mktime: merge HAVE_CONFIG_H change from gnulib
8984         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
8986 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
8988         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
8989         Use "neg %eax".
8991         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
8992         __rlim_t cast.
8993         (struct rusage): Use anonymous union to pad each field to
8994         __syscall_slong_t.
8996 2012-05-21  David S. Miller  <davem@davemloft.net>
8998         * Makefules (o-iterator): Remove .s cases.
8999         (compile-command.s): Delete.
9000         (COMPILE.s): Delete.
9001         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
9003 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
9005         * configure.in (libc_cv_predef_stack_protector): Only consider
9006         "foobar" and "__stack_chk_fail" lines in libc_undefs.
9007         * configure: Regenerated.
9009 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
9011         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
9012         New macro.  Use R*LP on int and pointer.
9013         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
9014         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
9015         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
9016         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
9018         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
9019         [__WORDSIZE_TIME64_COMPAT32] instead of
9020         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
9021         (struct utmp): Likewise.
9022         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
9023         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
9024         Renamed to ...
9025         (__WORDSIZE_TIME64_COMPAT32): This.
9026         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
9027         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
9028         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
9029         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
9030         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
9031         (__WORDSIZE_TIME64_COMPAT32): New macro.
9033 2012-05-21  Andreas Jaeger  <aj@suse.de>
9035         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
9036         only if [SHARED]. Add prototype for __wcschr_ia32.
9038 2012-05-21  Roland McGrath  <roland@hack.frob.com>
9040         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
9041         of %rbp unmolested in the jmp_buf while mangling the low bits.
9042         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
9043         unmolested high bits of %rbp while demangling the low bits.
9044         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
9046 2012-05-21  Andreas Jaeger  <aj@suse.de>
9048         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
9049         * sunrpc/svc_simple.c: Use it for registerrpc.
9050         * sunrpc/xcrypt.c: Use it for passwd2des.
9052         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
9054 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
9056         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
9057         Don't define if [__SYSCALL_WORDSIZE != 32].
9058         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
9059         New macro.
9061 2012-05-21  Bruno Haible  <bruno@clisp.org>
9062             Andreas Jaeger  <aj@suse.de>
9064         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
9065         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
9066         inptr and inend for must_buffer_ch.
9067         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
9068         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
9069         * stdio-common/Makefile (tests): Remove bug15.
9070         (bug15-ENV): Remove macro.
9071         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
9072         anymore.
9074 2012-05-19  Andreas Jaeger  <aj@suse.de>
9075             Roland McGrath  <roland@hack.frob.com>
9077         * manual/contrib.texi: Completely rewritten. It contains now an
9078         alphabetical list of contributors and their contributions.
9080 2012-05-21  Richard Henderson  <rth@twiddle.net>
9082         * misc/getauxval.c (__getauxval): Use unsigned long int.
9083         * misc/sys/auxv.h: Include <sys/cdefs.h>.
9084         (getauxval): Use unsigned long int.
9086 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
9088         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
9090 2012-05-21  Roland McGrath  <roland@hack.frob.com>
9092         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
9093         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
9094         __alignof__ (long double).
9096 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9098         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9100 2012-05-20  Richard Henderson  <rth@twiddle.net>
9102         * misc/getauxval.c: New file.
9103         * misc/sys/auxv.h: New file.
9104         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
9105         (routines): Add getauxval.
9106         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
9107         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
9108         * elf/dl-sysdep.c (_dl_auxv): Remove.
9109         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
9110         * elf/dl-support.c (_dl_auxv): New variable.
9111         (_dl_aux_init): Initialize it.
9112         * manual/startup.texi (Auxiliary Vector): New node.
9113         * sysdeps/generic/bits/hwcap.h: New file.
9114         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
9115         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
9116         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
9117         * sysdeps/sparc/sysdep.h: ... here.  Include it.
9118         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
9119         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
9120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9121         Update.
9122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
9123         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
9124         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
9125         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
9126         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
9127         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
9128         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
9129         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
9131 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9133         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9135 2012-05-19  David S. Miller  <davem@davemloft.net>
9137         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9139 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
9141         [BZ #14123]
9142         * math/s_ccosh.c: Include <float.h>
9143         (__ccosh): Avoid internal overflow calculating sinh and cosh
9144         values before multiplying by sin and cos values.
9145         * math/s_ccoshf.c: Likewise.
9146         * math/s_ccoshl.c: Likewise.
9147         * math/s_csin.c: Likewise.
9148         * math/s_csinf.c: Likewise.
9149         * math/s_csinl.c: Likewise.
9150         * math/s_csinh.c: Likewise.
9151         * math/s_csinhf.c: Likewise.
9152         * math/s_csinhl.c: Likewise.
9153         * math/libm-test.inc (ccos_test): Add more tests.
9154         (ccosh_test): Likewise.
9155         (csin_test): Likewise.
9156         (csinh_test): Likewise.
9157         * sysdeps/i386/fpu/libm-test-ulps: Update.
9158         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9160 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
9162         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
9163         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
9165         * sysdeps/x86_64/x32/_itoa.h: Add comment.
9167 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
9169         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
9170         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
9171         * sysdeps/powerpc/soft-fp/Versions: Likewise.
9172         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
9173         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
9174         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
9175         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
9176         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
9177         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
9178         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
9179         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
9180         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
9181         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
9182         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
9183         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
9184         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
9185         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
9186         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
9187         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
9188         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
9189         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
9190         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
9191         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
9192         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
9193         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
9194         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
9195         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
9196         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
9197         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
9198         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
9199         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
9201 2012-05-18  Andreas Jaeger  <aj@suse.de>
9203         * csu/.gitignore: Delete.
9205 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
9207         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
9208         (timex): Use __syscall_slong_t.
9210 2012-05-18  Andreas Jaeger  <aj@suse.de>
9211             Carlos O'Donell  <carlos_odonell@mentor.com>
9213         * manual/install.texi (Configuring and compiling): Update
9214         description about files modified in the source directory.
9215         * INSTALL: Regenerated.
9217 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
9219         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
9220         value.  Use "or" to set return value to -1.
9221         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
9222         negate return value.
9224 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9226         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
9227         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
9228         failure if the compiler has Graphite support disabled.
9229         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
9230         Likewise.
9231         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
9232         CFLAGS-memmove.c): Likewise.
9233         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
9234         Likewise.
9236 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
9238         * sysdeps/x86_64/x32/_itoa.h: New file.
9240         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
9241         getdents system call only if kernel and user dirents have the
9242         same d_ino and d_off.
9244         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
9245         LLONG_MAX != LONG_MAX.
9246         (_itoa_word): Use _ITOA_WORD_TYPE on value.
9247         (_fitoa_word): Likewise.
9249         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
9250         years.
9251         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
9252         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
9253         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
9255         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
9256         include <bits/wordsize.h>.  Check __x86_64__ instead of
9257         __WORDSIZE.
9258         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
9259         if __x86_64__ is defined.  Use anonymous union on fpstate.
9261         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
9262         anonymous union.
9264 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
9266         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
9267         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
9268         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
9269         Refer to _rtld_local_ro instead of _rtld_global_ro.
9270         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
9271         Likewise.
9272         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
9273         Likewise.
9274         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
9275         Likewise.
9276         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
9277         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
9278         of _rtld_global, and rtld_progname instead of _dl_argv[0].
9280         * sysdeps/powerpc/powerpc32/dl-machine.c
9281         (__elf_machine_runtime_setup) [PROF]: Don't reference
9282         _dl_prof_resolve.
9284 2012-05-18  Andreas Jaeger  <aj@suse.de>
9286         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
9287         function only available for GCCs before 3.4 since GCC 3.4
9288         introduced a builtin.
9289         (lrint): Likewise.
9290         (llrintf): Likewise.
9291         (llrint): Likewise.
9292         (fmaxf): Likewise.
9293         (fmax): Likewise.
9294         (fminf): Likewise.
9295         (fmin): Likewise.
9296         (rint): Likewise.
9297         (rintf): Likewise.
9298         (nearbyint): Likewise.
9299         (nearbyintf): Likewise.
9300         (ceil): Likewise.
9301         (ceilf): Likewise.
9302         (floor): Likewise.
9303         (floorf): Likewise.
9305 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
9307         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
9308         on both fields and cast pointer to __syscall_ulong_t.
9310         * bits/types.h (__fsword_t): New type.
9311         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
9312         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
9313         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9314         (__FSWORD_T_TYPE): Likewise.
9315         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9316         (__FSWORD_T_TYPE): Likewise.
9317         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9318         (__FSWORD_T_TYPE): Likewise.
9319         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
9320         (__FSWORD_T_TYPE): Likewise.
9321         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
9322         __SWORD_TYPE with __fsword_t.
9323         (statfs64): Likewise.
9325 2012-05-17  David S. Miller  <davem@davemloft.net>
9327         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
9329 2012-05-17  Andreas Jaeger  <aj@suse.de>
9331         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
9332         warning.
9334 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
9336         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
9338 2012-05-17  Andreas Jaeger  <aj@suse.de>
9340         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
9341         when it is used.
9343 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
9345         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
9347 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
9349         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
9350         * sysdeps/x86_64/tst-mallocalign1.c: New file.
9352 2012-05-17  Andreas Jaeger  <aj@suse.de>
9353             Carlos O'Donell  <carlos_odonell@mentor.com>
9355         [BZ #14059]
9356         * sysdeps/x86_64/multiarch/init-arch.h
9357         (bit_YMM_Usable): Rename to...
9358         (bit_AVX_Usable): ... this.
9359         (bit_FMA4_Usable): New macro.
9360         (bit_XMM_state): New macro.
9361         (bit_YMM_state): New macro.
9362         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
9363         [__ASSEMBLER__] (index_AVX_Usable): ... this.
9364         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
9365         (CPUID_OSXSAVE): New macro.
9366         (CPUID_AVX): New macro.
9367         (CPUID_FMA4): New macro.
9368         (index_YMM_Usable): Rename to...
9369         (index_AVX_Usable): ... this.
9370         (HAS_AVX): Use HAS_ARCH_FEATURE.
9371         (HAS_FMA4): Likewise.
9372         (HAS_YMM_USABLE): Remove.
9373         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9374         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
9375         are present.
9376         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
9377         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
9378         * sysdeps/x86_64/multiarch/Makefile: Likewise.
9379         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
9380         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
9382 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
9384         * math/libm-test.c: Support platforms without multiple rounding modes.
9385         * math/bug-nextafter.c: Support platforms without FP exceptions.
9386         * math/bug-nexttoward.c: Likewise.
9387         * math/test-fenv.c: Likewise.
9388         * math/test-misc.c: Likewise.
9389         * stdlib/bug-getcontext.c: Likewise.
9391 2012-05-17  Andreas Jaeger  <aj@suse.de>
9393         * manual/examples/search.c (critter_cmp): Change signature to
9394         avoid warnings.
9395         * manual/string.texi (Collation Functions): Likewise.
9397 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
9399         * bits/types.h: Fold copyright years.
9400         * bits/typesizes.h: Likewise.
9401         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
9402         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
9403         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
9404         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
9405         * time/time.h: Likewise.
9407 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
9409         [BZ #208]
9410         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
9411         in instead of returning them.  Return void.
9412         (__libc_mallinfo): Accumulate over all arenas.
9413         (__malloc_stats): Adjust for change in int_mallinfo interface.
9415 2012-05-16  Roland McGrath  <roland@hack.frob.com>
9417         [BZ #10375]
9418         * configure.in (NM): Add AC_CHECK_TOOL for it.
9419         (libc_extra_cflags): New substituted variable.
9420         Check for -fstack-protector being used implicitly.
9421         * configure: Regenerated.
9422         * config.make.in (config-extra-cflags): New variable,
9423         gets @libc_extra_cflags@.
9424         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
9426         [BZ #10375]
9427         * configure.in: Check for _FORTIFY_SOURCE being predefined.
9428         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
9429         * configure: Regenerated.
9430         * config.make.in (CPPUNDEFS): New substituted variable.
9431         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
9432         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
9433         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
9435 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
9437         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
9438         (mq_attr): Use __syscall_slong_t.
9440 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
9442         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
9443         Check __x86_64__ instead of __WORDSIZE.
9444         (_STAT_VER_LINUX): Likewise.
9445         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
9446         __syscall_ulong_t and __syscall_slong_t.
9447         (stat64): Likewise.
9449 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
9451         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
9453 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
9455         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
9457 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
9459         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
9460         __syscall_ulong_t.
9462         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
9463         include <bits/wordsize.h>.  Check __x86_64__ instead of
9464         __WORDSIZE.
9465         (greg_t): Use "__extension__ long long int" if __x86_64__ is
9466         defined.
9467         (mcontext_t): Replace "unsigned long" with "unsigned long long".
9469         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
9470         include <bits/wordsize.h>.  Check __x86_64__ instead of
9471         __WORDSIZE.
9472         (user_regs_struct): Use "__extension__ unsigned long long"
9473         instead of "unsigned long" if __x86_64__ is defined.
9474         (user): Likewise.  Pad after pointer field if __ILP32__ is
9475         defined.
9477 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
9479         * configure.in (makeinfo): Require version 4.5 or later.  Allow
9480         versions 5 to 9.
9481         * configure: Regenerated.
9482         * manual/install.texi (texinfo): Increase version requirement to
9483         4.5 or later.
9484         * INSTALL: Regenerated.
9486         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
9488 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
9490         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
9492         * sysdeps/x86_64/x32/ffs.c: New file.
9494         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
9495         __syscall_ulong_t.
9496         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
9497         defined.  Use __syscall_ulong_t.
9498         (shminfo): Use __syscall_ulong_t.
9499         (shm_info): Likewise.
9501         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
9502         __syscall_ulong_t.
9504         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
9505         <bits/wordsize.h>.
9506         (msgqnum_t): Use __syscall_ulong_t.
9507         (msglen_t): Likewise.
9508         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
9509         __syscall_ulong_t.
9511         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
9512         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
9514         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
9516         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
9517         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
9519         * sysvipc/sys/msg.h (msgbuf): Replace long int with
9520         __syscall_slong_t.
9522         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
9523         include <bits/wordsize.h>.  Check __x86_64__ instead of
9524         __WORDSIZE.
9526         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
9527         "unsigned long long int" if __x86_64__ is defined.
9528         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
9530         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
9531         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
9532         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
9534         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
9535         <stdint.h>.
9536         (GET_PC): Cast to uintptr_t first.
9537         (GET_FRAME): Likewise.
9538         (GET_STACK): Likewise.
9540         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
9541         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
9542         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
9543         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
9544         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
9545         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
9546         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
9547         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
9548         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
9549         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
9550         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
9551         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
9552         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
9553         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
9554         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
9555         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
9556         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
9557         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
9558         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
9559         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
9560         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
9561         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
9562         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
9563         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
9564         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
9565         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
9566         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
9567         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
9568         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
9570 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
9572         * Makerules (+depfiles): Also collect depfiles from .oS in
9573         $(extra-objs).
9574         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
9575         .oS, $(libnldbl-routines)).
9577         * Makerules (native-compile-mkdep-flags): Define.
9578         * sunrpc/Makefile (extra-objs): Add $(addprefix
9579         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
9580         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
9581         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
9582         calling $(make-target-directory).
9584 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9586         * bits/types.h (__snseconds_t): Removed.
9587         * time/time.h (struct timespec): Replace __snseconds_t with
9588         __syscall_slong_t.
9589         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
9590         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
9591         Likewise.
9592         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9593         (__SNSECONDS_T_TYPE): Likewise.
9594         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9595         (__SNSECONDS_T_TYPE): Likewise.
9596         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9597         (__SNSECONDS_T_TYPE): Likewise.
9599 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9601         * sysdeps/mach/hurd/bits/typesizes.h
9602         (__SYSCALL_SLONG_TYPE): New macro.
9603         (__SYSCALL_ULONG_TYPE): Likewise.
9605 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9607         * bits/types.h (__syscall_slong_t): New type.
9608         (__syscall_ulong_t): Likewise.
9610         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
9611         (__SYSCALL_ULONG_TYPE): Likewise.
9612         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9613         (__SYSCALL_SLONG_TYPE): Likewise.
9614         (__SYSCALL_ULONG_TYPE): Likewise.
9615         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9616         (__SYSCALL_SLONG_TYPE): Likewise.
9617         (__SYSCALL_ULONG_TYPE): Likewise.
9618         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9619         (__SYSCALL_SLONG_TYPE): Likewise.
9620         (__SYSCALL_ULONG_TYPE): Likewise.
9622 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9624         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
9625         Add sigaltstack-offsets.sym.
9626         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
9627         <sigaltstack-offsets.h>.
9628         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
9629         longjmp_msg pointer.
9630         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
9631         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
9632         signal stack.
9633         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
9635 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
9637         * elf/stackguard-macros.h: Remove file.
9638         * sysdeps/generic/stackguard-macros.h: New file.
9639         * sysdeps/i386/stackguard-macros.h: Likewise.
9640         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
9641         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
9642         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
9643         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
9644         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
9645         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
9646         * sysdeps/x86_64/stackguard-macros.h: Likewise.
9647         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
9648         <elf/stackguard-macros.h>.
9650         [BZ #14109]
9651         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
9652         __aligned__ in attribute.
9653         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
9654         (gregset_t): Likewise.
9656 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9658         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
9659         * sysdeps/x86_64/64/Implies-after: Here.  New file.
9660         * sysdeps/x86_64/x32/Implies-after: New file.
9662 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9664         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
9665         and access return value for _dl_profile_fixup.  Use R10_LP to
9666         load frame size.
9668 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9670         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
9672 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9674         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
9675         * sysdeps/x86_64/x32/sysdep.h: New file.
9677 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9679         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
9680         * sysdeps/x86_64/setjmp.S: Likewise.
9682 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9684         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
9685         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
9686         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
9687         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
9688         remove unused global constant.
9690 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
9692         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
9693         include of <not-cancel.h>.
9695 2012-05-15  Roland McGrath  <roland@hack.frob.com>
9697         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
9699 2012-05-15  Jeff Law  <law@redhat.com>
9700             Andreas Jaeger  <aj@suse.de>
9702         [BZ #13594]
9703         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
9704         out from...
9705         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
9706         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
9707         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
9708         code changing __hst_map_handle.map.
9710 2012-05-15  Roland McGrath  <roland@hack.frob.com>
9712         * configure.in (sysnames): Look for Implies-before and Implies-after
9713         files.
9714         * configure: Regenerated.
9716 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9718         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
9719         8-byte data alignment with LP_SIZE alignment.
9721 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9723         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
9724         into R10_LP.
9726 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9728         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
9730 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9732         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
9733         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
9734         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
9735         Likewise.
9736         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
9738 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9740         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
9741         (stackinfo_sub_sp): Likewise.
9743 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9745         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
9746         RAX_LP.
9748 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9750         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
9751         into R*_LP.
9753 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9755         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
9756         sizes into R*_LP.
9758 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9760         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
9762 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9764         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
9765         into R11_LP and load __x86_64_shared_cache_size_half into
9766         R8_LP.
9768 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9770         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
9771         R8_LP.
9773 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9775         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
9776         logb for POWER7.
9777         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
9778         logbf for POWER7.
9779         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
9780         logbl for POWER7.
9781         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
9782         powerpc32/power7/fpu/s_logb.c via #include.
9783         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
9784         powerpc32/power7/fpu/s_logbf.c via #include.
9785         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
9786         powerpc32/power7/fpu/s_logbl.c via #include.
9788 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
9790         * README.libm: Remove file.
9792 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
9794         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
9795         count for x32.  Use R*_LP and omit operand-size suffix.
9797 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
9799         * shlib-versions: Move x86_64-.*-linux.* entries to ...
9800         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
9801         * sysdeps/x86_64/x32/shlib-versions: New file.
9803 2012-05-14  Roland McGrath  <roland@hack.frob.com>
9805         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
9806         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
9807         Use _dl_fatal_printf instead.
9809 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
9811         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
9812         set if not set by the user.  Do not allow for being unset.
9813         * sysdeps/unix/sysv/linux/configure: Regenerated.
9815 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
9817         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
9818         the `q' suffix from lea and replace .quad with ASM_ADDR.
9820 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
9822         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
9823         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
9824         instead of $17.
9825         (PTR_DEMANGLE): Likewise.
9827 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
9829         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
9830         (LP_OP): Likewise.
9831         (ASM_ADDR): Likewise.
9832         (RAX_LP): Likewise.
9833         (RBP_LP): Likewise.
9834         (RBX_LP): Likewise.
9835         (RCX_LP): Likewise.
9836         (RDI_LP): Likewise.
9837         (RSI_LP): Likewise.
9838         (RSP_LP): Likewise.
9839         (R8_LP): Likewise.
9840         (R9_LP): Likewise.
9841         (R10_LP): Likewise.
9842         (R10_LP): Likewise.
9843         (R11_LP): Likewise.
9844         (R12_LP): Likewise.
9845         (R13_LP): Likewise.
9846         (R14_LP): Likewise.
9847         (R15_LP): Likewise.
9849 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
9851         * sysdeps/x86_64/x32/dl-machine.h: New file.
9853 2012-05-14  Andreas Jaeger  <aj@suse.de>
9855         * manual/Makefile (subdir): Remove export of subdir.
9856         (all): Remove target.
9857         (.PHONY): Remove all from list.
9858         (mkinstalldirs): Remove.
9859         (.PHONY): Remove installdirs from list.
9860         ($(inst_infodir)/libc.info): Use make-target-directory.
9861         (installdirs): Remove.
9862         (subdir_%): Remove.
9863         (glibc-targets): Remove.
9864         (lib): Remove.
9865         (stubs): Remove.
9866         ($(objpfx)stubs ../po/manual.pot): Remove.
9867         ($(objpfx)stamp%): Remove.
9868         (make-target-directory): Remove.
9869         (subdir_install): Remove.
9870         (routines): Remove.
9871         (aux): Remove.
9872         (sources): Remove.
9873         (objects): Remove.
9874         (headers): Remove.
9876         [BZ #13750]
9877         * manual/.gitignore: Remove, it's not needed anymore.
9878         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
9879         all files in it.
9880         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
9881         directory.
9882         (texis): Renamed to $(objpfx)texis.
9883         (texis-path): New, contains path to generated files.
9884         (chapters.%): Use texis-path for complete path, add extra argument
9885         libc-texinfo.sh.
9886         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
9887         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
9888         (summary,texi, stamp-summary): Use complete path of
9889         files. Generate files in build dir.
9890         (dir-add.texi): Build in build dir.
9891         (libm-err.texi,stamp-libm-err): Likewise.
9892         (version.texi, stamp-version): Likewise.
9893         (.%c.texi): Likewise.
9894         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
9895         (mostlyclean): Remove target.
9896         (realclean): Remove target.
9897         (generated): Add new variable with contents from mostlyclean and
9898         realclean, remove entries duplicated in common-mostlyclean, add
9899         stamp-libm-err and stamp-version.
9900         (generated-dirs): Add libc directory.
9901         ($(inst_infodir)/libc.info): Install files from build dir.
9903         * manual/install.texi (Configuring and compiling): Adjust since
9904         the info files are not part of the tar ball anymore.
9906 2012-05-14  Andreas Jaeger  <aj@suse.de>
9908         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
9909         variable.
9911 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
9913         [BZ #13717]
9914         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
9915         to 2.2.0 where earlier.
9916         * sysdeps/unix/sysv/linux/configure: Regenerated.
9917         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
9918         Remove conditional code.
9919         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
9920         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
9921         Remove conditional code.
9922         [!__NR_lchown]: Likewise.
9923         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9924         [__NR_lchown]: Likewise.
9925         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
9926         comment referencing __ASSUME_LCHOWN_SYSCALL.
9927         * sysdeps/unix/sysv/linux/i386/sigaction.c
9928         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9929         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9930         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
9931         Remove conditional code.
9932         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
9933         (__protocol_available): Remove #if 0 code.
9934         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
9935         conditional code.
9936         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
9937         * sysdeps/unix/sysv/linux/kernel-features.h
9938         (__ASSUME_GETCWD_SYSCALL): Don't define.
9939         (__ASSUME_REALTIME_SIGNALS): Likewise.
9940         (__ASSUME_PREAD_SYSCALL): Likewise.
9941         (__ASSUME_PWRITE_SYSCALL): Likewise.
9942         (__ASSUME_POLL_SYSCALL): Likewise.
9943         (__ASSUME_LCHOWN_SYSCALL): Likewise.
9944         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
9945         non-SPARC.
9946         (__ASSUME_SIOCGIFNAME): Don't define.
9947         (__ASSUME_MSG_NOSIGNAL): Likewise.
9948         (__ASSUME_SENDFILE): Define unconditionally.
9949         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
9950         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
9951         conditional code.
9952         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
9953         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
9954         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
9955         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9956         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
9957         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
9958         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
9960         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9961         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
9963         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9964         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
9966         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9967         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
9969         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9970         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
9972         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9973         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
9975         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9976         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
9978         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9979         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
9981         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9982         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9983         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
9984         Remove conditional code.
9985         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9986         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
9987         Remove conditional code.
9988         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9989         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
9990         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
9991         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
9992         Remove conditional code.
9993         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9994         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
9995         Remove conditional code.
9996         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9997         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
9998         Remove conditional code.
9999         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10000         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
10001         Remove conditional code.
10002         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10003         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
10004         Remove conditional code.
10005         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10006         * sysdeps/unix/sysv/linux/sh/pwrite64.c
10007         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10008         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10009         * sysdeps/unix/sysv/linux/sigaction.c
10010         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10011         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10012         * sysdeps/unix/sysv/linux/sigpending.c
10013         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10014         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10015         * sysdeps/unix/sysv/linux/sigprocmask.c
10016         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10017         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10018         * sysdeps/unix/sysv/linux/sigsuspend.c
10019         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10020         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10021         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
10022         (__libc_missing_rt_sigs): Remove.
10023         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
10024         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
10025         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
10026         Remove conditional code.
10027         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
10028         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
10029         return 1.
10030         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
10031         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
10032         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
10033         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
10035 2012-05-14  Andreas Jaeger  <aj@suse.de>
10037         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
10038         it's not used in glibc.
10039         (__coshm1): Likewise.
10040         (__acosh1p): Likewise.
10041         (__sgn): Likewise.
10043         * manual/string.texi (Copying and Concatenation): Add missing
10044         variable in concat example.
10045         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
10047 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
10049         [BZ #14103]
10050         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
10051         __builtin_clzl with __builtin_clzll.
10053 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
10055         [BZ #14104]
10056         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
10057         libc_freeres_ptr.
10059 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
10061         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
10062         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
10063         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
10064         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
10066 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
10068         * NEWS: Update ia64 info.
10070 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
10072         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
10073         used as bcopy.
10075 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
10077         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
10078         * sysdeps/unix/syscalls.list (dup3): Likewise.
10079         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
10080         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
10082 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
10084         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
10085         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
10087 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
10089         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
10090         thread pointer.
10091         (TLS_IE): Use mov/add instead of movq/addq to load thread
10092         pointer.
10093         (TLS_GD_PREFIX): New.
10094         (TLS_GD): Use it.
10096 2012-05-11  David S. Miller  <davem@davemloft.net>
10098         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
10099         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
10100         (_FPU_SETCW): Likewise.
10102 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
10104         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
10105         is 32-byte aligned.
10107 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
10109         [BZ #11837]
10110         * iconvdata/gb18030.c: Update tables.
10111         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
10112         characters specially.
10113         (BODY for TO_LOOP): Add encoding of missing ranges.
10115 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
10117         [BZ #13673]
10118         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
10119         * sysdeps/mach/hurd/dup3.c: Likewise.
10120         * sysdeps/mach/hurd/readlinkat.c: Likewise.
10121         * sysdeps/powerpc/memmove.c:: Likewise.
10123 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
10125         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
10126         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
10128 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
10130         * elf/elf.h (R_X86_64_RELATIVE64): New.
10131         (R_X86_64_NUM): Updated.
10132         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
10133         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
10134         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
10135         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
10136         tst-quad1pie tst-quad2pie
10137         (modules-names): Add tst-quadmod1 tst-quadmod2.
10138         ($(objpfx)tst-quad1): New dependency.
10139         ($(objpfx)tst-quad2): Likewise.
10140         ($(objpfx)tst-quad1pie): Likewise.
10141         ($(objpfx)tst-quad2pie): Likewise.
10142         * sysdeps/x86_64/tst-quad1.c: New file.
10143         * sysdeps/x86_64/tst-quad1pie.c: New file.
10144         * sysdeps/x86_64/tst-quad2.c: Likewise.
10145         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
10146         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
10147         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
10148         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
10149         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
10151 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10153         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
10154         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
10155         * streams/stropts.h (t_scalar_t): Define type.
10157         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
10158         (_PATH_PRESERVE): Set to "/var/lib".
10159         (_PATH_RWHODIR): Set to "/var/spool/rwho".
10161         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
10162         instead of int.
10164         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
10165         if __dir_mkfile succeeded.
10167         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
10168         checking for _hurd_dtablesize.  Unlock it right after having
10169         finished _hurd_dtable allocation.
10171 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
10173         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
10174         * sysdeps/mach/hurd/configure: Regenerated.
10175         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
10176         special-casing to...
10177         * sysdeps/gnu/configure.in: ... this new file.
10178         * sysdeps/unix/sysv/linux/configure: Regenerated.
10179         * sysdeps/gnu/configure: New generated file.
10181         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
10182         for Linux: use nsec instead of usec, as well as:
10183         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
10184         members of type struct timespec.
10185         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
10186         New macros.
10187         (struct stat64): Likewise.
10188         (_STATBUF_ST_NSEC): New macro.
10189         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
10191         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
10192         __strtoul_internal rather than strtoul.
10194 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
10196         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
10197         and reject them.
10199 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10201         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
10202         which preserves existing values.
10203         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
10205 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
10207         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
10208         TIMEOUT values.  Return EINVAL for NFDS values either negative or
10209         greater than FD_SETSIZE.
10211 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10213         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
10214         allocated, call __vm_protect to finish enabling the existing space, and
10215         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
10216         allocate the remainder.
10218 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
10220         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
10221         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
10223 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10225         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
10226         sysdeps/mach/hurd/readlink.c.
10228         * posix/tst-sysconf.c (posix_options): Only use
10229         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
10230         _POSIX_SYNCHRONIZED_IO when they are defined
10231         * sysdeps/mach/hurd/bits/posix_opt.h:
10232         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
10233         (_XOPEN_REALTIME): Undefine macro.
10234         (_XOPEN_REALTIME_THREADS): Undefine macro.
10235         (_XOPEN_SHM): Undefine macro.
10236         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
10237         macro to -1.
10238         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
10239         macro to -1.
10240         (_POSIX_ASYNC_IO): Undefine macro.
10241         (_POSIX_PRIORITIZED_IO): Undefine macro.
10242         (_POSIX_SPIN_LOCKS): Define macro to -1.
10244         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
10245         SA_NODEFER, SA_RESETHAND.
10246         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
10247         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
10248         F_DUPFD_CLOEXEC.
10250 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
10252         * elf/Makefile (pldd-modules): Define unconditionally.
10254 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
10256         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
10258 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10260         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
10261         Return ENOENT when name is empty.
10262         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
10264 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
10266         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
10268         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
10270 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10272         Fix mlock in all cases except non-readable pages.
10273         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
10274         instead of VM_PROT_ALL as parameter to __vm_wire function.
10276         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
10277         (__mkdir): When path is `/', just fail with EEXIST.
10278         * sysdeps/mach/hurd/mkdirat.c: Likewise.
10280 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
10282         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
10283         <sys/uio.h> (for writev).
10284         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
10285         and <sys/param.h> (for MIN).
10287 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
10289         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
10290         REQUESTED_TIME.  Properly set the remaining time and return EINTR
10291         if interrupted.
10293 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
10295         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
10296         Depend on against $(link-rpcuserlibs).
10298 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10300         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
10301         (__libc_stack_end): Do not use attribute_relro.
10302         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
10303         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
10304         to libthread-provided value.
10305         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
10306         attribute_relro.
10308 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
10310         [BZ #3748]
10311         * bits/libc-lock.h (__libc_once_get): New macro.
10312         * sysdeps/mach/bits/libc-lock.h: Likewise.
10313         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
10314         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
10315         instead of using implementation details.
10317         * libio/fileops.c: Unconditionally include <kernel-features.h>.
10318         * libio/freopen.c: Likewise.
10319         * libio/freopen64.c: Likewise.
10320         * misc/syslog.c: Likewise.
10321         * nscd/connections.c: Likewise.
10322         * nscd/netgroupcache.c: Likewise.
10323         * sysdeps/posix/getcwd.c: Likewise.
10325 2012-05-10  Roland McGrath  <roland@hack.frob.com>
10327         * math/w_ilogbf.c: Add #include <limits.h>.
10329 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10331         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
10332         path instead of returning without unlocking.
10334         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
10335         immediate-write ioctls.
10336         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
10338 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
10340         * sysdeps/mach/hurd/i386/init-first.c (init): Use
10341         __builtin_frame_address instead of making assumptions about the
10342         location of the return address relative to DATA.  Force early load of
10343         the return address.
10344         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
10345         __builtin_frame_address.
10347         dup3 for GNU Hurd.
10348         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
10349         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
10350         implement dup3 and do some further code clean-ups.
10351         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
10352         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
10354 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10356         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
10358         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
10359         HURD_CRITICAL_END around holding _hurd_dtable_lock.
10360         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
10361         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
10362         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
10363         d->port.lock.
10365         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
10366         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
10367         when handler == SIG_ERR, not when handler != SIG_ERR.
10369 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
10371         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
10372         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
10373         definitions.
10375         accept4 for GNU Hurd.
10376         * include/sys/socket.h (__libc_accept4): New prototype.
10377         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
10378         to implement __libc_accept4.
10379         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
10380         __libc_accept4.
10381         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
10383         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
10384         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
10385         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
10386         signal-defines.sym.
10388 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10390         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
10392 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
10394         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
10395         assertion on O_CLOEXEC flag.
10396         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
10397         * hurd/intern-fd.c: Likewise.
10398         * hurd/port2fd.c: Likewise.
10400 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10402         [BZ #3906]
10403         * bits/in.h (IPV6_PKTINFO): Define new macro.
10404         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
10406 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10408         [BZ #13954]
10409         [BZ #13955]
10410         [BZ #13956]
10411         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
10412         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10413         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
10414         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
10415         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10416         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
10417         * math/libm-test.inc (logb_test) : Additional logb tests.
10419 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
10420             Andreas Jaeger  <aj@suse.de>
10422         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
10423         * configure: Regenerated.
10424         * config.h.in (LINK_OBSOLETE_RPC): New macro.
10425         * config.make.in (link-obsolete-rpc): New substituted variable.
10426         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
10427         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
10428         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
10429         (shared-only-routines): Don't set it under [link-obsolete-rpc],
10430         so that libc.a contains the symbols.
10431         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
10432         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
10433         * sunrpc/auth_none.c: Likewise.
10434         * sunrpc/auth_unix.c: Likewise.
10435         * sunrpc/authdes_prot.c: Likewise.
10436         * sunrpc/authuxprot.c: Likewise.
10437         * sunrpc/clnt_gen.c: Likewise.
10438         * sunrpc/clnt_perr.c: Likewise.
10439         * sunrpc/clnt_raw.c: Likewise.
10440         * sunrpc/clnt_simp.c: Likewise.
10441         * sunrpc/clnt_tcp.c: Likewise.
10442         * sunrpc/clnt_udp.c: Likewise.
10443         * sunrpc/clnt_unix.c: Likewise.
10444         * sunrpc/des_crypt.c: Likewise.
10445         * sunrpc/des_soft.c: Likewise.
10446         * sunrpc/get_myaddr.c: Likewise.
10447         * sunrpc/key_call.c: Likewise.
10448         * sunrpc/key_prot.c: Likewise.
10449         * sunrpc/netname.c: Likewise.
10450         * sunrpc/pm_getmaps.c: Likewise.
10451         * sunrpc/pm_getport.c: Likewise.
10452         * sunrpc/pmap_clnt.c: Likewise.
10453         * sunrpc/pmap_prot.c: Likewise.
10454         * sunrpc/pmap_prot2.c: Likewise.
10455         * sunrpc/pmap_rmt.c: Likewise.
10456         * sunrpc/publickey.c: Likewise.
10457         * sunrpc/rpc_cmsg.c: Likewise.
10458         * sunrpc/rpc_common.c: Likewise.
10459         * sunrpc/rpc_dtable.c: Likewise.
10460         * sunrpc/rpc_prot.c: Likewise.
10461         * sunrpc/rpc_thread.c: Likewise.
10462         * sunrpc/rtime.c: Likewise.
10463         * sunrpc/svc.c: Likewise.
10464         * sunrpc/svc_auth.c: Likewise.
10465         * sunrpc/svc_raw.c: Likewise.
10466         * sunrpc/svc_run.c: Likewise.
10467         * sunrpc/svc_tcp.c: Likewise.
10468         * sunrpc/svc_udp.c: Likewise.
10469         * sunrpc/svc_unix.c: Likewise.
10470         * sunrpc/svcauth_des.c: Likewise.
10471         * sunrpc/xcrypt.c: Likewise.
10472         * sunrpc/xdr.c: Likewise.
10473         * sunrpc/xdr_array.c: Likewise.
10474         * sunrpc/xdr_float.c: Likewise.
10475         * sunrpc/xdr_intXX_t.c: Likewise.
10476         * sunrpc/xdr_mem.c: Likewise.
10477         * sunrpc/xdr_rec.c: Likewise.
10478         * sunrpc/xdr_ref.c: Likewise.
10479         * sunrpc/xdr_sizeof.c: Likewise.
10480         * sunrpc/xdr_stdio.c: Likewise.
10482 2012-05-10  Roland McGrath  <roland@hack.frob.com>
10484         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
10485         change.  Update copyright years.
10487 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
10489         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
10491 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
10492             Joseph Myers  <joseph@codesourcery.com>
10493             Paul Pluzhnikov  <ppluzhnikov@google.com>
10495         [BZ #14012]
10496         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
10497         requiring rpcgen.
10498         [cross-compiling] (extra-libs): Likewise.
10499         [cross-compiling] (extra-libs-others): Likewise.
10500         [cross-compiling] (librpcsvc-routines): Likewise.
10501         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
10502         [cross-compiling] (omit-deps): Likewise.
10503         (sunrpc-CPPFLAGS): New variable.
10504         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
10505         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
10506         (cross-rpcgen-objs): New variable.
10507         (extra-objs): Append $(cross-rpcgen-objs).
10508         ($(cross-rpcgen-objs)): New rule.
10509         ($(objpfx)cross-rpcgen): Likewise.
10510         (rpcgen-cmd): Define to use $(built-program-file).  Expand
10511         comment.
10512         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
10513         ($(objpfx)x%.stmp): Likewise.
10514         * sunrpc/proto.h [IS_IN_build] (_): Define.
10515         [IS_IN_build] (_libc_intl_domainname): Likewise.
10517 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
10519         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
10520         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
10521         and R_X86_64_TPOFF64.
10523 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
10525         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
10526         sysdeps/unix/sysv/syscalls.list.
10527         (stime): Likewise.
10528         (utime): Likewise.
10529         * sysdeps/unix/sysv/syscalls.list: Remove file.
10531 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
10533         [BZ #3440]
10534         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
10535         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
10536         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
10537         (__LC_IDENTIFICATION): Make these macros useful in #if
10538         expressions, as required by C99.
10540 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
10542         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
10543         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
10544         after this.
10546 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
10548         * stdlib/longlong.h: Updated from GCC.
10550 2012-05-09  Andreas Jaeger  <aj@suse.de>
10552         * nscd/nscd.c (run_modes): Make named enum, reorder so that
10553         default is first entry.
10554         (run_mode): Set type.
10555         (main): Remove informal message about syslog.
10556         (options): Fix typo.
10558         [BZ #14053]
10559         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
10560         to asm.
10561         (lrint): Likewise.
10562         (llrintf): Likewise.
10563         (llrint): Likewise.
10564         (rint): Likewise.
10565         (rintf): Likewise.
10566         (nearbyint): Likewise.
10567         (nearbyintf): Likewise.
10569 2012-05-09  Andreas Jaeger  <aj@suse.de>
10570             Pedro Alves  <palves@redhat.com>
10572         * nscd/nscd.c (run_mode): Use enum.
10573         (main): Cleanup coding style issue.
10575 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
10576             Andreas Jaeger  <aj@suse.de>
10578         * nscd/nscd.c (go_background): Replaced with...
10579         (run_mode): ... this.
10580         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
10581         (options): Add -F --foreground.
10582         (main): Implement it.
10583         (parse_opt): Parse it.
10585 2012-05-09  Andreas Jaeger  <aj@suse.de>
10587         [BZ #14083]
10588         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
10589         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
10590         -Wconversion warning.
10591         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
10592         Likewise.
10594 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
10596         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
10597         == 0.
10598         (LC_ALL): Use macro-int-constant.
10599         (LC_COLLATE): Likewise.
10600         (LC_CTYPE): Likewise.
10601         (LC_MESSAGES): Likewise.
10602         (LC_MONETARY): Likewise.
10603         (LC_NUMERIC): Likewise.
10604         (LC_TIME): Likewise.
10605         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
10606         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
10607         [ISO || ISO99 || ISO11] (*_t): Do not allow.
10608         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
10609         Specify type.
10610         [C99-based standards] (float_t): Expect type.
10611         [C99-based standards] (double_t): Expect type.
10612         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
10613         type.
10614         [C99-based standards] (HUGE_VALL): Likewise.
10615         [C99-based standards] (INFINITY): Likewise.
10616         [C99-based standards] (NAN): Likewise.
10617         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
10618         [C99-based standards] (FP_NAN): Likewise.
10619         [C99-based standards] (FP_NORMAL): Likewise.
10620         [C99-based standards] (FP_SUBNORMAL): Likewise.
10621         [C99-based standards] (FP_ZERO): Likewise.
10622         [C99-based standards] (FP_FAST_FMA): Use
10623         optional-macro-int-constant.  Specify type.  Require == 1.
10624         [C99-based standards] (FP_FAST_FMAF): Likewise.
10625         [C99-based standards] (FP_FAST_FMAL): Likewise.
10626         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
10627         [C99-based standards] (FP_ILOGBNAN): Likewise.
10628         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
10629         Specify type.
10630         [C99-based standards] (MATH_ERREXCEPT): Likewise.
10631         [C99-based standards] (math_errhandling): Specify type.
10632         [ISO99 || ISO11] (signgam): Do not allow.
10633         [non-C99-based standards] (copysignf): Do not allow.
10634         [non-C99-based standards] (exp2f): Likewise.
10635         [non-C99-based standards] (log2f): Likewise.
10636         [non-C99-based standards] (modff): Allow.
10637         [non-C99-based standards] (erff): Do not allow.
10638         [non-C99-based standards] (erfcf): Likewise.
10639         [non-C99-based standards] (gammaf): Likewise.
10640         [non-C99-based standards] (hypotf): Likewise.
10641         [non-C99-based standards] (j0f): Likewise.
10642         [non-C99-based standards] (j1f): Likewise.
10643         [non-C99-based standards] (jnf): Likewise.
10644         [non-C99-based standards] (lgammaf): Likewise.
10645         [non-C99-based standards] (tgammaf): Likewise.
10646         [non-C99-based standards] (y0f): Likewise.
10647         [non-C99-based standards] (y1f): Likewise.
10648         [non-C99-based standards] (ynf): Likewise.
10649         [non-C99-based standards] (isnanf): Likewise.
10650         [non-C99-based standards] (acoshf): Likewise.
10651         [non-C99-based standards] (asinhf): Likewise.
10652         [non-C99-based standards] (atanhf): Likewise.
10653         [non-C99-based standards] (cbrtf): Likewise.
10654         [non-C99-based standards] (expm1f): Likewise.
10655         [non-C99-based standards] (ilogbf): Likewise.
10656         [non-C99-based standards] (log1pf): Likewise.
10657         [non-C99-based standards] (logbf): Likewise.
10658         [non-C99-based standards] (nextafterf): Likewise.
10659         [non-C99-based standards] (remainderf): Likewise.
10660         [non-C99-based standards] (rintf): Likewise.
10661         [non-C99-based standards] (scalbf): Likewise.
10662         [non-C99-based standards] (copysignl): Likewise.
10663         [non-C99-based standards] (exp2l): Likewise.
10664         [non-C99-based standards] (log2l): Likewise.
10665         [non-C99-based standards] (modfl): Allow.
10666         [non-C99-based standards] (erfl): Do not allow.
10667         [non-C99-based standards] (erfcl): Likewise.
10668         [non-C99-based standards] (gammal): Likewise.
10669         [non-C99-based standards] (hypotl): Likewise.
10670         [non-C99-based standards] (j0l): Likewise.
10671         [non-C99-based standards] (j1l): Likewise.
10672         [non-C99-based standards] (jnl): Likewise.
10673         [non-C99-based standards] (lgammal): Likewise.
10674         [non-C99-based standards] (tgammal): Likewise.
10675         [non-C99-based standards] (y0l): Likewise.
10676         [non-C99-based standards] (y1l): Likewise.
10677         [non-C99-based standards] (ynl): Likewise.
10678         [non-C99-based standards] (isnanl): Likewise.
10679         [non-C99-based standards] (acoshl): Likewise.
10680         [non-C99-based standards] (asinhl): Likewise.
10681         [non-C99-based standards] (atanhl): Likewise.
10682         [non-C99-based standards] (cbrtl): Likewise.
10683         [non-C99-based standards] (expm1l): Likewise.
10684         [non-C99-based standards] (ilogbl): Likewise.
10685         [non-C99-based standards] (log1pl): Likewise.
10686         [non-C99-based standards] (logbl): Likewise.
10687         [non-C99-based standards] (nextafterl): Likewise.
10688         [non-C99-based standards] (remainderl): Likewise.
10689         [non-C99-based standards] (rintl): Likewise.
10690         [non-C99-based standards] (scalbl): Likewise.
10691         [ISO || ISO99 || ISO11] (*_t): Do not allow.
10692         [non-C99-based standards] (FP_*): Do not allow.
10693         [C99-based standards] (FP_*): Change to
10694         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
10695         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10696         allow.
10697         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
10698         (SIG_ERR): Likewise.
10699         [X/Open-based standards] (SIG_HOLD): Likewise.
10700         (SIG_IGN): Likewise.
10701         (SIGABRT): Use macro-int-constant.  Specify type.  Require
10702         positive value.
10703         (SIGFPE): Likewise.
10704         (SIGILL): Likewise.
10705         (SIGINT): Likewise.
10706         (SIGSEGV): Likewise.
10707         (SIGTER): Likewise.
10708         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
10709         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
10710         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
10711         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
10712         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
10713         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
10714         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
10715         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
10716         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
10717         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
10718         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
10719         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
10720         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
10721         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
10722         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
10723         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
10724         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
10725         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
10726         [X/Open-based standards] (SIGTRAP): Likewise.
10727         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
10728         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
10729         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
10730         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
10731         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10732         allow.
10734 2012-05-08  Ian Wienand  <ianw@vmware.com>
10736         [BZ #14080]
10737         * time/tzset.c (__tzset_parse_tz): Update default rules for
10738         daylight time changes in the Energy Policy Act of 2005.
10740 2012-05-09  Andreas Jaeger  <aj@suse.de>
10742         [BZ #13983]
10743         * elf/ldconfig.c (parse_conf): Change string to make clear that
10744         ldconfig only issued a warning if ld.so.conf does not exist.
10746 2012-05-08  David S. Miller  <davem@davemloft.net>
10748         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
10749         movxtod instead of popping the value on the stack.
10751         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10753 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
10755         * config.h.in: Add HAVE_ARM_PCS_VFP.
10757 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
10759         [BZ #13979]
10760         * include/features.h: Warn if user requests __FORTIFY_SOURCE
10761         checking but the checks are disabled for any reason.
10763 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
10765         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
10766         and ELF64_R_TYPE with ELFW(R_TYPE).
10768 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
10770         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
10771         (ulimit): Likewise.
10773         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
10774         (settimeofday): Likewise.
10776 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
10778         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
10779         a struct th_u2 inside the union, and move tu_block/tu_code into
10780         a new th_u3 union of tu_block/tu_code inside of that.  Move
10781         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
10782         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
10783         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
10784         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
10785         (th_stuff): Change to th_u1.tu_stuff.
10786         (th_data): Define.
10787         (th_msg): Change to th_u1.th_u2.tu_data.
10789 2012-05-07  David S. Miller  <davem@davemloft.net>
10791         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10793         [BZ #14074]
10794         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
10795         (SETUP_PIC_REG): Use it.
10796         (SETUP_PIC_REG_LEAF): Use it.
10798 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
10800         [BZ #13885]
10801         [BZ #13923]
10802         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10803         USE_AS_EXPM1L.
10804         (EXPL_FINITE): Likewise.
10805         (FLDLOG): Likewise.
10806         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
10807         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
10808         e_expl.S.
10809         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10810         USE_AS_EXPM1L.
10811         (EXPL_FINITE): Likewise.
10812         (FLDLOG): Likewise.
10813         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
10814         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
10815         e_expl.S.
10816         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
10817         test of -max_value argument for long double.
10818         * sysdeps/i386/fpu/libm-test-ulps: Update.
10819         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10821 2012-05-06  David S. Miller  <davem@davemloft.net>
10823         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
10824         quad soft-float symbols whose references which are compiler
10825         generated.
10826         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
10828 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
10830         [BZ #13884]
10831         [BZ #13914]
10832         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10833         USE_AS_EXP10L.
10834         (EXPL_FINITE): Likewise.
10835         (FLDLOG): Likewise.
10836         (c0): Likewise.
10837         (c1): Likewise.
10838         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
10839         Adjust comments for base varying.
10840         (__expl_finite): Change alias to EXPL_FINITE.
10841         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
10842         e_expl.S.
10843         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
10844         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
10845         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
10846         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
10847         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10848         USE_AS_EXP10L.
10849         (EXPL_FINITE): Likewise.
10850         (FLDLOG): Likewise.
10851         (c0): Likewise.
10852         (c1): Likewise.
10853         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
10854         Adjust comments for base varying.
10855         (__expl_finite): Change alias to EXPL_FINITE.
10856         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
10857         tests for bugs.
10858         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10860         [BZ #14064]
10861         * math/libm-test.inc (check_float_internal): Correct ulp
10862         calculation for subnormal expected results.
10864 2012-05-06  Andreas Jaeger  <aj@suse.de>
10866         * Makeconfig (+math-flags): New, set to -frounding-math.
10867         (+cflags): Add +math-flags so that all of glibc gets compiled with
10868         it.
10870         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
10872 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
10874         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
10875         Disable one test.
10877         [BZ #13787]
10878         [BZ #13922]
10879         [BZ #14036]
10880         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
10881         (__ieee754_expl): Allow for and saturate large arguments.
10882         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
10883         (u_threshold): Likewise.
10884         (__exp): Call __ieee754_exp before checking for overflow and
10885         underflow.
10886         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
10887         (u_threshold): Likewise.
10888         (__expf): Call __ieee754_expf before checking for overflow and
10889         underflow.
10890         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
10891         (u_threshold): Likewise.
10892         (__expl): Call __ieee754_expl before checking for overflow and
10893         underflow.
10894         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
10895         (__ieee754_expl): Allow for and saturate large arguments.
10896         * math/libm-test.inc (exp_test): Add another test.  Do not allow
10897         missing overflow exception on overflow.
10898         (expm1_test): Do not allow missing overflow exception on overflow.
10900         * sysdeps/i386/fpu/e_expl.c: Move to ...
10901         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
10902         rather than using inline asm.
10903         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
10904         * sysdeps/x86_64/fpu/e_expl.S: Copy from
10905         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
10907         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
10908         (nice): Likewise.
10909         (poll): Likewise.
10910         (signal): Likewise.
10911         (time): Likewise.
10912         (times): Likewise.
10914 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
10916         * sysdeps/unix/syscalls.list (adjtime): Add entry from
10917         sysdeps/unix/common/syscalls.list.
10918         (fchmod): Likewise.
10919         (fchown): Likewise.
10920         (ftruncate): Likewise.
10921         (getrusage): Likewise.
10922         (gettimeofday): Likewise.
10923         (setpgid): Likewise.
10924         (setregid): Likewise.
10925         (setreuid): Likewise.
10926         (sigaction): Likewise.
10927         (truncate): Likewise.
10928         (vhangup): Likewise.
10929         * sysdeps/unix/common/syscalls.list: Remove file.
10930         * sysdeps/unix/bsd/Implies: Don't include unix/common.
10931         * sysdeps/unix/sysv/linux/Implies: Likewise.
10933 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
10935         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
10936         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
10937         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
10938         Moved to ...
10939         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
10940         Here.
10941         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
10942         to ...
10943         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
10944         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
10945         to ...
10946         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
10947         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
10948         to ...
10949         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
10950         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
10951         to ...
10952         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
10953         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
10954         to ...
10955         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
10956         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
10957         to ...
10958         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
10959         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
10960         to ...
10961         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
10962         Here.
10963         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
10964         to ...
10965         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
10966         Here.
10967         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
10968         to ...
10969         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
10970         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
10971         Moved to ...
10972         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
10973         Here.
10974         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
10975         to ...
10976         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
10978 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
10980         * sysdeps/unix/common/bits/dirent.h: Remove file.
10981         * sysdeps/unix/common/bits/fcntl.h: Likewise.
10983         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
10984         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
10985         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
10986         * sysdeps/unix/bsd/isatty.c: Likewise.
10987         * sysdeps/unix/bsd/tcdrain.c: Likewise.
10988         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
10989         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
10991 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10993         [BZ #13563]
10994         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
10995         long double comparison inaccuracies.
10996         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
10997         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10999 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
11001         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
11002         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
11004 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
11006         [BZ #14049]
11007         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
11008         nonzero digits before rounding a hex value.
11009         * stdlib/tst-strtod.c (tests): Add another test.
11011 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11013         * sysdeps/s390/fpu/libm-test-ulps: Update.
11015 2012-05-03  Andreas Jaeger  <aj@suse.de>
11017         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
11018         does not get optimized out.
11019         (malloc_opt_barrier): New.
11021 2012-05-03  Andreas Jaeger  <aj@suse.de>
11022             Roland McGrath  <roland@hack.frob.com>
11024         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
11025         intermediate file deletion.
11026         (generated): Add .symlist files.
11028 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
11030         [BZ #13775]
11031         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
11032         Redirect under this condition.
11033         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
11034         [__USE_GNU] (__dprintf_chk): Not under this condition.
11035         [__USE_GNU] (__vdprintf_chk): Likewise.
11036         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
11037         under this condition.
11038         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
11039         [__USE_XOPEN2K8] (dprintf): Define under this condition.
11040         [__USE_XOPEN2K8] (vdprintf): Likewise.
11041         [__USE_GNU] (__dprintf_chk): Not under this condition.
11042         [__USE_GNU] (__vdprintf_chk): Likewise.
11043         [__USE_GNU] (dprintf): Likewise.
11044         [__USE_GNU] (vdprintf): Likewise.
11046 2012-05-03  Roland McGrath  <roland@hack.frob.com>
11048         * elf/Makefile (common-generated): Set this instead of generated for
11049         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
11050         $(all-built-dso)-derived lists.
11052 2012-05-03  Andreas Jaeger  <aj@suse.de>
11054         * sysdeps/i386/fpu/libm-test-ulps: Update.
11056         * FAQ: Removed.
11057         * FAQ.in: Likewise.
11058         * scripts/gen-FAQ.pl: Likewise.
11059         * manual/install.texi (Installation): Point to online location of
11060         FAQ.
11061         * Makefile (files-for-dist): Remove FAQ.
11062         (FAQ): Remove.
11064 2012-05-02  Allan McRae  <allan@archlinux.org>
11066         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
11067         (LDFLAGS-reldepmod5.so): Likewise.
11068         (LDFLAGS-reldep6mod1.so): Likewise.
11069         (LDFLAGS-reldep6mod4.so): Likewise.
11070         (LDFLAGS-reldep8mod3.so): Likewise.
11071         (LDFLAGS-unload4mod1.so): Likewise.
11072         (LDFLAGS-unload4mod2.so): Likewise.
11073         (LDFLAGS-tst-initorder): Likewise.
11074         (LDFLAGS-tst-initordera2.so): Likewise.
11075         (LDFLAGS-tst-initordera3.so): Likewise.
11076         (LDFLAGS-tst-initordera4.so): Likewise.
11077         (LDFLAGS-tst-initorderb2.so): Likewise.
11078         (LDFLAGS-noload): Likewise.
11079         (LDFLAGS-next): Likewise.
11080         (LDFLAGS-order2mod1.so): Likewise.
11081         (LDFLAGS-order2mod2.so): Likewise.
11082         (LDFLAGS-tst-initorder2): Likewise.
11083         (LDFLAGS-tst-initorder2a.so): Likewise.
11084         (LDFLAGS-tst-initorder2b.so): Likewise.
11085         (LDFLAGS-tst-initorder2c.so): Likewise.
11086         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
11088 2012-05-02  David S. Miller  <davem@davemloft.net>
11090         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11092 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
11094         [BZ #14055]
11095         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
11097 2012-05-02  Andreas Jaeger  <aj@suse.de>
11099         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
11100         since we manipulate rounding mode.
11101         (CPPFLAGS-test-idouble.c): Likewise.
11102         (CPPFLAGS-test-ifloat.c): Likewise.
11103         (CFLAGS-test-ldouble.c): Likewise.
11104         (CFLAGS-test-double.c): Likewise.
11105         (CFLAGS-test-float.c): Likewise.
11106         (CFLAGS-test-misc.c): Likewise.
11107         (CFLAGS-test-test-fenv.c): Likewise.
11109 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11111         [BZ #2550]
11112         [BZ #2570]
11113         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
11114         comparisons to determine direction to adjust input.
11116 2012-05-01  Roland McGrath  <roland@hack.frob.com>
11118         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
11119         output to the target.
11121         * scripts/localplt.awk: New file.
11122         * elf/Makefile ($(objpfx)check-localplt): Target removed.
11123         (check-localplt-CFLAGS): Variable removed.
11124         ($(all-built-dso:=.jmprel)): New static pattern rule.
11125         (generated): Add those targets.
11126         (localplt-built-dso): New variable.
11127         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
11129         * elf/check-localplt.c: File removed.
11131         * scripts/check-execstack.awk: New file.
11132         * elf/Makefile ($(objpfx)check-execstack): Target removed.
11133         (check-execstack-CFLAGS): Variable removed.
11134         ($(objpfx)check-execstack.h): Target removed.
11135         ($(objpfx)execstack-default): New target.
11136         (generated): Add that instead of check-execstack.h.
11137         ($(all-built-dso:=.phdr)): New static pattern rule.
11138         (generated): Add those targets.
11139         * elf/check-execstack.c: File removed.
11141         * scripts/check-textrel.awk: New file.
11142         * elf/Makefile ($(objpfx)check-textrel): Target removed.
11143         (check-textrel-CFLAGS): Variable removed.
11144         (all-built-dso): Use := to define.o
11145         ($(all-built-dso:=.dyn)): New static pattern rule.
11146         (generated): Add those targets.
11147         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
11148         * config.make.in (READELF): New substituted variable.
11149         * elf/check-textrel.c: File removed.
11151 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
11153         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
11154         allow.
11155         * conform/data/ctype.h-data [C99-based standards] (isblank):
11156         Expect function.
11157         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
11158         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
11159         [ISO || ISO99 || ISO11] (*_t): Do not allow.
11160         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
11161         Specify type.  Require positive value.
11162         (EILSEQ): Likewise.
11163         (ERANGE): Likewise.
11164         [ISO || POSIX] (EILSEQ): Do not expect.
11165         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
11166         Specify type.  Require positive value.
11167         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
11168         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
11169         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
11170         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
11171         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
11172         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
11173         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
11174         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
11175         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
11176         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
11177         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
11178         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
11179         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
11180         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
11181         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
11182         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
11183         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
11184         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
11185         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
11186         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
11187         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
11188         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
11189         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
11190         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
11191         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
11192         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
11193         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
11194         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
11195         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
11196         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
11197         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
11198         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
11199         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
11200         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
11201         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
11202         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
11203         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
11204         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
11205         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
11206         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
11207         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
11208         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
11209         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
11210         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
11211         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
11212         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
11213         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
11214         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
11215         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
11216         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
11217         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
11218         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
11219         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
11220         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
11221         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
11222         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
11223         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
11224         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
11225         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
11226         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
11227         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
11228         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
11229         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
11230         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
11231         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
11232         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
11233         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
11234         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
11235         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
11236         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
11237         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
11238         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
11239         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
11240         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
11241         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
11242         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
11243         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
11244         Require >= 2.
11245         (FLT_ROUNDS): Expect as macro, not constant.
11246         (FLT_MANT_DIG): Use macro-int-constant.
11247         (DBL_MANT_DIG): Likewise.
11248         (LDBL_MANT_DIG): Likewise.
11249         (FLT_DIG): Likewise.
11250         (DBL_DIG): Likewise.
11251         (LDBL_DIG): Likewise.
11252         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
11253         (DBL_MIN_EXP): Likewise.
11254         (LDBL_MIN_EXP): Likewise.
11255         (FLT_MAX_EXP): Use macro-int-constant.
11256         (DBL_MAX_EXP): Likewise.
11257         (LDBL_MAX_EXP): Likewise.
11258         (FLT_MAX_10_EXP): Likewise.
11259         (DBL_MAX_10_EXP): Likewise.
11260         (LDBL_MAX_10_EXP): Likewise.
11261         (FLT_MAX): Use macro-constant.
11262         (DBL_MAX): Likewise.
11263         (LDBL_MAX): Likewise.
11264         (FLT_EPSILON): Use macro-constant.  Give upper bound.
11265         (DBL_EPSILON): Likewise.
11266         (LDBL_EPSILON): Likewise.
11267         (FLT_MIN): Likewise.
11268         (DBL_MIN): Likewise.
11269         (LDBL_MIN): Likewise.
11270         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
11271         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
11272         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
11273         [ISO11] (FLT_HAS_SUBNORM): Likewise.
11274         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
11275         [ISO11] (DBL_DECIMAL_DIG): Likewise.
11276         [ISO11] (FLT_DECIMAL_DIG): Likewise.
11277         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
11278         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
11279         [ISO11] (FLT_TRUE_MIN): Likewise.
11280         [ISO11] (LDBL_TRUE_MIN): Likewise.
11281         [ISO || ISO99 || ISO11] (*_t): Do not allow.
11282         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
11283         (SCHAR_MIN): Use macro-int-constant.  Specify type.
11284         (SCHAR_MAX): Likewise.
11285         (UCHAR_MAX): Likewise.
11286         (CHAR_MIN): Likewise.
11287         (CHAR_MAX): Likewise.
11288         (MB_LEN_MAX): Use macro-int-constant.
11289         (SHRT_MIN): Use macro-int-constant.  Specify type.
11290         (SHRT_MAX): Likewise.
11291         (USHRT_MAX): Likewise.
11292         (INT_MAX): Likewise.
11293         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
11294         bound negative.
11295         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
11296         bound with "U".
11297         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
11298         bound with "L".
11299         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
11300         bound negative.  Suffix upper bound with "L".
11301         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
11302         bound with "UL".
11303         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
11304         Specify type.
11305         [C99-based standards] (LLONG_MAX): Likewise.
11306         [C99-based standards] (ULLONG_MAX): Likewise.
11307         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
11308         == 0.
11309         [ISO11] (max_align_t): Require type.
11310         [ISO || ISO99 || ISO11] (*_t): Do not allow.
11312         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
11313         from $CFLAGS, without defining away __attribute__ calls.
11314         (checknamespace): Use $CFLAGS_namespace.
11316         * conform/conformtest.pl (@keywords): Only include C99 keywords
11317         for standards based on C99 or C11.
11319         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
11320         Disable tests.
11321         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
11322         UNIX98]: Likewise.
11324         * conform/conformtest.pl: Handle "macro-int-constant" and test for
11325         usability of symbols in #if.
11327         * conform/conformtest.pl: If macro or constant types start
11328         "promoted:", expect the symbol to be of the following type
11329         promoted by the integer promotions.
11331         * conform/conformtest.pl: Parse all "constant" and "macro" lines
11332         in one place.  Also handle "macro-constant".
11334         * conform/conformtest.pl: Only accept expected macro values with
11335         "==".  Parse all "macro" lines in one place.
11336         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
11338         * conform/conformtest.pl: Handle braced types on "constant" lines
11339         instead of handling "typed-constant".
11340         * conform/data/signal.h-data: Use "constant" instead of
11341         "typed-constant".
11343         * conform/conformtest.pl: Handle "optional-" at start of lines in
11344         one place rather than duplicating several cases.  Handle each
11345         format of "macro" line with initial "optional-".
11347         * conform/conformtest.pl: Only accept expected constant or
11348         optional-constant values with "==".  Parse all "constant" lines in
11349         one place.  Parse all "optional-constant" lines in one place.
11350         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
11351         * conform/data/fmtmsg.h-data: Likewise.
11352         * conform/data/netinet/in.h-data: Likewise.
11353         * conform/data/tar.h-data: Likewise.
11354         * conform/data/limits.h-data: Use "==" form on "constant" and
11355         "optional-constant" lines.
11357         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
11358         Use -std=c99 for XOPEN2K.
11359         (@knownproblems): Remove.
11360         (newtoken): Don't check %isknown.
11362         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
11363         Do not expect macro.
11364         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
11365         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
11366         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
11367         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
11368         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
11369         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
11370         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
11371         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
11372         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
11373         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
11374         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
11375         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
11376         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
11377         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
11378         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
11379         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
11380         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
11381         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
11382         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
11383         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
11384         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
11385         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
11386         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
11387         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
11388         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
11389         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
11390         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
11391         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
11392         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
11393         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
11394         [XPG3] (acosh): Likewise.
11395         [XPG3] (asinh): Likewise.
11396         [XPG3] (atanh): Likewise.
11397         [XPG3] (cbrt): Likewise.
11398         [XPG3] (expm1): Likewise.
11399         [XPG3] (ilogb): Likewise.
11400         [XPG3] (log1p): Likewise.
11401         [XPG3] (logb): Likewise.
11402         [XPG3] (nextafter): Likewise.
11403         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
11404         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
11405         [XPG3] (remainder): Likewise.
11406         [XPG3] (rint): Likewise.
11407         [XPG3 || XPG4 || UNIX98] (round): Likewise.
11408         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
11409         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
11410         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
11411         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
11412         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
11413         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
11414         [UNIX98 || XOPEN2K] (scalb): Expect.
11415         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
11416         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
11417         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
11418         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
11419         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
11420         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
11421         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
11422         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
11423         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
11424         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
11425         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
11426         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
11427         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
11428         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
11429         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
11430         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
11431         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
11432         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
11433         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
11434         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
11435         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
11436         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
11437         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
11438         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
11439         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
11440         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
11441         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
11442         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
11443         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
11444         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
11445         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
11446         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
11447         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
11448         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
11449         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
11450         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
11451         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
11452         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
11453         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
11454         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
11455         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
11456         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
11457         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
11458         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
11459         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
11460         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
11461         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
11462         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
11463         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
11464         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
11465         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
11466         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
11467         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
11468         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
11469         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
11470         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
11471         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
11472         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
11473         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
11474         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
11475         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
11476         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
11477         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
11478         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
11479         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
11480         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
11481         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
11482         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
11483         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
11484         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
11485         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
11486         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
11487         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
11488         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
11489         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
11490         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
11491         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
11492         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
11493         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
11494         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
11495         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
11496         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
11497         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
11498         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
11499         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
11500         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
11501         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
11502         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
11503         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
11504         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
11505         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
11506         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
11507         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
11508         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
11509         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
11510         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
11511         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
11512         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
11513         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
11514         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
11515         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
11516         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
11517         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
11518         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
11519         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
11520         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
11521         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
11522         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
11523         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
11524         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
11525         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
11526         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
11527         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
11528         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
11529         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
11530         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
11531         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
11532         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
11533         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
11534         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
11535         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
11536         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
11537         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
11538         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
11539         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
11540         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
11541         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
11542         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
11543         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
11544         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
11545         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
11546         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
11547         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
11548         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
11549         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
11550         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
11551         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
11553         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
11554         _XOPEN_SOURCE_EXTENDED for XPG4.
11556         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
11558         * Makeconfig (localtime): Remove variable.
11559         (inst_localtime-file): Likewise.
11561 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
11563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
11564         Update.
11565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11566         Update.
11567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
11568         Update.
11569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11570         Update.
11571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
11572         Update.
11573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
11574         Update.
11575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11576         Update.
11577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
11578         Update.
11579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11580         Update.
11582 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
11584         [BZ #2550]
11585         [BZ #2570]
11586         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
11587         comparisons to determine direction to adjust input.
11588         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
11589         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
11590         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
11591         Likewise.
11592         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
11593         Likewise.
11594         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11595         Likewise.
11596         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
11597         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
11598         Likewise.
11599         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
11600         Likewise.
11601         * math/libm-test.inc (nexttoward_test): Add more tests.
11603 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
11605         [BZ #14040]
11606         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
11607         in version GLIBC_2.1, not GLIBC_2.0.
11608         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
11609         Likewise.
11611 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
11613         [BZ #13942]
11614         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
11615         (1 - x) * (1 + x).
11616         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
11617         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
11618         * math/libm-test.inc (acos_test): Add more tests.
11619         (asin_test): Likewise.
11620         * sysdeps/i386/fpu/libm-test-ulps: Update.
11621         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11623         [BZ #14034]
11624         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
11625         of square root.
11626         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
11627         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
11628         * math/libm-test.inc (acos_test_tonearest): New function.
11629         (acos_test_towardzero): Likewise.
11630         (acos_test_downward): Likewise.
11631         (acos_test_upward): Likewise.
11632         (asin_test_tonearest): Likewise.
11633         (asin_test_towardzero): Likewise.
11634         (asin_test_downward): Likewise.
11635         (asin_test_upward): Likewise.
11636         (main): Call the new functions.
11637         * sysdeps/i386/fpu/libm-test-ulps: Update.
11638         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11640         [BZ #13884]
11641         [BZ #13924]
11642         * math/e_exp10.c: Include <float.h>.
11643         (__ieee754_exp10): Handle underflow here rather than multiplying
11644         large negative argument by M_LN10.
11645         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
11646         of __ieee754_expf.
11647         * math/e_exp10l.c: Include <float.h>.
11648         (__ieee754_exp10l): Handle underflow here rather than multiplying
11649         large negative argument by M_LN10l.
11650         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
11651         spurious overflow exception on underflow.
11653 2012-04-29  Marek Polacek  <polacek@redhat.com>
11655         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
11656         (__fortify_function): New macro.
11657         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
11658         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
11659         __extern_always_inline.
11660         * libio/bits/stdio2.h: Likewise.
11661         * libio/bits/stdio.h: Likewise.
11662         * string/string.h: Likewise.
11663         * string/bits/string3.h: Likewise.
11664         * include/stdio.h: Likewise.
11665         * stdlib/bits/stdlib.h: Likewise.
11666         * stdlib/stdlib.h: Likewise.
11667         * rt/bits/mqueue2.h: Likewise.
11668         * rt/mqueue.h: Likewise.
11669         * posix/bits/unistd.h: Likewise.
11670         * posix/unistd.h: Likewise.
11671         * io/bits/poll2.h: Likewise.
11672         * io/bits/fcntl2.h: Likewise.
11673         * io/fcntl.h: Likewise.
11674         * io/sys/poll.h: Likewise.
11675         * misc/bits/syslog.h: Likewise.
11676         * misc/bits/syslog-ldbl.h: Likewise.
11677         * misc/sys/syslog.h: Likewise.
11678         * socket/bits/socket2.h: Likewise.
11679         * socket/sys/socket.h: Likewise.
11680         * debug/tst-chk1.c: Likewise.
11681         * wcsmbs/bits/wchar2.h: Likewise.
11682         * wcsmbs/bits/wchar-ldbl.h: Likewise.
11683         * wcsmbs/wchar.h: Likewise.
11685 2012-04-29  Andreas Jaeger  <aj@suse.de>
11687         * Makerules (tests): Remove enable-check-abi protection.
11688         (check-abi-warn): Remove.
11689         (check-abi-%): Remove check-abi-warn usage.
11691         * configure.in: Remove check-abi configure option.
11692         * configure: Regenerated.
11693         * config.make.in (enable-check-abi): Remove.
11695 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
11697         [BZ #14033]
11698         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
11699         double functions to double *_finite functions.
11701         [BZ #13941]
11702         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
11703         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
11704         LDBL_MIN_EXP.
11705         * stdio-common/Makefile (tests): Add tst-sprintf3.
11706         * stdio-common/tst-sprintf3.c: New file.
11708         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
11709         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
11711 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
11713         * conform/conformtest.pl: Remove duplicate typed-constant
11714         handling.
11716 2012-04-28  David S. Miller  <davem@davemloft.net>
11718         * Makerules (%.abilist): Add vpath on sysdep_dirs.
11719         (check-abi-%): Remove AWK script prerequisite and explicit
11720         abilist directory.
11721         (check-abi): Rewrite to just diff the symlist with the abilist.
11722         (config-tls, config-abi-config): Delete, no longer used.
11723         (update-abi-%): Remove AWK script and explicit abilist directory.
11724         (update-abi): Rewrite to simply compare and conditionally copy the
11725         symlist and the sysdep abilist file.  Remove update-abi-config
11726         checks.
11727         * abilist/ld.abilist: Remove.
11728         * abilist/libBrokenLocale.abilist: Remove.
11729         * abilist/libanl.abilist: Remove.
11730         * abilist/libcrypt.abilist: Remove.
11731         * abilist/libdl.abilist: Remove.
11732         * abilist/librt.abilist: Remove.
11733         * abilist/libthread_db.abilist: Remove.
11734         * abilist/libutil.abilist: Remove.
11735         * scripts/extract-abilist.awk: Remove.
11736         * scripts/merge-abilist.awk: Remove.
11737         * sysdeps/generic/libcidn.abilist: New file.
11738         * sysdeps/generic/libnss_compat.abilist: New file.
11739         * sysdeps/generic/libnss_db.abilist: New file.
11740         * sysdeps/generic/libnss_dns.abilist: New file.
11741         * sysdeps/generic/libnss_files.abilist: New file.
11742         * sysdeps/generic/libnss_hesiod.abilist: New file.
11743         * sysdeps/generic/libnss_nis.abilist: New file.
11744         * sysdeps/generic/libnss_nisplus.abilist: New file.
11745         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
11746         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
11747         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
11748         file.
11749         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
11750         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
11751         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
11752         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
11753         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
11754         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
11755         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
11756         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
11757         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
11758         file.
11759         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
11760         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
11761         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
11762         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
11763         file.
11764         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
11765         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
11766         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
11767         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
11768         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
11769         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
11770         file.
11771         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
11772         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
11773         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
11774         file.
11775         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
11776         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
11777         New file.
11778         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
11779         New file.
11780         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
11781         New file.
11782         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
11783         New file.
11784         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
11785         New file.
11786         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
11787         New file.
11788         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
11789         New file.
11790         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
11791         New file.
11792         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
11793         New file.
11794         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
11795         New file.
11796         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
11797         New file.
11798         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
11799         New file.
11800         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
11801         New file.
11802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
11803         file.
11804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
11805         New file.
11806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
11807         New file.
11808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
11809         file.
11810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
11811         New file.
11812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
11813         New file.
11814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
11815         file.
11816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
11817         New file.
11818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11819         New file.
11820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
11821         New file.
11822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
11823         New file.
11824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
11825         New file.
11826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
11827         New file.
11828         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
11829         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
11830         file.
11831         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
11832         New file.
11833         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
11834         file.
11835         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
11836         file.
11837         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
11838         file.
11839         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
11840         file.
11841         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
11842         file.
11843         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11844         New file.
11845         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
11846         file.
11847         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
11848         file.
11849         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
11850         New file.
11851         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
11852         file.
11853         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
11854         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
11855         file.
11856         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
11857         New file.
11858         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
11859         file.
11860         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
11861         file.
11862         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
11863         file.
11864         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
11865         file.
11866         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
11867         file.
11868         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11869         New file.
11870         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
11871         file.
11872         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
11873         file.
11874         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
11875         New file.
11876         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
11877         file.
11878         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
11879         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
11880         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
11881         file.
11882         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
11883         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
11884         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
11885         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
11886         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
11887         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
11888         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
11889         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
11890         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
11891         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
11892         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
11893         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
11894         file.
11895         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
11896         New file.
11897         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
11898         file.
11899         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
11900         file.
11901         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
11902         file.
11903         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
11904         file.
11905         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
11906         file.
11907         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11908         New file.
11909         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
11910         New file.
11911         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
11912         file.
11913         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
11914         New file.
11915         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
11916         file.
11917         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
11918         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
11919         file.
11920         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
11921         New file.
11922         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
11923         file.
11924         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
11925         file.
11926         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
11927         file.
11928         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
11929         file.
11930         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
11931         file.
11932         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11933         New file.
11934         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
11935         New file.
11936         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
11937         file.
11938         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
11939         New file.
11940         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
11941         file.
11943 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
11945         * conform/conformtest.pl: Fix typo in handling typed-constant from
11946         allow-header.
11948 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
11950         * README: Cut down references to pre-2.6 Linux kernels and
11951         Linuxthreads.  Update lists of configurations in libc and ports
11952         and sort alphabetically.  Say "or newer" with Linux kernel version
11953         requirements.
11955         * config.h.in [IS_IN_build]: Allow compiling without optimization.
11957 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
11959         [BZ #887]
11960         * math/libm-test.inc (logb_test_downward): New test to expose
11961         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
11962         rounding mode.
11964 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
11966         [BZ #14027]
11967         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
11968         to be done.
11969         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
11970         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
11972 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
11974         * sysdeps/unix/i386/brk.S: Remove file.
11975         * sysdeps/unix/i386/dl-brk.S: Likewise.
11976         * sysdeps/unix/i386/pipe.S: Likewise.
11977         * sysdeps/unix/i386/sigreturn.S: Likewise.
11978         * sysdeps/unix/i386/syscall.S: Likewise.
11979         * sysdeps/unix/i386/vfork.S: Likewise.
11980         * sysdeps/unix/i386/wait.S: Likewise.
11982         * sysdeps/unix/common/tcsendbrk.c: Move to ...
11983         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
11985         * configure.in (arm*-none*): Do not allow without
11986         --enable-hacker-mode.
11987         (netbsd*): Remove case setting base_os.
11988         (386bsd*): Likewise.
11989         (freebsd*): Likewise.
11990         (bsdi*): Likewise.
11991         (osf*): Likewise.
11992         (sunos*): Likewise.
11993         (ultrix*): Likewise.
11994         (newsos*): Likewise.
11995         (dynix*): Likewise.
11996         (*bsd*): Likewise.
11997         (sysv*): Likewise.
11998         (isc*): Likewise.
11999         (esix*): Likewise.
12000         (sco*): Likewise.
12001         (minix*): Likewise.
12002         (irix4*): Likewise.
12003         (irix6*): Likewise.
12004         (solaris[2-9]*): Likewise.
12005         (none): Likewise.
12006         * configure: Regenerated.
12008 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12010         [BZ #11521]
12011         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
12012         overflow or cancellation in calculating denominator.
12013         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
12014         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
12015         down expression to avoid unexpected rounding in newer GCCs.
12016         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
12018 2012-04-26  David S. Miller  <davem@davemloft.net>
12020         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
12021         long-double compat symbols.
12022         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
12023         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
12024         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
12025         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
12026         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
12027         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
12028         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
12029         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
12030         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
12031         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
12032         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
12033         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
12034         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
12036 2012-04-25  David S. Miller  <davem@davemloft.net>
12038         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
12039         HWCAP_* values only after the memory barriers have been defined.
12040         (atomic_full_barrier): Define.
12041         (atomic_read_barrier): Define.
12042         (atomic_write_barrier): Define.
12044 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12046         * shlib-versions: Add libgcc_s version information.
12047         * sysdeps/generic/libgcc_s.h: Remove.
12048         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
12049         libgcc_s.h.
12050         * sysdeps/gnu/unwind-resume.c: Likewise.
12051         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
12053 2012-04-25  David S. Miller  <davem@davemloft.net>
12055         * sysdeps/unix/sparc/brk.S: Delete.
12056         * sysdeps/unix/sparc/dl-brk.S: Delete.
12057         * sysdeps/unix/sparc/pipe.S: Delete.
12058         * sysdeps/unix/sparc/sysdep.S: Delete.
12059         * sysdeps/unix/sparc/sysdep.h: Delete.
12060         * sysdeps/unix/sparc/vfork.S: Delete.
12061         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
12062         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
12063         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
12064         ret_ERRVAL, r0, r1, MOVE): Define.
12065         (JUMPTARGET): Remove.
12066         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
12067         sysdeps/unix/sparc/sysdep.h
12068         (ENTRY, END): Remove.
12069         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12071 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
12073         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
12074         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
12075         -DIS_IN_build.
12077         * timezone/README: Update upstream location and email address for
12078         tzcode and tzdata.
12079         * timezone/zdump.c: Update from tzcode 2012b.
12080         * timezone/zic.c: Likewise.
12082         * configure.in (libc_cv_as_needed): Remove test.
12083         * configure: Regenerated.
12084         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
12085         conditional definition.
12086         [$(have-as-needed) != yes] (no-as-needed): Likewise.
12087         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
12088         * config.make.in (have-as-needed): Remove variable.
12090 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
12091             Paul Pluzhnikov  <ppluzhnikov@google.com>
12093         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
12094         strings correctly.
12096 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
12098         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
12099         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
12100         * sysdeps/sh/strlen.S: Likewise.
12102 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
12104         * sysdeps/unix/fork.S: Remove file.
12105         * sysdeps/unix/i386/fork.S: Likewise.
12106         * sysdeps/unix/sparc/fork.S: Likewise.
12108         * sysdeps/unix/system.c: Remove file.
12109         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
12111         * sysdeps/unix/getegid.S: Remove file.
12112         * sysdeps/unix/geteuid.S: Likewise.
12114 2012-04-24  Roland McGrath  <roland@hack.frob.com>
12116         * scripts/check-localplt.awk: New file.
12117         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
12118         of diff.
12119         * scripts/data/localplt-generic.data: Add a comment.
12121         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
12122         NODE when __dir_mkfile failed.
12123         * sysdeps/mach/hurd/symlinkat.c: Likewise.
12124         Reported by Ludovic Courtès <ludo@gnu.org>.
12126 2012-04-24  Andreas Jaeger  <aj@suse.de>
12128         * Makerules (common-clean): Also remove gen-as-const-headers
12129         files.
12131 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
12133         * Makerules (native-compile): Do not change working directory for
12134         build.  Use $(OUTPUT_OPTION) in command.
12135         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
12137 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12139         [BZ #13886]
12140         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
12141         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
12142         * math/libm-test.inc (floor_test): Add more tests.
12143         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
12145 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
12147         * sysdeps/unix/getdents.c: Remove file.
12148         * sysdeps/unix/sysv/getdents.c: Likewise.
12149         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
12151         * sysdeps/unix/syscalls.list (madvise): Add syscall from
12152         sysdeps/unix/mman/syscalls.list.
12153         (mmap): Likewise.
12154         (mprotect): Likewise.
12155         (msync): Likewise.
12156         (munmap): Likewise.
12157         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
12158         * sysdeps/unix/mman/syscalls.list: Remove.
12159         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
12161         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
12162         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
12163         * configure: Regenerated.
12164         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
12165         $(libgcc_s_suffix).
12166         * config.make.in (libgcc_s_suffix): Remove variable.
12168 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
12170         * sysdeps/unix/sysv/gethostname.c: Move to ...
12171         * sysdeps/posix/gethostname.c: ... here.
12173         * sysdeps/unix/execve.S: Remove file.
12175         * sysdeps/unix/_exit.S: Remove file.
12177 2012-04-23  Andreas Jaeger  <aj@suse.de>
12179         [BZ #13739]
12180         * manual/Makefile: Remove make dist support, there's no
12181         need for a stand-alone documentation tar ball.
12182         (TEXI2DVI): Define always, it's not in Makeconfig.
12183         (dist): Removed.
12184         (tar-it): Removed.
12185         (edition): Removed.
12186         (glibc-doc-$(edition).tar): Removed
12187         (%.Z): Removed.
12188         (%.gz): Removed.
12189         (%.uu): Removed.
12190         (ETAGS): Remove, it's in Makeconfig.
12191         (move-if-change): Remove, it's in Makeconfig.
12193 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
12195         [BZ #13970]
12196         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
12197         (strtod, strtof, strtold, strtol, strtoul, strtoq)
12198         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
12199         (strtod_l, strtof_l, strtold_l): Remove __wur.
12200         It is not necessarily an error to ignore strtol's return value.
12201         One can reliably look at the stored endptr to decide whether
12202         the number had valid syntax.
12204 2012-04-21  Andreas Jaeger  <aj@suse.de>
12206         [BZ #13739]
12207         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
12209 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
12211         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
12212         * sysdeps/unix/sysv/Versions: Remove file.
12214 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
12216         [BZ #13927]
12217         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12219 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
12221         [BZ #7064]
12222         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
12223         version from __vm86.
12225 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
12227         * sysdeps/unix/common/lxstat.c: Remove file.
12228         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
12230         * sysdeps/unix/sysv/Makefile: Remove file.
12232         * sysdeps/unix/sysv/direct.h: Remove file.
12234         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
12235         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
12236         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
12237         * sysdeps/unix/sysv/bits/signum.h: Likewise.
12238         * sysdeps/unix/sysv/bits/stat.h: Likewise.
12239         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
12240         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
12242         * sysdeps/unix/sysv/setrlimit.c: Remove file.
12244         * sysdeps/unix/xmknod.c: Remove file.
12245         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
12247         * sysdeps/unix/sysv/settimeofday.c: Remove file.
12249         * sysdeps/unix/sysv/i386/time.S: Remove file.
12251         * sysdeps/unix/fxstat.c: Remove file.
12252         * sysdeps/unix/xstat.c: Likewise.
12253         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
12255         * sysdeps/unix/sysv/sigaction.c: Remove file.
12257         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
12258         (sysdep_headers): Remove variable.
12259         [termio.h not in sysdep_headers] (generated): Likewise.
12260         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
12261         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
12262         * sysdeps/unix/sysv/tcdrain.c: Likewise.
12263         * sysdeps/unix/sysv/tcflow.c: Likewise.
12264         * sysdeps/unix/sysv/tcflush.c: Likewise.
12265         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
12266         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
12267         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
12268         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
12269         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
12271         * sysdeps/unix/siglist.c: Remove file.
12273         * sysdeps/unix/getppid.S: Remove file.
12275         * sysdeps/unix/mkdir.c: Remove file.
12276         * sysdeps/unix/rmdir.c: Likewise.
12278 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
12280         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
12281         ERR_MAX value.
12282         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
12283         errlist-compat value.
12285 2012-04-18  David S. Miller  <davem@davemloft.net>
12287         * sysdeps/generic/memcopy.h (reg_char): Delete.
12288         * debug/strcat_chk.c: Use char, not reg_char.
12289         * debug/strcpy_chk.c: Likewise.
12290         * debug/strncat_chk.c: Likewise.
12291         * debug/strncpy_chk.c: Likewise.
12292         * string/memchr.c: Likewise.
12293         * string/memrchr.c: Likewise.
12294         * string/rawmemchr.c: Likewise.
12295         * string/strcat.c: Likewise.
12296         * string/strchr.c: Likewise.
12297         * string/strchrnul.c: Likewise.
12298         * string/strcmp.c: Likewise.
12299         * string/strcpy.c: Likewise.
12300         * string/strncat.c: Likewise.
12301         * string/strncmp.c: Likewise.
12302         * string/strncpy.c: Likewise.
12304 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
12306         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
12307         __builtin_memcopy is called when src and dest ranges are known to not
12308         overlap.
12310 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
12312         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
12313         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
12314         fwd_align_merge macro call.
12315         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
12316         bwd_align_merge macro call.
12317         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12319 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
12321         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
12322         bwd_align_merge macros.
12323         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
12324         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
12325         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12327 2012-04-18  David S. Miller  <davem@davemloft.net>
12329         * sysdeps/sparc/sparc64/memcopy.h: Delete.
12331 2012-04-18  Andreas Jaeger  <aj@suse.de>
12333         [BZ# 6794]
12334         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
12335         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
12336         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12338         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
12339         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
12340         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12342         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
12343         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
12344         Adjust for changed ldbl-128 files.
12346         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
12347         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
12348         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12350 2012-04-17  David S. Miller  <davem@davemloft.net>
12352         * sysdeps/sparc/sparc32/memcopy.h: Delete.
12354 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
12356         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
12357         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
12358         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
12359         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
12360         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
12361         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
12363 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12365         [BZ #6794]
12366         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
12367         * math/libm-test.inc: Add ilogb errno and exception tests.
12368         * math/w_ilogb.c: New file: ilogb wrapper.
12369         * math/w_ilogbf.c: New file: ilogbf wrapper.
12370         * math/w_ilogbl.c: New file: ilogbl wrapper.
12371         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
12372         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
12373         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
12374         exception being thrown with 0.0 as argument.
12375         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
12376         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
12377         exception being thrown with 0.0 as argument.
12378         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
12379         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
12380         exception being thrown with 0.0 as argument.
12381         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
12382         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
12383         exception being thrown with 0.0 as argument.
12384         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
12385         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
12386         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
12387         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
12388         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
12389         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
12390         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
12391         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
12392         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
12394 2012-04-17  Petr Baudis  <pasky@ucw.cz>
12396         * include/sys/uio.h: Change __vector to __iovec to avoid clash
12397         with altivec.
12399 2012-04-16  Marek Polacek  <polacek@redhat.com>
12401         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
12403 2012-04-16  Marek Polacek  <polacek@redhat.com>
12405         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
12406         operands of fdivp instruction.
12408 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
12410         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
12411         * elf/tst-auditmod3b.c: Likewise.
12412         * elf/tst-auditmod4b.c: Likewise.
12413         * elf/tst-auditmod5b.c: Likewise.
12414         * elf/tst-auditmod6b.c: Likewise.
12415         * elf/tst-auditmod6c.c: Likewise.
12416         * elf/tst-auditmod7b.c: Likewise.
12417         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
12418         * sysdeps/x86_64/preconfigure.in: Likewise.
12419         * sysdeps/x86_64/preconfigure: Regenerated.
12421 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
12423         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
12424         __ILP32__.
12426 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
12428         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12429         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
12431 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
12433         [BZ #13973]
12434         * locale/iso-639.def: Fix gl language name. Spotted by
12435         Yaron Shahrabani.
12437 2012-04-12  Roland McGrath  <roland@hack.frob.com>
12439         [BZ #2074]
12440         * libio/libio.h (__io_write_fn): Update comment.
12442 2012-04-12  Petr Baudis  <pasky@ucw.cz>
12444         [BZ #2074]
12445         * stdio.texi (Hook Functions): The user provided writer function
12446         is not allowed to return -1.
12448 2012-04-11  David S. Miller  <davem@davemloft.net>
12450         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12452 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
12454         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
12455         Add a leading slash to rtkaio.
12457 2012-04-11  Jim Meyering  <meyering@redhat.com>
12459         [BZ #11959]
12460         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
12461         It is not necessarily an error to ignore fwrite's return
12462         value.  One can reliably use ferror to test for errors after
12463         the fact.
12465 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
12467         * bits/types.h (__snseconds_t): New type.
12468         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
12470         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
12471         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12472         (__SNSECONDS_T_TYPE): Likewise.
12473         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12474         (__SNSECONDS_T_TYPE): Likewise.
12475         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12476         (__SNSECONDS_T_TYPE): Likewise.
12478 2012-04-10  Andreas Jaeger  <aj@suse.de>
12480         [BZ #2636]
12481         * manual/time.texi (Processor Time): Return type of times is
12482         elapsed real time since an arbitrary point in the past.
12483         (CPU Time): Move CLK_TCK from here...
12484         (Processor Time): ...to here.  Correct description.
12485         * manual/conf.texi (Constants for Sysconf): Correct description of
12486         _SC_CLK_TCK.
12488 2012-04-10  David S. Miller  <davem@davemloft.net>
12490         [BZ #13967]
12491         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
12492         where the is a gap between DT_REL(A) and DT_JMPREL.
12494 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
12496         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
12497         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
12498         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
12500 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
12502         * elf/dl-support.c (_dl_inhibit_cache): New variable.
12503         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
12504         (dl_main): Handle --inhibit-cache.
12505         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
12506         _dl_inhibit_cache.
12507         * elf/dl-load.c (_dl_map_object): Use it.
12508         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
12510 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
12512         [BZ #13872]
12513         * sysdeps/i386/fpu/e_powl.S (p78): New object.
12514         (__ieee754_powl): Saturate large exponents rather than testing for
12515         overflow of y*log2(x).
12516         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12517         * math/libm-test.inc (pow_test): Do not permit spurious overflow
12518         exceptions.
12520         [BZ #11521]
12521         * math/s_ctan.c: Include <float.h>.
12522         (__ctan): Avoid internal overflow or cancellation in calculating
12523         denominator.
12524         * math/s_ctanf.c: Likewise.
12525         * math/s_ctanl.c: Likewise.
12526         * math/s_ctanh.c: Likewise.
12527         * math/s_ctanhf.c: Likewise.
12528         * math/s_ctanhl.c: Likewise.
12529         * math/libm-test.inc (ctan_test): Add more tests.
12530         (ctanh_test): Likewise.
12531         * sysdeps/i386/fpu/libm-test-ulps: Update.
12532         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12534 2012-04-09  Andreas Jaeger  <aj@suse.de>
12536         [BZ #6894]
12537         * manual/filesys.texi (Directory Entries): Mention that d_namlen
12538         is an optional BSD extension.
12540         [BZ #10254]
12541         * manual/stdio.texi (Opening Streams): Document additional fopen
12542         parameters.
12544 2012-04-09  Roland McGrath  <roland@hack.frob.com>
12546         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
12547         %eax without telling the compiler.
12549 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
12551         [BZ # 13963]
12552         * manual/install.texi: Use sourceware.org.
12554 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
12556         [BZ #13873]
12557         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
12558         (__ieee754_pow): Generate overflow and underflow using huge*huge
12559         and tiny*tiny rather than just returning constant infinity or zero
12560         for large exponents.
12561         * math/libm-test.inc (pow_test): Require overflow exceptions for
12562         applicable cases of large exponents.
12564         [BZ #706]
12565         * sysdeps/i386/fpu/e_pow.S (p10): New object.
12566         (__ieee754_pow): Use iterative multiplication algorithm only for
12567         integer exponents with absolute value below 1024.  Check for odd
12568         integer exponents when using algorithm for real exponents.
12569         * math/libm-test.inc (pow_test): Add more tests.
12570         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12572 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
12574         [BZ #13705]
12575         * math/libm-test.inc (exp_test): Do not allow overflow exception
12576         on underflow test.
12578 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
12580         [BZ #13705]
12581         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
12582         instead of __kernel_standard_f.
12584 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
12586         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
12587         * sysdeps/x86_64/memset_chk.S: Likewise.
12589 2012-04-08  Andreas Jaeger  <aj@suse.de>
12591         [BZ #10153]
12592         * manual/startup.texi (Environment Access): Describe return value
12593         for putenv and setenv.
12595         [BZ #6895]
12596         * manual/filesys.texi (Directory Entries): Add description for
12597         DT_LNK.
12599         [BZ #6890]
12600         * manual/filesys.texi (Directory Entries): Clarify that it's file
12601         system not operating system in the description of DT_UNKNOWN.
12603         [BZ #6578]
12604         * manual/syslog.texi (closelog): Fix reference, it's openlog.
12606 2012-04-08  Stephen Compall  <s11@member.fsf.org>
12608         [BZ #6649]
12609         * manual/llio.texi (Opening and Closing Files): Add cross
12610         reference to explain mode argument.
12612 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
12614         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
12615         * sysdeps/x86_64/memset_chk.S: Likewise.
12617 2012-04-07  David S. Miller  <davem@davemloft.net>
12619         * elf/elf.h (R_SPARC_WDISP10): Define.
12620         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
12621         R_SPARC_SIZE32.
12622         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
12623         R_SPARC_SIZE64 and R_SPARC_H34.
12625 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
12627         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
12628         conditions and remove no longer applicable assertion.
12630 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
12632         * bits/byteswap.h: Include <features.h>.
12633         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
12634         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
12636 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
12638         * bits/byteswap.h (__bswap_16): Removed.
12639         Include <bits/byteswap-16.h> to get __bswap_16.
12640         * sysdeps/i386/bits/byteswap.h: Likewise.
12641         * sysdeps/s390/bits/byteswap.h: Likewise.
12642         * sysdeps/x86_64/bits/byteswap.h: Likewise.
12643         * bits/byteswap-16.h: New file.
12644         * sysdeps/i386/bits/byteswap-16.h: Likewise.
12645         * sysdeps/s390/bits/byteswap-16.h: Likewise.
12646         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
12647         * string/Makefile (headers): Add bits/byteswap-16.h.
12649 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
12651         [BZ #13895]
12652         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
12653         extra indirection.
12654         * nss/Makefile (tests-static, tests): Add tst-nss-static.
12655         * nss/tst-nss-static.c: New.
12657 2012-04-06  Robert Millan  <rmh@gnu.org>
12659         [BZ #6486]
12660         * manual/llio.texi (File Position Primitive): lseek
12661         refers to WHENCE when it really means OFFSET.
12663 2012-04-06  Andreas Jaeger  <aj@suse.de>
12665         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
12666         strncmp declarations.
12668         * abilist/libc.abilist: Add __poll and __ppoll.
12670 2012-04-05  David S. Miller  <davem@davemloft.net>
12672         * scripts/check-local-headers.sh: Accept a host triplet in the
12673         path matched by the exclude regexp.
12675         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
12676         definition.
12677         * sysdeps/powerpc/powerpc32/dl-machine.h
12678         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
12679         * sysdeps/s390/s390-32/dl-machine.h
12680         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12681         * sysdeps/sparc/sparc32/dl-machine.h
12682         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12683         * sysdeps/sparc/sparc64/dl-machine.h
12684         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12686         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
12687         lazy binding.
12688         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
12689         undefined symbol errors.
12691         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
12692         DT_NEEDED entries.
12694 2012-04-05  Michael Matz  <matz@suse.de>
12696         [BZ #13592]
12697         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
12699 2012-04-05  Andreas Jaeger  <aj@suse.de>
12701         [BZ #13908]
12702         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
12703         comment.
12705 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
12707         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
12708         which ROUND is no valid rounding mode.
12710 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
12712         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
12713         read again.
12714         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
12716 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
12718         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
12719         an exception using FPU order intentionally.
12721 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
12723         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
12724         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
12725         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
12726         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
12728 2012-04-05  Simon Josefsson  <simon@josefsson.org>
12730         [BZ #12340]
12731         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
12732         EINVAL when BUFLEN is too smal.
12734 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
12736         [BZ #13553]
12737         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
12738         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
12740 2012-04-03  Andreas Jaeger  <aj@suse.de>
12742         [BZ #13938]
12743         * manual/setjmp.texi (System V contexts): Fix sentence.
12745         [BZ #13926]
12746         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
12747         New macro for this case.
12748         [!__GNUC__] (__bswap_64): New inline function for this case.
12749         * sysdeps/x86_64/bits/byteswap.h: Likewise.
12750         * bits/byteswap.h: Likewise.
12751         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
12752         ull, guard with __GLIBC_HAVE_LONG_LONG.
12754         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
12755         __GLIBC_HAVE_LONG_LONG.
12757         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
12758         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
12760 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12762         [BZ #13691]
12763         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
12764         inptr and inend, rather than using last_ch.
12766 2012-04-02  David S. Miller  <davem@davemloft.net>
12768         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
12769         * stdio-common/printf-parse.h (read_int): Change return type to
12770         'int', return -1 on INT_MAX overflow.
12771         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
12772         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
12773         overflows INT_MAX.  Check for overflow of in-format-string precision
12774         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
12775         SIZE_MAX not INT_MAX for integer overflow test.
12776         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
12777         skip the construct in the format string but do not record anything.
12778         * stdio-common/bug22.c: Adjust to test both width/prevision
12779         INT_MAX overflow as well as total length INT_MAX overflow.  Check
12780         explicitly for proper errno values.
12782 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
12784         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
12785         CHAR_MAX.
12786         * string/test-strcmp.c [! WIDE]: Likewise.
12787         * time/tst-mktime2.c: Likewise for INT_MAX.
12788         * string/test-string.h: #include <sys/param.h> for MIN.
12790         * csu/init-first.c (__libc_init_first): Call __ctype_init.
12791         * sysdeps/i386/init-first.c (init): Likewise.
12792         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
12793         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
12794         * sysdeps/sh/init-first.c (init): Likewise.
12796 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
12798         * po/ru.po: Update from translation team.
12799         * po/vi.po: Likewise.
12801 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
12803         * resolv/nss_dns/dns-host.c: Merge copyright years.
12805 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12807         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
12808         Optimize memcpy with prefetch if
12809         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
12810         src, dst pointers have unequal 16 byte alignments.
12812 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
12814         [BZ #13928]
12815         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
12816         from a CNAME entry and return the minimum ttl for the query.
12817         (gaih_getanswer_slice): Likewise.
12819 2012-03-30  Jeff Law  <law@redhat.com>
12821         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
12822         due to long keys.
12823         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
12824         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
12826         * resolv/nss_dns/dns-host.c: Update copyright year.
12828 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
12830         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
12831         requests to save a system call.  Fix check that all bytes are sent.
12833         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
12834         comments for sendmmsg.
12836 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12838         [BZ #13691]
12839         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
12840         with only 1 character between 0x0041 and 0x01b0.
12841         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
12842         * wcsmbs/tst-mbsnrtowcs.c: New file.
12844 2012-03-29  David S. Miller  <davem@davemloft.net>
12846         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
12847         small copies by hand.
12849 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12851         [BZ #13761]
12852         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
12853         _nss_compat_initgroups_dyn): Fall back to malloc/free
12854         for large group memberships.
12856 2012-03-28  David S. Miller  <davem@davemloft.net>
12858         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
12859         that branches into memcpy.
12860         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12861         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
12862         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12863         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
12864         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
12865         bits.
12866         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
12867         implementation too.
12868         * sysdeps/sparc/mempcpy.S: New file.
12870         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
12871         the IFUNC routine in the libc case.
12872         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12874         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
12875         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
12876         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
12877         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
12878         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
12879         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
12880         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
12881         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
12883         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
12884         loop to 256 bytes instead of 64 bytes and fix test signedness.
12886         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
12887         * sysdeps/sparc/sparc32/Makefile: rather than here...
12888         * sysdeps/sparc/sparc64/Makefile: and here.
12890 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
12892         * malloc/mallocbug.c: Avoid warnings about unused variables.
12894 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
12896         [BZ #13760]
12897         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
12898         in the right place. Discard and retry query if response is
12899         larger than input buffer size.
12901 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
12903         [BZ #369]
12904         [BZ #2678]
12905         [BZ #3866]
12906         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
12907         x for large integer exponent.
12908         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
12909         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
12910         sign of result as needed afterwards.
12911         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
12912         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
12913         result for underflowing pow the same as for overflow.
12914         (__kernel_standard_l): Handle powl overflow and underflow here
12915         rather than calling __kernel_standard.
12916         * math/libm-test.inc (pow_test): Add more tests.
12918         [BZ #3868]
12919         [BZ #13879]
12920         [BZ #13910]
12921         [BZ #13911]
12922         [BZ #13912]
12923         [BZ #13913]
12924         [BZ #13915]
12925         [BZ #13916]
12926         [BZ #13917]
12927         [BZ #13918]
12928         [BZ #13919]
12929         [BZ #13920]
12930         [BZ #13921]
12931         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
12932         * sysdeps/ieee754/k_standard.c: Include <float.h>.
12933         (__kernel_standard_l): New function.
12934         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
12935         __kernel_standard.
12936         * math/w_acosl.c (__acosl): Likewise.
12937         * math/w_asinl.c (__asinl): Likewise.
12938         * math/w_atan2l.c (__atan2l): Likewise.
12939         * math/w_atanhl.c (__atanhl): Likewise.
12940         * math/w_coshl.c (__coshl): Likewise.
12941         * math/w_exp10l.c (__exp10l): Likewise.
12942         * math/w_exp2l.c (__exp2l): Likewise.
12943         * math/w_fmodl.c (__fmodl): Likewise.
12944         * math/w_hypotl.c (__hypotl): Likewise.
12945         * math/w_j0l.c (__j0l, __y0l): Likewise.
12946         * math/w_j1l.c (__j1l, __y1l): Likewise.
12947         * math/w_jnl.c (__jnl, __ynl): Likewise.
12948         * math/w_lgammal.c (__lgammal): Likewise.
12949         * math/w_log10l.c (__log10l): Likewise.
12950         * math/w_log2l.c (__log2l): Likewise.
12951         * math/w_logl.c (__logl): Likewise.
12952         * math/w_powl.c (__powl): Likewise.
12953         * math/w_remainderl.c (__remainderl): Likewise.
12954         * math/w_scalbl.c (sysv_scalbl): Likewise.
12955         * math/w_sinhl.c (__sinhl): Likewise.
12956         * math/w_sqrtl.c (__sqrtl): Likewise.
12957         * math/w_tgammal.c (__tgammal): Likewise.
12958         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
12959         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
12960         * math/libm-test.inc (acos_test): Add more tests.
12961         (acosh_test): Likewise.
12962         (asin_test): Likewise.
12963         (atanh_test): Likewise.
12964         (exp_test): Likewise.
12965         (exp10_test): Likewise.
12966         (exp2_test): Likewise.
12967         (expm1_test): Likewise.
12968         (lgamma_test): Likewise.
12969         (log_test): Likewise.
12970         (log10_test): Likewise.
12971         (log1p_test): Likewise.
12972         (log2_test): Likewise.
12973         (pow_test): Do not allow some spurious overflow exceptions.
12974         (sqrt_test): Add more tests.
12975         (tgamma_test): Likewise.
12976         (y0_test): Likewise.
12977         (y1_test): Likewise.
12978         (yn_test): Likewise.
12980 2012-03-27  Anton Blanchard  <anton@samba.org>
12982         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
12983         MAP_HUGETLB.
12984         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12985         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12986         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12988 2012-03-27  David S. Miller  <davem@davemloft.net>
12990         * conform/Makefile: Run run-conformtest.sh using $(BASH).
12992         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
12993         have-as-vis3 check.
12995 2012-03-27  Andreas Jaeger  <aj@suse.de>
12997         * sysdeps/x86_64/elf/configure.in: Moved to ...
12998         * sysdeps/x86_64/configure.in: ... here.
12999         * sysdeps/x86_64/elf/start.S: Moved to ...
13000         * sysdeps/x86_64/start.S: ... here.
13001         * sysdeps/x86_64/elf/configure: Delete.
13003         * sysdeps/x86_64/configure.in: Merge contents from
13004         sysdeps/i386/configure.in (without i686 check).
13006         * sysdeps/i386/elf/Versions: Merge into ...
13007         * sysdeps/i386/Versions: ... this.
13008         * sysdeps/i386/elf/Versions: Delete file.
13009         * sysdeps/i386/elf/start.S: Moved to ...
13010         * sysdeps/i386/start.S: ...here.
13011         * sysdeps/i386/elf/configure.in: Merge into...
13012         * sysdeps/i386/configure.in: ...here.
13013         * sysdeps/i386/elf/configure.in: Delete file.
13014         * sysdeps/i386/elf/configure: Delete file.
13016         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
13017         * debug/backtracesyms.c: ... here.
13018         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
13019         * debug/backtracesymsfd.c: ... here.
13020         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
13021         * sysdeps/generic/ifunc-sel.h: ... here.
13023         * sysdeps/unix/i386/start.c: Delete file.
13024         * sysdeps/unix/sparc/start.c: Delete file.
13025         * sysdeps/unix/start.c: Delete file.
13027         * sysdeps/sh/elf/configure.in: Moved to ...
13028         * sysdeps/sh/configure.in: ... here.
13029         * sysdeps/sh/elf/start.S: Moved to ...
13030         * sysdeps/sh/start.S: ... here.
13031         * sysdeps/sh/elf/configure: Delete file.
13033         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
13034         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
13035         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
13036         * sysdeps/powerpc/powerpc64/entry.h: ... here.
13037         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
13038         * sysdeps/powerpc/powerpc64/start.S: here.
13039         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
13040         * sysdeps/powerpc/powerpc64/Makefile: ... this.
13041         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
13042         * sysdeps/powerpc/powerpc64/configure.in: ... this.
13043         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
13045         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
13046         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
13047         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
13048         * sysdeps/powerpc/powerpc32/start.S: ... here.
13049         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
13050         * sysdeps/powerpc/powerpc32/configure.in: ... this.
13051         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
13053         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
13054         * sysdeps/powerpc/ifunc-sel.h: ... here.
13055         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
13056         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
13058         * sysdeps/sparc/elf/configure.in: Moved to ...
13059         * sysdeps/sparc/configure.in: ... here.
13060         * sysdeps/sparc/elf/configure: Delete file.
13061         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
13062         * sysdeps/sparc/sparc32/start.S: ... here.
13063         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
13064         * sysdeps/sparc/sparc64/start.S: ... here.
13065         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
13066         * sysdeps/sparc/sparc32/Makefile: ... this.
13067         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
13068         * sysdeps/sparc/sparc64/Makefile: ... this.
13070         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
13071         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
13072         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
13073         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
13074         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
13075         * sysdeps/s390/s390-32/setjmp.S: ... here.
13076         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
13077         * sysdeps/s390/s390-32/configure.in: ... here.
13078         * sysdeps/s390/s390-32/elf/configure: Delete file.
13079         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
13080         * sysdeps/s390/s390-32/start.S: ... here.
13082         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
13083         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
13084         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
13085         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
13086         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
13087         * sysdeps/s390/s390-64/setjmp.S: ... here.
13088         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
13089         * sysdeps/s390/s390-64/configure.in: ... here
13090         * sysdeps/s390/s390-64/elf/configure: Delete file.
13091         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
13092         * sysdeps/s390/s390-64/start.S: ... here.
13093         * sysdeps/s390/s390-64/elf/configure: Delete.
13095         * configure.in: Remove support for elf directories in sysdeps.
13097         * configure: Regenerated.
13098         * sysdeps/i386/configure: Regenerated.
13099         * sysdeps/powerpc/powerpc32/configure: Regenerated.
13100         * sysdeps/powerpc/powerpc64/configure: Regenerated.
13101         * sysdeps/s390/s390-32/configure: Regenerated.
13102         * sysdeps/s390/s390-64/configure: Regenerated.
13103         * sysdeps/sh/configure: Regenerated.
13104         * sysdeps/sparc/configure: Regenerated.
13105         * sysdeps/x86_64/configure: Regenerated.
13107 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
13109         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13111         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
13112         denormal result into account.
13114 2012-03-25  Roland McGrath  <roland@hack.frob.com>
13116         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
13117         Reported by Allan McRae <allan@archlinux.org>.
13119 2012-03-23  Jeff Law  <law@redhat.com>
13121         * nss/getnssent.c (__nss_getent): Fix typo.
13123 2012-03-23  David S. Miller  <davem@davemloft.net>
13125         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13127 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
13129         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
13130         to pad to uint64_t for each field.
13131         (dl_tls_index): Replace unsigned long with uint64_t.
13133 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
13134         Paul Pluzhnikov  <ppluzhnikov@google.com>
13136         [BZ #6528]
13137         * grp/Makefile (otherlibs): Don't set it.
13138         * inet/Makefile (otherlibs): Likewise.
13139         * login/Makefile (otherlibs): Likewise.
13140         * nscd/Makefile (otherlibs): Likewise.
13141         * posix/Makefile (otherlibs): Likewise.
13142         * pwd/Makefile (otherlibs): Likewise.
13143         * rt/Makefile (otherlibs): Likewise.
13144         * sunrpc/Makefile (otherlibs): Likewise.
13145         * nss/Makefile (otherlibs): Likewise.
13146         Add libnss_files to routines and static-only-routines.
13147         ($(objpfx)getent): Remove rule.
13148         * resolv/Makefile: Add libnss_dns and libresolv to routines and
13149         static-only-routines.
13151 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
13153         [BZ #13892]
13154         * math/s_cexp.c: Include <float.h>.
13155         (__cexp): Handle exp result overflowing not necessarily
13156         overflowing both real and imaginary parts of result.
13157         * math/s_cexpf.c: Likewise.
13158         * math/s_cexpl.c: Likewise.
13159         * math/libm-test.inc (cexp_test): Add more tests.
13160         * sysdeps/i386/fpu/libm-test-ulps: Update.
13161         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13163 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
13165         * include/link.h (ELFW): New macro.
13166         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
13167         Replace ELF64_R_TYPE with ELFW(R_TYPE).
13169 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
13171         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
13172         with uint64_t.
13174 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
13176         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
13177         declaration.
13178         (struct La_x32_retval): Likewise.
13180 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
13182         * sysdeps/x86_64/preconfigure.in: New file.
13183         * sysdeps/x86_64/preconfigure: New generated file.
13185 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
13187         [BZ #13824]
13188         * math/e_exp2l.c: Include <float.h>.
13189         (__ieee754_exp2l): Handle overflow and underflow cases
13190         separately.  Only pass fractional part of argument to
13191         __ieee754_expl.
13192         * math/libm-test.inc (exp2_test): Add more tests.
13194         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
13195         negating x to take absolute value.
13196         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
13197         Likewise.
13198         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
13199         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
13200         Likewise.
13201         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
13202         computing low part if x was negated.
13203         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
13205 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
13207         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
13208         la_x32_gnu_pltexit.
13209         (pltexit): Cast int_retval to ptrdiff_t.
13210         * elf/tst-auditmod3b.c: Likewise.
13211         * elf/tst-auditmod4b.c: Likewise.
13212         * elf/tst-auditmod5b.c: Likewise.
13213         * elf/tst-auditmod6b.c: Likewise.
13214         * elf/tst-auditmod6c.c: Likewise.
13215         * elf/tst-auditmod7b.c: Likewise.
13217         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
13218         and x32_gnu_pltexit.
13220         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
13221         __ELF_NATIVE_CLASS.
13222         (La_x32_regs): New macro.
13223         (La_x32_retval): Likewise.
13224         (la_x32_gnu_pltenter): New function prototype.
13225         (la_x32_gnu_pltexit): Likewise.
13227 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
13229         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
13230         exponent.
13232         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13234         * configure.in (libc_cv_cc_nofma): Check for option to disable
13235         generation of FMA instructions.
13236         * configure: Regenerate.
13237         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
13238         * sysdeps/ieee754/dbl-64/Makefile: New file.
13239         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
13240         Remove brandred-fma4.
13241         (CFLAGS-brandred-fma4.c): Remove.
13242         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
13243         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
13244         define.
13245         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
13246         define.
13248 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
13250         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
13251         LLONG_MAX != LONG_MAX.
13252         (_itoa_word): Use _ITOA_WORD_TYPE on value.
13253         (_fitoa_word): Likewise.
13254         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
13255         LLONG_MAX != LONG_MAX.
13256         * stdio-common/_itowa.h: Include <_itoa.h>.
13257         (_itowa_word): Use _ITOA_WORD_TYPE on value.
13258         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
13259         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
13260         only if not defined.
13261         (_ITOA_WORD_TYPE): Likewise.
13262         (_itoa_word): Use _ITOA_WORD_TYPE on value.
13263         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
13265 2012-03-21  David S. Miller  <davem@davemloft.net>
13267         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13269 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
13271         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
13272         of x86_64 when setting libc_cv_slibdir, libdir and
13273         libc_cv_localedir.
13274         * sysdeps/unix/sysv/linux/configure: Regenerated.
13276 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
13278         * manual/lang.texi (Old Varargs): Remove section.
13279         (How Variadic): Update menu.
13280         (va_start): Do not mention varargs.h.
13282 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
13283             Joseph Myers  <joseph@codesourcery.com>
13285         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
13286         link test.
13287         * configure: Regenerated.
13289 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
13291         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
13292         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
13293         conformtest.pl
13295 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
13297         * NOTES: Remove.
13298         * Makefile (files-for-dist): Remove NOTES.
13299         (NOTES): Remove rule.
13300         * README: Don't refer to NOTES.
13301         * manual/creature.texi: Don't include macros.texi.
13302         * manual/intro.texi (creature.texi): Remove comment referring to
13303         NOTES.
13305         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
13306         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
13307         * configure: Regenerated.
13308         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
13309         LIBC_TRY_CC_OPTION.
13310         (libc_cv_as_i686): Likewise.
13311         (libc_cv_cc_avx): Likewise.
13312         (libc_cv_cc_sse2avx): Likewise.
13313         (libc_cv_cc_fma4): Likewise.
13314         (libc_cv_cc_novzeroupper): Likewise.
13315         * sysdeps/i386/configure: Regenerated.
13317         [BZ #13883]
13318         * sysdeps/i386/fpu/s_cexp.S: Remove.
13319         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
13320         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
13321         * math/libm-test.inc (cexp_test): Add more tests.
13322         * sysdeps/i386/fpu/libm-test-ulps: Update.
13323         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13325 2012-03-21  Allan McRae  <allan@archlinux.org>
13327         * timezone/Makefile: Do not install iso3166.tab and zone.tab
13329 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
13331         [BZ #13871]
13332         * math/w_exp2.c: Do not include <float.h>.
13333         (o_threshold, u_threshold): Remove.
13334         (__exp2): Calculate result before checking finiteness and calling
13335         __kernel_standard.
13336         * math/w_exp2f.c: Likewise.
13337         * math/w_exp2l.c: Likewise.
13338         * math/libm-test.inc (exp2_test): Require overflow exception for
13339         1e6 input.
13341         [BZ #3866]
13342         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
13343         range of signed 64-bit integers before using fistpll.  Remove
13344         checks for whether integers fit in mantissa bits.
13345         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
13346         the range of signed 32-bit integers before using fistpl.  Remove
13347         checks for whether integers fit in mantissa bits.
13348         * sysdeps/i386/fpu/e_powl.S (p64): New object.
13349         (__ieee754_powl): Test for y outside the range of signed 64-bit
13350         integers before using fistpll.  Reduce 64-bit values to 63-bit
13351         ones as needed.
13352         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
13353         divide-by-zero is raised for zero to large negative powers.
13354         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
13355         (__ieee754_powl): Test for y outside the range of signed 64-bit
13356         integers before using fistpll.  Reduce 64-bit values to 63-bit
13357         ones as needed.
13358         * math/libm-test.inc (pow_test): Add more tests.
13360 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
13362         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
13363         <stdio-common/_itoa.h>.
13364         * debug/segfault.c: Likewise.
13365         * elf/dl-cache.c: Likewise.
13366         * elf/dl-minimal.c: Likewise.
13367         * elf/dl-misc.c: Likewise.
13368         * elf/dl-sysdep.c: Likewise.
13369         * elf/dl-version.c: Likewise.
13370         * elf/rtld.c: Likewise.
13371         * hurd/hurdsock.c: Likewise.
13372         * hurd/lookup-retry.c: Likewise.
13373         * malloc/malloc.c: Likewise.
13374         * malloc/mtrace.c: Likewise.
13375         * nscd/nscd_getgr_r.c: Likewise.
13376         * nscd/nscd_getpw_r.c: Likewise.
13377         * nscd/nscd_getserv_r.c: Likewise.
13378         * posix/getopt_init.c: Likewise.
13379         * posix/wordexp.c: Likewise.
13380         * stdio-common/_itoa.c: Likewise.
13381         * stdio-common/printf_fphex.c: Likewise.
13382         * stdio-common/vfprintf.c: Likewise.
13383         * string/_strerror.c: Likewise.
13384         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
13385         * sysdeps/i386/i686/hp-timing.h: Likewise.
13386         * sysdeps/mach/_strerror.c: Likewise.
13387         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
13388         * sysdeps/mach/hurd/sethostid.c: Likewise.
13389         * sysdeps/mach/hurd/xmknodat.c: Likewise.
13390         * sysdeps/mach/xpg-strerror.c: Likewise.
13391         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13392         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
13393         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
13394         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
13395         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
13396         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
13397         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
13398         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
13399         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
13400         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
13401         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
13402         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
13403         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
13404         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
13405         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
13406         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
13407         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
13408         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
13409         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
13410         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
13411         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
13413         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
13415         * stdio-common/_itoa.h: Moved to ...
13416         * sysdeps/generic/_itoa.h: Here.
13418         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
13420         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
13421         instead of "_itoa.h" and "_itowa.h".
13422         * stdio-common/vfprintf.: Likewise.
13424 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
13426         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
13427         <bits/wordsize.h>.
13428         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
13429         (__signbit): Likwise.
13430         (llrintf): Likwise.
13431         (llrint): Likwise.
13433 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
13435         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
13436         __WORDSIZE != 64.
13438 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
13440         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
13441         OVERFLOW_EXCEPTION_OK.
13442         * math/libm-test.inc ("Philosophy"): Update comment about
13443         exception testing.
13444         (OVERFLOW_EXCEPTION): Define.
13445         (OVERFLOW_EXCEPTION_OK): Likewise.
13446         (INVALID_EXCEPTION_OK): Renumber.
13447         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13448         (IGNORE_ZERO_INF_SIGN): Likewise.
13449         (test_exceptions): Handle FE_OVERFLOW.
13450         (exp10_test): Expect overflow exceptions.
13451         (exp2_test): Likewise.
13452         (expm1_test): Likewise.
13453         (nextafter_test): Likewise.
13454         (pow_test): Likewise.
13455         (scalbn_test): Likewise.
13456         (scalbln_test): Likewise.
13458 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
13460         * sysdeps/x86_64/bits/atomic.h
13461         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
13462         64bit integer.
13463         (atomic_exchange_acq): Likewise.
13464         (__arch_exchange_and_add_body): Likewise.
13465         (__arch_add_body): Likewise.
13466         (atomic_add_negative): Likewise.
13467         (atomic_add_zero): Likewise.
13469 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
13471         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
13472         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
13474 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
13476         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
13477         Check __x86_64__ instead of __WORDSIZE.
13479 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
13481         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
13483 2012-03-19  David S. Miller  <davem@davemloft.net>
13485         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13487         * sysdeps/sparc/fpu/fenv_private.h: New file.
13488         * sysdeps/sparc/fpu/math_private.h: Use it.
13489         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
13490         Remove.
13491         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
13492         (libc_feholdexcept_setroundl): Remove.
13493         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
13494         Remove.
13495         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
13496         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
13498 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
13500         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
13501         int64_t instead of long int.
13502         (INSERT_WORDS64): Likwise.
13504 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
13506         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
13507         _Unwind_GetCFA return to _Unwind_Ptr first.
13509 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
13511         [BZ #13629]
13512         * math/s_clog.c: Include <float.h>.
13513         (__clog): Scale large or subnormal inputs.
13514         * math/s_clogf.c: Likewise.
13515         * math/s_clogl.c: Likewise.
13516         * math/s_clog10.c: Include <float.h>.
13517         (M_LOG10_2): Define.
13518         (__clog10): Scale large or subnormal inputs.
13519         * math/s_clog10f.c: Likewise.
13520         * math/s_clog10l.c: Likewise.
13521         * math/libm-test.inc (clog_test): Add more tests.
13522         (clog10_test): Likewise.
13523         * sysdeps/i386/fpu/libm-test-ulps: Update.
13524         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13526         [BZ #11451]
13527         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
13528         x and y.
13529         * math/libm-test.inc (atan2_test): Add another test.
13531         * Makerules (common-objdir-compile): Remove.
13532         * sysdeps/unix/Makefile (config-generated): Do not add
13533         $(unix-generated) to variable.
13534         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
13535         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
13536         Remove rule.
13537         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
13538         Likewise.
13539         [generic bits/local_lim.h] (before-compile): Do not append to
13540         variable.
13541         [generic bits/local_lim.h] (common-generated): Likewise.
13542         [generic sys/param.h] (before-compile): Do not append to variable.
13543         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
13544         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
13545         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
13546         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
13547         include.
13548         [generic sys/param.h] (sys/param.h-includes): Remove variable.
13549         [generic sys/param.h] (sys/param.h-includes): Remove rule.
13550         [generic sys/param.h] ($(addprefix
13551         $(common-objpfx),$(sys/param.h-includes))): Likewise.
13552         [generic sys/param.h] (common-generated): Do not append to
13553         variable.
13554         [generic sys/param.h] (sysdep_headers): Likewise.
13555         [generic bits/errno.h] (before-compile): Do not append to
13556         variable.
13557         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
13558         rule.
13559         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
13560         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
13561         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
13562         [generic bits/errno.h] (common-generated): Do not append to
13563         variable.
13564         [generic bits/ioctls.h] (before-compile): Do not append to
13565         variable.
13566         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
13567         rule.
13568         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
13569         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
13570         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
13571         rule.
13572         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
13573         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
13574         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
13575         [generic bits/ioctls.h] (common-generated): Do not append to
13576         variable.
13577         [generic sys/syscall.h] (syscall.h): Remove variable.
13578         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
13579         rule.
13580         [generic sys/syscall.h] (before-compile): Do not append to
13581         variable.
13582         [generic sys/syscall.h] (common-generated): Likewise.
13583         * sysdeps/unix/errnos-tmpl.c: Remove file.
13584         * sysdeps/unix/errnos.awk: Likewise.
13585         * sysdeps/unix/ioctls-tmpl.c: Likewise.
13586         * sysdeps/unix/ioctls.awk: Likewise.
13587         * sysdeps/unix/mk-local_lim.c: Likewise.
13588         * sysdeps/unix/snarf-ioctls: Likewise.
13590 2012-03-19  Richard Henderson  <rth@twiddle.net>
13592         * sysdeps/i386/fpu/fenv_private.h: New file.
13593         * sysdeps/i386/fpu/math_private.h: Use it.
13594         (math_opt_barrier, math_force_eval): Remove.
13595         (libc_feholdexcept_setround_53bit): Remove.
13596         (libc_feupdateenv_53bit): Remove.
13597         * sysdeps/x86_64/fpu/math_private.h: Likewise.
13598         (math_opt_barrier, math_force_eval): Remove.
13599         (libc_feholdexcept): Remove.
13600         (libc_feholdexcept_setround): Remove.
13601         (libc_fetestexcept, libc_fesetenv): Remove.
13602         (libc_feupdateenv_test): Remove.
13603         (libc_feupdateenv, libc_feholdsetround): Remove.
13604         (libc_feresetround): Remove.
13606         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
13607         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
13609         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
13610         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
13611         (libc_feupdateenv_testl): New.
13612         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
13613         (libc_feupdateenv_testf): New.
13614         (libc_feupdateenv): Use libc_feupdateenv_test.
13615         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
13616         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
13618         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
13619         (libc_feholdsetroundf, libc_feholdsetroundl): New.
13620         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
13621         (libc_feresetround_noex): New.
13622         (libc_feresetround_noexf): New.
13623         (libc_feresetround_noexl): New.
13624         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
13625         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
13626         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
13627         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
13628         SET_RESTORE_ROUND.
13629         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
13630         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
13631         (__cos): Likewise.
13632         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
13633         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
13634         SET_RESTORE_ROUND_NOEX.
13635         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
13636         SET_RESTORE_ROUND_NOEXF.
13637         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
13638         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
13639         (libc_feholdsetroundf): New.
13640         (libc_feresetround, libc_feresetroundf): New.
13642         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
13643         (libc_feholdexcept_setround_53bit): Convert from macro to function.
13644         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
13646         * sysdeps/generic/math_private.h: Include <fenv.h>.
13647         (default_libc_feholdexcept): New.
13648         (default_libc_feholdexcept_setround): New.
13649         (default_libc_fesetenv, default_libc_feupdateenv): New.
13650         (libc_feholdexcept): Only define if undefined.
13651         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
13652         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
13653         (libc_feholdexcept_setroundl): Likewise.
13654         (libc_feholdexcept_setround_53bit): Likewise.
13655         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
13656         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
13657         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
13658         (libc_feupdateenv_53bit): Likewise.
13659         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
13660         (libc_feholdexcept): Convert from macro to inline function.
13661         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
13662         (libc_fesetenv, libc_feupdateenv): Likewise.
13664         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
13665         not previously defined.
13666         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
13667         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
13668         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
13669         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
13670         * sysdeps/ieee754/flt-32/math_private.h: New file.
13671         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
13672         math_private.h below SET_FLOAT_WORD.
13673         (__isnan, __isinf_ns, __finite): Remove.
13674         (__isnanf, __isinf_nsf, __finitef): Remove.
13676 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
13678         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13680 2012-03-17  David S. Miller  <davem@davemloft.net>
13682         [BZ #6471]
13683         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
13684         for 2.16.
13686 2012-03-16  David S. Miller  <davem@davemloft.net>
13688         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
13689         warnings.
13691         [BZ #6471]
13692         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
13693         properly.
13694         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
13695         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
13696         sysdep_routines when subdir is sysvipc.
13697         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
13698         __getshmlba helper.
13700         * sysdeps/sparc/fpu/libm-test/ulps: Update.
13702 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
13704         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
13705         [__LP64__].
13707 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
13709         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
13710         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
13711         (__lround): Renamed to ...
13712         (__llround): This.  Replace long int with long long int.
13713         Define lround functions as aliases of llround functions.
13714         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
13716 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
13718         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
13719         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
13720         adresses to uintptr_t.  Replace "long int" and "unsigned long
13721         int" with "greg_t" on va_arg.
13723 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
13725         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
13726         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
13728         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
13729         Move e_machine check before EI_CLASS check.  Handle x32
13730         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
13731         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
13732         SKIP_EM_IA_64 and include
13733         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
13735         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
13736         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
13737         (add_system_dir): New macro.
13739         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
13740         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
13742 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
13744         [BZ #2551]
13745         [BZ #2552]
13746         [BZ #2553]
13747         [BZ #2554]
13748         [BZ #2562]
13749         [BZ #2563]
13750         [BZ #2565]
13751         [BZ #2566]
13752         [BZ #2576]
13753         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
13754         (y0): Likewise.
13755         * math/w_j0f.c (j0f): Likewise.
13756         (y0f): Likewise.
13757         * math/w_j0l.c (__j0l): Likewise.
13758         (__y0l): Likewise.
13759         * math/w_j1.c (j1): Likewise.
13760         (y1): Likewise.
13761         * math/w_j1f.c (j1f): Likewise.
13762         (y1f): Likewise.
13763         * math/w_j1l.c (__j1l): Likewise.
13764         (__y1l): Likewise.
13765         * math/w_jn.c (jn): Likewise.
13766         (yn): Likewise.
13767         * math/w_jnf.c (jnf): Likewise.
13768         (ynf): Likewise.
13769         * math/w_jnl.c (__jnl): Likewise.
13770         (__ynl): Likewise.
13771         * math/libm-test.inc (j0_test): Add more tests.
13772         (j1_test): Likewise.
13773         (jn_test): Likewise.  Add trailing semicolon to existing test.
13774         (y0_test): Likewise.
13775         (y1_test): Likewise.
13776         * sysdeps/i386/fpu/libm-test-ulps: Update.
13777         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13779         [BZ #13851]
13780         [BZ #13854]
13781         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
13782         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
13783         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
13784         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
13785         (__tanl): Set errno for infinite argument.
13786         * sysdeps/i386/fpu/mptan.c: Remove.
13787         * sysdeps/i386/fpu/s_tan.S: Likewise.
13788         * sysdeps/i386/fpu/s_tanl.S: Likewise.
13789         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
13790         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
13791         * math/libm-test.inc (tan_test): Add more tests and enable more
13792         tests for double and long double.
13793         * sysdeps/i386/fpu/libm-test-ulps: Update.
13794         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13796 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
13798         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
13799         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
13801 2012-03-16  Roland McGrath  <roland@hack.frob.com>
13803         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
13804         * configure.in: Use it for both main tree and add-ons.
13805         * configure: Regenerated.
13807 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
13809         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
13811 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
13813         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
13814         in comment.
13816         [BZ #13851]
13817         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
13818         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
13819         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
13820         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
13821         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
13822         infinite argument.
13823         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
13824         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
13825         != 0 for prec == 2.
13826         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
13827         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
13828         * sysdeps/i386/fpu/s_cosl.S: Likewise.
13829         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
13830         * sysdeps/i386/fpu/s_sinl.S: Likewise.
13831         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
13832         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
13833         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
13834         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
13835         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
13836         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
13837         * math/libm-test.inc (cos_test): Add more tests and enable more
13838         tests for long double.
13839         (sin_test): Likewise.
13840         (sincos_test): Likewise.
13841         * sysdeps/i386/fpu/libm-test-ulps: Update.
13842         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13844 2012-03-16  David S. Miller  <davem@davemloft.net>
13846         * sysdeps/sparc/fpu/math_private.h: New file.
13848 2012-03-15  David S. Miller  <davem@davemloft.net>
13850         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
13851         file.
13852         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
13853         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
13854         file.
13855         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
13856         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
13857         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
13858         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
13859         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
13860         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
13861         sysdep routines.
13862         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
13864         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
13865         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
13867         * sysdeps/sparc/sparc-ifunc.h: New file.
13868         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
13869         sparc-ifunc.h
13870         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
13871         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
13872         Likewise.
13873         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
13874         Likewise.
13875         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
13876         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
13877         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
13878         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
13879         Likewise.
13880         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
13881         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
13882         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
13883         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
13884         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
13885         Likewise.
13886         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
13887         Likewise.
13888         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
13889         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
13890         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
13891         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
13892         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
13893         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
13894         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
13895         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
13896         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
13897         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
13898         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
13899         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
13900         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
13901         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
13902         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
13903         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
13904         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
13905         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
13906         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
13907         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
13908         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
13909         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
13910         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
13911         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
13913 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
13915         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
13916         scaling.
13917         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13919 2012-03-15  Andreas Jaeger  <aj@suse.de>
13921         [BZ #13852]
13922         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
13923         ieee754/flt-32 implementation for sin, cos and sincos.
13924         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
13925         * sysdeps/i386/fpu/s_cosf.S: Likewise.
13926         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
13927         * sysdeps/i386/fpu/s_sinf.S: Likewise.
13928         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
13929         ieee754/flt-32 implementation for tan.
13931         * math/libm-test.inc (cos_test): Enable some large input tests for
13932         float as well
13933         (sin_test): Likewise.
13934         (sincos_test): Likewise.
13935         (tan_test): Add tests for large input.
13937         * sysdeps/i386/fpu/libm-test-ulps: Update.
13939 2012-03-15  Andreas Jaeger  <aj@suse.de>
13941         [BZ #13658]
13942         * math/libm-test.inc (cos_test): Add more test cases.
13943         (sin_test): Likewise.
13944         (sincos_test): Likewise.
13946 2012-03-15  Andreas Jaeger  <aj@suse.de>
13948         [BZ #13837]
13949         * math/libm-test.inc (cos_test): Add a test case for large input
13950         value.
13951         (sin_test): Likewise.
13952         (sincos_test): Likewise.
13954 2012-03-15  Andreas Jaeger  <aj@suse.de>,
13955         Joseph Myers  <joseph@codesourcery.com>
13957         [BZ #13658]
13958         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
13959         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
13960         * sysdeps/i386/fpu/branred.c: Likewise.
13961         * sysdeps/i386/fpu/dosincos.c: Likewise.
13962         * sysdeps/i386/fpu/mpa.c: Likewise.
13963         * sysdeps/i386/fpu/s_cos.S: Likewise.
13964         * sysdeps/i386/fpu/s_sin.S: Likewise.
13965         * sysdeps/i386/fpu/s_sincos.S: Likewise.
13966         * sysdeps/i386/fpu/sincos32.c: Likewise.
13968         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
13969         Define.
13970         (libc_feupdateenv_53bit): Define.
13971         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
13972         Define.
13973         (libc_feupdateenv_53bit): Define.
13975         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
13976         53 bit (without extend i386 double precision).
13978         * math/libm-test.inc (sincos_test): Add tests for large input.
13979         (sin): Likewise.
13980         (cos): Likewise.
13982         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
13984 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
13986         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13988 2012-03-15  David S. Miller  <davem@davemloft.net>
13990         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
13991         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
13992         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
13993         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
13994         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
13995         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
13996         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
13997         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
13998         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
13999         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
14000         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
14001         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
14002         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
14003         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
14004         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
14005         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
14006         file.
14007         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
14008         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
14009         file.
14010         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
14011         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
14012         file.
14013         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
14014         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
14015         file.
14016         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
14017         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
14018         fmin/fmax sysdep routines.
14019         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
14021 2012-03-14  David S. Miller  <davem@davemloft.net>
14023         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
14024         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
14025         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
14026         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
14027         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
14028         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
14029         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
14030         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
14031         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
14032         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
14033         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
14034         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
14035         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
14036         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
14037         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
14038         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
14039         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
14040         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
14041         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
14042         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
14043         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
14044         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
14045         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
14046         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
14047         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
14048         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
14049         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
14050         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
14051         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
14052         routines.
14053         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
14054         file.
14055         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
14056         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
14057         file.
14058         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
14059         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
14060         file.
14061         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
14062         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
14063         file.
14064         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
14065         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
14066         file.
14067         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
14068         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
14069         file.
14070         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
14071         file.
14072         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
14073         file.
14074         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
14075         file.
14076         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
14077         New file.
14078         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
14079         file.
14080         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
14081         file.
14082         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
14083         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
14084         file.
14085         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
14086         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
14087         file.
14088         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
14089         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
14090         file.
14091         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
14092         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
14093         VIS3 routines.
14095         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
14096         New file.
14098         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14100         * sysdeps/sparc/configure.in: New file.
14101         * sysdeps/sparc/configure: Generate.
14102         * configure.in (libc_cv_sparc_as_vis3): Substitute.
14103         * configure: Regenerate.
14104         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
14105         * config.make.in (have-as-vis3): New.
14106         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
14107         available use -Av9d instead of -Av9a.
14108         * sysdeps/sparc/sparc64/Makefile: Likewise.
14109         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
14110         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
14111         New file.
14112         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
14113         file.
14114         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
14115         New file.
14116         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
14117         file.
14118         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
14119         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
14120         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
14121         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
14122         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
14124         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
14125         fzeros/fnegs to load 0x80000000 into a float register instead of
14126         using the stack.
14127         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
14129 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
14131         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14132         bits/syscall.h.
14133         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
14134         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
14135         ($(inst_includedir)/bits/syscall.h): Remove rule.
14136         ($(objpfx)bits/syscall.d): Include instead of
14137         $(objpfx)syscall-list.d.
14138         (generated): Change syscall-list.h and syscall-list.d to
14139         bits/syscall.h and bits/syscall.d.
14141 2012-03-14  Roland McGrath  <roland@hack.frob.com>
14143         [BZ #13846]
14144         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
14146 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
14148         [BZ #13841]
14149         * math/s_csqrt.c: Include <float.h>.
14150         (__csqrt): Scale large or subnormal inputs.
14151         * math/s_csqrtf.c: Likewise.
14152         * math/s_csqrtl.c: Likewise.
14153         * math/libm-test.inc (csqrt_test): Add more tests.
14154         * sysdeps/i386/fpu/libm-test-ulps: Update.
14155         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14157         [BZ #13840]
14158         * math/libm-test.inc (hypot_test): Add more tests.
14160 2012-03-13  David S. Miller  <davem@davemloft.net>
14162         [BZ #13840]
14163         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
14164         double-precision for the calculation instead of scaling.
14166 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
14168         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
14169         manipulate bits before adding and subtracting TWO52[sx].
14170         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
14171         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
14172         Likewise.
14173         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
14175 2012-03-13  David S. Miller  <davem@davemloft.net>
14177         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
14178         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
14179         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
14180         rtld-global-offsets.h
14181         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14183         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
14184         large parameters.
14186         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
14188         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
14189         'err' in the ifdef scope in which it is actually used.
14191         * nss/nss_db/db-init.c: Include string.h
14193 2012-03-12  David S. Miller  <davem@davemloft.net>
14195         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
14196         masking out of the most significant byte of random value used.
14197         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14198         Fix coding style in previous change.
14200         * sysdeps/unix/sysv/linux/kernel-features.h
14201         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
14202         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
14203         expression.
14204         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
14205         later.
14207 2012-03-11  David S. Miller  <davem@davemloft.net>
14209         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
14210         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
14211         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
14212         for 'resultvar' otherwise things get truncated on 64-bit.
14214         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14215         Fix masking out of the most significant byte of random value used.
14217         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14219 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
14221         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14223 2012-03-09  David S. Miller  <davem@davemloft.net>
14225         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
14226         variables with appropriate CPP guards.
14227         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
14228         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
14229         on resulting framesize and the management of the outregs buffer for pltexit.
14230         Preserve floating point return values across _dl_call_pltexit call.
14231         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
14232         framesize and the management of the outregs buffer for pltexit.
14233         Preserve floating point return values across _dl_call_pltexit
14234         call.
14235         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
14236         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
14237         (print_exit): Fix format string for return register value.
14239 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
14241         * sunrpc/Makefile (others): Add rpcgen.
14242         ($(objpfx)rpcgen): Remove special build rule and dependency on
14243         libc.
14244         * sunrpc/rpcgen.c: New file.
14246 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
14248         [BZ #13673]
14249         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
14250         * stdio-common/bug-vfprintf-nargs.c: Likewise.
14251         * sysdeps/i386/crti.S: Likewise.
14252         * sysdeps/i386/crtn.S: Likewise.
14253         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
14254         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
14255         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
14256         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
14257         * sysdeps/sh/crti.S: Likewise.
14258         * sysdeps/sh/crtn.S: Likewise.
14259         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
14261         [BZ #13673]
14262         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
14263         with URL.
14264         * locale/programs/locfile-kw.gperf: Likewise.
14265         * locale/programs/charmap-kw.h: Regenerated.
14266         * locale/programs/locfile-kw.h: Likewise.
14268         [BZ #13673]
14269         * intl/plural.y: Replace FSF snail mail address with URL.
14270         * intl/plural.c: Regenerated.
14272 2012-03-09  Richard Henderson  <rth@twiddle.net>
14274         * include/math_private.h: Remove file.
14275         * math/math_private.h: Move file ...
14276         * sysdeps/generic/math_private.h: ... here.
14278         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
14279         * sysdeps/powerpc/fpu/math_private.h: Likewise.
14280         * sysdeps/x86_64/fpu/math_private.h: Likewise.
14282         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
14283         and <math_private.h>.
14284         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
14285         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
14286         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
14287         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
14288         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
14289         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
14290         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14291         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14292         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14293         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14294         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14295         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14296         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14297         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14298         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14299         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14300         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14301         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14302         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14303         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14304         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14305         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14306         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14307         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14308         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
14309         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14310         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14311         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14312         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14313         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14314         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14315         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14316         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
14317         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14318         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14319         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14320         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14321         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14322         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14323         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14324         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
14325         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14326         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
14327         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
14328         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
14329         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14330         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
14331         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
14332         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14333         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14334         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14335         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
14336         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
14337         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14338         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
14339         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14340         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
14341         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14342         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
14343         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
14344         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14345         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14346         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14347         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14348         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
14349         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14350         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14351         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14352         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
14353         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
14354         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
14355         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14356         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
14357         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14358         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
14359         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
14360         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
14361         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14362         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
14363         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
14364         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
14365         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
14366         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
14367         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
14368         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14369         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
14370         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
14371         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
14372         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
14373         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14374         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14375         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
14376         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14377         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14378         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
14379         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
14380         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14381         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14382         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14383         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14384         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
14385         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
14386         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
14387         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
14388         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
14389         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
14390         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14391         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
14392         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14393         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14394         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14395         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14396         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14397         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14398         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
14399         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14400         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
14401         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
14402         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14403         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14404         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
14405         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
14406         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14407         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
14408         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
14409         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
14410         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
14411         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
14412         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
14413         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
14414         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
14415         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14416         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14417         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
14418         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
14419         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
14420         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
14421         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
14422         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
14423         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
14424         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14425         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
14426         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
14427         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
14428         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
14429         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
14430         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
14431         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
14432         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
14433         * sysdeps/ieee754/k_standard.c: Likewise.
14434         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
14435         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14436         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14437         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14438         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14439         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14440         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
14441         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14442         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14443         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14444         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14445         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14446         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14447         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14448         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14449         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14450         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
14451         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14452         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14453         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
14454         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
14455         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
14456         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14457         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
14458         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14459         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
14460         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
14461         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
14462         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
14463         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14464         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14465         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
14466         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
14467         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
14468         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
14469         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
14470         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
14471         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
14472         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
14473         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
14474         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
14475         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
14476         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14477         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
14478         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
14479         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
14480         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
14481         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
14482         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
14483         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14484         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14485         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
14486         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
14487         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
14488         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14489         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14490         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
14491         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
14492         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
14493         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
14494         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14495         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
14496         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
14497         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
14498         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14499         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14500         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
14501         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14502         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
14503         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
14504         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14505         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14506         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
14507         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
14508         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
14509         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14510         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
14511         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
14512         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14513         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
14514         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
14515         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
14516         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
14517         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
14518         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
14519         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
14520         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
14521         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
14522         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
14523         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
14524         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
14525         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
14526         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
14527         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
14528         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
14529         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
14530         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
14531         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
14532         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
14533         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
14534         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
14535         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
14536         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14537         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
14538         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
14539         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
14540         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
14541         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
14542         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
14543         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
14544         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
14545         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
14546         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
14547         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14548         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
14549         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14550         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
14551         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14552         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14553         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14554         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14555         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
14556         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14557         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14558         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14559         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
14560         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14561         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
14562         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
14563         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14564         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14565         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14566         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14567         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
14568         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
14569         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
14570         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
14571         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
14572         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14573         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
14574         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
14575         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14576         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
14577         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
14578         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
14579         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14580         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14581         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
14582         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
14583         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
14584         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14585         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
14586         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
14587         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14588         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
14589         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
14590         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
14591         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
14592         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
14593         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
14594         * sysdeps/ieee754/s_lib_version.c: Likewise.
14595         * sysdeps/ieee754/s_matherr.c: Likewise.
14596         * sysdeps/ieee754/s_signgam.c: Likewise.
14597         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14598         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14599         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
14600         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
14601         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
14602         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
14603         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
14604         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
14605         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
14606         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
14607         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
14608         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
14609         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
14610         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
14611         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
14612         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
14613         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14614         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
14615         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14616         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14617         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14619 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
14621         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
14622         * sunrpc/rpc_main.c: Likewise.
14623         * sunrpc/rpc_svcout.c: Likewise.
14625 2012-03-09  David S. Miller  <davem@davemloft.net>
14627         * include/math_private.h: New file.
14629 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
14631         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
14632         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
14633         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
14634         from <bits/socket_type.h>.
14635         (enum __socket_type): Don't define here.
14636         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
14637         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14638         bits/socket_type.h.
14640         [BZ #13566]
14641         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
14642         checking __USE_GNU.
14644         * Makerules ($(inst_includedir)/%.h): New rule.
14645         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
14646         (install-others): Remove variable setting.
14647         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
14649 2012-03-08  Richard Henderson  <rth@twiddle.net>
14651         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
14652         from macro to inline function; merge with the
14653         !__LIBC_INTERNAL_MATH_INLINES version.
14654         (__ieee754_sqrtf): Likewise.
14656         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
14657         to inline function.
14658         (__rintf, __floor, __floorf): Likewise.
14660         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
14661         macro to inline function.
14662         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
14664         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
14665         not <math/math_private.h>.
14667 2012-03-08  David S. Miller  <davem@davemloft.net>
14669         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
14670         copyright year.
14671         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
14673 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
14675         * resolv/gai_misc.c (handle_requests): Fix struct timespec
14676         normalization.
14677         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
14678         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
14680 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
14682         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
14683         be defined individually, they must be defined as a block.  Define
14684         S for printing a string instead of hidint the different by using a
14685         macro for adding the 'l'.
14686         * stdio-common/tst-fphex-wide.c: Adjust.
14688 2012-03-07  Marek Polacek  <polacek@redhat.com>
14690         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
14692 2012-03-08  Marek Polacek  <polacek@redhat.com>
14694         [BZ #13806]
14695         * stdio-common/Makefile (tests): Add tst-fphex-wide.
14696         * stdio-common/tst-fphex.c: Define a few macros to make the
14697         test reusable.  Use them.
14698         * stdio-common/tst-fphex-wide.c: New file.
14700 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
14702         [BZ #6911]
14703         * manual/macros.texi (gnusystems): New macro.
14704         (nongnusystems): Likewise.
14705         (gnulinuxhurdsystems): Likewise.
14706         (gnuhurdsystems): Likewise..
14707         (gnulinuxsystems): Likewise.
14708         * manual/charset.texi: Use new macros or @theglibc{} to refer to
14709         variants of the GNU system, not "GNU system".
14710         * manual/conf.texi: Likewise.
14711         * manual/errno.texi: Likewise.  Update example of errno macro
14712         expansion.
14713         * manual/filesys.texi: Likewise.
14714         (getumask): Document as specific to GNU/Hurd.
14715         * manual/install.texi: Likewise.  Reword some references to
14716         GNU/Linux.
14717         * manual/intro.texi: Likewise.
14718         * manual/io.texi: Likewise.
14719         (File Name Portability): Detail which constraints are inapplicable
14720         to all GNU systems and which are only inapplicable to GNU/Hurd.
14721         * manual/job.texi: Likewise.
14722         * manual/llio.texi: Likewise.
14723         (O_NOCTTY): Document as present on GNU/Linux.
14724         * manual/maint.texi: Likewise.
14725         * manual/memory.texi: Likewise.
14726         * manual/pattern.texi: Likewise.
14727         * manual/pipe.texi: Likewise.
14728         * manual/process.texi: Likewise.
14729         * manual/resource.texi: Likewise.
14730         (RUSAGE_CHILDREN): Remove statement about specifying a particular
14731         child on GNU/Hurd.
14732         * manual/setjmp.texi: Likewise.
14733         * manual/signal.texi: Likewise.
14734         * manual/startup.texi: Likewise.
14735         * manual/stdio.texi: Likewise.
14736         * manual/terminal.texi: Likewise.
14737         (ONLCR): Document as POSIX.
14738         (OXTABS): Document availability on GNU/Linux as XTABS.
14739         (ONOEOT): Document availability separately from other bits.
14740         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
14741         * manual/time.texi: Likewise.
14742         * manual/users.texi: Likewise.
14743         * INSTALL: Regenerated.
14744         * sysdeps/gnu/errlist.c: Regenerated.
14746         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
14747         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
14748         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
14749         puts.
14750         * configure: Regenerated.
14752 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
14754         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
14755         default includes instead of AC_HEADER_CHECK.
14756         * sysdeps/i386/configure: Regenerated.
14758         [BZ #10716]
14759         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
14760         * math/s_cacoshf.c (__cacoshf): Likewise.
14761         * math/s_cacoshl.c (__cacoshl): Likewise.
14762         * math/s_casinh.c (__casinh): Set signs of result from argument.
14763         * math/s_casinhf.c (__casinhf): Likewise.
14764         * math/s_casinhl.c (__casinhl): Likewise.
14765         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
14766         (casinh_test): Add more tests.
14767         * sysdeps/i386/fpu/libm-test-ulps: Update.
14768         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14770 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
14772         * po/zh_TW.po: Update from translation team.
14774         * login/Makefile (distribute): Remove variable.
14775         * catgets/Makefile: Likewise.
14776         * mach/Makefile: Likewise.
14777         * malloc/Makefile: Likewise.
14778         * misc/Makefile: Likewise.
14779         * iconv/Makefile: Likewise.
14780         * nscd/Makefile: Likewise.
14781         * hurd/Makefile: Likewise.
14782         * manual/Makefile: Likewise.
14783         * locale/Makefile: Likewise.
14784         * intl/Makefile: Likewise.
14785         * conform/Makefile: Likewise.
14786         * nss/Makefile: Likewise.
14787         * time/Makefile: Likewise.
14788         * soft-fp/Makefile: Likewise.
14789         * dirent/Makefile: Likewise.
14790         * gmon/Makefile: Likewise.
14791         * po/Makefile: Likewise.
14792         * rt/Makefile: Likewise.
14793         * socket/Makefile: Likewise.
14794         * math/Makefile: Likewise.
14795         * signal/Makefile: Likewise.
14796         * debug/Makefile: Likewise.
14797         * elf/Makefile: Likewise.
14798         * timezone/Makefile: Likewise.
14799         * stdlib/Makefile: Likewise.
14800         * iconvdata/Makefile: Likewise.
14801         * sunrpc/Makefile: Likewise.
14802         * io/Makefile: Likewise.
14803         * argp/Makefile: Likewise.
14804         * inet/Makefile: Likewise.
14805         * hesiod/Makefile: Likewise.
14806         * grp/Makefile: Likewise.
14807         * csu/Makefile: Likewise.
14808         * wctype/Makefile: Likewise.
14809         * crypt/Makefile: Likewise.
14810         * libio/Makefile: Likewise.
14811         * string/Makefile: Likewise.
14812         * nis/Makefile: Likewise.
14813         * resolv/Makefile: Likewise.
14814         * stdio-common/Makefile: Likewise.
14815         * wcsmbs/Makefile: Likewise.
14816         * dlfcn/Makefile: Likewise.
14817         * posix/Makefile: Likewise.
14819         [BZ #6959]
14820         * timezone/Makefile: Don't install timezone files, just the programs
14821         and scripts.
14823 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
14825         * nss/databases.def: Add missing gshadow entry.
14827         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
14829 2012-03-06  Marek Polacek  <polacek@redhat.com>
14831         [BZ #13726]
14832         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
14833         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
14834         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
14835         * stdio-common/tst-long-dbl-fphex.c: New file.
14837 2012-03-06  David S. Miller  <davem@davemloft.net>
14839         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14840         (set_obp_int): New function.
14841         (get_obp_int): New function.
14842         (__get_clockfreq_via_dev_openprom): Likewise.
14843         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
14844         Avoid unused variable warnings on 'val' and use builtin_expect.
14845         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
14846         __builtin_expect.
14847         (INLINE_CLONE_SYSCALL): Likewise.
14849 2012-03-05  David S. Miller  <davem@davemloft.net>
14851         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14853 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
14855         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14857         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
14858         only for |x| >= 40.
14859         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14861 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
14863         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
14864         Replace gettimeofday with __vdso_gettimeofday.
14866         * sysdeps/unix/sysv/linux/x86_64/init-first.c
14867         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
14868         __vdso_clock_gettime and __vdso_getcpu.
14870         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
14871         time with __vdso_time.
14873 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
14875         * manual/lang.texi (size_t): Note types to which size_t may be
14876         equivalent with the GNU C Library, but do not describe when
14877         differences between them are significant.
14879 2012-03-05  Andreas Jaeger  <aj@suse.de>
14881         * sysdeps/i386/fpu/libm-test-ulps: Update.
14883 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
14885         [BZ #3976]
14886         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
14887         (__ieee754_pow): Save and restore rounding mode and use
14888         round-to-nearest for main computations.
14889         * math/libm-test.inc (pow_test_tonearest): New function.
14890         (pow_test_towardzero): Likewise.
14891         (pow_test_downward): Likewise.
14892         (pow_test_upward): Likewise.
14893         (main): Call the new functions.
14894         * sysdeps/i386/fpu/libm-test-ulps: Update.
14895         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14897         [BZ #3976]
14898         * math/libm-test.inc (cosh_test_tonearest): New function.
14899         (cosh_test_towardzero): Likewise.
14900         (cosh_test_downward): Likewise.
14901         (cosh_test_upward): Likewise.
14902         (sinh_test_tonearest): Likewise.
14903         (sinh_test_towardzero): Likewise.
14904         (sinh_test_downward): Likewise.
14905         (sinh_test_upward): Likewise.
14906         (main): Call the new functions.
14907         * sysdeps/i386/fpu/libm-test-ulps: Update.
14908         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14910 2012-03-05  Tom de Vries  <tom@codesourcery.com>
14912         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
14913         default stack guard is set in last bytes.
14914         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
14916 2012-03-05  Kees Cook  <keescook@chromium.org>
14918         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
14920         [BZ #13656]
14921         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
14922         possibly allocate from heap instead of stack.
14923         * stdio-common/bug-vfprintf-nargs.c: New file.
14924         * stdio-common/Makefile (tests): Add nargs overflow test.
14926 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
14928         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14930 2012-03-03  Marek Polacek  <polacek@redhat.com>
14932         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
14933         * math/math_private.h: Likewise.
14934         * stdlib/tst-strtod.c: Likewise.
14935         * sysdeps/i386/i486/bits/atomic.h: Likewise.
14936         * sysdeps/x86_64/bits/atomic.h: Likewise.
14938 2012-03-02  David S. Miller  <davem@davemloft.net>
14940         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
14941         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
14942         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
14943         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
14944         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
14945         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
14946         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
14947         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
14949 2012-03-02  Roland McGrath  <roland@hack.frob.com>
14951         [BZ #13792]
14952         * manual/examples/README: New file, says the example source files
14953         can be used under GPL>=2.
14954         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
14955         line containing just "*/".
14956         * manual/examples/add.c: Add copyright header (GPL>=2).
14957         * manual/examples/argp-ex1.c: Likewise.
14958         * manual/examples/argp-ex2.c: Likewise.
14959         * manual/examples/argp-ex3.c: Likewise.
14960         * manual/examples/argp-ex4.c: Likewise.
14961         * manual/examples/atexit.c: Likewise.
14962         * manual/examples/db.c: Likewise.
14963         * manual/examples/dir.c: Likewise.
14964         * manual/examples/dir2.c: Likewise.
14965         * manual/examples/execinfo.c: Likewise.
14966         * manual/examples/filecli.c: Likewise.
14967         * manual/examples/filesrv.c: Likewise.
14968         * manual/examples/fmtmsgexpl.c: Likewise.
14969         * manual/examples/genpass.c: Likewise.
14970         * manual/examples/inetcli.c: Likewise.
14971         * manual/examples/inetsrv.c: Likewise.
14972         * manual/examples/isockad.c: Likewise.
14973         * manual/examples/longopt.c: Likewise.
14974         * manual/examples/memopen.c: Likewise.
14975         * manual/examples/memstrm.c: Likewise.
14976         * manual/examples/mkfsock.c: Likewise.
14977         * manual/examples/mkisock.c: Likewise.
14978         * manual/examples/mygetpass.c: Likewise.
14979         * manual/examples/pipe.c: Likewise.
14980         * manual/examples/popen.c: Likewise.
14981         * manual/examples/rprintf.c: Likewise.
14982         * manual/examples/search.c: Likewise.
14983         * manual/examples/select.c: Likewise.
14984         * manual/examples/setjmp.c: Likewise.
14985         * manual/examples/sigh1.c: Likewise.
14986         * manual/examples/sigusr.c: Likewise.
14987         * manual/examples/stpcpy.c: Likewise.
14988         * manual/examples/strdupa.c: Likewise.
14989         * manual/examples/strftim.c: Likewise.
14990         * manual/examples/strncat.c: Likewise.
14991         * manual/examples/subopt.c: Likewise.
14992         * manual/examples/swapcontext.c: Likewise.
14993         * manual/examples/termios.c: Likewise.
14994         * manual/examples/testopt.c: Likewise.
14995         * manual/examples/testpass.c: Likewise.
14996         * manual/examples/timeval_subtract.c: Likewise.
14998         [BZ #13792]
14999         * manual/time.texi (Elapsed Time): Move timeval_subtract example
15000         function to ...
15001         * manual/timeval_subtract.c.texi: ... here, new file.
15003 2012-03-02  David S. Miller  <davem@davemloft.net>
15005         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
15007 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
15009         [BZ #3976]
15010         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
15011         (__sin): Save and restore rounding mode and use round-to-nearest
15012         for all computations.
15013         (__cos): Save and restore rounding mode and use round-to-nearest
15014         for all computations.
15015         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
15016         <fenv.h>.
15017         (tan): Save and restore rounding mode and use round-to-nearest for
15018         all computations.
15019         * math/libm-test.inc (cos_test_tonearest): New function.
15020         (cos_test_towardzero): Likewise.
15021         (cos_test_downward): Likewise.
15022         (cos_test_upward): Likewise.
15023         (sin_test_tonearest): Likewise.
15024         (sin_test_towardzero): Likewise.
15025         (sin_test_downward): Likewise.
15026         (sin_test_upward): Likewise.
15027         (tan_test_tonearest): Likewise.
15028         (tan_test_towardzero): Likewise.
15029         (tan_test_downward): Likewise.
15030         (tan_test_upward): Likewise.
15031         (main): Call the new functions.
15032         * sysdeps/i386/fpu/libm-test-ulps: Update.
15033         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15035         [BZ #10135]
15036         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
15037         small n, then large n, before computing and testing k+n.
15038         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
15039         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
15040         Likewise.
15041         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
15042         Likewise.
15043         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
15044         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
15045         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
15046         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
15047         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
15048         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
15049         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
15050         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
15051         * math/libm-test.inc (scalbn_test): Add more tests.
15052         (scalbln_test): Likewise.
15054         * manual/filesys.texi (mode_t): Describe constraints on size and
15055         signedness, not exact equivalence to a particular type.
15056         (ino_t): Likewise.
15057         (ino64_t): Likewise.
15058         (dev_t): Likewise.
15059         (nlink_t): Likewise.
15060         (blkcnt_t): Likewise.
15061         (blkcnt64_t): Likewise.
15062         * manual/llio.texi (off_t): Likewise.
15064         [BZ #3976]
15065         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
15066         (__ieee754_exp): Save and restore rounding mode and use
15067         round-to-nearest for all computations.
15068         * math/libm-test.inc (exp_test_tonearest): New function.
15069         (exp_test_towardzero): Likewise.
15070         (exp_test_downward): Likewise.
15071         (exp_test_upward): Likewise.
15072         (main): Call the new functions.
15073         * sysdeps/i386/fpu/libm-test-ulps: Update.
15074         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15076 2012-03-01  Chris Demetriou  <cgd@google.com>
15078         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
15079         have predictable order.
15081 2012-03-01  David S. Miller  <davem@davemloft.net>
15083         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
15085         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
15086         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
15087         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
15088         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
15090         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
15091         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
15092         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
15093         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
15094         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
15095         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
15096         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
15097         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
15098         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
15100         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15102         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
15103         * sysdeps/sparc/fpu/libm-test-ulps: to here.
15104         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
15106         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
15107         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
15108         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
15109         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
15110         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
15111         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
15112         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
15113         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
15114         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
15115         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
15116         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
15117         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15118         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
15119         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
15120         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15121         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15122         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
15123         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
15124         * sysdeps/sparc/elf/configure: Regenerated.
15126 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
15128         * configure.in (AS, LD): Require binutils 2.20 or later.
15129         * configure: Regenerated.
15130         * manual/install.texi (Tools for Compilation): Give binutils 2.20
15131         as required minimum version.
15132         * INSTALL: Regenerated.
15134         [BZ #2541]
15135         [BZ #4108]
15136         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
15137         before squaring exponent.
15138         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
15139         bottom long double and 27 bits of top long double before squaring
15140         exponent.
15141         * math/libm-test.inc (erfc_test): Add more tests.
15142         * sysdeps/i386/fpu/libm-test-ulps: Update.
15143         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15144         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15146 2012-03-01  Kai Tietz  <ktietz@redhat.com>
15148         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
15149         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
15150         containing bit-fields.
15151         * soft-fp/extended.h (_FP_UNION_E): Likewise.
15152         * soft-fp/single.h (_FP_UNION_S): Likewise.
15153         * soft-fp/double.h (_FP_UNION_D): Likewise.
15155 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
15157         [BZ #13786]
15158         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
15159         not include ../strcmp.S.
15160         [USE_AS_STRNCASECMP_L]: Likewise.
15161         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
15162         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
15163         * sysdeps/i386/i686/multiarch/strncase_l-c.c
15164         (__strncasecmp_l_ia32): Define as alias to
15165         __strncasecmp_l_nonascii.
15167         [BZ #5794]
15168         * math/libm-test.inc (expm1_test): Add test for bug 5794.
15169         * sysdeps/i386/fpu/libm-test-ulps: Update.
15170         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15172         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
15173         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15175 2012-02-29  Jeff Law  <law@redhat.com>
15177         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
15178         out of bounds read.
15180 2012-02-29  Marek Polacek  <polacek@redhat.com>
15182         [BZ #13706]
15183         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
15184         * elf/Makefile: Add rules to run tst-unused-dep.out.
15186 2012-02-28  David S. Miller  <davem@davemloft.net>
15188         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
15189         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
15190         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
15191         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
15192         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
15193         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
15195 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
15197         * math/libm-test.inc (llround_test): Move one test from
15198         lround_test.  Use TEST_f_L in moved test.
15199         (lround_test): Move misplaced test to llround_test.  Add testcase
15200         from bug 2561.
15202 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
15204         * sysdeps/x86_64/fpu/e_expf.S: New file.
15205         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
15207 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
15209         [BZ #13637]
15210         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
15211         of remain_len that may cause incomplete multi-byte character and
15212         false match.
15213         * posix/bug-regex33.c: New file.
15214         * posix/Makefile (tests): Add bug-regex33.
15216 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
15218         * manual/macros.texi: New file.
15219         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
15220         * manual/libc.texinfo: Include macros.texi.
15221         * manual/creatute.texi: Likewise.
15222         * manual/install.texi: Likewise.
15223         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
15224         @glibcadj{} in references to the GNU C Library.
15225         * manual/charset.texi: Likewise.
15226         * manual/conf.texi: Likewise.
15227         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
15228         when not using those macros.
15229         * manual/creature.texi: Likewise.
15230         * manual/crypt.texi: Likewise.
15231         * manual/errno.texi: Likewise.
15232         * manual/filesys.texi: Likewise.
15233         * manual/header.texi: Likewise.
15234         * manual/install.texi: Likewise.
15235         * manual/intro.texi: Likewise.
15236         * manual/io.texi: Likewise.
15237         * manual/job.texi: Likewise.
15238         * manual/lang.texi: Likewise.
15239         * manual/libc.texiinfo: Likewise.
15240         * manual/llio.texi: Likewise.
15241         * manual/locale.texi: Likewise.
15242         * manual/maint.texi: Likewise.
15243         * manual/math.texi: Likewise.
15244         * manual/memory.texi: Likewise.
15245         * manual/message.texi: Likewise.
15246         * manual/nss.texi: Likewise.
15247         * manual/pattern.texi: Likewise.
15248         * manual/process.texi: Likewise.
15249         * manual/resource.texi: Likewise.
15250         * manual/search.texi: Likewise.
15251         * manual/setjmp.texi: Likewise.
15252         * manual/signal.texi: Likewise.
15253         * manual/socket.texi: Likewise.
15254         * manual/startup.texi: Likewise.
15255         * manual/stdio.texi: Likewise.
15256         * manual/string.texi: Likewise.
15257         * manual/sysinfo.texi: Likewise.
15258         * manual/syslog.texi: Likewise.
15259         * manual/terminal.texi: Likewise.
15260         * manual/time.texi: Likewise.
15261         * manual/users.texi: Likewise.
15262         * INSTALL: Regenerated.
15263         * NOTES: Regenerated.
15264         * sysdeps/gnu/errlist.c: Regenerated.
15266 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
15268         * include/dirent.h: Include <dirstream.h> before
15269         <dirent/dirent.h>.
15271 2012-02-28  David S. Miller  <davem@davemloft.net>
15273         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
15274         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
15275         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
15276         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
15278 2012-02-27  David S. Miller  <davem@davemloft.net>
15280         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
15281         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
15282         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
15283         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
15285         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
15286         frame pointer instead of stack pointer relative arg slot.
15287         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
15288         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
15289         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
15291 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
15293         [BZ #3992]
15294         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
15296 2012-02-27  David S. Miller  <davem@davemloft.net>
15298         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
15299         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
15300         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
15301         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
15302         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
15303         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
15304         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
15305         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
15307 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
15309         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
15310         later.  Allow versions 5-9.
15311         * configure: Regenerated.
15312         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
15313         required minimum version and 4.6 as recommended version.  Do not
15314         mention bugs in GCC 2.7 and 2.8.
15315         * INSTALL: Regenerated.
15317 2012-02-27  David S. Miller  <davem@davemloft.net>
15319         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
15320         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
15321         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
15322         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
15323         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
15324         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
15325         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
15326         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
15328         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
15329         manipulate bits before adding and subtracting TWO112[sx].
15330         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
15332 2012-02-27  Roland McGrath  <roland@hack.frob.com>
15334         [BZ #13775]
15335         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
15336         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
15337         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
15338         being in POSIX, because they are in 1003.1-2008.
15340         * rt/tst-aio.c: Include <fcntl.h>.
15341         * rt/tst-aio7.c: Likewise.
15342         * rt/tst-aio64.c: Likewise.
15344         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
15346 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
15348         * manual/install.texi (--with-headers): Describe headers as
15349         interface headers, not private headers.
15350         (Specific advice for GNU/Linux systems): Describe use of headers
15351         from "make headers_install", not private headers from older
15352         kernels.
15353         * INSTALL: Regenerated.
15354         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
15355         Change to 2.6.19.
15356         * sysdeps/unix/sysv/linux/configure: Regenerated.
15358         * manual/llio.texi (fclean): Remove documentation.
15360         * manual/Makefile (libc-texi-generated): New variable.  Include
15361         version.texi.
15362         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
15363         $(libc-texi-generated), not duplicated list of files.
15364         (version.texi, stamp-version): New rules.
15365         (realclean): Remove $(libc-texi-generated), not individual files
15366         from that list.  Do not remove dir-add.texinfo.
15367         * manual/libc.texinfo: Comment out uses of edition numbers and
15368         references to printed manual.  Remove last-updated dates.
15369         (EDITION): Comment out.
15370         (ISBN): Likewise.
15371         (VERSION, UPDATED): Remove.
15372         (version.texi): Include.
15374 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
15376         * sysdeps/posix/spawni.c: Include <signal.h>.
15377         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
15378         * sysdeps/pthread/aio_fsync.c: Likewise.
15380 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
15382         * conform/Makefile (tests): Run only when not cross-compiling and
15383         when fast-check is not defined.
15385         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
15386         * conform/data/limits.h-data: Fixes for POSIX2008.
15387         * conform/run-conformtest.sh: Run all tests.
15388         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
15389         headers.
15390         * include/bits/dlfcn.h: Likewise.
15391         * include/langinfo.h: Likewise.
15392         * include/monetary.h: Likewise.
15393         * include/sys/poll.h: Likewise.
15395         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
15396         for __USE_GNU.
15397         * posix/spawn.h: Define __need_sigset_t.
15398         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
15399         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
15400         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
15401         to get sigevent_t only.
15402         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
15403         only for __USE_GNU.
15404         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15405         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
15406         process_vm_writev only for __USE_GNU.
15407         * termios/termios.h: Declare tcgetsid also for POSIX2008.
15409         * conform/Makefile: For now ignore errors from run-conformtest.
15410         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
15411         POSIX to avoid namespace pollution.  Don't prepend headers.
15412         * conform/data/aio.h-data: Fixes for POSIX testing.
15413         * conform/data/fcntl.h-data: Likewise.
15414         * conform/data/glob.h-data: Likewise.
15415         * conform/data/grp.h-data: Likewise.
15416         * conform/data/pthread.h-data: Likewise.
15417         * conform/data/pwd.h-data: Likewise.
15418         * conform/data/signal.h-data: Likewise.
15419         * conform/data/spawn.h-data: Likewise.
15420         * conform/data/stdio.h-data: Likewise.
15421         * conform/data/stdlib.h-data: Likewise.
15422         * conform/data/stropts.h-data: Likewise.
15423         * conform/data/sys/mman.h-data: Likewise.
15424         * conform/data/sys/stat.h-data: Likewise.
15425         * conform/data/sys/types.h-data: Likewise.
15426         * conform/data/sys/wait.h-data: Likewise.
15427         * conform/data/time.h-data: Likewise.
15428         * conform/data/unistd.h-data: Likewise.
15429         * conform/data/utime.h-data: Likewise.
15431         * io/sys/stat.h: fchmod was always in POSIX.
15432         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
15433         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
15434         * rt/aio.h: Define __need_timespec before including <time.h>.
15435         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
15436         struct.  Add forward declaration of pthread_attr_t and use it in
15437         sigevent.
15438         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
15439         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15440         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
15441         always remove CLK_TCK definition.
15443 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
15445         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
15447 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
15449         * conform/run-conformtest.sh: New file.
15450         * conform/Makefile: Run run-conformtest for tests.
15451         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
15452         support.
15454         * conform/data/uchar.h-data: New file.
15455         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
15456         * conform/data/arpa/inet.h-data: Likewise.
15457         * conform/data/assert.h-data: Likewise.
15458         * conform/data/complex.h-data: Likewise.
15459         * conform/data/cpio.h-data: Likewise.
15460         * conform/data/ctype.h-data: Likewise.
15461         * conform/data/dirent.h-data: Likewise.
15462         * conform/data/dlfcn.h-data: Likewise.
15463         * conform/data/errno.h-data: Likewise.
15464         * conform/data/fcntl.h-data: Likewise.
15465         * conform/data/float.h-data: Likewise.
15466         * conform/data/fmtmsg.h-data: Likewise.
15467         * conform/data/fnmatch.h-data: Likewise.
15468         * conform/data/ftw.h-data: Likewise.
15469         * conform/data/glob.h-data: Likewise.
15470         * conform/data/grp.h-data: Likewise.
15471         * conform/data/iconv.h-data: Likewise.
15472         * conform/data/inttypes.h-data: Likewise.
15473         * conform/data/langinfo.h-data: Likewise.
15474         * conform/data/libgen.h-data: Likewise.
15475         * conform/data/limits.h-data: Likewise.
15476         * conform/data/locale.h-data: Likewise.
15477         * conform/data/math.h-data: Likewise.
15478         * conform/data/monetary.h-data: Likewise.
15479         * conform/data/mqueue.h-data: Likewise.
15480         * conform/data/ndbm.h-data: Likewise.
15481         * conform/data/net/if.h-data: Likewise.
15482         * conform/data/netdb.h-data: Likewise.
15483         * conform/data/netinet/in.h-data: Likewise.
15484         * conform/data/nl_types.h-data: Likewise.
15485         * conform/data/poll.h-data: Likewise.
15486         * conform/data/pthread.h-data: Likewise.
15487         * conform/data/pwd.h-data: Likewise.
15488         * conform/data/regex.h-data: Likewise.
15489         * conform/data/sched.h-data: Likewise.
15490         * conform/data/search.h-data: Likewise.
15491         * conform/data/semaphore.h-data: Likewise.
15492         * conform/data/setjmp.h-data: Likewise.
15493         * conform/data/signal.h-data: Likewise.
15494         * conform/data/spawn.h-data: Likewise.
15495         * conform/data/stdarg.h-data: Likewise.
15496         * conform/data/stdio.h-data: Likewise.
15497         * conform/data/stdlib.h-data: Likewise.
15498         * conform/data/string.h-data: Likewise.
15499         * conform/data/strings.h-data: Likewise.
15500         * conform/data/stropts.h-data: Likewise.
15501         * conform/data/sys/ipc.h-data: Likewise.
15502         * conform/data/sys/mman.h-data: Likewise.
15503         * conform/data/sys/msg.h-data: Likewise.
15504         * conform/data/sys/resource.h-data: Likewise.
15505         * conform/data/sys/select.h-data: Likewise.
15506         * conform/data/sys/sem.h-data: Likewise.
15507         * conform/data/sys/shm.h-data: Likewise.
15508         * conform/data/sys/socket.h-data: Likewise.
15509         * conform/data/sys/stat.h-data: Likewise.
15510         * conform/data/sys/statvfs.h-data: Likewise.
15511         * conform/data/sys/time.h-data: Likewise.
15512         * conform/data/sys/timeb.h-data: Likewise.
15513         * conform/data/sys/times.h-data: Likewise.
15514         * conform/data/sys/types.h-data: Likewise.
15515         * conform/data/sys/uio.h-data: Likewise.
15516         * conform/data/sys/un.h-data: Likewise.
15517         * conform/data/sys/utsname.h-data: Likewise.
15518         * conform/data/sys/wait.h-data: Likewise.
15519         * conform/data/syslog.h-data: Likewise.
15520         * conform/data/tar.h-data: Likewise.
15521         * conform/data/termios.h-data: Likewise.
15522         * conform/data/utime.h-data: Likewise.
15523         * conform/data/utmpx.h-data: Likewise.
15524         * conform/data/varargs.h-data: Likewise.
15525         * conform/data/wchar.h-data: Likewise.
15526         * conform/data/wctype.h-data: Likewise.
15527         * conform/data/wordexp.h-data: Likewise.
15529         * include/stropts.h: New file.
15530         * include/uchar.h: New file.
15531         * include/aio.h: Changes to allow conformtest.pl to use the headers.
15532         * include/assert.h: Likewise.
15533         * include/ctype.h: Likewise.
15534         * include/dirent.h: Likewise.
15535         * include/dlfcn.h: Likewise.
15536         * include/fcntl.h: Likewise.
15537         * include/fnmatch.h: Likewise.
15538         * include/glob.h: Likewise.
15539         * include/grp.h: Likewise.
15540         * include/libio.h: Likewise.
15541         * include/locale.h: Likewise.
15542         * include/math.h: Likewise.
15543         * include/net/if.h: Likewise.
15544         * include/netdb.h: Likewise.
15545         * include/netinet/in.h: Likewise.
15546         * include/pthread.h: Likewise.
15547         * include/pwd.h: Likewise.
15548         * include/regex.h: Likewise.
15549         * include/sched.h: Likewise.
15550         * include/search.h: Likewise.
15551         * include/setjmp.h: Likewise.
15552         * include/signal.h: Likewise.
15553         * include/stdio.h: Likewise.
15554         * include/stdlib.h: Likewise.
15555         * include/string.h: Likewise.
15556         * include/sys/cdefs.h: Likewise.
15557         * include/sys/mman.h: Likewise.
15558         * include/sys/msg.h: Likewise.
15559         * include/sys/resource.h: Likewise.
15560         * include/sys/select.h: Likewise.
15561         * include/sys/socket.h: Likewise.
15562         * include/sys/stat.h: Likewise.
15563         * include/sys/statvfs.h: Likewise.
15564         * include/sys/time.h: Likewise.
15565         * include/sys/times.h: Likewise.
15566         * include/sys/uio.h: Likewise.
15567         * include/sys/utsname.h: Likewise.
15568         * include/sys/wait.h: Likewise.
15569         * include/termios.h: Likewise.
15570         * include/time.h: Likewise.
15571         * include/ulimit.h: Likewise.
15572         * include/unistd.h: Likewise.
15573         * include/utime.h: Likewise.
15574         * include/wchar.h: Likewise.
15575         * include/wctype.h: Likewise.
15576         * include/wordexp.h: Likewise.
15578         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
15580         * time/time.h: TIME_UTC must be a macro.
15581         Make timespec_get available for ISO C11 only as well.
15583 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
15585         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
15586         Reported by Peng Haitao <penght@cn.fujitsu.com>.
15588 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
15590         * configure.in: Use -o not -a in test for unsupported multi-arch.
15592 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
15594         * manual/texinfo.tex: Update to version 2012-01-19.16.
15596 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
15598         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
15600 2012-02-24  Roland McGrath  <roland@hack.frob.com>
15602         [BZ #13738]
15603         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
15604         * manual/fdl-1.3.texi: New file.
15605         * manual/fdl-1.1.texi: File removed.
15607         [BZ #13738]
15608         * manual/libc.texinfo (FDL_VERSION): New @set.
15609         Use it for mention of FDL in cover text.
15610         (Documentation License): Use it in @include file name.
15612 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
15613             Roland McGrath  <roland@hack.frob.com>
15615         [BZ #5461]
15616         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
15617         not LONG_LONG_MAX and LONG_LONG_MIN.
15618         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
15619         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
15620         name.
15621         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
15623 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
15625         [BZ #2547]
15626         [BZ #11365]
15627         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
15628         manipulate bits before adding and subtracting TWO23[sx].
15629         * math/libm-test.inc (nearbyint_test): Add more tests.
15631 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
15633         [BZ #2548]
15634         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
15635         bits before adding and subtracting TWO23[sx].
15636         * math/libm-test.inc (rint_test): Add more tests.
15637         (rint_test_tonearest): Likewise.
15638         (rint_test_towardzero): Likewise.
15639         (rint_test_downward): Likewise.
15640         (rint_test_upward: Likewise.
15642 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
15644         [BZ #10110]
15645         * include/stdc-predef.h: New file.  Extracted from features.h.
15646         * include/features.h: Include stdc-predef.h.
15647         * Makefile (headers): Add stdc-predef.h.
15648         * CONFORMANCE (Compiler limitations): Update.
15650 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
15652         * manual/libc.texinfo (VERSION, UPDATED): Revert.
15654 2012-02-21  David S. Miller  <davem@davemloft.net>
15656         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
15657         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
15659 2012-02-20  David S. Miller  <davem@davemloft.net>
15661         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
15662         using a normal save/restore sequence, rather than allocating a
15663         dummy stack frame just to store a frame pointer and restore.
15664         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15666 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
15668         * manual/install.texi: Fix stray word in line-wrapped comment.
15670 2012-02-20  David S. Miller  <davem@davemloft.net>
15672         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
15673         both binutils and gcc support GOTDATA.
15675         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
15676         "rd %pc" in the PIC register setup sequences.
15678         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
15679         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
15680         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
15681         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
15682         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
15683         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
15684         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15685         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15686         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
15687         (SYSCALL_ERROR_HANDLER): Likewise.
15688         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
15689         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15690         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
15691         (SYSCALL_ERROR_HANDLER): Likewise.
15693         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
15694         (HAVE_GCC_GOTDATA): New.
15695         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
15696         relocation support in both binutils and gcc.
15697         * sysdeps/sparc/elf/configure: Regenerate.
15699         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
15700         * sysdeps/sparc/sparc32/elf/configure: Delete.
15701         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
15702         * sysdeps/sparc/sparc64/elf/configure: Delete.
15703         * sysdeps/sparc/elf/configure.in: New file.
15704         * sysdeps/sparc/elf/configure: Generate.
15706         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
15707         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
15708         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
15709         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
15710         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
15712 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
15714         * manual/install.texi: Do not mention specific glibc version
15715         numbers.
15716         * manual/libc.texinfo (VERSION, UPDATED): Update.
15717         (@copying): Use @copyright{} and range of years.
15719 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
15721         [BZ #13695]
15722         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
15723         [crti.S not in sysdirs] (generated): Do not append.
15724         [crti.S not in sysdirs] (omit-deps): Likewise.
15725         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
15726         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
15727         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
15728         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
15729         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
15730         Likewise.
15731         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
15732         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
15733         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
15734         * csu/defs.awk: Remove file.
15735         * sysdeps/generic/initfini.c: Likewise.
15736         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
15737         variable.
15738         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
15739         Likewise.
15741 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
15743         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
15744         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
15745         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
15746         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
15747         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15748         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
15749         <bits/epoll.h>.
15750         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
15751         (__EPOLL_PACKED): Define to empty if not defined by
15752         <bits/epoll.h>.
15753         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
15754         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15755         bits/epoll.h.
15757 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
15759         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
15760         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
15761         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
15762         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
15763         <bits/timerfd.h>.
15764         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
15765         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15766         bits/timerfd.h.
15768 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
15770         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
15771         in C locale.
15772         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15773         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15774         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
15775         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15777 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
15779         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15780         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
15782 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
15784         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
15785         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
15786         defined.
15787         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
15788         Likewise.
15789         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
15790         entry for 2.16.
15792 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
15794         * math/w_acos.c: Use non-signaling floating-point comparisons.
15795         * math/w_acosf.c: Likewise.
15796         * math/w_acosh.c: Likewise.
15797         * math/w_acoshf.c: Likewise.
15798         * math/w_acoshl.c: Likewise.
15799         * math/w_acosl.c: Likewise.
15800         * math/w_asin.c: Likewise.
15801         * math/w_asinf.c: Likewise.
15802         * math/w_asinl.c: Likewise.
15803         * math/w_atanh.c: Likewise.
15804         * math/w_atanhf.c: Likewise.
15805         * math/w_atanhl.c: Likewise.
15806         * math/w_exp2.c: Likewise.
15807         * math/w_exp2f.c: Likewise.
15808         * math/w_exp2l.c: Likewise.
15809         * math/w_j0.c: Likewise.
15810         * math/w_j0f.c: Likewise.
15811         * math/w_j0l.c: Likewise.
15812         * math/w_j1.c: Likewise.
15813         * math/w_j1f.c: Likewise.
15814         * math/w_j1l.c: Likewise.
15815         * math/w_jn.c: Likewise.
15816         * math/w_jnf.c: Likewise.
15817         * math/w_log.c: Likewise.
15818         * math/w_log10.c: Likewise.
15819         * math/w_log10f.c: Likewise.
15820         * math/w_log10l.c: Likewise.
15821         * math/w_log2.c: Likewise.
15822         * math/w_log2f.c: Likewise.
15823         * math/w_log2l.c: Likewise.
15824         * math/w_logf.c: Likewise.
15825         * math/w_logl.c: Likewise.
15826         * math/w_sqrt.c: Likewise.
15827         * math/w_sqrtf.c: Likewise.
15828         * math/w_sqrtl.c: Likewise.
15829         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15830         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
15831         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15832         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
15833         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
15835 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
15837         [BZ #9739]
15838         * manual/string.texi (strnlen): Use correct parameter name in
15839         equivalent expression.
15841 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
15843         [BZ #11174]
15844         * manual/users.texi (seteuid): Consistently use neweuid for
15845         argument name.
15847 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
15849         [BZ #13704]
15850         * manual/nss.texi (Services in the NSS configuration): Correct
15851         list of services in example configuration file.
15853 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
15855         [BZ #11322]
15856         * manual/arith.texi: Remove statements about negative zero
15857         behaving identically to zero.
15859 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
15861         [BZ #5993]
15862         * manual/install.texi: Do not document upgrading from libc5.
15864 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
15866         [BZ #4596]
15867         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
15869 2012-02-18  David S. Miller  <davem@davemloft.net>
15871         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
15872         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
15873         %o7 across the call.
15874         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
15875         instead.
15876         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
15877         SETUP_PIC_REG_LEAF.
15878         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15879         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
15880         * sysdeps/sparc/crtn.S: Likewise.
15882 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
15884         * aout/Makefile: Remove.
15886 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
15888         [BZ #13058]
15889         * manual/examples/argp-ex1.c (main): Format definition in GNU
15890         style.
15891         * manual/examples/argp-ex2.c (main): Likewise.
15892         * manual/examples/argp-ex3.c (main): Likewise.
15893         * manual/examples/argp-ex4.c (main): Likewise.
15894         * manual/examples/longopt.c (main): Use new-style prototype
15895         definition.
15896         * manual/examples/strncat.c (main): Specify return type and use
15897         (void) for arguments.
15898         * manual/examples/subopt.c (main): Use char **argv argument.
15900 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
15902         [BZ #5077]
15903         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
15904         rounding modes.
15906 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
15908         [BZ #6907]
15909         * manual/string.texi (strchr): Change when strchrnul is
15910         recommended.
15912 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
15914         [BZ #174]
15915         * manual/locale.texi (setlocale): Document LOCPATH.
15917 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
15919         [BZ #10210]
15920         * manual/process.texi (execle): Move @dots{} before last argument.
15922 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
15924         [BZ #12047]
15925         * manual/charset.texi (Generic Charset Conversion): Fix typo
15926         (LC_TYPE -> LC_CTYPE).
15928 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
15930         [BZ #5805]
15931         * manual/arith.texi (scalbn): Use @var{} on parameter names.
15932         (scalbnf): Likewise.
15933         (scalbnl): Likewise.
15934         (scalbln): Likewise.
15935         (scalblnf): Likewise.
15936         (scalblnl): Likewise.
15937         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
15938         (vwarnx): Likewise.
15939         (verr): Likewise.
15940         (verrx): Likewise.
15941         * manual/filesys.texi (telldir): Use braces around return type.
15942         * manual/llio.texi (mmap): Add space after comma.
15943         (mmap64): Likewise.
15944         * manual/math.texi (jn): Use @var{} on parameter names.
15945         (jnf): Likewise.
15946         (jnl): Likewise.
15947         (yn): Likewise.
15948         (ynf): Likewise.
15949         (ynl): Likewise.
15950         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
15951         line.
15952         * manual/resource.texi (ulimit): Use @dots{} instead of literal
15953         "...".
15954         (sched_get_priority_min): Remove semicolon on @deftypefun line.
15955         (sched_get_priority_max): Likewise.
15956         * manual/signal.texi (sigvec): Add space after comma.
15957         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
15958         names.
15959         (if_indextoname): Likewise.
15960         (if_freenameindex): Likewise.
15961         (sendto): Use ',' instead of '.' in prototype.
15962         * manual/startup.texi (syscall): Use @dots{} instead of literal
15963         "...".
15964         * manual/stdio.texi (__fpending): Separate initial words of
15965         paragraph from @deftypefun line.
15966         * manual/syslog.texi (syslog): Use @dots{} instead of literal
15967         "...".
15968         (vsyslog): Use @var{} on parameter names.
15969         * manual/terminal.texi (stty): Use @var{} on parameter names.
15970         * manual/users.texi (getutmp): Use @var{} on parameter names.
15971         (getutmpx): Likewise.
15973 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
15975         [BZ #6884]
15976         * manual/stdio.texi (fopen): Fix typos in description of
15977         ",ccs=STRING".
15979 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
15981         [BZ #4026]
15982         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
15983         get clock_id definition.
15985 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
15987         [BZ #4822]
15988         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
15989         (madvise): Cast every argument to void on its own.
15991 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
15993         [BZ #9902]
15994         * manual/startup.texi (Exit Status): Fix typo.
15996 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
15998         [BZ #10140]
15999         * manual/examples/argp-ex1.c: Include <stdlib.h>.
16000         * manual/examples/argp-ex2.c: Likewise.
16001         * manual/examples/argp-ex3.c: Likewise.
16003 2012-02-16  Richard Henderson  <rth@redhat.com>
16005         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
16006         * sysdeps/s390/s390-32/initfini.c: Remove.
16007         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
16008         * sysdeps/s390/s390-64/initfini.c: Remove.
16010 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16012         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
16013         compiler output for sysdeps/generic/initfini.c.
16014         * sysdeps/sh/elf/initfini.c: Remove file.
16016 2012-02-16  David S. Miller  <davem@davemloft.net>
16018         [BZ #11494]
16019         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
16021         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
16022         * sysdeps/sparc/crti.S: New file.
16023         * sysdeps/sparc/crtn.S: New file.
16024         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
16025         * sysdeps/sparc/sparc64/Makefile: Likewise.
16027 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
16029         [BZ #3335]
16030         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
16032 2012-02-15  Roland McGrath  <roland@hack.frob.com>
16034         [BZ #4822]
16035         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
16037         * mach/devstream.c (cookie_io_functions_t): Macro removed.
16038         (write, read, close): Likewise.
16039         Patch by Aurelien Jarno <aurelien@aurel32.net>.
16041 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
16043         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
16044         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
16045         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
16046         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
16047         <bits/signalfd.h>.
16048         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
16049         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16050         bits/signalfd.h.
16052 2012-02-14  Marek Polacek  <polacek@redhat.com>
16054         * sysdeps/x86_64/crti.S: New file.
16055         * sysdeps/x86_64/crtn.S: New file.
16056         * sysdeps/x86_64/elf/initfini.c: Remove file.
16058 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
16060         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
16061         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
16062         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
16063         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
16064         <bits/inotify.h>.
16065         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
16066         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16067         bits/inotify.h.
16069 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
16071         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
16072         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
16073         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
16074         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
16075         <bits/eventfd.h>.
16076         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
16077         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16078         bits/eventfd.h.
16080 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
16082         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
16083         __feraiseexcept instead of feraiseexcept.
16085         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
16086         nanosleep invocations.
16087         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
16088         strings, and add error checking for a nanosleep invocations.
16090 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
16092         Replace FSF snail mail address with URLs, as per GNU coding standards.
16093         Most of the snail mail addresses were wrong anyway, and omitting
16094         them makes the source code easier to maintain.  Almost all of the
16095         changes are to license notices and to locale LC_IDENTIFICATION
16096         addresses, except for this one:
16097         * manual/libc.texinfo: In "Published by", give the FSF's URL,
16098         not its snail mail address.
16100 2012-02-09  Richard Henderson  <rth@twiddle.net>
16102         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
16103         of kernel-features.h.
16105         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
16107 2012-02-08  Marek Polacek  <polacek@redhat.com>
16109         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
16110         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
16111         * sysdeps/gnu/_G_config.h: Likewise.
16112         * sysdeps/generic/_G_config.h: Likewise.
16114 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
16116         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
16117         tests.
16118         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16120         * sysdeps/powerpc/powerpc32/crti.S: New file.
16121         * sysdeps/powerpc/powerpc32/crtn.S: New file.
16122         * sysdeps/powerpc/powerpc64/crti.S: New file.
16123         * sysdeps/powerpc/powerpc64/crtn.S: New file.
16125         * Makeconfig (have-initfini): Don't set.
16126         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
16127         * configure.in (nopic_initfini): Don't substitute.
16128         * config.h.in (HAVE_INITFINI): Don't #undef.
16129         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
16130         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
16132 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
16134         Support crti.S and crtn.S provided directly by architectures.
16135         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
16136         [crti.S in sysdirs] (omit-deps): Likewise.
16137         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
16138         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
16139         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
16140         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
16141         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
16142         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
16143         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
16144         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
16145         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
16146         compiler output for sysdeps/generic/initfini.c.
16147         * sysdeps/i386/elf/Makefile: Remove file.
16148         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
16150 2012-02-07  Marek Polacek  <polacek@redhat.com>
16152         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
16153         * sysdeps/gnu/_G_config.h: Likewise.
16154         * sysdeps/mach/hurd/_G_config.h: Likewise.
16156 2012-02-07  Marek Polacek  <polacek@redhat.com>
16158         * math/Makefile (tests): Add tst-CMPLX2.
16159         * math/tst-CMPLX2.c: New file.
16161 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
16163         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16165         * math/libm-test.inc (jn_test): Add missing L suffix.
16167 2012-02-06  Marek Polacek  <polacek@redhat.com>
16169         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
16170         * sysdeps/i386/fpu/e_powf.S: Likewise.
16171         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
16172         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
16173         * sysdeps/i386/fpu/e_acosh.S: Likewise.
16174         * sysdeps/i386/fpu/e_pow.S: Likewise.
16175         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
16176         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
16177         * sysdeps/i386/fpu/s_expm1.S: Likewise.
16178         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
16179         * sysdeps/i386/fpu/e_log2.S: Likewise.
16180         * sysdeps/i386/fpu/e_log2l.S: Likewise.
16181         * sysdeps/i386/fpu/e_scalb.S: Likewise.
16182         * sysdeps/i386/fpu/e_powl.S: Likewise.
16183         * sysdeps/i386/fpu/s_log1p.S: Likewise.
16184         * sysdeps/i386/fpu/e_log10f.S: Likewise.
16185         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
16186         * sysdeps/i386/fpu/e_logl.S: Likewise.
16187         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
16188         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
16189         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
16190         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
16191         * sysdeps/i386/fpu/e_log2f.S: Likewise.
16192         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
16193         * sysdeps/i386/fpu/e_log.S: Likewise.
16194         * sysdeps/i386/fpu/s_cexp.S: Likewise.
16195         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
16196         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
16197         * sysdeps/i386/fpu/e_logf.S: Likewise.
16198         * sysdeps/i386/fpu/e_log10l.S: Likewise.
16199         * sysdeps/i386/fpu/e_atanh.S: Likewise.
16200         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
16201         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
16202         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
16203         * sysdeps/i386/fpu/e_log10.S: Likewise.
16204         * sysdeps/i386/fpu/s_frexp.S: Likewise.
16205         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
16206         * sysdeps/i386/fpu/s_asinh.S: Likewise.
16207         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
16208         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
16209         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
16210         * sysdeps/i386/asm-syntax.h: Likewise.
16211         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
16212         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16213         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
16214         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
16215         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
16216         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
16217         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
16218         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
16219         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
16220         * sysdeps/powerpc/sysdep.h: Likewise.
16221         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
16222         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16224 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
16226         [BZ #411]
16227         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
16229 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
16231         * sysdeps/i386/sysdep.h: Include <features.h>.
16232         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
16233         version.
16235 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
16237         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
16238         Define.
16239         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
16240         LOAD_PIC_REG_STR.
16242 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
16244         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
16245         (SETUP_PIC_REG): Use GET_PC_THUNK.
16246         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
16247         macro.
16249 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
16251         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
16252         for non-PIC compilation.
16253         (SETUP_PIC_REG): Add .p2align directive.
16254         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
16255         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
16256         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
16257         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
16258         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
16259         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
16260         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
16261         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
16262         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
16263         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
16264         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
16265         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
16266         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
16267         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
16268         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
16269         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16270         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16271         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
16272         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
16273         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
16274         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16275         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16276         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
16277         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
16278         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16279         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
16280         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16281         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16282         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
16283         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
16284         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
16285         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16286         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
16287         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
16288         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
16289         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
16290         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
16291         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
16292         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
16293         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
16294         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
16296 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
16298         * math/tst-CMPLX.c: Include <stdio.h>.
16300 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
16302         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
16303         float.
16304         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
16305         * sysdeps/sparc/bits/mathdef.h: Likewise.
16307 2012-01-31  Marek Polacek  <polacek@redhat.com>
16309         * libio/libio.h: Don't define _PARAMS.
16310         * locale/programs/config.h: Don't define PARAMS.
16311         * stdlib/strtol_l.c: Likewise.
16312         (__strtol_l): Remove PARAMS from the prototype.
16314 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
16316         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
16317         names.  Just use the correct names.  Remove unnecessary wrapper
16318         functions.
16319         * malloc/arena.c: Likewise.
16320         * malloc/hooks.c: Likewise.
16322         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
16323         ARENA_TEST says not to.  Simplify test for creation of a new arena.
16324         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
16326 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
16328         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
16329         into tail calls.
16330         (update_get_addr): New function.
16331         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
16332         GET_ADDR_MODULE parameter.
16334 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
16336         * crypt/cert.c: Remove __STDC__ conditionals.
16337         * crypt/crypt-entry.c: Likewise.
16338         * crypt/crypt_util.c: Likewise.
16339         * libio/filedoalloc.c: Likewise.
16340         * libio/fileops.c: Likewise.
16341         * libio/genops.c: Likewise.
16342         * libio/iofclose.c: Likewise.
16343         * libio/iofdopen.c: Likewise.
16344         * libio/iofopen.c: Likewise.
16345         * libio/iofopen64.c: Likewise.
16346         * libio/iogetdelim.c: Likewise.
16347         * libio/iopopen.c: Likewise.
16348         * libio/obprintf.c: Likewise.
16349         * libio/oldfileops.c: Likewise.
16350         * libio/oldiofclose.c: Likewise.
16351         * libio/oldiofdopen.c: Likewise.
16352         * libio/oldiofopen.c: Likewise.
16353         * libio/oldiopopen.c: Likewise.
16354         * libio/wfiledoalloc.c: Likewise.
16355         * libio/wgenops.c: Likewise.
16356         * locale/programs/xmalloc.c: Likewise.
16357         * misc/syslog.c: Likewise.
16358         * stdio-common/xbug.c: Likewise.
16359         * string/memchr.c: Likewise.
16360         * string/memcmp.c: Likewise.
16361         * string/memrchr.c: Likewise.
16362         * string/rawmemchr.c: Likewise.
16363         * sysdeps/posix/getcwd.c: Likewise.
16364         * time/strftime_l.c: Likewise.
16366 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
16368         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
16369         * config.make.in (config-cflags-sse2avx): Define.
16370         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
16371         Fix typo.
16373 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
16375         * scripts/config.guess: Update from upstream config git repository.
16376         * scripts/config.sub: Likewise.
16378 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
16380         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
16381         (EM_NUM): Update.
16382         (R_TILEPRO_*, R_TILEGX_*): New macros.
16384         * scripts/firstversions.awk: Fix bug in version range handling.
16386         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
16388         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
16390         * include/sys/epoll.h: New file.
16391         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
16392         libc_hidden_def.
16394 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
16396         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
16397         Avoid unnecessary __WORDSIZE == 64 test.
16398         (fmaxf): Use VEX format if possible.
16399         (fmax): Likewise.
16400         (fminf): Likewise.
16401         (fmin): Likewise.
16403         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
16404         * math/math_private.h: Remove libc_fegetround* and
16405         libc_fesetround*.
16406         * sysdeps/i386/configure.in: Check for -msse2avx.
16407         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
16408         also if SSE2AVX is defined.
16409         Remove libc_fegetround* and libc_fesetround*.
16410         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
16411         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
16412         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
16413         of HAS_YMM_USABLE.
16414         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16415         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16416         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16417         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16418         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16420         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
16422 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16424         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
16425         size is not set.
16426         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
16428 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
16430         [BZ #13618]
16431         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
16432         relocation.
16433         * Makeconfig (libm): Define.
16434         * elf/Makefile: Add rules to build and run tst-relsort1.
16435         * elf/tst-relsort1.c: New file.
16436         * elf/tst-relsort1mod1.c: New file.
16437         * elf/tst-relsort1mod2.c: New file.
16439 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
16441         * math/s_ldexp.c: Remove __STDC__ conditionals.
16442         * math/s_ldexpf.c: Likewise.
16443         * math/s_ldexpl.c: Likewise.
16444         * math/s_nextafter.c: Likewise.
16445         * math/s_nexttowardf.c: Likewise.
16446         * math/s_significand.c: Likewise.
16447         * math/s_significandf.c: Likewise.
16448         * math/s_significandl.c: Likewise.
16449         * math/w_jnl.c: Likewise.
16450         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
16451         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
16452         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
16453         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
16454         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
16455         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16456         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
16457         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
16458         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16459         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
16460         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
16461         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16462         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
16463         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
16464         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16465         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
16466         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16467         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16468         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16469         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
16470         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
16471         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16472         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16473         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16474         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16475         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16476         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16477         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16478         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
16479         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16480         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16481         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
16482         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16483         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
16484         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
16485         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16486         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
16487         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
16488         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
16489         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
16490         * sysdeps/ieee754/k_standard.c: Likewise.
16491         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16492         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16493         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
16494         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
16495         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
16496         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
16497         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16498         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
16499         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
16500         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
16501         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
16502         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
16503         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
16504         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
16505         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
16506         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
16507         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
16508         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16509         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16510         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
16511         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16512         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16513         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
16514         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
16515         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16516         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
16517         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
16518         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16519         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16520         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
16521         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
16522         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
16523         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
16524         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
16525         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
16526         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
16527         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
16528         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
16529         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
16530         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
16531         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
16532         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
16533         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
16534         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
16535         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
16536         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
16537         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
16538         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16539         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
16540         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
16541         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
16542         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
16543         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16544         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
16545         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
16546         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
16547         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
16548         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
16549         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
16550         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
16551         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
16552         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
16553         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
16554         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16555         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
16556         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
16557         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
16558         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
16559         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
16560         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
16561         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
16562         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
16563         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
16564         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
16565         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
16566         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16567         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
16568         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
16569         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
16570         * sysdeps/ieee754/s_matherr.c: Likewise.
16571         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
16572         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
16573         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16574         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16576 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
16578         * crypt/md5.h: Remove __STDC__ conditionals.
16579         * libio/libioP.h: Likewise.
16580         * locale/programs/config.h: Likewise.
16581         * sysdeps/generic/sysdep.h: Likewise.
16582         * sysdeps/i386/asm-syntax.h: Likewise.
16583         * sysdeps/s390/asm-syntax.h: Likewise.
16584         * sysdeps/unix/sysdep.h: Likewise.
16585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
16586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16588 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
16590         * libio/libio.h: Remove __STDC__ conditionals.
16591         * malloc/obstack.h: Likewise.
16592         * math/complex.h: Likewise.
16593         * math/math.h: Likewise.
16594         * sysdeps/generic/_G_config.h: Likewise.
16595         * sysdeps/gnu/_G_config.h: Likewise.
16596         * sysdeps/mach/hurd/_G_config.h: Likewise.
16597         * sysdeps/powerpc/bits/mathdef.h: Likewise.
16598         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
16599         * sysdeps/sparc/bits/mathdef.h: Likewise.
16601 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
16603         [BZ #13583]
16604         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
16605         Clean up HAS_* macros.
16606         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
16607         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
16608         possible.
16609         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
16610         HAS_AVX.
16611         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16612         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16613         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16614         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16615         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16617 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
16619         * elf/tst-unique3.cc (gets): Remove declaration.
16620         * elf/tst-unique3lib.cc (gets): Likewise.
16621         * elf/tst-unique3lib2.cc (gets): Likewise.
16622         * elf/tst-unique4.cc (gets): Likewise.
16624 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
16626         * include/stdio.h: Add C++ protection.  Add gets declarations and
16627         definitions.
16628         * debug/tst-chk1.c: Don't declare gets here.
16629         * stdio-common/tst-gets.c: Likewise.
16631 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
16633         * posix/glob: Remove directory.
16635 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
16637         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
16639 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
16641         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
16642         of the non-standard EPFNOSUPPORT.
16644 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16646         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
16647         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
16648         ANYWHERE set to 1 only on KERN_NO_SPACE error.
16650 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
16652         * wcsmbs/uchar.h: Test __STDC_VERSION__.
16654 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
16656         * nscd/aicache.c (addhstaiX): Do not cache negative results of
16657         transient errors.
16658         * nscd/grpcache.c (cache_addgr): Likewise.
16659         * nscd/hstcache.c (cache_addhst): Likewise.
16660         * nscd/initgrcache.c (addinitgroupsX): Likewise.
16661         * nscd/pwdcache.c (cache_addpw): Likewise.
16662         * nscd/servicescache.c (cache_addserv): Likewise.
16664 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
16666         * malloc/malloc.c: Various cleanups.
16667         * malloc/hooks.c: Likewise.
16669         * stdlib/Makefile (tests): Add bug-fmtmsg1.
16670         * stdlib/bug-fmtmsg1.c: New file.
16672         * stdlib/fmtmsg.c (init): Add missing unlock.
16673         Patch by Peng Haitao <penght@cn.fujitsu.com>.
16675 2012-01-12  Marek Polacek  <polacek@redhat.com>
16677         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
16678         and _GNU_SOURCE.
16680 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
16682         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
16683         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
16684         macro to ensure uniqueness of label name.
16685         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
16686         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
16688 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
16690         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
16692         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
16693         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
16694         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
16695         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
16697 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
16699         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
16701         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
16702         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
16703         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
16705         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
16707         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
16708         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
16709         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
16710         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
16712         * math/bits/math-finite.h: Add ldexp support.
16714 2012-01-10  Marek Polacek  <polacek@redhat.com>
16716         * locale/programs/localedef.h (show_archive_content): Add noreturn
16717         attribute.
16719 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
16721         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
16723 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
16725         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
16727         * io/Makefile (headers): Add bits/poll2.h.
16729 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
16731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
16732         typo #include statement.
16734 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
16736         * include/sys/cdefs.h: Define __attribute_alloc_size.
16737         * catgets/gencat.c: Add alloc_size attribute and apply consistently
16738         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
16739         * elf/pldd.c: Likewise.
16740         * iconv/iconv_charmap.c: Likewise.
16741         * iconv/iconvconfig.c: Likewise.
16742         * iconv/strtab.c: Likewise.
16743         * locale/programs/locale.c: Likewise.
16744         * locale/programs/localedef.h: Likewise.
16745         * locale/programs/simple-hash.c: Likewise.
16746         * nscd/nscd.h: Likewise.
16747         * nss/makedb.c: Likewise.
16748         * sysdeps/generic/ldconfig.h: Likewise.
16749         * locale/programs/localedef.c: Remove xmalloc prototype.
16750         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
16752 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
16754         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
16755         appropriate.
16757 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
16759         * math/Makefile (tests): Add tst-CMPLX.
16760         * math/tst-CMPLX.c: New file.
16762         * math/complex.h (CMPLXL): Fix typo.
16764         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
16765         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
16766         GLIBC_2.16.
16767         * debug/tst-chk1.c: Add poll and ppoll tests.
16768         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
16769         * include/sys/poll.h: Add hidden proto for ppoll.
16770         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
16771         * sysdeps/mach/hurd/ppoll.c: Likewise.
16772         * io/ppoll.c: Likewise.
16773         * debug/poll_chk.c: New file.
16774         * debug/ppoll_chk.c: New file.
16775         * include/bits/poll2.h: New file.
16776         * io/bits/poll2.h: New file.
16778         [BZ #1350]
16779         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
16781         * configure.in: static is always set to yes.  Remove.
16782         * config.make.in: Don't set build-static.
16783         * Makeconfig: Remove use of build-static.
16784         * dlfcn/Makefile: Likewise.
16785         * elf/Makefile: Likewise.
16786         * math/Makefile: Likewise.
16787         * misc/Makefile: Likewise.
16788         * nptl/Makefile: Likewise.
16789         * sysdeps/mach/hurd/Makefile: Likewise.
16791         * configure.in: PWD_P is not used anymore.
16792         * config.make.in: Remove PWD_P entry.
16794         * configure.in: Remove last remnants of RANLIB.
16795         No need to check for signed size_t anymore.
16796         Don't set libc_commonpagesize and libc_relro_required here for Alpha
16797         and IA-64.
16798         Remove __builtin_expect test because we require at least gcc 3.4.
16799         * aclocal.m4: Likewise.
16801         * wcsmbs/mbrtoc16.c: Implement using towc function.
16802         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
16803         * wcsmbs/wcsmbsload.c: Likewise.
16804         * iconv/gconv_simple.c: Likewise.
16805         * iconv/gconv_int.h: Likewise.
16806         * iconv/gconv_builtin.h: Likewise.
16807         * iconv/iconv_prog.c: Remove CHAR16 handling.
16809         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
16811         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
16813         * configure.in: Remove --with-elf and --enable-bounded options.
16814         Dont set base_machine for ia64.  More non-ELF conditions removed.
16815         Remove testing and setting of leading underscore information.
16816         * config.make.in (build-bounded): Set to no.
16817         * config.h.in: Remove NO_UNDERSCORES entry.
16818         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
16819         them.
16820         * csu/start.c: Remove !NO_UNDERSCORE code.
16821         * locale/localeinfo.h: Likewise.
16822         * sysdeps/generic/machine-gmon.h: Likewise.
16823         * sysdeps/generic/sysdep.h: Likewise.
16824         * sysdeps/i386/sysdep.h: Likewise.
16825         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
16826         * sysdeps/mach/sysdep.h: Likewise.
16827         * sysdeps/s390/s390-32/sysdep.h: Likewise.
16828         * sysdeps/s390/s390-64/sysdep.h: Likewise.
16829         * sysdeps/sh/sysdep.h: Likewise.
16830         * sysdeps/sparc/sparc32/alloca.S: Likewise.
16831         * sysdeps/unix/i386/sysdep.S: Likewise.
16832         * sysdeps/unix/sparc/start.c: Likewise.
16833         * sysdeps/unix/sparc/sysdep.S: Likewise.
16834         * sysdeps/unix/sparc/sysdep.h: Likewise.
16835         * sysdeps/unix/start.c: Likewise.
16836         * sysdeps/unix/x86_64/sysdep.S: Likewise.
16837         * sysdeps/x86_64/sysdep.h: Likewise.
16839 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
16841         [BZ #13553]
16842         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
16843         for non-gcc.
16844         * argp/argp-fmtstream.h: Use const instead __const.
16845         * argp/argp.h: Likewise.
16846         * assert/assert.h: Likewise.
16847         * bits/fenv.h: Likewise.
16848         * bits/sched.h: Likewise.
16849         * bits/sigset.h: Likewise.
16850         * bits/sigthread.h: Likewise.
16851         * catgets/nl_types.h: Likewise.
16852         * conform/data/pthread.h-data: Likewise.
16853         * crypt/crypt-private.h: Likewise.
16854         * crypt/crypt.h: Likewise.
16855         * crypt/crypt_util.c: Likewise.
16856         * ctype/ctype.h: Likewise.
16857         * debug/execinfo.h: Likewise.
16858         * debug/mbsnrtowcs_chk.c: Likewise.
16859         * debug/mbsrtowcs_chk.c: Likewise.
16860         * debug/wcsnrtombs_chk.c: Likewise.
16861         * debug/wcsrtombs_chk.c: Likewise.
16862         * debug/wcstombs_chk.c: Likewise.
16863         * dirent/dirent.h: Likewise.
16864         * dlfcn/dlfcn.h: Likewise.
16865         * elf/neededtest4.c: Likewise.
16866         * grp/grp.h: Likewise.
16867         * gshadow/gshadow.h: Likewise.
16868         * iconv/gconv.h: Likewise.
16869         * iconv/gconv_int.h: Likewise.
16870         * iconv/gconv_simple.c: Likewise.
16871         * iconv/iconv.h: Likewise.
16872         * iconv/loop.c: Likewise.
16873         * iconv/skeleton.c: Likewise.
16874         * include/aio.h: Likewise.
16875         * include/aliases.h: Likewise.
16876         * include/argz.h: Likewise.
16877         * include/arpa/inet.h: Likewise.
16878         * include/assert.h: Likewise.
16879         * include/dirent.h: Likewise.
16880         * include/dlfcn.h: Likewise.
16881         * include/execinfo.h: Likewise.
16882         * include/fcntl.h: Likewise.
16883         * include/fenv.h: Likewise.
16884         * include/glob.h: Likewise.
16885         * include/grp.h: Likewise.
16886         * include/libintl.h: Likewise.
16887         * include/mntent.h: Likewise.
16888         * include/netdb.h: Likewise.
16889         * include/pwd.h: Likewise.
16890         * include/rpc/netdb.h: Likewise.
16891         * include/sched.h: Likewise.
16892         * include/search.h: Likewise.
16893         * include/shadow.h: Likewise.
16894         * include/signal.h: Likewise.
16895         * include/stdio.h: Likewise.
16896         * include/stdlib.h: Likewise.
16897         * include/string.h: Likewise.
16898         * include/sys/socket.h: Likewise.
16899         * include/sys/stat.h: Likewise.
16900         * include/sys/statfs.h: Likewise.
16901         * include/sys/statvfs.h: Likewise.
16902         * include/sys/syslog.h: Likewise.
16903         * include/sys/time.h: Likewise.
16904         * include/sys/uio.h: Likewise.
16905         * include/time.h: Likewise.
16906         * include/unistd.h: Likewise.
16907         * include/utmp.h: Likewise.
16908         * include/wchar.h: Likewise.
16909         * include/wctype.h: Likewise.
16910         * inet/aliases.h: Likewise.
16911         * inet/arpa/inet.h: Likewise.
16912         * inet/netinet/ether.h: Likewise.
16913         * inet/netinet/in.h: Likewise.
16914         * intl/libintl.h: Likewise.
16915         * io/bits/fcntl2.h: Likewise.
16916         * io/fcntl.h: Likewise.
16917         * io/ftw.h: Likewise.
16918         * io/sys/poll.h: Likewise.
16919         * io/sys/stat.h: Likewise.
16920         * io/sys/statfs.h: Likewise.
16921         * io/sys/statvfs.h: Likewise.
16922         * io/utime.h: Likewise.
16923         * libio/bits/stdio.h: Likewise.
16924         * libio/bits/stdio2.h: Likewise.
16925         * libio/libio.h: Likewise.
16926         * libio/libioP.h: Likewise.
16927         * libio/stdio.h: Likewise.
16928         * locale/lc-ctype.c: Likewise.
16929         * locale/locale.h: Likewise.
16930         * login/utmp.h: Likewise.
16931         * malloc/arena.c: Likewise.
16932         * malloc/malloc.c: Likewise.
16933         * malloc/malloc.h: Likewise.
16934         * malloc/mcheck.c: Likewise.
16935         * malloc/mtrace.c: Likewise.
16936         * math/bits/mathcalls.h: Likewise.
16937         * math/fenv.h: Likewise.
16938         * math/math_private.h: Likewise.
16939         * misc/bits/error.h: Likewise.
16940         * misc/bits/syslog.h: Likewise.
16941         * misc/err.h: Likewise.
16942         * misc/error.h: Likewise.
16943         * misc/fstab.h: Likewise.
16944         * misc/mntent.h: Likewise.
16945         * misc/regexp.h: Likewise.
16946         * misc/search.h: Likewise.
16947         * misc/sgtty.h: Likewise.
16948         * misc/sys/mman.h: Likewise.
16949         * misc/sys/syslog.h: Likewise.
16950         * misc/sys/uio.h: Likewise.
16951         * misc/sys/xattr.h: Likewise.
16952         * misc/ttyent.h: Likewise.
16953         * nis/rpcsvc/ypclnt.h: Likewise.
16954         * nss/nss.h: Likewise.
16955         * posix/bits/unistd.h: Likewise.
16956         * posix/fnmatch.h: Likewise.
16957         * posix/glob.h: Likewise.
16958         * posix/sched.h: Likewise.
16959         * posix/spawn.h: Likewise.
16960         * posix/sys/wait.h: Likewise.
16961         * posix/unistd.h: Likewise.
16962         * posix/wordexp.h: Likewise.
16963         * pwd/pwd.h: Likewise.
16964         * resolv/netdb.h: Likewise.
16965         * resource/sys/resource.h: Likewise.
16966         * rt/aio.h: Likewise.
16967         * rt/bits/mqueue2.h: Likewise.
16968         * rt/mqueue.h: Likewise.
16969         * shadow/shadow.h: Likewise.
16970         * signal/signal.h: Likewise.
16971         * socket/send.c: Likewise.
16972         * socket/sendto.c: Likewise.
16973         * socket/sys/socket.h: Likewise.
16974         * stdio-common/printf.h: Likewise.
16975         * stdlib/bits/stdlib.h: Likewise.
16976         * stdlib/fmtmsg.h: Likewise.
16977         * stdlib/monetary.h: Likewise.
16978         * stdlib/stdlib.h: Likewise.
16979         * stdlib/ucontext.h: Likewise.
16980         * streams/stropts.h: Likewise.
16981         * string/argz.h: Likewise.
16982         * string/bits/string2.h: Likewise.
16983         * string/string.h: Likewise.
16984         * string/strings.h: Likewise.
16985         * sunrpc/rpc/auth.h: Likewise.
16986         * sunrpc/rpc/auth_des.h: Likewise.
16987         * sunrpc/rpc/clnt.h: Likewise.
16988         * sunrpc/rpc/netdb.h: Likewise.
16989         * sunrpc/rpc/pmap_clnt.h: Likewise.
16990         * sunrpc/rpc/xdr.h: Likewise.
16991         * sysdeps/generic/inttypes.h: Likewise.
16992         * sysdeps/generic/net/if.h: Likewise.
16993         * sysdeps/generic/sys/swap.h: Likewise.
16994         * sysdeps/gnu/net/if.h: Likewise.
16995         * sysdeps/gnu/utmpx.h: Likewise.
16996         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
16997         * sysdeps/i386/i486/bits/string.h: Likewise.
16998         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
16999         * sysdeps/s390/bits/string.h: Likewise.
17000         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
17001         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
17002         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
17003         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
17004         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
17005         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
17006         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
17007         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
17008         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
17009         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
17010         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
17011         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
17012         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
17013         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
17014         * sysdeps/unix/sysv/linux/readv.c: Likewise.
17015         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
17016         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
17017         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17018         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
17019         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
17020         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
17021         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
17022         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
17023         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
17024         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
17025         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
17026         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
17027         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
17028         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
17029         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
17030         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
17031         * sysvipc/sys/ipc.h: Likewise.
17032         * sysvipc/sys/msg.h: Likewise.
17033         * sysvipc/sys/sem.h: Likewise.
17034         * sysvipc/sys/shm.h: Likewise.
17035         * termios/termios.h: Likewise.
17036         * time/sys/time.h: Likewise.
17037         * time/time.h: Likewise.
17038         * wcsmbs/bits/wchar2.h: Likewise.
17039         * wcsmbs/uchar.h: Likewise.
17040         * wcsmbs/wchar.h: Likewise.
17041         * wctype/wctype.h: Likewise.
17043         [BZ #13551]
17044         * Makeconfig: Remove all but ELF support including AIX support.
17045         * Makerules: Likewise.
17046         * config.h.in: Likewise.
17047         * config.make.in: Likewise.
17048         * configure: Likewise.
17049         * configure.in: Likewise.
17050         * csu/Makefile: Likewise.
17051         * csu/version.c: Likewise.
17052         * debug/Makefile: Likewise.
17053         * dlfcn/Makefile: Likewise.
17054         * elf/Makefile: Likewise.
17055         * extra-lib.mk: Likewise.
17056         * iconv/Makefile: Likewise.
17057         * include/libc-symbols.h: Likewise.
17058         * include/shlib-compat.h: Likewise.
17059         * resolv/Makefile: Likewise.
17060         * resolv/res_libc.c: Likewise.
17061         * rt/Makefile: Likewise.
17062         * sysdeps/i386/asm-syntax.h: Likewise.
17063         * sysdeps/i386/sysdep.h: Likewise.
17064         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
17065         * sysdeps/mach/sysdep.h: Likewise.
17066         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
17067         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
17068         * sysdeps/s390/asm-syntax.h: Likewise.
17069         * sysdeps/s390/s390-32/sysdep.h: Likewise.
17070         * sysdeps/s390/s390-64/sysdep.h: Likewise.
17071         * sysdeps/sh/sysdep.h: Likewise.
17072         * sysdeps/unix/sparc/sysdep.h: Likewise.
17073         * sysdeps/wordsize-32/divdi3.c: Likewise.
17074         * sysdeps/x86_64/sysdep.h: Likewise.
17076         * argp/Versions: Remove _argp_unlock_xxx.
17078         [BZ #13559]
17079         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
17080         * abilist/libBrokenLocale.abilist: Likewise.
17081         * abilist/libanl.abilist: Likewise.
17082         * abilist/libc.abilist: Likewise.
17083         * abilist/libcrypt.abilist: Likewise.
17084         * abilist/libdl.abilist: Likewise.
17085         * abilist/libm.abilist: Likewise.
17086         * abilist/libnsl.abilist: Likewise.
17087         * abilist/libpthread.abilist: Likewise.
17088         * abilist/libresolv.abilist: Likewise.
17089         * abilist/librt.abilist: Likewise.
17090         * abilist/libthread_db.abilist: Likewise.
17091         * abilist/libutil.abilist: Likewise.
17092         * abilist/libnss_db.abilist: New file.
17094         * scripts/abilist.awk: Add support for indirect functions.
17096         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
17098         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
17100         * shlib-versions: Remove entries for ports architectures.
17102         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
17103         files in ports.
17104         * elf/stackguard-macros.h: Remove support for IA-64.
17105         * elf/tst-auditmod1.c: Likewise.
17106         * sysdeps/generic/ldsodefs.h: Likewise.
17108         * sysdeps/unix/sysv/linux/configure.in: Ports should define
17109         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
17110         configure files.
17112         [BZ #13552]
17113         * configure.in: Remove --enable-omitfp support.
17114         * FAQ.in: Adjust.
17115         * config.make.in: Likewise.
17116         * Makeconfig: Likewise.
17117         * manual/install.texi: Likewise.
17119         In case anyone cares, the IA-64 architecture could move to ports.
17120         * sysdeps/ia64/*: Removed.
17121         * sysdeps/unix/sysv/linux/ia64/*: Removed.
17122         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
17124         [BZ #13555]
17125         * configure.in: Remove entries for unsupported architectures.
17127         [BZ #13533]
17128         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
17129         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
17130         routines.
17131         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
17132         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
17133         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
17134         fall back to using wcrtomb.
17135         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
17136         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
17137         renaming.
17138         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
17139         * wcsmbs/tst-c16c32-1.c: New file.
17141         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
17142         local variable.
17144         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
17146         * elf/tst-unique3.cc: Add explicit declaration of gets.
17147         * elf/tst-unique3lib.cc: Likewise.
17148         * elf/tst-unique3lib2.cc: Likewise.
17149         * elf/tst-unique4.cc: Likewise.
17151         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
17153 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
17155         [BZ #13566]
17156         * assert/assert.h (static_assert): Don't define for C++.
17157         * libio/stdio.h (gets): Do declare for C++ <= C++11.
17158         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
17160 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
17162         * iconv/loop.c (single loop): Fix assertion in storing of
17163         remaining bytes.
17165         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
17167 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
17169         * posix/getconf.c: Update copyright year.
17170         * nss/getent.c: Likewise.
17171         * nss/makedb.c: Likewise.
17172         * iconv/iconvconfig.c: Likewise.
17173         * iconv/iconv_prog.c: Likewise.
17174         * elf/ldconfig.c: Likewise.
17175         * elf/pldd.c: Likewise.
17176         * elf/sotruss.ksh: Likewise.
17177         * catgets/gencat.c: Likewise.
17178         * csu/version.c: Likewise.
17179         * elf/ldd.bash.in: Likewise.
17180         * elf/sprof.c (print_version): Likewise.
17181         * locale/programs/locale.c: Likewise.
17182         * locale/programs/localedef.c: Likewise.
17183         * login/programs/pt_chown.c: Likewise.
17184         * nscd/nscd.c (print_version): Likewise.
17185         * debug/xtrace.sh: Likewise.
17186         * malloc/memusage.sh: Likewise.
17187         * malloc/mtrace.pl: Likewise.
17188         * debug/catchsegv.sh: Likewise.
17190 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
17192         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
17193         pure attribute.
17195 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
17197         [BZ #13533]
17198         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
17199         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
17200         transformations.
17201         * iconv/gconv_int.h: Likewise.
17202         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
17203         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
17204         from libc for GLIBC_2.16.
17205         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
17206         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
17207         * wcsmbs/uchar.h: Really define mbstate_t.
17208         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
17209         * wcsmbs/c16rtomb.c: New file.
17210         * wcsmbs/mbrtoc16.c: New file.
17211         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
17212         for C/POSIX locale.
17213         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
17214         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
17216         * wcsmbs/wchar.h: Add missing __restrict.
17218 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
17220         [BZ #13532]
17221         * time/Makefile (routines): Add timespec_get.
17222         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
17223         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
17224         timespec for ISO C11.
17225         * time/timespec_get.c: New file.
17226         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
17227         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
17229         [BZ #13531]
17230         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
17231         * stdlib/stdlib.h: Declare aligned_alloc.
17232         * Versions.def: Add GLIBC_2.16 for libc.
17233         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
17235         [BZ 13527]
17236         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
17237         ISO C11.
17239         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
17240         code.
17242         [BZ #13528]
17243         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
17245         [BZ #13529]
17246         * assert/assert.h (static_assert): Define.
17248         * version.h: Update for 2.16 development version.
17250         [BZ #13526]
17251         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
17252         _ISOC11_SOURCE.
17254         * version.h (RELEASE): Bump for 2.15 release.
17255         * include/features.h (__GLIBC_MINOR__): Bump to 15.
17257         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
17258         Patch by Marek Polacek <mpolacek@redhat.com>.
17260         * bits/byteswap.h: Protect long long constants with __extension__.
17261         * sysdeps/i386/bits/byteswap.h: Likewise.
17262         * sysdeps/ia64/bits/byteswap.h: Likewise.
17263         * sysdeps/s390/bits/byteswap.h: Likewise.
17264         * sysdeps/x86_64/bits/byteswap.h: Likewise.
17266 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17268         [BZ #13540]
17269         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
17270         destination buffer.
17271         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
17273 2011-12-23  Marek Polacek  <polacek@redhat.com>
17275         * elf/dl-addr.c (determine_info): Add inline keyword.
17276         * elf/tst-auditmod4b.c (check_avx): Likewise.
17277         * elf/tst-auditmod6b.c (check_avx): Likewise.
17278         * elf/tst-auditmod6c.c (check_avx): Likewise.
17279         * elf/tst-auditmod7b.c (check_avx): Likewise.
17281 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
17283         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
17284         !__SSE_MATH__.
17286 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17288         [BZ #13540]
17289         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
17290         processing for last bytes.
17292 2011-08-06  Bruno Haible  <bruno@clisp.org>
17294         [BZ #13061]
17295         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
17296         U+0385, not to U+1FEE.
17298         [BZ #13062]
17299         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
17300         entry for U+00A5 U+0301.
17302 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
17304         [BZ #13166]
17305         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
17306         buffer for the output is too small.
17308         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
17309         optimization.
17311         [BZ #13185]
17312         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
17313         SSE flags if possible.
17315 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17317         [BZ #13540]
17318         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
17319         processing for last bytes.
17321 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
17323         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
17324         (syscall-list-default-options, syscall-list-default-condition)
17325         (syscall-list-includes): Define.
17326         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
17327         list of ABIs and options and #if conditions for each ABI.  Do not
17328         handle common syscalls between ABIs specially.
17329         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
17330         Remove.
17331         (syscall-list-variants, syscall-list-32bit-options)
17332         (syscall-list-32bit-condition, syscall-list-64bit-options)
17333         (syscall-list-64bit-condition): Define.
17334         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
17335         (syscall-list-variants, syscall-list-32bit-options)
17336         (syscall-list-32bit-condition, syscall-list-64bit-options)
17337         (syscall-list-64bit-condition): Define.
17338         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
17339         Remove.
17340         (syscall-list-variants, syscall-list-32bit-options)
17341         (syscall-list-32bit-condition, syscall-list-64bit-options)
17342         (syscall-list-64bit-condition): Define.
17343         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
17344         Remove.
17345         (syscall-list-variants, syscall-list-32bit-options)
17346         (syscall-list-32bit-condition, syscall-list-64bit-options)
17347         (syscall-list-64bit-condition): Define.
17349 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
17351         * locale/iso-639.def: Add brx entry.
17353         [BZ #13328]
17354         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
17355         Proposed by Mariusz_Cukr <marcukr@op.pl>.
17357         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
17358         __feraiseexcept_renamed.
17360 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
17362         [BZ #13538]
17363         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
17364         EPOLLET with unsigned values.
17365         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
17366         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
17368         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
17369         to large cancellation.
17370         * math/s_cacoshf.c: Likewise.
17371         * math/s_cacoshl.c: Likewise.
17373 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
17375         [BZ #13305]
17376         [BZ #12786]
17377         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
17378         * math/s_cacoshf.c: Likewise.
17379         * math/s_cacoshl.c: Likewise.
17381 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
17383         [BZ #13439]
17384         * iconv/gconv.h: Define __GCONV_SWAP.
17385         * iconvdata/unicode.c: The swap bit must be stored in __flags.
17386         * iconvdata/utf-16.c: Likewise.
17387         * iconvdata/utf-32.c: Likewise.
17389 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
17391         [BZ #13524]
17392         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
17393         numerator after shifting it by one limb.
17395 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
17397         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
17398         under [__USE_EXTERN_INLINES].
17400 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
17402         [BZ #13446]
17403         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
17405 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17407         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
17408         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
17409         optimized code.
17410         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
17411         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
17412         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
17413         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
17414         for strncasecmp/strncasecmp_l compilation.
17415         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
17416         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
17418 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
17420         [BZ #13484]
17421         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
17422         of __asm__.
17424 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
17426         [BZ #13506]
17427         * time/tzfile.c (__tzfile_read): Check values from file header.
17429 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
17431         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
17432         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
17433         * powerpc/powerpc32/dl-start.S: Likewise.
17434         * powerpc/powerpc32/elf/start.S: Likewise.
17435         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
17436         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
17437         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
17438         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
17439         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
17440         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
17441         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
17442         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
17443         * powerpc/powerpc32/fpu/s_round.S: Likewise.
17444         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
17445         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
17446         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
17447         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
17448         * powerpc/powerpc32/memset.S: Likewise.
17449         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
17450         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
17451         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
17452         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
17453         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
17454         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
17455         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
17456         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
17457         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
17458         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
17459         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
17460         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
17461         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
17463 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17465         * math/libm-test.inc: Added more nearbyint tests.
17466         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
17467         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
17468         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
17469         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
17471 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
17473         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
17474         FD_CLOEXEC.
17476 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17478         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
17479         Add wcscpy-ssse3 wcscpy-c.
17480         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
17481         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
17482         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
17483         * sysdeps/x86_64/wcschr.S: New file.
17484         * sysdeps/x86_64/wcsrchr.S: New file.
17485         * string/test-strcmp.c: Remove checking of wcscmp function for
17486         wrong alignments.
17487         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
17488         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
17489         wcsrchr-sse2 wcsrchr-c.
17490         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
17491         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
17492         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
17493         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
17494         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
17495         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
17496         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
17497         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
17498         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
17499         * wcsmbc/wcschr.c (WCSCHR): New macro.
17501 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17503         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
17504         * wcsmbs/test-wcsrchr.c: New file.
17505         * string/test-strrchr.c: Add wcsrchr support.
17506         (WIDE): New macro.
17507         * wcsmbs/test-wcscpy.c: New file.
17508         * string/test-strcpy.c: Add wcscpy support.
17509         (WIDE): New macro.
17511 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
17513         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
17514         the inner loop.
17516 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
17518         [BZ #13472]
17519         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
17521 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
17523         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
17524         Minor optimizations.
17526         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
17527         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
17528         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
17530 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
17532         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
17533         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
17534         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
17535         for gcc to avoid warnings.
17536         * inet/Makefile (tests): Add tst-checks.
17537         * inet/tst-checks.c: New file.
17539         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
17540         warning.
17542         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
17543         __wmemcmp_sse2.
17545         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
17546         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
17548         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
17550 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
17552         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
17553         problem.
17555         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
17557 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
17559         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
17560         conditional on GCC version.
17561         (__arch_compare_and_exchange_val_8_acq)
17562         (__arch_compare_and_exchange_val_16_acq)
17563         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
17564         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
17565         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
17567 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
17569         * sysdeps/sh/backtrace.c: New file.
17571 2011-12-02  Andreas Schwab  <schwab@redhat.com>
17573         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
17574         parenthesis.
17576 2011-12-01  Andreas Schwab  <schwab@redhat.com>
17578         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
17579         falling back to utime.
17581 2011-11-30  Andreas Schwab  <schwab@redhat.com>
17583         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
17584         expectations for float.
17586 2011-11-29  Andreas Schwab  <schwab@redhat.com>
17588         * locale/weight.h (findidx): Add parameter len.
17589         * locale/weightwc.h (findidx): Likewise.
17590         * posix/fnmatch_loop.c (FCT): Adjust caller.
17591         * posix/regcomp.c (build_equiv_class): Likewise.
17592         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
17593         * posix/regexec.c (check_node_accept_bytes): Likewise.
17594         * string/strcoll_l.c (STRCOLL): Likewise.
17595         * string/strxfrm_l.c (STRXFRM): Likewise.
17597 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
17599         * Makefile.in: Remove CVSOPT handling.
17600         * configure.in: Remove use of AC_REVISION.
17601         * iconvdata/Makefile (distribute): No need to filter out CVS.
17602         * scripts/list-sources.sh: Remove CVS, subversion and monotone
17603         handling.
17605 2011-11-16  Andreas Schwab  <schwab@redhat.com>
17607         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
17608         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
17609         [USE_AS_STRNCASECMP_L]: Likewise.
17610         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
17611         NO_TLS_DIRECT_SEG_REFS.
17612         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
17613         Fix argument offsets for non-PIC.
17614         [USE_AS_STRNCASECMP_L]: Likewise.
17615         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
17616         NO_TLS_DIRECT_SEG_REFS.
17618 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
17620         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
17621         O_CLOEXEC.
17622         * locale/loadlocale.c (_nl_load_locale): Likewise.
17624 2011-11-15  Andreas Schwab  <schwab@redhat.com>
17626         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
17627         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
17628         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
17629         (SYSCALL_GETTIME): Set errno on error.
17631         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
17632         count references to noai6ai_cached.
17634 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
17636         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
17638         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
17639         FD_CLOEXEC for /proc/self/maps.
17641         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
17642         FD_CLOEXEC for /proc/meminfo.
17644         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
17645         gai.conf.
17647         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
17648         FD_CLOEXEC for given file.
17650         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
17652         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
17653         FD_CLOEXEC for /etc/hosts.
17654         (_gethtent): Likewise.
17656         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
17658         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
17659         cancellation and set FD_CLOEXEC for /etc/netgroup.
17661         * nss/nss_files/files-key.c (search): Don't allow cancellation when
17662         reading /etc/publickey.
17664         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
17665         allow cancellation when reading /etc/group.
17667         * nss/nss_files/files-alias.c (internal_setent): Don't allow
17668         cancellation.
17669         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
17671         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
17672         when using data file.
17674         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
17676         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
17677         (write_nis_obj): Use "c" and "e" in fopen.
17679         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
17681         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
17683         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
17685         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
17687         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
17688         locale.alias.
17690         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
17692         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
17694         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
17696         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
17697         file parsing and set FD_CLOEXEC.
17699 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
17701         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
17703 2011-11-14  Andreas Schwab  <schwab@redhat.com>
17705         * malloc/arena.c (arena_get2): Don't call reused_arena when
17706         _int_new_arena failed.
17708 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
17710         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
17711         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
17712         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
17713         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17714         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17715         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
17716         to compile strcasecmp and strncasecmp.
17717         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
17718         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
17720         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
17722 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
17724         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
17725         locale-defines.sym to gen-as-const-headers.
17726         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
17727         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
17728         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
17729         to compile strcasecmp and strncasecmp.
17730         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
17731         strcasecmp_l and strncasecmp_l.
17732         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
17733         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
17734         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
17735         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
17736         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
17737         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
17738         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
17739         * sysdeps/i386/i686/multiarch/strncase.S: New file.
17740         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
17741         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
17742         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
17744 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
17746         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
17747         result of SYSDEP_GETTIME_CPU to retval.
17748         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
17749         parameter list to macro.  Remove trailing semicolon.  Adjust users.
17751         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
17752         variable.
17754         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
17755         mantissa words.
17756         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
17758         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
17759         from unused variable.
17761         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
17762         DWARF definitions.
17763         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
17764         for assembling.
17766         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
17767         over namespaces.
17769         * sunrpc/rpc_prot.c (rejected): Fix case value.
17771         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
17772         unsigned long long int to avoid warnings in shift.
17774         * posix/regex_internal.c (re_string_reconstruct): Actually use result
17775         of use of trans.
17776         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
17777         variable tmp.
17779         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
17780         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
17781         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
17783         * nis/nis_table.c (nis_list): Use variable of correct type for
17784         result of __follow_path call.
17786 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17788         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
17789         of math functions ceil, trunc, floor, round, and sqrt, when
17790         avaliable on the platform.
17791         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
17792         name clash.
17793         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17794         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
17795         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
17797 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
17799         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
17800         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
17802 2011-11-11  Roland McGrath  <roland@hack.frob.com>
17804         * include/unistd.h: Fix __readlink return type.
17805         Reported by Chris Metcalf <cmetcalf@tilera.com>.
17807 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
17809         * stdlib/ucontext.h: Undo last change for makecontext.
17811 2011-11-11  Andreas Schwab  <schwab@redhat.com>
17813         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
17815         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
17816         * setjmp/setjmp.h: Mark functions as non-leaf.
17817         * setjmp/bits/setjmp2.h: Likewise.
17818         * stdlib/ucontext.h: Likewise.
17820 2011-11-10  Andreas Schwab  <schwab@redhat.com>
17822         * malloc/arena.c (_int_new_arena): Don't increment narenas.
17823         (reused_arena): Don't check arena limit.
17824         (arena_get2): Atomically check arena limit.
17826 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
17828         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
17829         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
17831         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
17832         instructions.
17834 2011-11-07  Andreas Schwab  <schwab@redhat.com>
17836         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
17837         handler when locking.
17839         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
17840         Fix size of allocated buffer.
17842 2011-11-04  Andreas Schwab  <schwab@redhat.com>
17844         [BZ #10103]
17845         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
17846         declarations for long double functions.
17847         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
17849         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
17851 2011-11-03  Andreas Schwab  <schwab@redhat.com>
17853         * nscd/nscd.c (main): Don't start AVC thread until credentials are
17854         installed.
17856         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
17857         is disabled.
17859 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17861         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
17863 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
17865         * include/alloca.h (stackinfo_alloca_round): Define.
17866         (extend_alloca): Use it.
17867         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
17868         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
17869         here.
17871         * scripts/check-local-headers.sh: Ignore libaudit.h.
17873         * nscd/Makefile (extra-objs): Make recursively expanded.
17875 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
17877         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
17878         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17880         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
17881         * posix/tst-rfc3484-2.c: Likewise.
17882         * posix/tst-rfc3484-3.c: Likewise.
17884         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
17885         process_vm_writev.
17886         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
17887         process_vm_writev.
17888         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
17889         process_vm_writev from libc using GLIBC_2.15 version.
17891         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
17893 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
17895         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
17896         stack usage.
17898 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
17900         [BZ #13367]
17901         * nss/getent.c (initgroups_keys): Show error message in case no group
17902         names are given.
17904         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
17905         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
17906         __bump_nl_timestamp.
17907         * nscd/connections (nscd_init): When host database is served open
17908         netlink socket and request notification about configuration changes.
17909         (main_loop_poll): Track netlink file descriptor and bump timestamp
17910         in case data becomes available.
17911         (main_loop_epoll): Likewise.
17912         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
17913         (database_pers_head): Add extra_data fileds.
17914         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
17915         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
17916         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
17917         Adjust caller.
17918         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
17919         in6ai data, call __free_in6ai.
17920         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
17921         Add -DHAVE_NETLINK.
17922         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
17923         interface information.  Reuse previous data if netlink timestamp
17924         is not changed.
17925         (__bump_nl_timestamp): New function.
17926         (__free_in6ai): New function.
17928 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
17930         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
17931         close_not_cancel_no_status here.
17932         (__check_pf): Reorganize code a bit to not call close twice if OOM.
17934 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
17936         [BZ #13276]
17937         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
17938         return value.
17940         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
17941         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
17942         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
17944 2011-07-03  Andreas Jaeger  <aj@suse.de>
17946         [BZ #10709]
17947         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
17948         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
17949         * math/libm-test.inc (sin_test): Add test case.
17951 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
17953         [BZ #13337]
17954         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
17955         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
17957         * elf/chroot_canon.c (chroot_canon): Cleanups.
17959         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
17961         [BZ #13335]
17962         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
17963         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
17965         * string/test-strchr.c: Make usable for strchrnul testing.
17966         * string/test-strchrnul.c: New file.
17967         * string/Makefile (strop-tests): Add strchrnul.
17969         * po/it.po: Update from translation team.
17970         * po/es.po: Likewise.
17972 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
17974         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
17975         the three constants needed as parameters.  Drop the others.
17976         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
17977         __m128i_strloadu_tolower.
17978         Create and initialize variable zero and use it in all the places
17979         where _mm_setzero_si128 was used.
17981         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
17982         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
17983         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
17984         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
17985         anymore.
17986         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
17987         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
17988         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
17989         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
17990         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
17991         __mpranred, __mptan.
17992         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
17993         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
17994         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
17995         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
17996         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
17997         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
17998         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
17999         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
18000         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
18002 2011-10-28  Andreas Schwab  <schwab@redhat.com>
18004         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
18005         redefine if SHARED.
18006         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
18008         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
18009         wide char related routines to wcsmbs subdir.
18011 2011-10-27  Andreas Schwab  <schwab@redhat.com>
18013         [BZ #13344]
18014         * misc/sys/cdefs.h (__THROWNL): Define.
18015         * posix/unistd.h: Use __THREADNL instead of __THREAD
18016         for memory synchronization functions.
18018 2011-10-26  Roland McGrath  <roland@hack.frob.com>
18020         [BZ #13349]
18021         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
18022         doesn't exist.
18023         * manual/stdio.texi (Obstack Streams): Node removed.
18025 2011-10-26  Andreas Schwab  <schwab@redhat.com>
18027         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
18028         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18029         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18031         * math/math_private.h (math_force_eval): Allow non-addressable
18032         arguments.
18033         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
18035 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
18037         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
18038         file is not needed.
18040         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
18041         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
18042         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18043         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18044         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18045         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18046         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
18047         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
18048         Add AVX variants.
18049         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
18050         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
18051         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
18052         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
18053         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
18054         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
18055         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
18056         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
18057         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
18058         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
18059         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
18060         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
18061         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
18062         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
18063         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
18064         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
18065         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
18066         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
18067         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
18069         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
18070         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
18072         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
18073         place.  Use VEX encoding when compiling for AVX.
18075 2011-10-25  Andreas Schwab  <schwab@redhat.com>
18077         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
18078         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18080         * string/test-strchr.c (do_test): Don't generate NUL bytes.
18082 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
18084         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
18085         useless if() expression.
18086         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18087         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18088         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18089         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18090         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18091         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18092         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18093         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18094         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18095         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18096         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18097         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18098         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
18099         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18100         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
18101         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18102         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18103         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18104         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
18106         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
18108 2011-10-25  Andreas Schwab  <schwab@redhat.com>
18110         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
18111         condition.
18112         * elf/dl-fini.c (_dl_sort_fini): Likewise.
18114 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
18116         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
18117         .text section.  Avoid duplicate constants.
18118         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
18119         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18120         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18121         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18122         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18123         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18124         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18125         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18126         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
18127         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
18128         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
18129         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
18130         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
18131         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
18132         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
18133         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
18134         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
18135         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
18136         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18137         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18138         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18139         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18140         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18141         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
18142         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
18143         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
18144         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
18145         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
18146         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
18147         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
18148         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
18149         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
18150         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
18151         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
18152         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
18153         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
18154         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
18155         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
18156         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
18157         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
18158         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
18159         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
18160         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
18161         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
18162         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
18164 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
18166         * sysdeps/x86_64/dla.h: Move to ...
18167         * sysdeps/x86_64/fpu/dla.h: ...here.
18168         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
18169         situations.  Use __builtin_fma only for gcc 4.6 and up.
18171         * config.make.in: Add have-mfma4 entry.
18172         * configure.in: Substitute libc_cv_cc_fma4.
18173         * math/Makefile (dbl-only-routines): Add sincostab.
18174         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
18175         Use __sincostab not sincos.
18176         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
18177         name is a macro.
18178         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18179         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18180         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18181         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
18182         using __copysign.
18183         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
18184         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
18185         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
18186         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
18187         and __inv.
18188         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
18189         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
18190         __copysign.
18191         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
18192         define aliases when function name is a macro.
18193         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
18194         sysdeps/ieee754/dbl-64/sincos.tbl.
18195         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
18196         fma4-enabled routines.
18197         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
18198         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
18199         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
18200         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
18201         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
18202         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
18203         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
18204         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
18205         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
18206         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
18207         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
18208         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
18209         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
18210         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
18211         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
18212         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
18213         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
18214         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
18215         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
18216         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
18217         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
18218         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
18219         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
18220         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
18221         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
18222         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
18223         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
18224         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
18225         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
18226         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
18228         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
18229         rename.
18230         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18231         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18232         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18233         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18234         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18235         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18236         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18237         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18239 2011-10-24  Andreas Schwab  <schwab@redhat.com>
18241         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
18243 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
18245         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
18247         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
18248         prediction.
18249         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
18251         * string/strnlen.c: Don't define STRNLEN, reverse logic.
18252         Remove unused variable magic_bits.
18253         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
18255         * string/strnlen.c: Define and use STRNLEN macro.
18256         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
18257         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
18258         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
18259         * wcsmbs/wcslen.c: Define and use WCSLEN.
18260         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
18261         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
18262         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
18263         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
18264         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
18265         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
18266         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
18268 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18270         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18271         strnlen-sse2-no-bsf.
18272         Rename strlen-no-bsf to strlen-sse2-no-bsf.
18273         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
18274         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
18275         Add strnlen support.
18276         (USE_AS_STRNLEN): New macro.
18277         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
18278         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
18279         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
18280         * sysdeps/x86_64/wcslen.S: New file.
18282 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
18284         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
18285         XMM-moves are used for copying on small sizes.
18287 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18289         * wcsmbs/Makefile (strop-tests): Add wcschr.
18290         * wcsmbs/test-wcschr.c: New file.
18291         * string/test-strchr.c: Update.
18292         Add wcschr support.
18293         (WIDE): New macro.
18295 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18297         * wcsmbs/Makefile (strop-tests): Add wcslen.
18298         * wcsmbs/test-wcslen.c: New file.
18299         * string/test-strlen.c: Update.
18300         Add wcslen support.
18301         (WIDE): New macro.
18303 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
18305         * po/it.po: Update from translation team.
18307 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18309         * sysdeps/x86_64/wcscmp.S: Update.
18310         Fix wrong comparison semantics.
18311         wcscmp shall use signed comparison not unsigned.
18312         Don't use substraction to avoid overflow bug.
18313         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
18314         * wcsmbc/wcscmp.c: Likewise.
18315         * string/test-strcmp.c: Likewise.
18316         Add new tests to check cases with negative values.
18318 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
18320         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
18321         * sysdeps/x86_64/dla.h: ...here.  New file.
18322         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
18323         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18324         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18325         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18326         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18327         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18328         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18329         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18330         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18332 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
18334         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
18335         __ynl_finite aliases.
18337 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
18339         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18341         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
18342         define DLA_FMA.
18343         [DLA_FMA] (EMULV): Use DLA_FMA.
18344         [DLA_FMA] (MUL12): Use EMULV.
18345         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
18346         that are not needed.
18347         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18348         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18349         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18350         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18351         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18352         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18353         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18355 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
18357         * math/s_nan.c: Undef __nan.
18358         * math/s_nanf.c: Undef __nanf.
18359         * math/s_nanl.c: Undef __nanl.
18360         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
18361         "math_private.h".
18363 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
18365         * math/s_catan.c: Add branch predictions.
18366         * math/s_catanf.c: Likewise.
18367         * math/s_catanh.c: Likewise.
18368         * math/s_catanhf.c: Likewise.
18369         * math/s_catanhl.c: Likewise.
18370         * math/s_catanl.c: Likewise.
18371         * math/s_cexp.c: Likewise.
18372         * math/s_cexpf.c: Likewise.
18373         * math/s_cexpl.c: Likewise.
18374         * math/s_clog.c: Likewise.
18375         * math/s_clog10.c: Likewise.
18376         * math/s_clog10f.c: Likewise.
18377         * math/s_clog10l.c: Likewise.
18378         * math/s_clogf.c: Likewise.
18379         * math/s_clogl.c: Likewise.
18380         * math/s_csqrt.c: Likewise.
18381         * math/s_csqrtf.c: Likewise.
18382         * math/s_csqrtl.c: Likewise.
18383         * math/s_ctanf.c: Likewise.
18384         * math/s_ctanh.c: Likewise.
18385         * math/s_ctanhf.c: Likewise.
18386         * math/s_ctanhl.c: Likewise.
18387         * math/s_ctanl.c: Likewise.
18389         * math/math_private.h: Define __nan, __nanf, __nanl.
18390         * math/s_cacosh.c: Include <math_private.h>.
18391         * math/s_cacoshl.c: Likewise.
18392         * math/s_casinh.c: Likewise.
18393         * math/s_casinhf.c: Likewise.
18394         * math/s_casinhl.c: Likewise.
18395         * math/s_ccos.c: Rely entire on ccosh.
18396         * math/s_ccosf.c: Rely entire on ccoshf.
18397         * math/s_ccosl.c: Rely entirely on ccoshl.
18398         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
18399         Remove tests for FE_INVALID.
18400         * math/s_ccoshf.c: Likewise.
18401         * math/s_ccoshl.c: Likewise.
18402         * math/s_csin.c: Likewise.
18403         * math/s_csinf.c: Likewise.
18404         * math/s_csinh.c Likewise.
18405         * math/s_csinhf.c: Likewise.
18406         * math/s_csinhl.c: Likewise.
18407         * math/s_csinl.c: Likewise.
18408         * math/s_ctan.c: Likewise.
18409         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
18410         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
18411         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
18413 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
18415         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
18416         compilation problems.
18418         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
18419         __builtin_expect.
18421 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
18423         * sysdeps/i386/configure.in: Test for -mfma4 option.
18424         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
18425         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
18426         COMMON_CPUID_INDEX_80000001.
18427         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
18428         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
18429         use it if FMA3 is not supported.
18430         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
18432         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
18433         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
18435 2011-10-20  Andreas Schwab  <schwab@redhat.com>
18437         [BZ #12892]
18438         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
18439         it would create a cycle with a link time dependency.
18441 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
18443         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
18444         instruction.
18445         * string/Makefile (strop-tests): Add rawmemchr.
18446         * string/test-rawmemchr.c: New file.
18448         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
18449         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
18450         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
18451         when compiling str{,n}casecmp and when AVX is available.  Hook up
18452         new optimized code in initializers.
18454 2011-10-19  Andreas Schwab  <schwab@redhat.com>
18456         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
18457         __feraiseexcept instead of feraiseexcept.
18459 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
18461         * math/math_private.h: Define defaults for libc_fetestexcept and
18462         libc_feupdateenv.
18463         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
18464         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
18465         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
18466         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
18467         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
18468         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
18469         libc_fetestexcept and libc_feupdateenv.
18471         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
18472         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
18473         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
18474         * sysdeps/x86_64/fpu/math_private.h: Define special version of
18475         libc_feholdexcept_setround.
18477         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
18478         Add s_nearbyint-c and s_nearbyintf-c.
18479         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
18480         nearbyintf inlines.
18481         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
18482         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
18483         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
18484         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
18486         * math/math_private.h: Define defaults for libc_fegetround,
18487         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
18488         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
18489         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
18490         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
18491         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
18492         standard functions.
18493         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18494         Remove comments and hacks for old compiler versions.
18495         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
18496         libc_fegetround, libc_fesetround, libc_feholdexcept, and
18497         libc_feholdexceptl.
18499 2011-10-18  Andreas Schwab  <schwab@redhat.com>
18501         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
18502         (__feraiseexcept_renamed): Add __NTH.
18503         (feraiseexcept): Add __NTH.  Rename local variables to fix
18504         namespace violations.
18506 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
18508         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
18510         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
18512         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
18513         recently added interfaces.
18514         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
18516         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
18517         about macro parameter expansion.
18519         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
18520         __NO_MATH_INLINES is defined.  Cleanups.
18522         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
18523         and __floorf is target has SSE4.1.
18524         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
18525         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
18526         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
18527         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
18529         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
18530         name.
18531         (floorf): Likewise.
18533         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
18535 2011-10-17  Andreas Schwab  <schwab@redhat.com>
18537         * misc/sys/cdefs.h: Fix last change.
18539         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
18540         database lookup.
18542 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
18544         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
18546         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
18547         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18548         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18549         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18550         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18551         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
18552         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18553         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18554         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
18555         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
18556         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
18557         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
18558         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
18559         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
18560         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
18561         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
18562         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
18563         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
18564         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
18565         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
18566         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
18567         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
18569         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
18570         ceil, ceilf, floor, floorf.
18572         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
18573         Perform IRELATIVE relocations last.
18575         * elf/do-rel.h: Add another parameter nrelative, replacing the
18576         local variable with the same name.  Change name of the function
18577         to end in Rel or Rela (uppercase).
18578         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
18579         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
18580         elf_dynamic_do_##reloc function.
18582 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
18584         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
18585         is sufficient, at least on modern CPUs.
18587         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
18589         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
18590         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
18592         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
18593         __expl_finite.
18594         * math/bits/math-finite.h: Add entries for exp.
18595         * math/e_expl.c: Add __*_finite alias.
18596         * sysdeps/i386/fpu/e_exp.S: Likewise.
18597         * sysdeps/i386/fpu/e_expf.S: Likewise.
18598         * sysdeps/i386/fpu/e_expl.c: Likewise.
18599         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18600         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
18601         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18602         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18603         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
18604         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
18605         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
18607         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
18608         is sufficient, at least on modern CPUs.
18610         * ctype/ctype-info.c (__ctype_init): Define.
18611         * include/ctype.h (__ctype_init): Declare.
18612         (__ctype_b_loc): The variable is always initialized.
18613         (__ctype_toupper_loc): Likewise.
18614         (__ctype_tolower_loc): Likewise.
18615         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
18616         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
18618 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
18620         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
18622         * configure.in: Also look in $cxxmachine/include for C++ system
18623         headers.
18625 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18627         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
18628         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
18629         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
18630         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
18631         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
18632         (USE_AS_WMEMCMP): New macro.
18633         Fixing indents.
18634         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
18635         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
18636         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
18637         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
18638         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18639         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
18640         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
18641         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
18642         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
18643         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
18644         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
18645         (USE_AS_WMEMCMP): New macro.
18646         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
18647         * sysdeps/string/test-memcmp.c: Update.
18648         Fix simple_wmemcmp.
18649         Add new tests.
18650         * wcsmbs/wmemcmp.c: Update.
18651         (WMEMCMP): New macro.
18652         Fix overflow bug.
18654 2011-10-12  Andreas Jaeger  <aj@suse.de>
18656         [BZ #13268]
18657         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
18659 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
18661         * libio/iofwide.c (do_length): Avoid warning.
18663         * ctype/ctype.h (__isctype_f): Add missing __THROW.
18665 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
18667         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
18669         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
18670         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
18671         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
18672         * sysdeps/i386/i686/fpu/e_log.S: New file.
18673         * sysdeps/i386/i686/fpu/e_logf.S: New file.
18674         * sysdeps/i386/i686/fpu/e_logl.S: New file.
18676         * ctype/ctype.h: Add support for inlined isXXX functions when
18677         compiling C++ code.
18679 2011-10-14  Andreas Schwab  <schwab@redhat.com>
18681         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18683         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
18685 2011-10-13  Roland McGrath  <roland@hack.frob.com>
18687         [BZ #13291]
18688         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
18690 2011-10-13  Andreas Schwab  <schwab@redhat.com>
18692         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
18693         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
18694         feraiseexcept.
18696         * sysdeps/x86_64/memrchr.S: Check for zero size.
18698         * string/stratcliff.c: Add memrchr tests.
18700 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18702         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18703         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
18704         rawmemchr-sse2 rawmemchr-sse2-bsf.
18705         * sysdeps/i386/i686/multiarch/memchr.S: New file.
18706         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
18707         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
18708         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
18709         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
18710         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
18711         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
18712         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
18713         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
18714         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
18715         * string/memrchr.c (MEMRCHR): New macro.
18717 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
18719         Add integration with gcc's -ffinite-math-only and optimize wrapper
18720         functions in libm.
18721         * Versions.def: Define GLIBC_2.15 version for libm.
18722         * math/Makefile (headers): Add bits/math-finite.h.
18723         * math/bits/math-finite.h: New file.
18724         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
18725         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
18726         * math/e_acoshl.c: Add __*_finite alias.
18727         * math/e_acosl.c: Likewise.
18728         * math/e_asinl.c: Likewise.
18729         * math/e_atan2l.c: Likewise.
18730         * math/e_atanhl.c: Likewise.
18731         * math/e_coshl.c: Likewise.
18732         * math/e_exp10.c: Likewise.
18733         * math/e_exp10f.c: Likewise.
18734         * math/e_exp10l.c: Likewise.
18735         * math/e_exp2l.c: Likewise.
18736         * math/e_fmodl.c: Likewise.
18737         * math/e_gammal_r.c: Likewise.
18738         * math/e_hypotl.c: Likewise.
18739         * math/e_j0l.c: Likewise.
18740         * math/e_j1l.c: Likewise.
18741         * math/e_jnl.c: Likewise.
18742         * math/e_lgammal_r.c: Likewise.
18743         * math/e_log10l.c: Likewise.
18744         * math/e_log2l.c: Likewise.
18745         * math/e_logl.c: Likewise.
18746         * math/e_powl.c: Likewise.
18747         * math/e_sinhl.c: Likewise.
18748         * math/e_sqrtl.c: Likewise.
18749         * math/e_scalb.c: Completely rewritten and optimized.
18750         * math/e_scalbf.c: Likewise.
18751         * math/e_scalbl.c: Likewise.
18752         * math/w_acos.c: Likewise.
18753         * math/w_acosf.c: Likewise.
18754         * math/w_acosl.c: Likewise.
18755         * math/w_acosh.c: Likewise.
18756         * math/w_acoshf.c: Likewise.
18757         * math/w_acoshl.c: Likewise.
18758         * math/w_asin.c: Likewise.
18759         * math/w_asinf.c: Likewise.
18760         * math/w_asinl.c: Likewise.
18761         * math/w_atan2.c: Likewise.
18762         * math/w_atan2f.c: Likewise.
18763         * math/w_atan2l.c: Likewise.
18764         * math/w_atanh.c: Likewise.
18765         * math/w_atanhf.c: Likewise.
18766         * math/w_atanhl.c: Likewise.
18767         * math/w_exp10.c: Likewise.
18768         * math/w_exp10f.c: Likewise.
18769         * math/w_exp10l.c: Likewise.
18770         * math/w_fmod.c: Likewise.
18771         * math/w_fmodf.c: Likewise.
18772         * math/w_fmodl.c: Likewise.
18773         * math/w_j0.c: Likewise.
18774         * math/w_j0f.c: Likewise.
18775         * math/w_j0l.c: Likewise.
18776         * math/w_j1.c: Likewise.
18777         * math/w_j1f.c: Likewise.
18778         * math/w_j1l.c: Likewise.
18779         * math/w_jn.c: Likewise.
18780         * math/w_jnf.c: Likewise.
18781         * math/w_log.c: Likewise.
18782         * math/w_logf.c: Likewise.
18783         * math/w_logl.c: Likewise.
18784         * math/w_log10.c: Likewise.
18785         * math/w_log10f.c: Likewise.
18786         * math/w_log10l.c: Likewise.
18787         * math/w_log2.c: Likewise.
18788         * math/w_log2f.c: Likewise.
18789         * math/w_log2l.c: Likewise.
18790         * math/w_pow.c: Likewise.
18791         * math/w_powf.c: Likewise.
18792         * math/w_powl.c: Likewise.
18793         * math/w_remainder.c: Likewise.
18794         * math/w_remainderf.c: Likewise.
18795         * math/w_remainderl.c: Likewise.
18796         * math/w_scalb.c: Likewise.
18797         * math/w_scalbf.c: Likewise.
18798         * math/w_scalbl.c: Likewise.
18799         * math/w_sqrt.c: Likewise.
18800         * math/w_sqrtf.c: Likewise.
18801         * math/w_sqrtl.c: Likewise.
18802         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
18803         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
18804         used.
18805         * math/math_private.h: Declare __kernel_standard_f.
18806         * math/w_cosh.c: Remove cruft and optimize a bit.
18807         * math/w_coshf.c: Likewise.
18808         * math/w_coshl.c: Likewise.
18809         * math/w_exp2.c: Likewise.
18810         * math/w_exp2f.c: Likewise.
18811         * math/w_exp2l.c: Likewise.
18812         * math/w_hypot.c: Likewise.
18813         * math/w_hypotf.c: Likewise.
18814         * math/w_hypotl.c: Likewise.
18815         * math/w_lgamma.c: Likewise.
18816         * math/w_lgamma_r.c: Likewise.
18817         * math/w_lgammaf.c: Likewise.
18818         * math/w_lgammaf_r.c: Likewise.
18819         * math/w_lgammal.c: Likewise.
18820         * math/w_lgammal_r.c: Likewise.
18821         * math/w_sinh.c: Likewise.
18822         * math/w_sinhf.c: Likewise.
18823         * math/w_sinhl.c: Likewise.
18824         * math/w_tgamma.c: Likewise.
18825         * math/w_tgammaf.c: Likewise.
18826         * math/w_tgammal.c: Likewise.
18827         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18828         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18829         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
18830         Minor optimizations.  Pretty printing.  Remove cruft.
18831         * sysdeps/i386/fpu/e_acosf.S: Likewise.
18832         * sysdeps/i386/fpu/e_acosh.S: Likewise.
18833         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18834         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18835         * sysdeps/i386/fpu/e_acosl.c: Likewise.
18836         * sysdeps/i386/fpu/e_asin.S: Likewise.
18837         * sysdeps/i386/fpu/e_asinf.S: Likewise.
18838         * sysdeps/i386/fpu/e_atan2.S: Likewise.
18839         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
18840         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
18841         * sysdeps/i386/fpu/e_atanh.S: Likewise.
18842         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18843         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18844         * sysdeps/i386/fpu/e_exp10.S: Likewise.
18845         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
18846         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
18847         * sysdeps/i386/fpu/e_exp2.S: Likewise.
18848         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
18849         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
18850         * sysdeps/i386/fpu/e_fmod.S: Likewise.
18851         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
18852         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
18853         * sysdeps/i386/fpu/e_hypot.S: Likewise.
18854         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
18855         * sysdeps/i386/fpu/e_log.S: Likewise.
18856         * sysdeps/i386/fpu/e_log10.S: Likewise.
18857         * sysdeps/i386/fpu/e_log10f.S: Likewise.
18858         * sysdeps/i386/fpu/e_log10l.S: Likewise.
18859         * sysdeps/i386/fpu/e_log2.S: Likewise.
18860         * sysdeps/i386/fpu/e_log2f.S: Likewise.
18861         * sysdeps/i386/fpu/e_log2l.S: Likewise.
18862         * sysdeps/i386/fpu/e_logf.S: Likewise.
18863         * sysdeps/i386/fpu/e_logl.S: Likewise.
18864         * sysdeps/i386/fpu/e_pow.S: Likewise.
18865         * sysdeps/i386/fpu/e_powf.S: Likewise.
18866         * sysdeps/i386/fpu/e_powl.S: Likewise.
18867         * sysdeps/i386/fpu/e_remainder.S: Likewise.
18868         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
18869         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
18870         * sysdeps/i386/fpu/e_scalb.S: Likewise.
18871         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18872         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18873         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
18874         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
18875         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
18876         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18877         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18878         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18879         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18880         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18881         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18882         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
18883         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18884         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18885         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18886         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18887         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18888         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18889         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18890         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18891         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18892         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18893         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18894         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18895         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18896         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18897         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18898         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18899         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18900         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18901         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18902         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
18903         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18904         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
18905         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18906         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18907         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18908         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18909         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18910         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
18911         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
18912         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
18913         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
18914         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18915         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18916         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18917         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18918         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18919         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
18920         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18921         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18922         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18923         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
18924         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
18925         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
18926         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18927         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18928         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18929         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18930         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18931         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
18932         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
18933         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18934         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18935         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18936         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18937         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18938         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18939         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18940         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18941         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18942         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18943         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18944         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
18945         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18946         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18947         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18948         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18949         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18950         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18951         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18952         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
18953         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18954         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18955         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18956         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18957         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
18958         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
18959         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18960         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18961         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18962         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18963         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
18964         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18965         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18966         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18967         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18968         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18969         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
18970         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18971         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
18972         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
18973         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
18974         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
18975         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
18976         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
18977         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
18978         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
18979         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
18980         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18981         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18982         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18983         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18984         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
18985         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18986         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
18987         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
18988         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
18989         (__isnanf): Likewise.
18990         (__isinf_ns): Likewise.
18991         (__isinf_nsf): Likewise.
18992         (__finite): Likewise.
18993         (__finitef): Likewise.
18994         (__ieee754_sqrt): Define as macro.
18995         (__ieee754_sqrtf): Define as macro.
18996         (__ieee754_sqrtl): Define as macro.
18997         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
18998         inlined copy.
18999         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
19000         __FINITE_MATH_ONLY__ consistent.
19001         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
19003 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
19005         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
19006         of rawmemchr.
19008         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
19010 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
19012         * po/ja.po: Update from translation team.
19014 2011-10-08  Roland McGrath  <roland@hack.frob.com>
19016         * locale/programs/locarchive.c (prepare_address_space): New function.
19017         (create_archive, enlarge_archive, open_archive): Use it.
19019         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
19020         inside [SHARED], where it is used.
19022         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
19024         * nss/getent.c (netgroup_keys): Remove unused variable.
19025         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
19027 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
19029         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
19030         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
19031         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
19032         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
19033         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
19034         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
19035         * math/Makefile (libm-calls): Add s_isinf_ns.
19036         * math/divtc3.c: Use __isinf_nsl instead of isinf.
19037         * math/multc3.c: Likewise.
19038         * math/s_casin.c: Likewise.
19039         * math/s_casinf.c: Likewise.
19040         * math/s_casinl.c: Likewise.
19041         * math/s_ccos.c: Likewise.
19042         * math/s_ccosf.c: Likewise.
19043         * math/s_ccosl.c: Likewise.
19044         * math/s_ctan.c: Likewise.
19045         * math/s_ctanf.c: Likewise.
19046         * math/s_ctanh.c: Likewise.
19047         * math/s_ctanhf.c: Likewise.
19048         * math/s_ctanhl.c: Likewise.
19049         * math/s_ctanl.c: Likewise.
19050         * math/w_fmod.c: Likewise.
19051         * math/w_fmodf.c: Likewise.
19052         * math/w_fmodl.c: Likewise.
19053         * math/w_remainder.c: Likewise.
19054         * math/w_remainderf.c: Likewise.
19055         * math/w_remainderl.c: Likewise.
19056         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
19057         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
19058         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
19059         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
19060         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
19061         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
19062         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
19063         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
19065         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
19066         of the number.
19067         * stdio-common/printf_fphex.c: Likewise.
19068         * stdio-common/printf_size.c: Likewise.
19070         * math/e_exp10.c: Include math_private.h using <...> not "...".
19071         * math/e_exp10f.c: Likewise.
19072         * math/e_exp10l.c: Likewise.
19073         * math/e_exp2l.c: Likewise.
19074         * math/e_j0l.c: Likewise.
19075         * math/e_j1l.c: Likewise.
19076         * math/e_jnl.c: Likewise.
19077         * math/e_lgammal_r.c: Likewise.
19078         * math/e_rem_pio2l.c: Likewise.
19079         * math/e_scalb.c: Likewise.
19080         * math/e_scalbf.c: Likewise.
19081         * math/e_scalbl.c: Likewise.
19082         * math/k_cosl.c: Likewise.
19083         * math/k_sinl.c: Likewise.
19084         * math/k_tanl.c: Likewise.
19085         * math/s_cacoshf.c: Likewise.
19086         * math/s_catan.c: Likewise.
19087         * math/s_catanf.c: Likewise.
19088         * math/s_catanh.c: Likewise.
19089         * math/s_catanhf.c: Likewise.
19090         * math/s_catanhl.c: Likewise.
19091         * math/s_catanl.c: Likewise.
19092         * math/s_ccosh.c: Likewise.
19093         * math/s_ccoshf.c: Likewise.
19094         * math/s_ccoshl.c: Likewise.
19095         * math/s_cexp.c: Likewise.
19096         * math/s_cexpf.c: Likewise.
19097         * math/s_cexpl.c: Likewise.
19098         * math/s_clog.c: Likewise.
19099         * math/s_clog10.c: Likewise.
19100         * math/s_clog10f.c: Likewise.
19101         * math/s_clog10l.c: Likewise.
19102         * math/s_clogf.c: Likewise.
19103         * math/s_clogl.c: Likewise.
19104         * math/s_csin.c: Likewise.
19105         * math/s_csinf.c: Likewise.
19106         * math/s_csinh.c: Likewise.
19107         * math/s_csinhf.c: Likewise.
19108         * math/s_csinhl.c: Likewise.
19109         * math/s_csinl.c: Likewise.
19110         * math/s_csqrt.c: Likewise.
19111         * math/s_csqrtf.c: Likewise.
19112         * math/s_csqrtl.c: Likewise.
19113         * math/s_ctan.c: Likewise.
19114         * math/s_ctanf.c: Likewise.
19115         * math/s_ctanh.c: Likewise.
19116         * math/s_ctanhf.c: Likewise.
19117         * math/s_ctanhl.c: Likewise.
19118         * math/s_ctanl.c: Likewise.
19119         * math/s_ldexp.c: Likewise.
19120         * math/s_ldexpf.c: Likewise.
19121         * math/s_ldexpl.c: Likewise.
19122         * math/s_significand.c: Likewise.
19123         * math/s_significandf.c: Likewise.
19124         * math/s_significandl.c: Likewise.
19125         * math/w_acos.c: Likewise.
19126         * math/w_acosf.c: Likewise.
19127         * math/w_acosh.c: Likewise.
19128         * math/w_acoshf.c: Likewise.
19129         * math/w_acoshl.c: Likewise.
19130         * math/w_acosl.c: Likewise.
19131         * math/w_asin.c: Likewise.
19132         * math/w_asinf.c: Likewise.
19133         * math/w_asinl.c: Likewise.
19134         * math/w_atan2.c: Likewise.
19135         * math/w_atan2f.c: Likewise.
19136         * math/w_atan2l.c: Likewise.
19137         * math/w_atanh.c: Likewise.
19138         * math/w_atanhf.c: Likewise.
19139         * math/w_atanhl.c: Likewise.
19140         * math/w_cosh.c: Likewise.
19141         * math/w_coshf.c: Likewise.
19142         * math/w_coshl.c: Likewise.
19143         * math/w_dremf.c: Likewise.
19144         * math/w_exp10.c: Likewise.
19145         * math/w_exp10f.c: Likewise.
19146         * math/w_exp10l.c: Likewise.
19147         * math/w_exp2.c: Likewise.
19148         * math/w_exp2f.c: Likewise.
19149         * math/w_fmod.c: Likewise.
19150         * math/w_fmodf.c: Likewise.
19151         * math/w_fmodl.c: Likewise.
19152         * math/w_hypot.c: Likewise.
19153         * math/w_hypotf.c: Likewise.
19154         * math/w_hypotl.c: Likewise.
19155         * math/w_j0.c: Likewise.
19156         * math/w_j0f.c: Likewise.
19157         * math/w_j0l.c: Likewise.
19158         * math/w_j1.c: Likewise.
19159         * math/w_j1f.c: Likewise.
19160         * math/w_j1l.c: Likewise.
19161         * math/w_jn.c: Likewise.
19162         * math/w_jnf.c: Likewise.
19163         * math/w_jnl.c: Likewise.
19164         * math/w_lgamma.c: Likewise.
19165         * math/w_lgamma_r.c: Likewise.
19166         * math/w_lgammaf.c: Likewise.
19167         * math/w_lgammaf_r.c: Likewise.
19168         * math/w_lgammal.c: Likewise.
19169         * math/w_lgammal_r.c: Likewise.
19170         * math/w_log.c: Likewise.
19171         * math/w_log10.c: Likewise.
19172         * math/w_log10f.c: Likewise.
19173         * math/w_log10l.c: Likewise.
19174         * math/w_log2.c: Likewise.
19175         * math/w_log2f.c: Likewise.
19176         * math/w_log2l.c: Likewise.
19177         * math/w_logf.c: Likewise.
19178         * math/w_logl.c: Likewise.
19179         * math/w_pow.c: Likewise.
19180         * math/w_powf.c: Likewise.
19181         * math/w_powl.c: Likewise.
19182         * math/w_remainder.c: Likewise.
19183         * math/w_remainderf.c: Likewise.
19184         * math/w_remainderl.c: Likewise.
19185         * math/w_scalb.c: Likewise.
19186         * math/w_scalbf.c: Likewise.
19187         * math/w_scalbl.c: Likewise.
19188         * math/w_sinh.c: Likewise.
19189         * math/w_sinhf.c: Likewise.
19190         * math/w_sinhl.c: Likewise.
19191         * math/w_sqrt.c: Likewise.
19192         * math/w_sqrtf.c: Likewise.
19193         * math/w_sqrtl.c: Likewise.
19194         * math/w_tgamma.c: Likewise.
19195         * math/w_tgammaf.c: Likewise.
19196         * math/w_tgammal.c: Likewise.
19198         * po/ja.po: Update from translation team.
19200 2011-09-29  Andreas Jaeger  <aj@suse.de>
19202         [BZ #13179]
19203         * sunrpc/netname.c (netname2host): Fix logic.
19205         [BZ #6779]
19206         [BZ #6783]
19207         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
19208         correctly.
19209         * math/w_remainder.c (__remainder): Likewise.
19210         * math/w_remainderf.c (__remainderf): Likewise.
19211         * math/libm-test.inc (remainder_test): Add test cases.
19213 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19215         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
19216         sdiv_qrnnd.
19218 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
19220         * string/test-memcmp.c: Avoid unncessary #defines.
19221         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
19223 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19225         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
19226         Use new sse2 version for core i3 - i7 as it's faster
19227         than sse42 version.
19228         (bit_Prefer_PMINUB_for_stringop): New.
19229         * sysdeps/x86_64/rawmemchr.S: Update.
19230         Replace with faster SSE2 version.
19231         * sysdeps/x86_64/memrchr.S: New file.
19232         * sysdeps/x86_64/memchr.S: Update.
19233         Replace with faster SSE2 version.
19235 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
19237         * elf/dl-load.c (lose): Add cast to avoid warning.
19239 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
19241         * po/ca.po: Update from translation team.
19243         * inet/getnetgrent_r.c: Hook up nscd.
19244         * nscd/Makefile (routines): Add nscd_netgroup.
19245         (nscd-modules): Add netgroupcache.
19246         (CFLAGS-netgroupcache.c): Define.
19247         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
19248         (cache_search): Add const to second parameter.
19249         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
19250         INNETGR.
19251         (dbs): Add netgrdb entry.
19252         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
19253         (verify_persistent_db): Handle netgrdb.
19254         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
19255         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
19256         GETFDNETGR.
19257         (netgroup_response_header): Define.
19258         (innetgroup_response_header): Define.
19259         (datahead): Add netgroup_response_header and innetgroup_response_header
19260         elements.
19261         * nscd/nscd.conf: Add entries for netgroup cache.
19262         * nscd/nscd.h (dbtype): Add netgrdb.
19263         (_PATH_NSCD_NETGROUP_DB): Define.
19264         (netgroup_iov_disabled): Declare.
19265         (xmalloc, xcalloc, xrealloc): Move declarations here.
19266         (cache_search): Adjust prototype.
19267         Add netgroup-related prototypes.
19268         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
19269         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
19270         (__nscd_innetgr): Declare.
19271         * nscd/selinux.c (perms): Use access_vector_t as element type and
19272         add netgroup-related initializers.
19273         * nscd/netgroupcache.c: New file.
19274         * nscd/nscd_netgroup.c: New file.
19275         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
19276         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
19277         For four parameters use innetgr.
19278         * nss/nss_files/files-init.c: Add definition and callback for netgr.
19279         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
19280         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
19281         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
19283         * nscd/connections.c (register_traced_file): Don't register file
19284         for disabled databases.
19286 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
19288         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
19290         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
19291         from tree and freeing node.
19293 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
19295         * nss/nsswitch.c (__nss_database_lookup): Handle
19296         nss_parse_service_list out of memory case.
19298 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
19300         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
19301         out of memory case.
19303 2011-10-04  Andreas Schwab  <schwab@redhat.com>
19305         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
19306         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
19307         pass it down.
19308         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
19309         elf_machine_rela, elf_machine_lazy_rel.
19310         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
19311         (ELF_DYNAMIC_DO_REL): Likewise.
19312         (ELF_DYNAMIC_DO_RELA): Likewise.
19313         (ELF_DYNAMIC_RELOCATE): Likewise.
19314         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
19315         to ELF_DYNAMIC_DO_REL.
19316         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
19317         (dl_main): In trace mode always set __RTLD_NOIFUNC.
19318         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
19319         elf_machine_rela.
19320         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
19321         skip_ifunc, don't call ifunc function if non-zero.
19322         (elf_machine_rela): Likewise.
19323         (elf_machine_lazy_rel): Likewise.
19324         (elf_machine_lazy_rela): Likewise.
19325         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
19326         (elf_machine_lazy_rel): Likewise.
19327         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
19328         Likewise.
19329         (elf_machine_lazy_rel): Likewise.
19330         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19331         Likewise.
19332         (elf_machine_lazy_rel): Likewise.
19333         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
19334         (elf_machine_lazy_rel): Likewise.
19335         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
19336         (elf_machine_lazy_rel): Likewise.
19337         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19338         (elf_machine_lazy_rel): Likewise.
19339         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
19340         (elf_machine_lazy_rel): Likewise.
19341         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
19342         (elf_machine_lazy_rel): Likewise.
19343         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19344         (elf_machine_lazy_rel): Likewise.
19346 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
19348         * nss/nss_files/files-init.c (_nss_files_init): Use static
19349         initialization for all the *_traced_file variables.
19351 2011-09-28  Andreas Schwab  <schwab@redhat.com>
19353         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19355 2011-09-27  Roland McGrath  <roland@hack.frob.com>
19357         [BZ #13226]
19358         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
19360 2011-09-27  Andreas Schwab  <schwab@redhat.com>
19362         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
19363         Reread the line before reparsing it.
19365 2011-09-26  Andreas Schwab  <schwab@redhat.com>
19367         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
19369 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
19370             Maxim Kuvyrkov  <maxim@codesourcery.com>
19371             Joseph Myers  <joseph@codesourcery.com>
19373         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
19374         if needed for __stack_chk_guard.
19376 2011-09-19  Roland McGrath  <roland@hack.frob.com>
19378         * sysdeps/posix/spawni.c (script_execute): Always define it.
19379         It will be optimized away if unused.
19380         (maybe_script_execute): New function.
19381         (__spawni): Call it.
19383         * Makerules: Don't include tls.make.
19384         (config-tls): Always set to thread.
19385         * tls.make.c: File removed.
19387 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
19389         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
19390         * config.make.in (CPPFLAGS-config): New substituted variable.
19392 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
19394         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
19396         [BZ #13192]
19397         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
19398         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
19400 2011-09-15  Roland McGrath  <roland@hack.frob.com>
19402         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
19403         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
19404         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
19405         (CALL_FAIL): Likewise.
19406         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
19407         (CALL_FAIL): Macro removed.
19408         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
19410 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
19412         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
19413         for __FINITE_MATH_ONLY__ == 1.
19415 2011-09-15  Andreas Schwab  <schwab@redhat.com>
19417         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
19418         __ieee754_sqrt instead of sqrt.
19419         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
19420         __ieee754_sqrtf instead of sqrtf.
19421         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
19422         __floorf instead of floorf.
19423         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
19424         __floorf, __truncf instead of floorf, truncf.
19426 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
19428         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
19430         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
19431         __extern_always_inline.
19432         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
19433         32-bit.
19435 2011-09-14  Andreas Schwab  <schwab@redhat.com>
19437         * elf/rtld.c (dl_main): Also relocate in dependency order when
19438         doing symbol dependency testing.
19440 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
19442         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19443         Always define `refsym'.
19445 2011-09-13  Andreas Schwab  <schwab@redhat.com>
19447         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
19448         (__FD_ELT): Renamed from __FDELT.
19449         * misc/bits/select2.h (__FD_ELT): Likewise.
19450         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
19451         __FD_MASK instead of __FDELT, __FDMASK.
19452         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
19453         Likewise.
19454         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
19455         Likewise.
19457         * elf/Makefile (gen-ldd): Fix pattern.
19459         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
19460         (init_tls): Likewise.
19462 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
19464         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
19466 2011-09-12  Andreas Schwab  <schwab@redhat.com>
19468         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
19469         `struct cmsghdr *' instead of `void *'.
19470         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
19471         Likewise.
19473 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
19475         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
19476         if non-absolute.
19477         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
19478         ldd_rewrite_script.
19480 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
19482         * configure.in: Remove --with-tls option.
19483         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
19484         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
19485         out in case it is missing.
19486         * sysdeps/ia64/elf/configure.in: Likewise.
19487         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
19488         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
19489         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
19490         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
19491         * sysdeps/sh/elf/configure.in: Likewise.
19492         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
19493         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
19494         * sysdeps/x86_64/elf/configure.in: Likewise.
19495         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
19496         * sysdeps/mach/hurd/tls.h: Likewise.
19498         [BZ #13067]
19499         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
19501         [BZ #13090]
19502         * configure.in: Fix use of AC_INIT.
19504         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
19506 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
19508         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
19509         __set_errno.
19510         * malloc/hooks.c: Likewise.
19512         [BZ #11929]
19513         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
19514         variables statically.
19515         (narenas): Initialize.
19516         (list_lock): Initialize.
19517         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
19518         initializtion of main_arena and list_lock.  Small cleanups.
19519         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
19520         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
19521         Add initializers to main_arena and mp_.
19522         (malloc_state): Remove pagesize member.  Change all users to use
19523         GLRO(dl_pagesize).
19525         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
19526         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
19527         is always initialized.
19529         * malloc/malloc.c: Removed unused configurations and dead code.
19530         * malloc/arena.c: Likewise.
19531         * malloc/hooks.c: Likewise.
19532         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
19534         * include/tls.h: Removed.  USE___THREAD must always be defined.
19535         * bits/libc-tsd.h: Don't handle !USE___THREAD.
19536         * elf/dl-libc.c: Likewise.
19537         * elf/dl-tsd.c: Likewise.
19538         * include/errno.h: Likewise.
19539         * include/netdb.h: Likewise.
19540         * include/resolv.h: Likewise.
19541         * inet/herrno-loc.c: Likewise.
19542         * inet/herrno.c: Likewise.
19543         * malloc/arena.c: Likewise.
19544         * malloc/hooks.c: Likewise.
19545         * malloc/malloc.c: Likewise.
19546         * resolv/res-state.c: Likewise.
19547         * resolv/res_libc.c: Likewise.
19548         * sysdeps/i386/dl-machine.h: Likewise.
19549         * sysdeps/ia64/dl-machine.h: Likewise.
19550         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
19551         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
19552         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
19553         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
19554         * sysdeps/sh/dl-machine.h: Likewise.
19555         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
19556         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
19557         * sysdeps/unix/i386/sysdep.S: Likewise.
19558         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19559         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
19560         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
19561         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19562         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
19563         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19564         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
19565         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19566         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19567         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19568         * sysdeps/unix/x86_64/sysdep.S: Likewise.
19569         * sysdeps/x86_64/dl-machine.h: Likewise.
19570         * tls.make.c: Likewise.
19572         * configure.in: Remove --with-__thread option.  Make tests for
19573         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
19574         tls_model attribute fail if no support is available.  Remove
19575         USE_IN_LIBIO.
19576         * Makeconfig: Adjust for dropped configure option.  All features are
19577         now mandatory.
19578         * Makerules: Likewise.
19579         * Versions.def: Likewise.
19580         * argp/argp-fmtstream.c: Likewise.
19581         * argp/argp-fmtstream.h: Likewise.
19582         * argp/argp-help.c: Likewise.
19583         * assert/assert.c: Likewise.
19584         * config.h.in: Likewise.
19585         * config.make.in: Likewise.
19586         * configure: Likewise.
19587         * configure.in: Likewise.
19588         * csu/Versions: Likewise.
19589         * csu/init.c: Likewise.
19590         * elf/tst-audit2.c: Likewise.
19591         * elf/tst-tls10.c: Likewise.
19592         * elf/tst-tls10.h: Likewise.
19593         * elf/tst-tls11.c: Likewise.
19594         * elf/tst-tls12.c: Likewise.
19595         * elf/tst-tls14.c: Likewise.
19596         * elf/tst-tlsmod11.c: Likewise.
19597         * elf/tst-tlsmod12.c: Likewise.
19598         * elf/tst-tlsmod13.c: Likewise.
19599         * elf/tst-tlsmod13a.c: Likewise.
19600         * elf/tst-tlsmod14a.c: Likewise.
19601         * elf/tst-tlsmod15b.c: Likewise.
19602         * elf/tst-tlsmod16a.c: Likewise.
19603         * elf/tst-tlsmod16b.c: Likewise.
19604         * elf/tst-tlsmod7.c: Likewise.
19605         * elf/tst-tlsmod8.c: Likewise.
19606         * elf/tst-tlsmod9.c: Likewise.
19607         * gmon/gmon.c: Likewise.
19608         * grp/fgetgrent_r.c: Likewise.
19609         * grp/putgrent.c: Likewise.
19610         * hurd/fopenport.c: Likewise.
19611         * include/libc-symbols.h: Likewise.
19612         * include/tls.h: Likewise.
19613         * intl/gettextP.h: Likewise.
19614         * intl/loadinfo.h: Likewise.
19615         * locale/global-locale.c: Likewise.
19616         * locale/localeinfo.h: Likewise.
19617         * mach/devstream.c: Likewise.
19618         * malloc/arena.c: Likewise.
19619         * malloc/set-freeres.c: Likewise.
19620         * misc/err.c: Likewise.
19621         * misc/getttyent.c: Likewise.
19622         * misc/mntent_r.c: Likewise.
19623         * posix/getopt.c: Likewise.
19624         * posix/wordexp.c: Likewise.
19625         * pwd/fgetpwent_r.c: Likewise.
19626         * resolv/Versions: Likewise.
19627         * resolv/res_hconf.c: Likewise.
19628         * shadow/fgetspent_r.c: Likewise.
19629         * shadow/putspent.c: Likewise.
19630         * stdio-common/printf_fphex.c: Likewise.
19631         * stdio-common/tmpfile.c: Likewise.
19632         * stdlib/abort.c: Likewise.
19633         * stdlib/fmtmsg.c: Likewise.
19634         * sunrpc/auth_unix.c: Likewise.
19635         * sunrpc/clnt_perr.c: Likewise.
19636         * sunrpc/clnt_tcp.c: Likewise.
19637         * sunrpc/clnt_udp.c: Likewise.
19638         * sunrpc/clnt_unix.c: Likewise.
19639         * sunrpc/openchild.c: Likewise.
19640         * sunrpc/svc_simple.c: Likewise.
19641         * sunrpc/svc_tcp.c: Likewise.
19642         * sunrpc/svc_udp.c: Likewise.
19643         * sunrpc/svc_unix.c: Likewise.
19644         * sunrpc/xdr.c: Likewise.
19645         * sunrpc/xdr_array.c: Likewise.
19646         * sunrpc/xdr_rec.c: Likewise.
19647         * sunrpc/xdr_ref.c: Likewise.
19648         * sunrpc/xdr_stdio.c: Likewise.
19650 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
19652         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19654 2011-07-03  Andreas Jaeger  <aj@suse.de>
19656         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
19657         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
19658         regenerate with gen-libm-tests.pl.
19660 2010-05-12  Petr Baudis  <pasky@suse.cz>
19662         [BZ #11589]
19663         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
19664         around j0() zero points by switching to j1().
19665         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19666         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19667         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19668         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19670 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
19672         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
19673         instead of 0.
19674         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
19675         instead of 0.
19676         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19677         Patch in part by Pavel Roskin <proski@gnu.org>.
19679         [BZ #13138]
19680         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
19681         realloc.
19682         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
19683         Free memory block if necessary.
19685         [BZ #12847]
19686         * libio/genops.c (INTDEF): For string streams the _lock pointer can
19687         be NULL.  Don't lock in this case.
19689 2011-09-09  Roland McGrath  <roland@hack.frob.com>
19691         * elf/elf.h (ELFOSABI_GNU): New macro.
19692         (ELFOSABI_LINUX): Define to that.
19694 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
19696         * string/strncat.c (strncat): Undef the symbol in case it has been
19697         defined in bits/string.h.
19699 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
19701         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
19703         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
19704         link map.
19706 2011-08-17  Andreas Jaeger  <aj@suse.de>
19708         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
19710 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
19711             Ian Lance Taylor  <iant@google.com>
19713         * math/libm-test.inc (lround_test): New testcase.
19714         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
19716 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
19718         * Makefile: Remove support for automatic cvs check-ins.
19719         * Makerules: Likewise.
19720         * config.make.in: Likewise.
19721         * configure.in: Likewise.
19722         * intl/Makefile: Likewise.
19723         * locale/Makefile: Likewise.
19724         * po/Makefile: Likewise.
19725         * posix/Makefile: Likewise.
19726         * sysdeps/gnu/Makefile: Likewise.
19727         * sysdeps/mach/hurd/Makefile: Likewise.
19728         * sysdeps/sparc/sparc32/Makefile: Likewise.
19730         [BZ #13118]
19731         * posix/Makefile (bug-regex32-ENV): Define.
19732         Patch by John Stanley <jpsinthemix@verizon.net>.
19734         * misc/Makefile (headers): Add bits/select2.h.
19735         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
19736         * misc/bits/select2.h: New file.
19737         * include/bits/select2.h: New file.
19738         * debug/Makefile (routines): Add fdelt_chk.
19739         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
19740         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
19741         FD_ISSET.
19742         * debug/fdelt_chk.c: New file.
19744         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
19745         * wcsmbs/test-wmemcmp.c: Likewise.
19746         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
19747         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
19749 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19751         * string/Makefile (strop-tests): Add memcmp.
19752         * string/test-wmemcmp.c: New file.
19753         * string/test-memcmp.c: Add wmemcmp support.
19755 2011-09-08  Roland McGrath  <roland@hack.frob.com>
19757         [BZ #13153]
19758         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
19759         2011-07-19 change.
19761         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
19762         garbage value in a __mach_port_mod_refs call in the cases of the
19763         task-self and thread-self ports.
19765 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19767         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
19769 2011-09-08  Andreas Schwab  <schwab@redhat.com>
19771         * elf/dl-load.c (lose): Check for non-null L.
19773 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
19775         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
19777         * elf/dl-libc.c (dlerror_run): Pass back error code from
19778         dl_catch_error.
19780         [BZ #13123]
19781         * elf/dl-load.c (lose): Free l_origin if it is valid.
19783         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
19784         names.
19785         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
19786         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19787         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19788         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19789         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
19790         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
19792 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19794         * sysdeps/powerpc/fpu/e_hypot.c: New file.
19795         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
19796         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
19797         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
19798         * sysdeps/powerpc/fpu/k_cosf.c: New file.
19799         * sysdeps/powerpc/fpu/k_sinf.c: New file.
19800         * sysdeps/powerpc/fpu/s_cosf.c: New file.
19801         * sysdeps/powerpc/fpu/s_sinf.c: New file.
19802         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
19803         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
19805 2011-08-15  Alan Modra  <amodra@gmail.com>
19807         [BZ #13092]
19808         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
19809         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
19810         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
19811         ppc_mcount to static-only-routines.
19812         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
19813         __mcount_internal.
19814         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
19815         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
19817 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
19819         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
19820         for finite and infinity parameters.
19822 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
19824         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
19825         and add nop instructions for throughput optimization.
19826         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19828 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
19830         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
19831         aligned copy for power7 with vector-scalar instructions.
19832         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
19834 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
19836         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
19837         AVX check.
19839 2011-09-07  Andreas Schwab  <schwab@redhat.com>
19841         [BZ #13144]
19842         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
19843         last change.
19845 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
19847         * sysdeps/unix/sysv/linux/x86_64/init-first.c
19848         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
19849         syscall wrapper around clock_gettime in __vdso_clock_gettime.
19850         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
19851         clock_gettime.
19853 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
19855         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
19856         Forgot to demangle the pointer.
19858         * sysdeps/i386/sysdep.h: Define atom_text_section.
19859         * sysdeps/x86_64/sysdep.h: Likewise.
19860         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
19861         section with atom_text_section.
19862         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19863         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19864         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
19865         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
19866         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
19868         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
19869         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
19870         already be defined.  Change to take two parameters and don't assign
19871         result to variable.  Adjust all users.
19872         Define INTERNAL_GETTIME if not already defined.
19873         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
19874         call.
19875         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
19876         HAVE_CLOCK_GETTIME_VSYSCALL.
19877         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
19879         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
19880         gettimeofday vsyscall, just use time.
19882 2011-09-06  Andreas Schwab  <schwab@redhat.com>
19884         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
19885         <errno.h>.
19887 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
19889         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
19890         syscall on x86-64.
19891         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
19892         syscall.
19893         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
19894         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
19895         syscall if possible.
19897 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
19899         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
19900         e_ident.  Don't pass to find_mapsXX.
19901         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
19903 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
19905         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19906         strchr-sse2-no-bsf strrchr-sse2-no-bsf
19907         * sysdeps/x86_64/multiarch/strchr.S: Update.
19908         Check bit_slow_BSF bit.
19909         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19910         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
19911         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
19913 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
19915         [BZ #13134]
19916         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
19917         before glibc 2.15.
19918         (tryshell): Define.
19919         (__spawni): Change last parameter to be flag.  Test
19920         SPAWN_XFLAGS_USE_PATH flag to use path or not.
19921         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
19922         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
19923         * posix/spawni.c: Likewise.
19924         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
19925         * posix/spawnp.c: Likewise.  Change normal version to use
19926         SPAWN_XFLAGS_USE_PATH.
19927         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
19928         SPAWN_XFLAGS_TRY_SHELL.
19930         [BZ #13150]
19931         * posix/glob.h: Remove gcc 1.x support.
19933         [BZ #13068]
19934         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
19936 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
19938         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19939         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
19940         strrchr-sse2-bsf
19941         * sysdeps/i386/i686/multiarch/strchr.S: New file.
19942         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
19943         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
19944         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
19945         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
19946         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
19948 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19950         * sysdeps/x86_64/wcscmp.S: New file.
19952         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
19953         wcscmp-c wcscmp-sse2
19954         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
19955         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
19956         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
19957         * wcsmbs/wcscmp.c: Allow renaming.
19959 2011-09-05  David S. Miller  <davem@davemloft.net>
19961         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
19962         stack slot, rather than the struct return pointer slot.
19963         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
19964         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
19965         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
19966         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
19968 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
19970         * po/ja.po: Update from translation team.
19972         [BZ #13144]
19973         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
19974         kernel in 64-bit binaries.
19976 2011-09-01  David S. Miller  <davem@davemloft.net>
19978         * elf/elf.h (HWCAP_SPARC_*): Move to..
19979         * sysdeps/sparc/sysdep.h: this new file and add new values.
19980         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
19981         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
19982         _DL_HWCAP_COUNT to 24.
19983         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19984         entries.
19985         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
19986         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
19987         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
19988         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
19989         instead of magic constants.
19990         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19992 2011-08-31  David S. Miller  <davem@davemloft.net>
19994         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
19995         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
19996         Reimplement to do errno handling inline.
19997         (SYSCALL_ERROR_HANDLER): New macro.
19998         (__SYSCALL_STRING): Do not do errno handling in asm.
19999         (__CLONE_SYSCALL_STRING): Delete.
20000         (__INTERNAL_SYSCALL_STRING): Delete.
20001         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
20002         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
20003         (PSEUDO): Reimplement to do errno handling inline.
20004         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
20005         (SYSCALL_ERROR_HANDLER): New macro.
20006         (__SYSCALL_STRING): Do not do errno handling in asm.
20007         (__CLONE_SYSCALL_STRING): Delete.
20008         (__INTERNAL_SYSCALL_STRING): Delete.
20009         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
20010         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
20011         i386.
20012         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
20013         (inline_syscall*): Add 'err' argument.
20014         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
20015         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
20016         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
20017         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
20019         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
20020         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
20022 2011-08-30  Andreas Schwab  <schwab@redhat.com>
20024         * elf/rtld.c (dl_main): Relocate objects in dependency order.
20026 2011-08-29  Jiri Olsa <jolsa@redhat.com>
20028         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
20029         directive.
20031 2011-08-24  David S. Miller  <davem@davemloft.net>
20033         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
20035 2011-08-24  Andreas Schwab  <schwab@redhat.com>
20037         * elf/Makefile: Add rules to build and run unload8 test.
20038         * elf/unload8.c: New file.
20039         * elf/unload8mod1.c: New file.
20040         * elf/unload8mod1x.c: New file.
20041         * elf/unload8mod2.c: New file.
20042         * elf/unload8mod3.c: New file.
20044         * elf/dl-close.c (_dl_close_worker): Reset private search list if
20045         it wasn't used.
20047 2011-08-23  David S. Miller  <davem@davemloft.net>
20049         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
20050         subtract stack bias.
20051         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
20052         %sp not %fp in calculations.
20053         (_JMPBUF_UNWINDS_ADJ): Likewise.
20055         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
20056         (aio_suspend): Call it to force an exception region around the
20057         AIO_MISC_WAIT() invocation.
20059 2011-08-23  Andreas Schwab  <schwab@redhat.com>
20061         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
20062         backslash.
20064 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
20066         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
20067         protection macro.
20068         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
20069         and <dl-machine.h>.
20070         (Elf64_FuncDesc): Remove.
20072 2011-08-22  David S. Miller  <davem@davemloft.net>
20074         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
20075         sigaltstack check, add missing cfi directives.
20076         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
20077         missing cfi directives, and sigaltstack handling.
20079 2011-08-16  Andreas Schwab  <schwab@redhat.com>
20081         [BZ #11724]
20082         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
20083         object is seen twice.
20084         * elf/dl-fini.c (_dl_sort_fini): Likewise.
20086         * elf/Makefile (distribute): Add tst-initorder2.c.
20087         (tests): Add tst-initorder2.
20088         (modules-names): Add tst-initorder2a tst-initorder2b
20089         tst-initorder2c tst-initorder2d.  Add rules to build them.
20090         ($(objpfx)tst-initorder2.out): New rule.
20091         * elf/tst-initorder2.c: New file.
20092         * elf/tst-initorder2.exp: New file.
20094 2011-08-22  Andreas Schwab  <schwab@redhat.com>
20096         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
20098         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
20099         dependencies back to end of function.
20101         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
20102         $(elfobjdir)/ld.so.
20104 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
20106         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
20107         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
20108         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
20109         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
20110         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
20111         of __vdso_gettimeofday.
20112         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
20113         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
20114         attribute_hidden.
20115         (_libc_vdso_platform_setup): Remove initialization of
20116         __vdso_gettimeofday and __vdso_time.
20118 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
20120         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
20121         and fgetc_unlocked.
20122         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
20123         getc_unlocked.
20125         * elf/dl-open.c (add_to_global): Report additions to the global scope
20126         for LD_DEBUG=scopes.
20127         (dl_open_worker): Also print scope of newly loaded dependencies.
20128         (_dl_show_scope): Indicate if there is no scope.
20130         [BZ #13114]
20131         * stdio-common/Makefile (tests): Add bug24.
20132         * stdio-common/bug24.c: New file.
20134 2011-08-19  Andreas Jaeger  <aj@suse.de>
20136         [BZ #13114]
20137         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
20138         non-existant file when using close-on-exec mode.
20140 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
20142         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
20143         the very first instruction.
20145         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
20146         the CFI state in the end.
20147         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
20148         inclusion of dl-trampoline.h.
20149         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
20151 2011-08-19  Andreas Schwab  <schwab@redhat.com>
20153         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
20154         expectations for long double.
20156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
20157         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
20159 2011-08-14  David S. Miller  <davem@davemloft.net>
20161         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
20162         artificual limit depends upon the system page size.
20164 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
20166         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
20167         * resolv/Makefile: Define CFLAGS-libresolv.
20169 2011-08-17  Andreas Schwab  <schwab@redhat.com>
20171         * nss/makedb.c (compute_tables): Make variables used in nested
20172         function static.
20174 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
20176         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
20177         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
20178         if buffer was too small.
20180         * elf/pldd.c (main): Attach to all threads in the process.
20181         Rewrite /proc handling to use *at functions.
20183 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
20185         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
20186         specifies first scope to show.
20187         (dl_open_worker): Update callers.  Move printing scope of new
20188         object to before the relocation.
20189         * elf/rtld.c (dl_main): Update _dl_show_scope call.
20190         * sysdeps/generic/ldsodefs.h: Update declaration.
20192         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
20193         string for the scope number.
20195 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
20197         * nscd/servicescache.c (cache_addserv): Make sure written is always
20198         initialized.
20200 2011-08-14  Roland McGrath  <roland@hack.frob.com>
20202         * sysdeps/i386/i486/bits/atomic.h
20203         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
20204         statement expression, so as to suppress "set but not used" warning.
20205         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
20207         * string/strncat.c (STRNCAT): Use prototype definition.
20209         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
20210         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
20211         -Iprograms here.
20212         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
20213         (localedef-modules): Add localedef.
20214         (locale-modules): Add locale.
20216         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
20217         * elf/rtld.c (dl_main): Invert order of assignment in last change,
20218         to avoid a warning.
20220 2011-08-14  David S. Miller  <davem@davemloft.net>
20222         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
20223         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
20225 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
20227         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
20228         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
20229         * elf/rtld.c (dl_main): Set l_name of vDSO.
20230         Call _dl_show_scope when DL_DEBUG_SCOPES.
20231         (process_dl_debug): Recognize scopes flag and also set it for all.
20232         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
20233         Declare _dl_show_scope.
20235         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
20236         (do_dlopen): Pass caller_dlopen to dl_open.
20237         (__libc_dlopen_mode): Initialize caller_dlopen.
20239         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
20240         of libc.  Make tolower call locale-independent.  Optimize a bit by
20241         using isdigit instead of isalnum.
20242         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
20244 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
20246         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
20247         was a dependency or dynamically loaded.
20249 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
20251         * intl/l10nflist.c: Allow architecture-specific pop function.
20252         * sysdeps/x86_64/l10nflist.c: New file.
20254         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
20255         classification.
20257 2011-08-10  Andreas Schwab  <schwab@redhat.com>
20259         * include/dirent.h: Add libc_hidden_proto for scandirat and
20260         scandirat64.  Don't declare __scandirat64.
20261         * dirent/scandirat.c: Add libc_hidden_def.
20262         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
20263         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
20265 2011-08-10  David S. Miller  <davem@davemloft.net>
20267         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
20268         enum.
20269         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20270         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20271         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20273 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
20275         * Versions.def [libc]: Add GLIBC_2.15.
20276         * dirent/Makefile (routines): Add scandirat and scandirat64.
20277         * dirent/Versions [libc]: Export scandirat and scandirat64 for
20278         GLIBC_2.15.
20279         * dirent/dirent.h: Declare scandirat and scandirat64.
20280         * dirent/scandirat.c: New file.
20281         * dirent/scandirat64.c: New file.
20282         * sysdeps/wordsize-64/scandirat.c: New file.
20283         * sysdeps/wordsize-64/scandirat64.c: New file.
20284         * dirent/opendir.c: Define opendirat.
20285         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
20286         using scandirat.
20287         * dirent/scandir64.c: Adjust for scandir.c change.
20288         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
20289         __scandirat64, and __scandir_cancel_handler.
20290         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
20291         additional parameter and use openat instead of open (outside of ld.so).
20292         Add new __opendir as wrapper around __opendirat.
20293         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
20294         here without requiring old scandirat implementation.
20296 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
20298         * dirent/scandir.c (cancel_handler): Renamed to
20299         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
20300         defined.  Adjust users.
20301         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
20302         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
20304 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
20306         * string/test-string.h (IMPL): Use __STRING to expand name and then
20307         stringify it.
20309         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
20310         of cleanups.
20312 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20314         * string/Makefile: Update.
20315         (strop-tests): Append strncat.
20316         * string/test-wcscmp.c: New file.
20317         New comprehensive test for wcscmp.
20318         * string/test-strcmp.c: Update.
20319         (WIDE): New define.
20321 2011-07-22  Andreas Schwab  <schwab@redhat.com>
20323         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
20324         line.
20326 2011-07-26  Andreas Schwab  <schwab@redhat.com>
20328         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
20329         encoding to ACE if AI_IDN.
20331 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
20333         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
20334         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
20336 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
20338         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
20339         Fix overflow bug in strncat.
20340         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
20342         * string/test-strncat.c: Update.
20343         Add new tests for checking overflow bugs.
20345 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
20347         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20348         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
20349         * sysdeps/i386/i686/multiarch/strcat.S: New file.
20350         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
20351         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
20352         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
20353         * sysdeps/i386/i686/multiarch/strncat.S: New file.
20354         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
20355         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
20357         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
20358         (USE_AS_STRCAT): Define.
20359         Add strcat and strncat support.
20360         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
20362 2011-07-25  Andreas Schwab  <schwab@redhat.com>
20364         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
20365         __n bigger than INT_MAX+1.
20366         (__strncmp_g): Likewise.
20368 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
20370         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
20371         * libio/stido.h: Likewise.
20373         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
20374         (AF_NFC): Define.
20375         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
20376         (AF_NFC): Define.
20378         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
20379         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20380         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20381         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
20382         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20384         [BZ #13021]
20385         * scripts/test-installation.pl: Don't expect libnss_test1 to be
20386         installed.
20388         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
20389         typo.
20390         (_dl_x86_64_save_sse): Likewise.
20392 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
20394         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
20395         OSXSAVE.
20396         (_dl_x86_64_save_sse): Likewise.
20398         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
20400         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
20402 2011-07-21  Andreas Schwab  <schwab@redhat.com>
20404         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
20405         change.
20406         (_dl_x86_64_save_sse): Use correct AVX check.
20408 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20410         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
20411         bug in strncpy/strncat.
20412         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
20414 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
20416         * string/tester.c (test_strcat): Add tests for different alignments
20417         of source and destination.
20418         (test_strncat): Likewise.
20420 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
20422         [BZ #12852]
20423         * posix/glob.c (glob): Check passed in values before using them in
20424         expressions to avoid some overflows.
20425         (glob_in_dir): Likewise.
20427         [BZ #13007]
20428         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
20429         check for AVX enablement so that we don't crash with old kernels and
20430         new hardware.
20431         * elf/tst-audit4.c: Add same checks here.
20432         * elf/tst-audit6.c: Likewise.
20434         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
20436 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
20438         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
20440 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
20442         * po/cs.po: Update from translation team.
20443         * po/bg.po: Likewise.
20445 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
20447         * misc/sys/cdefs.h: Add support for const attribute.
20448         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
20449         to gnu_dev_{major,minor,makedev} functions.
20451 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
20453         * intl/dcigettext.c (get_output_charset): Add missing bracket.
20455 2011-07-20  Andreas Schwab  <schwab@redhat.com>
20457         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
20458         strlen results.
20460 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20462         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
20463         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
20464         register in order to avoid conflicts with the soft frame pointer
20465         being held in r11 when necessary.
20466         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
20467         (INTERNAL_VSYSCALL_NCS): Likewise.
20469 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
20471         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
20472         * elf/dl-fini.c (_dl_fini): Adjust caller.
20473         * elf/dl-close.c (_dl_close_worker): Likewise.
20474         * sysdeps/generic/ldsodefs.h: Adjust declaration.
20476 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
20478         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
20479         "aux_cache->nlibs < 0".
20481         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
20482         in the reload-count case.
20484 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
20486         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20487         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
20488         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
20489         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
20490         * sysdeps/x86_64/multiarch/strcat.S: New file.
20491         * sysdeps/x86_64/multiarch/strncat.S: New file.
20492         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
20493         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
20494         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
20495         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
20496         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
20497         (USE_AS_STRCAT): Define.
20498         Add strcat and strncat support.
20499         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
20500         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
20501         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
20502         * string/strncat.c: Update.
20503         (USE_AS_STRNCAT): Define.
20504         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20505         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
20506         and i7.
20507         * sysdeps/x86_64/multiarch/init-arch.h
20508         (bit_Prefer_PMINUB_for_stringop): New.
20509         (index_Prefer_PMINUB_for_stringop): Likewise.
20510         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
20511         bit_Prefer_PMINUB_for_stringop.
20513 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
20515         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
20516         buffer64.
20517         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
20518         of casting of buffer.
20519         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
20520         buffer32 and buffer64.
20521         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
20522         writes instead of casting of buffer.
20523         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
20524         buffer32.
20525         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
20526         casting of buffer.
20528 2011-07-19  Andreas Schwab  <schwab@redhat.com>
20530         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
20532 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
20534         * nscd/nscd.c (termination_handler): Don't do anything for a database
20535         if it has not yet been initialized.
20537 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
20539         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
20541 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
20543         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
20545 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
20547         * po/nl.po: Update from translation team.
20548         * po/sv.po: Likewise.
20550 2011-07-16  Roland McGrath  <roland@hack.frob.com>
20552         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
20553         now disallowed by GCC.
20555         * configure.in (use-default-link): Default to yes if a test -shared
20556         link meets our qualifications.
20557         * configure: Regenerated.
20559         * config.make.in (output-format): New variable.
20560         * configure.in: Check for ld --print-output-format support.
20561         * configure: Regenerated.
20562         * Makerules ($(common-objpfx)format.lds)
20563         [$(output-format) != unknown]: Just use $(output-format),
20564         instead of the linker-script munging.
20566 2011-07-14  Roland McGrath  <roland@hack.frob.com>
20568         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
20569         of $(common-objpfx)shlib.lds.
20570         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
20572         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
20573         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
20575         * configure.in (-z relro check): Adjust test code to add a large
20576         writable data section after it.
20577         * configure: Regenerated.
20579 2011-07-11  Roland McGrath  <roland@hack.frob.com>
20581         * configure.in (-z relro check): Fix test code to make the variable
20582         truly const.
20583         * configure: Regenerated.
20585 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
20587         * nscd/nscd.h (struct traced_file): Define.
20588         (struct database_dyn): Remove inotify_descr, reset_res, and filename
20589         elements.  Add traced_files.
20590         (inotify_fd): Declare.
20591         (register_traced_file): Declare.
20592         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
20593         (inotify_fd): Export.
20594         (resolv_conf_descr): Remove.
20595         (nscd_init): Move inotify descriptor creation to main.
20596         Don't register files for notification here.
20597         (register_traced_file): New function.
20598         (invalidate_cache): Don't use reset_res to determine whether to call
20599         res_init, go through the list of registered files.
20600         (main_loop_poll): The inotify descriptors are now stored in the
20601         structures for the traced files.
20602         (main_loop_epoll): Likewise
20603         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
20604         to __nss_disable_nscd.
20605         * nscd/cache.c (prune_cache): There is no single inotify descriptor
20606         for a database anymore.  Check the records for all the registered
20607         files instead.
20608         * nss/Makefile (libnss_files-routines): Add files-init.
20609         (libnss_db-routines): Add db-init.
20610         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
20611         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
20612         * nss/nss_db/db-init.c: New file.
20613         * nss/nss_files/files-init.c: New file.
20614         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
20615         __nss_lookup_function.
20616         (__nss_lookup_function): Call nss_load_library.
20617         (nss_load_all_libraries): New function.
20618         (__nss_disable_nscd): Take parameter with callback function for files
20619         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
20620         used for the cached services.
20621         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
20622         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
20623         options for features to all the files in nscd.
20625         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
20627 2011-07-10  Roland McGrath  <roland@hack.frob.com>
20629         * csu/elf-init.c (__libc_csu_init): Comment typo.
20631 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
20633         * po/pl.po: Update from translation team.
20634         * po/ja.po: Likewise.
20635         * po/ru.po: Likewise.
20636         * po/ko.po: Likewise.
20637         * po/fr.po: Likewise.
20639 2011-07-09  Roland McGrath  <roland@hack.frob.com>
20641         * configure.in (.ctors/.dtors header and trailer check):
20642         Use an empirical test on a built program.
20643         * configure: Regenerated.
20645         * configure.in (-z relro check): Use an empirical test on a built DSO.
20646         Detect, but do not require, on ia64.
20647         * configure: Regenerated.
20649         * configure.in (READELF): Find it with AC_CHECK_TOOL.
20650         Update tests that use readelf to use $READELF instead.
20651         * configure: Regenerated.
20653 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
20655         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
20656         if the result is not used.
20658 2011-07-05  Andreas Jaeger  <aj@suse.de>
20660         [BZ#9696]
20661         * stdlib/tst-strtod.c: Add testcase.
20663 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
20665         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
20666         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
20667         The latter has a higher limit.  Take additional parameter to pass to
20668         the new function.
20669         (__pathconf): Pass file to __statfs_link_max.
20670         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
20671         __statfs_link_max.
20672         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
20673         __statfs_link_max.
20675         [BZ #12868]
20676         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
20677         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20678         Handle Lustre.
20679         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
20680         (__statfs_filesize_max): Likewise.
20681         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
20683 2011-07-05  Andreas Jaeger  <aj@suse.de>
20685         * resolv/res_comp.c (dn_skipname): Remove unused variable.
20687 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
20689         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
20690         `status' variable.
20691         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
20692         Likewise.
20694 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
20696         * Makefile (strop-tests): Add strncat.
20697         * string/test-strncat.c: New file.
20699 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
20701         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
20703 2011-06-21  Andreas Jaeger  <aj@suse.de>
20705         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
20706         Copy rule from iconvdata/Makefile.
20708 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
20710         [BZ #12922]
20711         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
20712         but no long options are defined, just return 'W'.
20714 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
20716         [BZ #9696]
20717         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
20719 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
20721         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
20722         netgroups to read.
20723         (innetgr): Likewise.
20725 2011-07-05  Roland McGrath  <roland@hack.frob.com>
20727         * config.make.in (install_root): Default to $(DESTDIR).
20729 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
20731         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
20733 2011-07-02  Roland McGrath  <roland@hack.frob.com>
20735         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
20737         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
20738         containing directory rather than embedding absolute directory names.
20740         * scripts/check-local-headers.sh: Rewritten using awk.
20741         Match by word, not by line.  Print error messages for matches.
20742         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
20744         * Makerules [shlib-lds-flags empty]:
20745         ($(common-objpfx)libc_pic.opts): New target.
20746         ($(common-objpfx)libc_pic.os.clean): New target.
20747         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
20749         * config.make.in (OBJCOPY): New variable.
20750         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
20751         * configure: Regenerated.
20753         * config.make.in (use-default-link): New variable.
20754         * configure.in (use_default_link): Grok --with-default-link to set it.
20755         * configure: Regenerated.
20756         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
20757         (shlib-lds, shlib-lds-flags): Define to empty.
20759         * Makerules (shlib-lds): New variable.
20760         (shlib-lds-flags): New variable.
20761         (build-shlib, build-moduile, build-module-asneeded): Use it.
20762         ($(common-objpfx)libc.so): Use $(shlib-lds).
20763         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
20764         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
20766         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
20767         DT_FLAGS/DT_FLAGS_1 with zero flags.
20769         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
20770         linker script munging.
20772 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
20774         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
20775         as 128-bit value.
20776         * crypt/sha512.c (sha512_process_block): Perform total addition using
20777         128-bit if possible.
20778         (__sha512_finish_ctx): Likewise.
20779         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
20780         as 64-bit value.
20781         * crypt/sha256.c (SWAP64): Define.
20782         (sha256_process_block): Perform total addition using 64-bit if
20783         possible.
20784         (__sha256_finish_ctx): Likewise.
20786 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
20788         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
20789         * nscd/initgrcache.c (addinitgroupsX): Likewise.
20790         * nscd/hstcache.c (cache_addhst): Likewise.
20791         * nscd/grpcache.c (cache_addgr): Likewise.
20792         * nscd/aicache.c (addhstaiX): Likewise
20793         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
20795 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
20797         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
20798         * nscd/initgrcache.c (addinitgroupsX): Likewise.
20799         * nscd/hstcache.c (cache_addhst): Likewise.
20800         * nscd/grpcache.c (cache_addgr): Likewise.
20801         * nscd/aicache.c (addhstaiX): Likewise
20803 2011-07-01  Andreas Schwab  <schwab@redhat.com>
20805         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
20806         domain only when needed.
20808 2011-06-30  Andreas Schwab  <schwab@redhat.com>
20810         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
20811         is always restored.
20813 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
20815         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
20816         are re-adding the entry.
20817         * nscd/servicescache.c (cache_addserv): Likewise.
20819 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
20821         * sysdeps/generic/dl-irel.h: fix protection against multiple
20822         inclusions.
20823         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
20825 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
20827         [BZ #12935]
20828         * malloc/memusage.sh: Fix quoting in message.
20829         * debug/xtrace.sh: Likewise.
20831         * configure.in: Remove support for --experimental-malloc option, make
20832         it the default.
20833         * config.make.in: Likewise.
20834         * malloc/Makefile: Likewise.
20836 2011-06-27  Andreas Schwab  <schwab@redhat.com>
20838         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
20839         two-byte characters.
20841 2011-06-27  Roland McGrath  <roland@hack.frob.com>
20843         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
20844         AC_CACHE_CHECK invocation.
20845         * configure: Regenerated.
20847         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
20849 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
20851         [BZ #12350]
20852         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
20853         bit from old_res_options.
20855         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
20857         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
20858         value type for setfct.
20860 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
20862         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
20863         __gettimeofday instead of gettimeofday.
20865 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
20867         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
20869 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
20871         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
20873         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
20874         info.
20876 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
20878         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20879         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
20880         strcpy-sse2-unaligned strncpy-sse2-unaligned
20881         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
20882         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
20883         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
20884         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
20885         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
20886         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
20887         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
20888         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
20889         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
20890         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
20891         (STRCPY): Support SSE2 and SSSE3 versions.
20893 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
20895         [BZ #12874]
20896         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
20897         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
20898         kernels which artificially limit size of requests.
20900 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
20902         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20903         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
20904         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
20905         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
20906         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
20907         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
20908         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
20909         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
20910         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
20911         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
20912         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
20913         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
20914         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
20915         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
20916         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
20917         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20918         Enable unaligned load optimization for Intel Core i3, i5 and i7
20919         processors.
20920         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
20921         Define.
20922         (index_Fast_Unaligned_Load): Define.
20923         (HAS_FAST_UNALIGNED_LOAD): Define.
20925 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
20927         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
20929 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
20931         [BZ #12907]
20932         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
20933         until it is clear that the information is realy needed.
20934         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
20936 2011-06-22  Andreas Schwab  <schwab@redhat.com>
20938         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
20940 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
20942         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
20943         /sys/devices/system/cpu/online if it is usable.
20945         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
20946         reading the information from the /proc filesystem to once a second.
20948 2011-06-21  Andreas Jaeger  <aj@suse.de>
20950         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
20951         NULL after inclusion of kernel headers.
20953 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
20955         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
20956         calls to internal_setent.
20958         [BZ #12885]
20959         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
20960         addresses using gethostbyname4_r ignore IPv4 addresses.
20962         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
20963         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
20965         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
20967 2011-06-20  David S. Miller  <davem@davemloft.net>
20969         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
20970         inclusions.
20971         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
20973         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
20974         (elf_irel): Use it.
20975         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
20976         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
20977         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
20978         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
20979         * sysdeps/x86_64/dl-irel.h: Likewise.
20981         * elf/dl-runtime.c: Use elf_ifunc_invoke.
20982         * elf/dl-sym.c: Likewise.
20984 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
20986         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
20987         need to dereference resplen2.
20989 2011-06-14  Andreas Schwab  <schwab@redhat.com>
20991         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
20993 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
20995         * Makeconfig: Define vardbdir and inst_vardbdir.
20996         * nss/Makefile: Add rules to install db-Makefile.
20998         * nss/nss_db/db-XXX.c: Cleanup.
21000         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
21001         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
21002         GLIBC_PRIVATE.
21003         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
21004         * nss/makedb.c: Implement -g option to specify that value strings
21005         are generated and should not be added to table iterated over for
21006         get*ent calls.
21007         * nss/nss_db/db-initgroups.c: New file.
21009         * nss/getent.c: Add support for initgroups lookups through getgrouplist
21010         interface.
21012         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
21013         (internal_getgrouplist): Adjust to name change.
21014         Update use_initgroups_entry if this is not the first call.
21015         * nss/databases.def: Add initgroups entry.
21017         * nss/makedb.c (compute_tables): Check result of multiple hash table
21018         sizes to minimize maximum chain length.
21020 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
21022         * Versions.def: Add entry for libnss_db.
21023         * shlib-versions: Likewise.
21024         * nss/Makefile: Add rules to build libnss_db.
21025         * nss/Versions: Add libnss_db information.  Organize libnss_files
21026         entries better.
21027         * nss/db-Makefile: Add gshadow support.  Change rules for the new
21028         makedb progra.  Some minor improvements to generate smaller files.
21029         * nss/nss_db/nss_db.h: Move NSS database header data structures to
21030         here from...
21031         * nss/makedb.c: ...here.
21032         Improve database format to be smaller and require less memory at
21033         runtime.
21034         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
21035         db anymore.
21036         * nss/nss_db/db-netgrp.c: Likewise.
21037         * nss/nss_db/db-open.c: Likewise.
21038         * nss/nss_files/flies-XXX.x: Adjust comments.
21039         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
21040         * nss/nss_files/files-grp.c: Likewise.
21041         * nss/nss_files/files-hosts.c: Likewise.
21042         * nss/nss_files/files-network.c: Likewise.
21043         * nss/nss_files/files-proto.c: Likewise.
21044         * nss/nss_files/files-pwd.c: Likewise.
21045         * nss/nss_files/files-rpc.c: Likewise.
21046         * nss/nss_files/files-service.c: Likewise.
21047         * nss/nss_files/files-sgrp.c: Likewise.
21048         * nss/nss_files/files-spwd.c: Likewise.
21049         * nss/nss_db/db-alias.c: Removed.
21050         * nss/nss_db/dummy-db.h: Removed.
21052 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
21054         * nss/makedb.c: Rewritten to not use database library.
21055         * nss/Makefile: Update to build new makedb program.
21057 2011-06-14  Andreas Jaeger  <aj@suse.de>
21059         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
21060         memset declaration.
21062 2011-06-10  Andreas Schwab  <schwab@redhat.com>
21064         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
21065         tmpbuf.
21067 2011-06-10  Roland McGrath  <roland@hack.frob.com>
21069         * Makerules (shlib.lds): Fail if the linker script comes out empty.
21070         * elf/Makefile ($(objpfx)ld.so): Likewise.
21072         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
21073         Don't list ld.so twice in dependencies.
21075         * posix/bug-regex31.c: Include <stdlib.h>.
21077         * nscd/hstcache.c (cache_addhst): Remove unused variable.
21079         * nis/nss_compat/compat-spwd.c
21080         (getspent_next_nss_netgr): Remove unused variable.
21081         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
21083         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
21084         nonmembers" output to use the right array.
21086         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
21088         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
21090         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
21091         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
21092         * catgets/gencat.c (read_input_file): Likewise.
21093         * locale/programs/locarchive.c (enlarge_archive): Likewise.
21095         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
21096         variable definition inside #if's controlling its use.
21098         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
21100         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
21102         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
21104         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
21105         unreachable code.
21107         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
21109         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
21110         * configure: Regenerated.
21112         * Makerules: Revert last change.
21113         * elf/Makefile: Likewise.
21115 2011-06-09  Roland McGrath  <roland@hack.frob.com>
21117         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
21118         * elf/Makefile ($(objpfx)librtld.os): Likewise.
21119         (reloc-link): Likewise.
21121 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
21123         * elf/Makefile: Add rules to build pldd.
21124         * elf/pldd.c: New file.
21125         * elf/pldd-xx.c: New file.
21127 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
21129         * version.h: Update for 2.15 development version.
21131 2011-06-07  David S. Miller  <davem@davemloft.net>
21133         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
21134         ifuncs.
21135         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
21136         elf_machine_lazy_rel): Likewise.
21137         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
21138         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
21139         elf_machine_lazy_rel): Likewise.
21140         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
21141         dl_hwcap via passed in argument.
21142         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
21143         Likewise.
21145 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21147         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
21149 2011-06-06  Roland McGrath  <roland@hack.frob.com>
21151         [BZ #12849]
21152         * manual/fdl-1.1.texi: New file, verbatim from:
21153         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
21154         * manual/lgpl-2.1.texi: New file, verbatim from:
21155         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
21156         * manual/Makefile (licenses): New variable, list those new file names.
21157         (texis): Use it.
21158         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
21160         * manual/fdl.texi: File removed.
21161         * manual/lesser.texi: File removed.
21162         * manual/libc.texinfo (Copying, Documentation License):
21163         Use new @include file names, put @appendix directive before @include.
21165 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
21167         [BZ #12841]
21168         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
21169         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
21170         (mq_open): Add __NTH.
21172 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
21174         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21175         Assume Intel Core i3/i5/i7 processor if AVX is available.
21177 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
21179         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
21180         typo.
21182 2011-05-31  Andreas Schwab  <schwab@redhat.com>
21184         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
21185         memory.  Use alloca_account.  Fix memory leak when retrying.
21187 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
21189         * version.h (RELEASE): Bump for 2.14 release.
21190         * include/features.h (__GLIBC_MINOR__): Bump to 14.
21192         * config.make.in (RANLIB): Remove entry.
21194 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
21196         * po/Makefile (po-sed-cmd): Add ksh to extensions.
21197         (libc.pot): Work around missing support for .ksh extension in xgettext.
21199         [BZ #12684]
21200         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
21201         if both request failed.
21202         (send_dg): In case of server errors clear resplen or *resplen2.
21204         [BZ #12454]
21205         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
21206         when there are multiple maps.
21207         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
21208         (_dl_fini): Remove test here.
21210         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
21212 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
21214         [BZ #12350]
21215         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
21216         bit from old_res_options.
21217         (gaih_inet): Likewise.
21219         [BZ #11099]
21220         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
21221         as signed.
21223         * resolv/res_init.c (res_setoptions): Make the code more compact.
21225         [BZ #11558]
21226         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
21227         set RES_USEVC.
21229         [BZ #11634]
21230         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
21232         * malloc/malloc.h: Mark malloc hook variables as deprecated.
21234         [BZ #11781]
21235         * malloc/malloc.h: Declare malloc hook variables as volatile.
21237         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
21238         in last patch.
21240         [BZ #11799]
21241         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
21242         raise in the comment.
21243         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
21244         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
21245         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
21247 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
21249         [BZ #12811]
21250         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
21251         grow the buffers more if it already has to be sufficient.
21252         (build_wcs_upper_buffer): Likewise.
21253         * posix/regexec.c (check_matching): Likewise.
21254         (clean_state_log_if_needed): Likewise.
21255         (extend_buffers): Don't enlarge buffers beyond size of the input
21256         buffer.
21257         Patches mostly by Emil Wojak <emil@wojak.eu>.
21258         * posix/bug-regex32.c: New file.
21259         * posix/Makefile (tests): Add bug-regex32.
21261         * locale/findlocale.c (_nl_find_locale): Return right away if
21262         _nl_explode_name failed.
21263         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
21265         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
21267         * debug/xtrace.sh: Unify messages.
21268         * malloc/memusage.sh: Likewise.
21270         [BZ #12813]
21271         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
21272         time symbol from vDSO.  Substitute with vsyscall if not available.
21273         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
21274         __vdso_time.
21276         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
21277         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
21278         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
21279         Add sendmmsg and internal_sendmmsg.
21280         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
21281         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
21282         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
21284         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
21285         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
21286         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
21288 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
21290         [BZ #12813]
21291         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
21292         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
21293         available.
21294         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
21295         __vdso_getcpu.
21297         [BZ #12814]
21298         * iconvdata/Makefile (tests): Add bug-iconv9.
21299         * iconvdata/bug-iconv9.c: New file.
21301 2011-05-27  Andreas Schwab  <schwab@redhat.com>
21303         [BZ #12814]
21304         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
21306 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
21308         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
21309         (struct user_regs_struct): Change intcs field back to cs.
21311 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
21313         * po/ja.po: Update from translation team.
21315 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
21317         [BZ #12795]
21318         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
21319         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
21321 2011-05-20  Andreas Schwab  <schwab@redhat.com>
21323         * stdlib/longlong.h: Update from GCC.
21325 2011-05-23  Andreas Schwab  <schwab@redhat.com>
21327         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
21328         parameter name.
21329         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
21330         Add parameter name.
21331         (__sysconf): Pass it down.
21333 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
21335         [BZ #12671]
21336         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
21337         some situations.
21338         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
21339         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
21340         add in in __libc_use_alloca calls.  Adjust callers.
21341         (glob): Use malloc in some situations.
21343         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
21344         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
21345         pltexit.
21347 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
21349         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
21350         and CLOCK_BOOTTIME_ALARM.
21352         [BZ #12782]
21353         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
21354         is returned.
21356         * string/_strerror.c (__strerror_r): Print negative errors as signed
21357         numbers.
21359         [BZ #12777]
21360         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
21361         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
21362         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
21364         * configure.in: Fix typo in redirection and correct removal of test
21365         files in two cases.
21367         [BZ #12788]
21368         * locale/setlocale.c (new_composite_name): Fix test to check for
21369         identical name of all categories.
21371         [BZ #12792]
21372         * libio/filedoalloc.c (local_isatty): New function.
21373         (_IO_file_doallocate): Use local_isatty.
21374         * stdio-common/perror.c (perror): In case a new stream is used
21375         forward the stream error.
21376         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
21377         error flag.
21379 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
21381         [BZ #11869]
21382         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
21383         alloca.
21384         * include/alloca.h (extend_alloca_account): Define.
21386         [BZ #11857]
21387         * posix/regex.h: Fix comments with documentation of user-accessible
21388         fields after compilation and describe correct free'ing of pattern
21389         after re_compile_pattern.
21390         Patch by Reuben Thomas <rrt@sc3d.org>.
21392 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
21394         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
21395         and -mno-altivec to prevent the compiler from using Altivec and/or
21396         VSX instructions when the corresponding registers are not available.
21398 2011-05-19  Andreas Schwab  <schwab@redhat.com>
21400         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
21402 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
21404         * libio/freopen.c (freopen): Use __dup2, not dup2.
21405         * libio/freopen64.c (freopen64): Likewise.
21407 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
21409         [BZ #12775]
21410         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
21411         * math/Makefile (tests): Add test-powl.
21412         (CFLAGS-test-powl.c): Define.
21413         * math/test-powl.c: New file.
21415 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
21417         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
21419 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
21421         [BZ #11837]
21422         * iconvdata/gb18030.c: Update to GB18020-2005.
21424 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
21426         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
21427         RE_SYNTAX_POSIX_AWK): Update to match recent development.
21428         Patch by Aharon Robbins <arnold@skeeve.com>.
21430         [BZ #11892]
21431         * stdlib/putenv.c (putenv): Don't always create copy of the variable
21432         on the stack.
21434         [BZ #11895]
21435         * misc/pselect.c (__pselect): Handle timeout value errors hidden
21436         through underflows.
21438         [BZ #12766]
21439         * misc/error.c (error_at_line): Ensure file_name and old_file_name
21440         point to strings before performing equality test for error_one_per_line
21441         mode.
21443         [BZ #11697]
21444         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
21446         [BZ #11820]
21447         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
21448         (struct user_fpregs_struct): Avoid __uint*_t types.
21450         [BZ #6420]
21451         * malloc/mtrace.c (tr_where): Add additional parameter to point to
21452         symbol info.  Use it instead of calling _dl_addr locally.
21453         (lock_and_info): New function.
21454         (tr_freehook): Call lock_and_info and pass symbol info as additional
21455         parameter to tr_where.
21456         (tr_mallochook): Likewise.
21457         (tr_reallochook): Likewise.
21458         (tr_memalignhook): Likewise.
21460         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
21461         used and couldn't be at all thread-safe.
21463 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
21465         * libio/freopen.c (freopen): Don't close old file descriptor
21466         before the new one is opened.  Instead dup the new file descriptor
21467         to the old one after the new stream is created.
21468         * libio/freopen64.c (freopen64): Likewise.
21469         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
21470         * libio/fileops.c (_IO_new_file_close_it): Handle new
21471         _IO_FLAGS2_NOCLOSE flag.
21472         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
21473         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
21474         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
21475         _IO_FLAGS2_NOCLOSE flag.
21476         * include/unistd.h: Add hidden_proto for dup3.
21477         Define __have_dup3.
21478         * io/dup3.c: Define hidden symbol.
21479         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
21481         [BZ #7101]
21482         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
21483         when an incomplete long option is used.
21484         * posix/tst-getopt_long1.c: New file.
21485         * posix/Makefile (tests): Add tst-getopt_long1.
21487         [BZ #10138]
21488         * scripts/config.guess: Update from autoconf-2.68.
21489         * scripts/config.sub: Likewise.
21491         [BZ #10157]
21492         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
21493         tests into ...
21494         (has_cpuclock): ...this.  New function.
21495         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
21496         macro here based on has_cpuclock code.
21498         [BZ #10149]
21499         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21500         First byte (not low byte) is now always NUL.
21501         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
21503         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21504         Use non-cancelable interfaces.
21506         [BZ #9809]
21507         * locale/iso-639.def: Add entry for Sorani.
21509         [BZ #11901]
21510         * include/stdlib.h: Move include protection to the right place.
21511         Define abort_msg_s.  Declare __abort_msg with it.
21512         * stdlib/abort.c (__abort_msg): Adjust type.
21513         * assert/assert.c (__assert_fail_base): New function.  Majority
21514         of code from __assert_fail.  Allocate memory for __abort_msg with
21515         mmap.
21516         (__assert_fail): Now call __assert_fail_base.
21517         * assert/assert-perr.c: Remove bulk of implementation.  Use
21518         __assert_fail_base.
21519         * include/assert.hL Declare __assert_fail_base.
21520         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
21521         mmap.
21522         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
21524 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
21526         [BZ #11952]
21527         [BZ #12453]
21528         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
21529         until all modules are registered in the DTV.
21530         * elf/Makefile: Add rules to build and run tst-tls19.
21531         * elf/tst-tls19.c: New file.
21532         * elf/tst-tls19mod1.c: New file.
21533         * elf/tst-tls19mod2.c: New file.
21534         * elf/tst-tls19mod3.c: New file.
21535         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
21537         [BZ #12083]
21538         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
21539         correctly.
21541         [BZ #12601]
21542         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
21543         two-byte sequence errors.
21544         * iconvdata/Makefile (tests): Add bug-iconv8.
21545         * iconvdata/bug-iconv8.c: New file.
21547         [BZ #12626]
21548         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
21549         buf2 definition.
21551         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
21553         [BZ #12432]
21554         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
21555         (dummy_getcfa): New function.
21556         (init): Get _Unwind_GetCFA address, use dummy if not found.
21557         (backtrace_helper): In recursion check, also check whether CFA changes.
21558         (__backtrace): Completely initialize arg.
21560         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
21561         storing incomplete byte sequence in state object.  Avoid testing for
21562         guaranteed too small input if we know there is enough data available.
21564 2011-05-11  Andreas Schwab  <schwab@redhat.com>
21566         * Makeconfig (+link-pie): Indent.
21567         * Rules (binaries-pie): Define if $(have-fpie) and
21568         $(build-shared).
21569         (binaries-shared): Also filter out $(binaries-pie).
21570         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
21571         * nscd/Makefile (others-pie): Add nscd.
21572         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
21573         ($(objpfx)nscd): Remove command override.
21574         * login/Makefile (others-pie): Add pt_chown.
21575         ($(objpfx)pt_chown): Remove command override.
21576         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
21577         remove command overrides.
21579 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
21581         * libio/tst_putwc.c: Fix error messages.
21583         [BZ #12724]
21584         * libio/fileops.c (_IO_new_file_close_it): Always flush when
21585         currently writing and seek to current position when not.
21586         * libio/Makefile (tests): Add bug-fclose1.
21587         * libio/bug-fclose1.c: New file.
21589 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
21591         [BZ #12511]
21592         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
21593         don't set DF_1_NODELETE here.
21594         (do_lookup_x): When entering new entry test for copy relocation
21595         and if necessary set DF_1_NODELETE flag.
21596         * elf/tst-unique4.cc: New file.
21597         * elf/tst-unique4.h: New file.
21598         * elf/tst-unique4lib.cc: New file.
21599         * elf/Makefile: Add rules to build and run tst-unique4.
21600         Patch by Piotr Bury <pbury@goahead.com>.
21602 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
21604         [BZ #12052]
21605         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
21607         [BZ #12625]
21608         * misc/mntent_r.c (addmntent): Flush the stream after the output
21610         [BZ #12393]
21611         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
21612         (is_trusted_path_normalize): Skip initial colon.  Append slash
21613         to empty buffer.  Duplicate is_trusted_path code but allow
21614         constructed patch to be prefix.
21615         (is_dst): Allow $ORIGIN followed by /.
21616         (_dl_dst_substitute): Correct clearing of check_for_trusted.
21617         Correct testing of result of is_trusted_path_normalize
21618         (decompose_rpath): Fix warning.
21620 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
21622         [BZ #11257]
21623         * grp/initgroups.c (internal_getgrouplist): When we found the service
21624         list through the initgroups entry in nsswitch.conf do not always
21625         continue on a successful lookup.  Don't always use the
21626         __nss_group_database value if it is set.
21627         * nss/nsswitch.conf (initgroups): Change action for successful db
21628         lookup to continue for compatibility.
21630 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
21632         [BZ #11532]
21633         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
21634         and CP774 modules.
21635         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
21636         and CP774 modules.
21637         * iconvdata/tst-tables.sh: Likewise.
21638         * iconvdata/cp770.c: New file.
21639         * iconvdata/cp771.c: New file.
21640         * iconvdata/cp772.c: New file.
21641         * iconvdata/cp773.c: New file.
21642         * iconvdata/cp774.c: New file.
21643         * iconvdata/testdata/CP770: New file.
21644         * iconvdata/testdata/CP770..UTF8: New file.
21645         * iconvdata/testdata/CP771: New file.
21646         * iconvdata/testdata/CP771..UTF8: New file.
21647         * iconvdata/testdata/CP772: New file.
21648         * iconvdata/testdata/CP772..UTF8: New file.
21649         * iconvdata/testdata/CP773: New file.
21650         * iconvdata/testdata/CP773..UTF8: New file.
21651         * iconvdata/testdata/CP774: New file.
21652         * iconvdata/testdata/CP774..UTF8: New file.
21654         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
21655         END CHARMAP line.
21656         * iconvdata/gen-8bit-gap.sh: Likewise.
21657         * iconvdata/gen-8bit.sh: Likewise.
21659         * locale/iso-639.def: Add ary entry.
21661         [BZ #11258]
21662         * locale/C-translit.h.in: Add U20A1 transliteration.
21664         [BZ #12178]
21665         * locale/iso-639.def: Add wae entry.
21666         Patch by Kevin Bortis <bortis@translate-wae.ch>.
21668         [BZ #12545]
21669         * locale/programs/localedef.c (construct_output_path): Use ssize_t
21670         for n.
21672         [BZ #12711]
21673         * locale/C-translit.h.in: Add entry for U20B9.
21674         Patch by pravin.d.s@gmail.com.
21676 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
21678         [BZ #12713]
21679         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
21680         ENAMETOOLONG use generic getcwd.
21681         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
21682         in rtld.  Use *stat64.
21683         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
21684         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
21685         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
21686         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
21687         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
21688         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
21689         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
21690         __fstatat64 macros.
21691         * include/dirent.h: Add libc_hidden_proto for rewinddir.
21692         * dirent/rewinddir.c: Add libc_hidden_def.
21693         * sysdeps/mach/hurd/rewinddir.c: Likewise.
21694         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
21696         * include/dirent.h (__alloc_dir): Add flags parameter.
21697         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
21698         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
21699         __alloc_dir.
21700         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
21701         from fdopendir if O_CLOEXEC is already set.
21703 2011-03-15  Alan Modra  <amodra@gmail.com>
21705         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
21706         l_tls_firstbyte_offset non-zero.  Save padding offset in
21707         l_tls_firstbyte_offset for later use.
21708         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
21709         freeing static tls block.
21711 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
21713         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
21714         where #ifdef was intended.  The intent is to prevent ARG_MAX from
21715         being defined by the kernel headers.
21717 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
21719         [BZ #12734]
21720         * resolv/resolv.h: Define RES_NOTLDQUERY.
21721         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
21722         no-tld-query and set RES_NOTLDQUERY.
21723         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
21724         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
21725         modern BIND to search name as TLD unless forbidden.
21727 2011-05-07  Petr Baudis  <pasky@suse.cz>
21728             Ulrich Drepper  <drepper@gmail.com>
21730         [BZ #12393]
21731         * elf/dl-load.c (fillin_rpath): Move trusted path check...
21732         (is_trusted_path): ...to here.
21733         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
21734         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
21735         using is_trusted_path_normalize() in setuid scripts.
21737 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
21739         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
21740         __BEGIN/__END_DECLS.
21742 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
21744         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
21745         NSS_STATUS_NOTFOUND if no record was found.
21747 2011-05-05  Andreas Schwab  <schwab@redhat.com>
21749         * sunrpc/Makefile (headers): Add rpc/netdb.h.
21750         (headers-not-in-tirpc): Remove rpc/netdb.h
21751         * resolv/netdb.h: Revert last change.
21753 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
21755         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
21756         circular dependency between libgcc.a and libc.a.
21758 2011-05-05  Andreas Schwab  <schwab@redhat.com>
21760         * resolv/netdb.h: Don't include <rpc/netdb.h>.
21761         * nis/Makefile: Don't install rpcsvc/*.
21762         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
21763         instead of <rpc/types.h>.
21764         (MAXHOSTNAMELEN): Define.
21766 2011-05-03  Andreas Schwab  <schwab@redhat.com>
21768         * elf/ldconfig.c (add_dir): Don't crash on empty path.
21770 2011-04-28  Maciej Babinski  <mbabinski@google.com>
21772         [BZ #12714]
21773         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
21774         gethostbyname4_r when IPv6 results are possible.
21776 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
21778         [BZ #12723]
21779         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
21780         _PC_PIPE_BUF handling.
21782 2011-04-30  Bruno Haible  <bruno@clisp.org>
21784         [BZ #12717]
21785         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
21786         * resolv/netdb.h (getnameinfo): Change type of flags parameter
21787         to 'int'.
21788         * inet/getnameinfo.c (getnameinfo): Likewise.
21790 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
21792         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
21793         to groups setting in database lookup.
21794         * nss/nsswitch.conf: Add initgroups entry.
21796 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
21798         [BZ #12685]
21799         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
21800         mode string.
21801         Patch by Eric Blake <eblake@redhat.com>.
21803 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
21805         * sunrpc/Makefile (need-export-routines): Add svc_run.
21806         (routines): Remove svc_run.
21807         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
21808         * sunrpc/clnt_perr.c (clnt_perrno): Export.
21809         * sunrpc/svc_run.c (svc_run): Likewise.
21810         * sunrpc/svc_udp.c (svcudp_create): Likewise.
21812 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
21814         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
21815         problem in reallocation in last patch.
21817 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
21819         * sunrpc/Makefile: Move inclusion of Rules.
21821 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
21823         * nss/nss_files/files-initgroups.c: New file.
21824         * nss/Makefile (libnss_files-routines): Add files-initgroups.
21825         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
21826         _nss_files_initgroups_dyn.
21828 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
21830         * elf/elf.h (R_ARM_IRELATIVE): Define.
21832 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
21834         * po/ru.po: Update from translation team.
21836 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
21838         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
21839         dependencies.
21841 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
21843         [BZ #12653]
21844         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
21845         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
21846         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
21847         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21848         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21850 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
21852         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
21853         differing bytes.
21854         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21855         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21856         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21858 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
21860         [BZ #12420]
21861         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
21862         storing it.
21863         * stdlib/bug-getcontext.c: New file.
21864         * stdlib/Makefile: Add rules to build and run bug-getcontext.
21866 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21868         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
21869         instructions into .machine "z9-109".
21870         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
21871         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
21873 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21875         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
21876         between environment variables and auxiliary vector.
21878 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
21880         * Makefile: Add rules to build linkobj/libc.so.
21881         * include/libc-symbols.h: Define libc_hidden_nolink.
21882         * include/rpc/auth.h: Mark functions which are to be hidden.
21883         * include/rpc/auth_des.h: Likewise.
21884         * include/rpc/auth_unix.h: Likewise.
21885         * include/rpc/clnt.h: Likewise.
21886         * include/rpc/des_crypt.h: Likewise.
21887         * include/rpc/key_prot.h: Likewise.
21888         * include/rpc/pmap_clnt.h: Likewise.
21889         * include/rpc/pmap_prot.h: Likewise.
21890         * include/rpc/pmap_rmt.h: Likewise.
21891         * include/rpc/rpc_msg.h: Likewise.
21892         * include/rpc/svc.h: Likewise.
21893         * include/rpc/svc_auth.h: Likewise.
21894         * include/rpc/xdr.h: Likewise.
21895         * nis/Makefile: Link all DSOs against linkobj/libc.so.
21896         * nss/Makefile: Likewise.
21897         * sunrpc/Makefile: Don't install headers.  Build library with normal
21898         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
21899         * sunrpc/auth_des.c: Hide exported symbols by default, export some
21900         for the compat linking library.  Remove use of INTDEF/INTUSE.
21901         * sunrpc/auth_none.c: Likewise.
21902         * sunrpc/auth_unix.c: Likewise.
21903         * sunrpc/authdes_prot.c: Likewise.
21904         * sunrpc/authuxprot.c: Likewise.
21905         * sunrpc/clnt_gen.c: Likewise.
21906         * sunrpc/clnt_perr.c: Likewise.
21907         * sunrpc/clnt_raw.c: Likewise.
21908         * sunrpc/clnt_simp.c: Likewise.
21909         * sunrpc/clnt_tcp.c: Likewise.
21910         * sunrpc/clnt_udp.c: Likewise.
21911         * sunrpc/clnt_unix.c: Likewise.
21912         * sunrpc/des_crypt.c: Likewise.
21913         * sunrpc/des_soft.c: Likewise.
21914         * sunrpc/get_myaddr.c: Likewise.
21915         * sunrpc/key_call.c: Likewise.
21916         * sunrpc/key_prot.c: Likewise.
21917         * sunrpc/netname.c: Likewise.
21918         * sunrpc/pm_getmaps.c: Likewise.
21919         * sunrpc/pm_getport.c: Likewise.
21920         * sunrpc/pmap_clnt.c: Likewise.
21921         * sunrpc/pmap_prot.c: Likewise.
21922         * sunrpc/pmap_prot2.c: Likewise.
21923         * sunrpc/pmap_rmt.c: Likewise.
21924         * sunrpc/publickey.c: Likewise.
21925         * sunrpc/rpc_cmsg.c: Likewise.
21926         * sunrpc/rpc_common.c: Likewise.
21927         * sunrpc/rpc_dtable.c: Likewise.
21928         * sunrpc/rpc_prot.c: Likewise.
21929         * sunrpc/rpc_thread.c: Likewise.
21930         * sunrpc/rtime.c: Likewise.
21931         * sunrpc/svc.c: Likewise.
21932         * sunrpc/svc_auth.c: Likewise.
21933         * sunrpc/svc_authux.c: Likewise.
21934         * sunrpc/svc_raw.c: Likewise.
21935         * sunrpc/svc_run.c: Likewise.
21936         * sunrpc/svc_simple.c: Likewise.
21937         * sunrpc/svc_tcp.c: Likewise.
21938         * sunrpc/svc_udp.c: Likewise.
21939         * sunrpc/svc_unix.c: Likewise.
21940         * sunrpc/svcauth_des.c: Likewise.
21941         * sunrpc/xcrypt.c: Likewise.
21942         * sunrpc/xdr.c: Likewise.
21943         * sunrpc/xdr_array.c: Likewise.
21944         * sunrpc/xdr_float.c: Likewise.
21945         * sunrpc/xdr_intXX_t.c: Likewise.
21946         * sunrpc/xdr_mem.c: Likewise.
21947         * sunrpc/xdr_rec.c: Likewise.
21948         * sunrpc/xdr_ref.c: Likewise.
21949         * sunrpc/xdr_sizeof.c: Likewise.
21950         * sunrpc/xdr_stdio.c: Likewise.
21952 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
21954         [BZ #12650]
21955         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
21956         * sysdeps/ia64/dl-tls.h: Likewise.
21957         * sysdeps/powerpc/dl-tls.h: Likewise.
21958         * sysdeps/s390/dl-tls.h: Likewise.
21959         * sysdeps/sh/dl-tls.h: Likewise.
21960         * sysdeps/sparc/dl-tls.h: Likewise.
21961         * sysdeps/x86_64/dl-tls.h: Likewise.
21962         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
21964 2011-03-14  Andreas Schwab  <schwab@redhat.com>
21966         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
21967         rpath element also skip the following colon.
21968         (expand_dynamic_string_token): Add is_path parameter and pass
21969         down to DL_DST_REQUIRED and _dl_dst_substitute.
21970         (decompose_rpath): Call expand_dynamic_string_token with
21971         non-zero is_path.  Ignore empty rpaths.
21972         (_dl_map_object_from_fd): Call expand_dynamic_string_token
21973         with zero is_path.
21975 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
21977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
21978         Make cancelable.
21980 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
21982         [BZ #12655]
21983         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
21984         Patch by Filipe David Manana <fdmanana@apache.org>.
21986 2011-04-07  Andreas Schwab  <schwab@redhat.com>
21988         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
21989         Maintain aligned stack.
21990         (CHECK_RSP): Remove unused macro.
21992 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
21994         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
21995         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
21997 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
21999         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
22001         * include/features.h: Mention __USE_XOPEN2K8 in comment.
22003 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
22005         [BZ #12518]
22006         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
22007         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
22008         * sysdeps/x86_64/memmove.c: New file.
22009         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
22010         (memcpy): Renamed to ...
22011         (__new_memcpy): This.
22012         (memcpy): Provide GLIBC_2_14 memcpy.
22013         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
22014         (memcpy): Provide GLIBC_2_2_5 memcpy.
22016 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
22018         [BZ #12631]
22019         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
22021 2011-03-30  Andreas Schwab  <schwab@redhat.com>
22023         * misc/syncfs.c: New file.
22024         * misc/Makefile (routines): Add syncfs.
22025         * posix/unistd.h: Declare syncfs.
22026         * sysdeps/unix/syscalls.list: Add syncfs.
22028 2011-04-01  Andreas Schwab  <schwab@redhat.com>
22030         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
22031         open_by_handle_at.
22032         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
22033         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
22034         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22035         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22036         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22037         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
22038         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22040 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
22042         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
22043         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
22044         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
22045         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22046         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22047         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22048         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22050         * io/Makefile: Compile fallocate.c, fallocate64.c, and
22051         sync_file_range.c with -fexceptions.
22052         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
22053         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
22054         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
22055         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
22056         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
22057         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
22058         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
22059         sync_file_range as cancellation point
22060         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
22061         now a wrapper around __call_sync_file_range with cancellation handling.
22062         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
22063         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
22064         function name to __call_sync_file_range.
22065         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
22066         Add call_sync_file_range.
22068 2011-04-01  Andreas Schwab  <schwab@redhat.com>
22070         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22071         bits/timex.h.
22073 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
22075         * iconv/iconv.h: Fix typo in comment.
22076         * io/fcntl.h: Likewise.
22077         * libio/stdio.h: Likewise.
22078         * posix/spawn.h: Likewise.
22079         * posix/unistd.h: Likewise.
22080         * stdlib/stdlib.h: Likewise.
22081         * time/time.h: Likewise.
22082         * wcsmbs/wchar.h: Likewise.
22084         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
22085         open_by_handle): Add.
22086         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
22087         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
22088         Augment a few comments.
22089         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
22090         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22091         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22092         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22093         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22094         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
22095         open_by_handle.
22097         * io/fcntl.h (AT_EMPTY_PATH): Define.
22099 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
22101         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
22102         * sysdeps/unix/sysv/linux/bits/time.h: New file.
22103         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
22104         to...
22105         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
22106         * Versions.def: Add GLIBC_2.14.
22107         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
22108         Export.
22110 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
22112         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
22113         round counter.
22114         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
22116 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
22118         [BZ #12597]
22119         * string/test-strncmp.c (do_page_test): New function.
22120         (check2): Likewise.
22121         (test_main): Call check2.
22122         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
22124 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
22126         [BZ #12587]
22127         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
22128         Handle cache information in CPU leaf 4.
22129         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
22131 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
22133         [BZ #12583]
22134         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
22135         character representation.
22136         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
22138 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
22140         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
22141         END(__isnan) to END(__isnanf) to match function entry point/label
22142         EALIGN(__isnanf,...).
22144 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
22146         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
22148 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
22150         [BZ #12510]
22151         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
22152         copy from the symbol referenced in the relocation to initialize the
22153         used variable.
22154         Patch by Piotr Bury <pbury@goahead.com>.
22155         * elf/Makefile: Add rules to build and tst-unique3.
22156         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
22157         * elf/tst-unique3.cc: New file.
22158         * elf/tst-unique3.h: New file.
22159         * elf/tst-unique3lib.cc: New file.
22160         * elf/tst-unique3lib2.cc: New file.
22162         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
22164 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
22166         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
22167         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
22168         to _start.
22170 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
22172         * elf/dl-load.c (_dl_map_object): If we are looking for the first
22173         to-be-loaded object along a path to loader is ld.so.
22175 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
22176             Ulrich Drepper  <drepper@gmail.com>
22178         * sysdeps/x86_64/memset.S: After aligning destination, code
22179         branches to different locations depending on the value of
22180         misalignment, when multiarch is enabled. Fix this.
22182 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
22184         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
22185         Set _x86_64_preferred_memory_instruction for AMD processsors.
22186         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22187         Set bit_Prefer_SSE_for_memop for AMD processors.
22189 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
22191         * libio/fmemopen.c (fmemopen): Optimize a bit.
22193 2011-03-03  Andreas Schwab  <schwab@redhat.com>
22195         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
22197 2011-03-03  Roland McGrath  <roland@redhat.com>
22199         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
22201 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
22203         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
22204         __bzero_ultra1 instead of __memset_ultra1.
22206 2011-02-23  Andreas Schwab  <schwab@redhat.com>
22207             Ulrich Drepper  <drepper@gmail.com>
22209         [BZ #12509]
22210         * include/link.h (struct link_map): Add l_orig_initfini.
22211         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
22212         returning unsuccessfully.
22213         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
22214         close of a file loaded at startup, restore the original l_initfini
22215         list.
22216         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
22217         list, store the pointer.
22218         * elf/Makefile ($(objpfx)noload-mem): New rule.
22219         (noload-ENV): Define.
22220         (tests): Add $(objpfx)noload-mem.
22221         * elf/noload.c: Include <memcheck.h>.
22222         (main): Call mtrace.  Close all opened handles.
22224 2011-02-17  Andreas Schwab  <schwab@redhat.com>
22226         [BZ #12454]
22227         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
22228         dependencies are missing.
22230 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22232         Fix __if_freereq crash: Unlike the generic version which uses free,
22233         Hurd needs munmap.
22234         * sysdeps/mach/hurd/ifreq.h: New file.
22236 2011-01-27  Petr Baudis  <pasky@suse.cz>
22237             Ulrich Drepper  <drepper@gmail.com>
22239         [BZ 12445]#
22240         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
22241         to extend_alloca().
22242         * stdio-common/bug23.c: New file.
22243         * stdio-common/Makefile (tests): Add bug23.
22245 2010-09-28  Andreas Schwab  <schwab@redhat.com>
22246             Ulrich Drepper  <drepper@gmail.com>
22248         [BZ #12489]
22249         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
22250         before performing relro protection.  At old place add assertion
22251         to make sure nothing changed.
22253 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
22254             Glauber de Oliveira Costa  <glommer@gmail.com>
22256         * elf/elf.h: Add new ARM TLS relocs.
22258 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
22260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
22261         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
22262         cast from r3.
22263         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
22264         'tests' variable.
22265         * sysdeps/wordsize-64/tst-writev.c: New file.
22267 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
22269         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
22270         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
22271         insns in _dl_start to prevent a TOC reference before relocs are
22272         resolved.
22274 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
22276         [BZ #12469]
22277         * Makeconfig: Remove RANLIB definition.
22278         * Makerules: Don't use RANLIB.
22279         * aclocal.m4: Remove ranlib test.
22280         * configure.in: No need to check for ranlib.
22281         * elf/rtld-Rules: Don't use RANLIB.
22283 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22285         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
22286         protection macro.
22287         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
22288         inclusion protection macro.
22290         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
22291         SIGRTMIN and SIGRTMAX and print information in that case only when
22292         SIGRTMIN is defined.
22294 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
22296         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
22297         arginfo fn returning -1.
22299         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
22300         and thousands string is zero terminated.
22302 2011-02-03  Andreas Schwab  <schwab@redhat.com>
22304         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
22305         sysdeps/unix/sysv/linux/bits/socket.h.
22307 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22309         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
22310         (__CPU_COUNT): Remove old macros.
22311         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
22312         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
22313         (__CPU_ALLOC, __CPU_FREE): Add macros.
22314         (__sched_cpualloc, __sched_cpufree): Add declarations.
22316 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
22318         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
22319         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
22320         * nscd/aicache.c (addhstaiX): Return timeout of added value.
22321         (readdhstai): Return value of addhstaiX call.
22322         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
22323         (addgrbyX): Return value returned by cache_addgr.
22324         (readdgrbyname): Return value returned by addgrbyX.
22325         (readdgrbygid): Likewise.
22326         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
22327         (addpwbyX): Return value returned by cache_addpw.
22328         (readdpwbyname): Return value returned by addhstbyX.
22329         (readdpwbyuid): Likewise.
22330         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
22331         (addservbyX): Return value returned by cache_addserv.
22332         (readdservbyname): Return value returned by addservbyX:
22333         (readdservbyport): Likewise.
22334         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
22335         (addhstbyX): Return value returned by cache_addhst.
22336         (readdhstbyname): Return value returned by addhstbyX.
22337         (readdhstbyaddr): Likewise.
22338         (readdhstbynamev6): Likewise.
22339         (readdhstbyaddrv6): Likewise.
22340         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
22341         (readdinitgroups): Return value returned by addinitgroupsX.
22342         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
22343         (prune_cache): Keep track of timeout value of re-added entries.
22344         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
22345         * nscd/nscd.h: Adjust prototypes of readd* functions.
22347 2011-02-04  Roland McGrath  <roland@redhat.com>
22349         * nis/nis_server.c (nis_servstate): Use the right name for 0.
22350         (nis_stats): Likewise.
22351         * nis/nis_modify.c (nis_modify): Likewise.
22352         * nis/nis_remove.c (nis_remove): Likewise.
22353         * nis/nis_add.c (nis_add): Likewise.
22355         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
22357         * posix/fnmatch_loop.c: Add some consts.
22359         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
22361 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
22363         [BZ #12460]
22364         * config.make.in (config-cflags-novzeroupper): Define.
22365         * configure.in: Substitute libc_cv_cc_novzeroupper.
22366         * elf/Makefile (AVX-CFLAGS): Define.
22367         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
22368         (CFLAGS-tst-auditmod4a.c): Likewise.
22369         (CFLAGS-tst-auditmod4b.c): Likewise.
22370         (CFLAGS-tst-auditmod6b.c): Likewise.
22371         (CFLAGS-tst-auditmod6c.c): Likewise.
22372         (CFLAGS-tst-auditmod7b.c): Likewise.
22373         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
22375 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
22377         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
22378         function to the callback.
22379         Patch partly by Jiri Olsa <jolsa@redhat.com>.
22381 2011-02-02  Andreas Schwab  <schwab@redhat.com>
22383         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
22384         of errno.
22386 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
22388         [BZ #11724]
22389         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
22390         of constructors.
22391         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
22392         of destructors.
22393         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
22395         [BZ #11724]
22396         * elf/Makefile: Add rules to build and run new test.
22397         * elf/tst-initorder.c: New file.
22398         * elf/tst-initorder.exp: New file.
22399         * elf/tst-initordera1.c: New file.
22400         * elf/tst-initordera2.c: New file.
22401         * elf/tst-initordera3.c: New file.
22402         * elf/tst-initordera4.c: New file.
22403         * elf/tst-initorderb1.c: New file.
22404         * elf/tst-initorderb2.c: New file.
22405         * elf/tst-order-a1.c: New file.
22406         * elf/tst-order-a2.c: New file.
22407         * elf/tst-order-a3.c: New file.
22408         * elf/tst-order-a4.c: New file.
22409         * elf/tst-order-b1.c: New file.
22410         * elf/tst-order-b2.c: New file.
22411         * elf/tst-order-main.c: New file.
22412         New test case by George Gensure <werkt0@gmail.com>.
22414 2010-10-01  Andreas Schwab  <schwab@redhat.com>
22416         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
22417         decoding ACE if AI_CANONIDN.
22419 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
22421         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
22423 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
22425         * version.h (RELEASE): Bump for 2.13 release.
22426         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
22428         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
22430         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
22431         MADV_NOHUGEPAGE.
22432         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
22433         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
22434         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22435         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
22436         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22437         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
22439         * posix/getconf.c: Update copyright year.
22440         * catgets/gencat.c: Likewise.
22441         * csu/version.c: Likewise.
22442         * debug/catchsegv.sh: Likewise.
22443         * debug/xtrace.sh: Likewise.
22444         * elf/ldconfig.c: Likewise.
22445         * elf/ldd.bash.in: Likewise.
22446         * elf/sprof.c (print_version): Likewise.
22447         * iconv/iconv_prog.c: Likewise.
22448         * iconv/iconvconfig.c: Likewise.
22449         * locale/programs/locale.c: Likewise.
22450         * locale/programs/localedef.c: Likewise.
22451         * malloc/memusage.sh: Likewise.
22452         * malloc/mtrace.pl: Likewise.
22453         * nscd/nscd.c (print_version): Likewise.
22454         * nss/getent.c: Likewise.
22456         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
22457         PF_CAIF, and PF_ALG.
22458         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22460 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
22462         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
22463         (modules-names): Use them.
22464         (ifunc-test-modules, ifunc-pie-tests): Define.
22465         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
22466         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
22467         (test-extras): Likewise.
22468         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
22469         $(compile-command.c).
22470         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
22471         (all-built-dso): Define.
22472         (check-textrel.out, check-execstack.out): Depend on it.
22474         * configure.in: Don't override --enable-multi-arch.
22476 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
22478         [BZ #6812]
22479         * nscd/hstcache.c (tryagain): Define.
22480         (cache_addhst): Return tryagain not notfound for temporary errors.
22481         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
22482         failed.
22484 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
22486         [BZ #10563]
22487         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
22488         to make the syscall.
22489         * sysdeps/unix/sysv/linux/setgroups.c: New file.
22491         [BZ #12378]
22492         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
22493         and fall back to matching as normal character if the string ends before
22494         the matching ']' is found.  This is what POSIX requires.
22495         * posix/testfnm.c: Adjust test result.
22496         * posix/globtest.sh: Adjust test result.  Add new test.
22497         * posix/tst-fnmatch.input: Likewise.
22498         * posix/tst-fnmatch2.c: Add new test.
22500 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
22502         * elf/Makefile (check-execstack): Revert last change.  Depend on
22503         check-execstack.h.
22504         (check-execstack.h): New target.
22505         (generated): Add check-execstack.h.
22506         * elf/check-execstack.c: Include "check-execstack.h".
22507         (main): Revert last change.
22508         (handle_file): Return zero if GNU_STACK is absent and
22509         DEFAULT_STACK_PERMS doesn't include PF_X.
22511 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
22513         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
22514         in child fails because the descriptor is already closed.
22515         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
22516         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
22517         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
22519         [BZ #12397]
22520         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
22521         syscall.
22523         [BZ #10484]
22524         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
22525         temporary buffer used to handle multi lookups locally.
22526         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
22528 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
22530         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
22531         loader is ld.so.
22533 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
22535         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
22536         alignment for SSE2.
22538 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
22540         [BZ #12394]
22541         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
22542         characters.  When rounding increased number of integer digits recompute
22543         number of groups.
22544         * stdio-common/tst-grouping.c: New file.
22545         * stdio-common/Makefile: Add rules to build and run tst-grouping.
22547 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
22549         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
22550         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
22552         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
22553         void.
22554         * bits/select.h: Likewise.
22556 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
22558         * po/ja.po: Update from translation team.
22560 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
22562         [BZ #11155]
22563         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
22564         implementation just like for lxstat, fxstatat, et al.
22566 2010-12-27  Jim Meyering  <meyering@redhat.com>
22568         [BZ #12348]
22569         * posix/regexec.c (build_trtable): Return failure indication upon
22570         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
22572 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
22574         [BZ #12201]
22575         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
22576         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
22577         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
22578         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
22580         [BZ #12207]
22581         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
22583         [BZ #12204]
22584         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
22585         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
22587 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
22589         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
22590         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
22591         script has SORT_BY_INIT_PRIORITY.
22592         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
22593         NO_CTORS_DTORS_SECTIONS is defined.
22594         * elf/soinit.c: Likewise.
22595         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
22596         NO_CTORS_DTORS_SECTIONS is defined.
22597         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
22598         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
22599         * sysdeps/sh/init-first.c: Likewise.
22600         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
22602 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
22604         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
22605         always use the slow path.
22607 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
22609         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
22610         similar rule which adds the sysdep directories to the header search in
22611         order to pick up the correct platform stackinfo.h.
22612         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
22613         perform test if it is, otherwise return successfully without testing.
22614         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
22615         DEFAULT_STACK_PERMS define in stackinfo.h.
22616         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
22617         defined in stackinfo.h.
22618         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
22619         DEFAULT_STACK_PERMS defined in stackinfo.h.
22620         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
22621         * sysdeps/ia64/stackinfo.h: Likewise.
22622         * sysdeps/s390/stackinfo.h: Likewise.
22623         * sysdeps/sh/stackinfo.h: Likewise.
22624         * sysdeps/sparc/stackinfo.h: Likewise.
22625         * sysdeps/x86_64/stackinfo.h: Likewise.
22626         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
22627         PF_X for powerpc64.  Retain PF_X for powerpc32.
22629 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
22631         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
22632         accurately.
22633         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
22634         GETDENTS_64BIT_ALIGNED.
22636 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
22638         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
22640 2010-12-10  Andreas Schwab  <schwab@redhat.com>
22642         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
22643         _GNU_SOURCE.
22645         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
22646         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
22647         Remove __restrict.
22648         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
22649         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
22651 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
22653         [BZ #11655]
22654         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
22655         are initialized.
22657 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
22659         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
22661 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
22663         * po/it.po: Update from translation team.
22665 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
22667         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
22668         unused codes.
22670 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
22672         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
22674 2010-11-24  Andreas Schwab  <schwab@redhat.com>
22676         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
22677         specially.
22678         (gaih_getanswer_slice): Likewise.
22680 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
22682         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
22684 2010-05-31  Petr Baudis  <pasky@suse.cz>
22686         [BZ #11149]
22687         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
22688         silently even in the chroot mode.
22690 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
22692         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
22693         last patch a bit.  Pretty printing
22695 2010-05-31  Petr Baudis <pasky@suse.cz>
22697         [BZ #10085]
22698         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
22699         initialization of skip_initgroups_dyn.
22701 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
22703         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
22704         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
22706 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
22708         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
22710 2010-11-11  Andreas Schwab  <schwab@redhat.com>
22712         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
22713         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
22714         (tst-fnmatch-ENV): Set MALLOC_TRACE.
22715         ($(objpfx)tst-fnmatch-mem): New rule.
22716         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
22717         * posix/tst-fnmatch.c (main): Call mtrace.
22719 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
22721         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22722         Support Intel processor model 6 and model 0x2c.
22724 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
22726         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
22727           signed comparison.
22729 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
22731         [BZ #12205]
22732         * string/test-strncasecmp.c (check_result): New function.
22733         (do_one_test): Use it.
22734         (check1): New function.
22735         (test_main): Use it.
22736         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
22737         Support strcasecmp and strncasecmp.
22739 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
22741         [BZ #12194]
22742         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
22743         * sysdeps/x86_64/bits/byteswap.h: Likewise.
22745 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
22747         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
22748         IFUNC support.
22749         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22750         memset-x86-64.
22751         * sysdeps/x86_64/multiarch/bzero.S: New file.
22752         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
22753         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
22754         * sysdeps/x86_64/multiarch/memset.S: New file.
22755         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
22756         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22757         Set bit_Prefer_SSE_for_memop for Intel processors.
22758         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
22759         Define.
22760         (index_Prefer_SSE_for_memop): Define.
22761         (HAS_PREFER_SSE_FOR_MEMOP): Define.
22763 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
22765         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
22766         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
22768 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
22770         [BZ #12191]
22771         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
22772         (__x86_64_raw_data_cache_size_half): Likewise.
22773         (__x86_64_raw_shared_cache_size): Likewise.
22774         (__x86_64_raw_shared_cache_size_half): Likewise.
22776         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
22777         (__x86_64_raw_data_cache_size_half): Likewise.
22778         (__x86_64_raw_shared_cache_size): Likewise.
22779         (__x86_64_raw_shared_cache_size_half): Likewise.
22780         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
22781         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
22782         and __x86_64_raw_shared_cache_size_half.  Round
22783         __x86_64_data_cache_size_half, __x86_64_data_cache_size
22784         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
22785         to multiple of 256 bytes.
22787 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
22789         [BZ #12167]
22790         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
22791         of inacessible symlinks.  Verify result of symlink before returning it.
22792         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
22793         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
22795 2010-10-28  Erich Ritz  <erichritz@gmail.com>
22797         * math/math.h (isinf): Fix typo in comment.
22799 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
22801         * po/da.po: Update from translation team.
22803 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
22805         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
22806         is added to the list.
22808 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22809             Ulrich Drepper  <drepper@gmail.com>
22811         * elf/dl-object.c (_dl_new_object): Don't append the new object to
22812         the global list here.  Move code to...
22813         (_dl_add_to_namespace_list): ...here.  New function.
22814         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
22815         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
22816         * elf/dl-load.c (lose): Don't remove the element from the list.
22817         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
22818         (_dl_map_object): Likewise.
22820 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
22822         [BZ #12159]
22823         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
22824         into all bytes of SSE register.
22825         Patch by Richard Li <richardpku@gmail.com>.
22827 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
22829         [BZ #12140]
22830         * malloc/malloc.c (_int_free): Fill correct number of bytes when
22831         perturbing.
22833 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
22835         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
22836         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
22837         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
22838         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
22839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
22840         submachine.
22841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
22843 2010-10-22  Andreas Schwab  <schwab@redhat.com>
22845         * include/dlfcn.h (__RTLD_SECURE): Define.
22846         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
22847         mode & __RTLD_SECURE instead.
22848         (open_path): Rename preloaded parameter to secure.
22849         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
22850         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
22851         * elf/dl-deps.c (openaux): Likewise.
22852         * elf/rtld.c (struct map_args): Remove is_preloaded.
22853         (map_doit): Don't use it.
22854         (dl_main): Likewise.
22855         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
22856         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
22858 2010-09-09  Andreas Schwab  <schwab@redhat.com>
22860         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
22861         (sysd-rules-targets): Remove duplicates.
22862         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
22863         rtld-%.$o dependency.
22865 2010-10-18  Andreas Schwab  <schwab@redhat.com>
22867         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
22868         _dl_map_object do it.
22870 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
22872         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
22873         fast fma builtins, define the macros in the C99 standard.
22874         (FP_FAST_FMAF): Likewise.
22875         (FP_FAST_FMAL): Likewise.
22876         * sysdeps/x86_64/bits/mathdef.h: Likewise.
22878         * bits/mathdef.h: Update copyright year.
22879         * sysdeps/powerpc/bits/mathdef.h: Likewise.
22881 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
22883         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
22884         builtins, define the macros in the C99 standard.
22885         (FP_FAST_FMAF): Likewise.
22886         (FP_FAST_FMAL): Likewise.
22887         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
22888         multiply/add.
22889         (FP_FAST_FMAF): Likewise.
22891 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
22893         [BZ #3268]
22894         * math/libm-test.inc (fma_test): Some new testcases.
22895         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
22896         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
22897         y and infinite z.  Do multiplication by C already in long double.
22898         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
22899         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
22900         y and infinite z.  Do bitwise or of inexact bit into u.d.
22901         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
22902         * sysdeps/i386/fpu/s_fmaf.S: Removed.
22903         * sysdeps/i386/fpu/s_fma.S: Removed.
22904         * sysdeps/i386/fpu/s_fmal.S: Removed.
22906 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
22908         [BZ #3268]
22909         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
22910         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
22911         computation is not scheduled after fetestexcept.  Fix value
22912         of minimum denormal long double.
22914 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
22916         [BZ #3268]
22917         * math/libm-test.inc (fma_test): Add some more tests.
22918         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
22919         correctly.
22921 2010-10-15  Andreas Schwab  <schwab@redhat.com>
22923         * scripts/data/localplt-s390-linux-gnu.data: New file.
22924         * scripts/data/localplt-s390x-linux-gnu.data: New file.
22926 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
22928         [BZ #3268]
22929         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
22930         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
22931         instead of dbl-64.
22932         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
22933         inlines.
22934         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
22935         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
22936         if one of x and y is very large and the other is subnormal.
22937         * sysdeps/s390/fpu/s_fmaf.c: New file.
22938         * sysdeps/s390/fpu/s_fma.c: New file.
22939         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
22940         * sysdeps/powerpc/fpu/s_fma.S: New file.
22941         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
22942         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
22943         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
22945 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
22947         [BZ #3268]
22948         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
22949         fma tests.
22950         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
22951         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
22952         * sysdeps/i386/i686/multiarch/s_fma.c: Include
22953         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
22954         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
22955         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
22956         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
22958 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
22960         [BZ #12078]
22961         * posix/regcomp.c (parse_branch): One more memory leak plugged.
22962         * posix/bug-regex31.input: Add test case.
22964 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
22966         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
22967         * posix/bug-regex31.input: New file.
22969         [BZ #12078]
22970         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
22971         (parse_sub_exp): Fix last change, use postorder.
22973         * posix/bug-regex31.c: New file.
22974         * posix/Makefile: Add rules to build and run bug-regex31.
22976         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
22978         [BZ #12078]
22979         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
22981         [BZ #12108]
22982         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
22983         to have entries in sys_siglist.
22985         [BZ #12093]
22986         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
22987         be NULL.
22989 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
22991         [BZ #3268]
22992         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
22993         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
22994         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
22995         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
22996         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22997         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
22998         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
22999         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
23000         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
23001         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
23002         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
23003         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
23004         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
23005         * math/ftestexcept.c (fetestexcept): Likewise.
23006         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
23007         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
23008         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
23009         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
23010         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
23011         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
23012         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
23014 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
23016         [BZ #12107]
23017         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
23018         newline.
23020 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
23022         * string/bug-strstr1.c: New file.
23023         * string/Makefile: Add rules to build and run bug-strstr1.
23025 2010-10-05  Eric Blake  <eblake@redhat.com>
23027         [BZ #12092]
23028         * string/str-two-way.h (two_way_long_needle): Always clear memory
23029         when skipping input due to the shift table.
23031 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
23033         [BZ #12005]
23034         * malloc/mcheck.c: Handle large requests.
23036         [BZ #12077]
23037         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
23038         for strncmp and strncasecmp.
23039         * string/stratcliff.c: Add tests for strcmp and strncmp.
23040         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
23042 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
23044         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
23045         __set_fpscr.
23047 2010-09-30  Andreas Jaeger  <aj@suse.de>
23049         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
23050         (CGROUP_SUPER_MAGIC): Define.
23051         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23052         Handle btrfs and cgroup file systems.
23053         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
23054         Likewise.
23056 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
23058         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
23059         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
23061 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23063         [BZ #12067]
23064         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
23065         trying to locate the ELF header.
23067 2010-09-27  Andreas Schwab  <schwab@redhat.com>
23069         [BZ #11611]
23070         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
23071         Mask out sign-bit copies when constructing f_fsid.
23073 2010-09-24  Petr Baudis <pasky@suse.cz>
23075         * debug/stack_chk_fail_local.c: Add missing licence exception.
23076         * debug/warning-nop.c: Likewise.
23078 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
23080         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
23081         implementing getdents64 using getdents syscall, set d_type if
23082         __ASSUME_GETDENTS32_D_TYPE.
23084 2010-09-16  Andreas Schwab  <schwab@redhat.com>
23086         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
23087         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
23089 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
23091         [BZ #12037]
23092         * posix/unistd.h: Undo change of feature selection for ftruncate from
23093         2010-01-11.
23095 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
23097         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
23098         detection.
23100 2010-09-20  Andreas Schwab  <schwab@redhat.com>
23102         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
23103         fanotify_mark.
23104         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
23106 2010-09-14  Andreas Schwab  <schwab@redhat.com>
23108         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
23109         variables after CHECK_SP call.
23110         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
23112 2010-09-13  Andreas Schwab  <schwab@redhat.com>
23113             Ulrich Drepper  <drepper@redhat.com>
23115         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
23116         re-relocationg ld.so.
23117         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
23118         _dl_init_paths call.
23119         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
23120         here anymore.
23122 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
23124         * resolv/res_init.c (__res_vinit): Count the default server we added.
23126 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
23127             Ulrich Drepper  <drepper@redhat.com>
23129         [BZ #11968]
23130         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
23131         (____longjmp_chk): Use %ebx for saving value across system call.
23132         Add unwind info.
23134 2010-09-06  Andreas Schwab  <schwab@redhat.com>
23136         * manual/Makefile: Don't mix pattern rules with normal rules.
23138 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
23140         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
23141         operation.
23142         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
23143         * libio/iofopncook.c (_IO_cookie_init): Likewise.
23144         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
23145         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
23146         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23147         Likewise.
23149 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
23151         [BZ #11979]
23152         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
23153         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
23155 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
23157         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
23158         * sysdeps/x86_64/addmul_1.S: Likewise.
23159         * sysdeps/x86_64/lshift.S: Likewise.
23160         * sysdeps/x86_64/mul_1.S: Likewise.
23161         * sysdeps/x86_64/rshift.S: Likewise.
23162         * sysdeps/x86_64/sub_n.S: Likewise.
23163         * sysdeps/x86_64/submul_1.S: Likewise.
23165 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23167         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
23168         Define __sched_param instead of SCHED_* and sched_param when
23169         <bits/sched.h> is included with __need_schedparam defined.
23170         * bits/sched.h [__need_schedparam]
23171         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
23172         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
23173         (__defined_schedparam): Define to 1.
23174         (__sched_param): New structure, identical to sched_param.
23175         (__need_schedparam): Undefine.
23177 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
23179         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
23180         (epoll_create1): Declare.
23182         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
23184 2010-08-31  Andreas Schwab  <schwab@redhat.com>
23186         [BZ #7066]
23187         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
23188         shifting retval into place.
23190 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
23192         * nis/rpcsvc/nis.h: Update copyright notice.
23193         * nis/rpcsvc/nis.x: Likewise.
23194         * nis/rpcsvc/nis_callback.h: Likewise.
23195         * nis/rpcsvc/nis_callback.x: Likewise.
23196         * nis/rpcsvc/nis_object.x: Likewise.
23197         * nis/rpcsvc/nis_tags.h: Likewise.
23198         * nis/rpcsvc/yp.h: Likewise.
23199         * nis/rpcsvc/yp.x: Likewise.
23200         * nis/rpcsvc/ypupd.h: Likewise.
23201         * nis/yp_xdr.c: Likewise.
23202         * nis/ypupdate_xdr.c: Likewise.
23204         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
23205         mainly the body of pmap_getport.  Add parameters to specify timeouts.
23206         (pmap_getport): Use __libc_rpc_getport.
23207         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
23208         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
23209         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
23211 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
23213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
23214         fanotify_mark.
23216 2010-08-27  Roland McGrath  <roland@redhat.com>
23218         * sysdeps/i386/i686/multiarch/Makefile
23219         (CFLAGS-varshift.c): New variable.
23221 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
23223         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
23224         * sysdeps/i386/i686/multiarch/varshift.c: New file.
23226         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
23228         * sysdeps/x86_64/strlen.S: Minimal code improvement.
23230 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
23232         * sysdeps/x86_64/strlen.S: Unroll the loop.
23233         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23234         strlen-sse2 strlen-sse2-bsf.
23235         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
23236         __strlen_no_bsf if bit_Slow_BSF is set.
23237         (__strlen_sse42): Removed.
23238         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
23239         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
23241 2010-08-25  Roland McGrath  <roland@redhat.com>
23243         * sysdeps/x86_64/multiarch/varshift.S: File removed.
23244         * sysdeps/x86_64/multiarch/varshift.c: New file.
23245         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
23246         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
23247         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
23248         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23250 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
23252         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23253         strlen-sse2 strlen-sse2-bsf.
23254         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
23255         __strlen_sse2_bsf if bit_Slow_BSF is unset.
23256         (__strlen_sse2): Removed.
23257         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
23258         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
23259         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
23260         bit_Slow_BSF for Atom.
23261         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
23262         (index_Slow_BSF): Define.
23263         (HAS_SLOW_BSF): Define.
23265 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
23267         [BZ #10851]
23268         * resolv/res_init.c (__res_vinit): When no server address at all
23269         is given default to loopback.
23271 2010-08-24  Roland McGrath  <roland@redhat.com>
23273         * configure.in: Remove config-name.h generation.
23274         * configure: Regenerated.
23275         * config-name.in: File removed.
23276         * scripts/config-uname.sh: New file.
23277         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
23278         ($(objdir)config-name.h): New target.
23280         * sunrpc/rpc_parse.h: Avoid nested comment.
23282 2010-08-24  Richard Henderson  <rth@redhat.com>
23283             Ulrich Drepper  <drepper@redhat.com>
23284             H.J. Lu  <hongjiu.lu@intel.com>
23286         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
23287         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
23288         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
23289         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
23290         _mm_alignr_epi8 with _mm_loadu_si128.
23291         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
23292         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
23293         (__m128i_shift_right): Removed.
23294         * sysdeps/i386/i686/multiarch/varshift.h: New file.
23295         * sysdeps/i386/i686/multiarch/varshift.S: New file.
23296         * sysdeps/x86_64/multiarch/varshift.h: New file.
23297         * sysdeps/x86_64/multiarch/varshift.S: New file.
23299 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
23301         * configure.in: Move assembler checks to before sysdep dir checking.
23303 2010-08-20  Petr Baudis  <pasky@suse.cz>
23305         * LICENSES: Sync the sunrpc license.
23307 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
23309         * sunrpc/auth_des.c: Update copyright notice once again.
23310         * sunrpc/auth_none.c: Likewise.
23311         * sunrpc/auth_unix.c: Likewise.
23312         * sunrpc/authdes_prot.c: Likewise.
23313         * sunrpc/authuxprot.c: Likewise.
23314         * sunrpc/bindrsvprt.c: Likewise.
23315         * sunrpc/clnt_gen.c: Likewise.
23316         * sunrpc/clnt_perr.c: Likewise.
23317         * sunrpc/clnt_raw.c: Likewise.
23318         * sunrpc/clnt_simp.c: Likewise.
23319         * sunrpc/clnt_tcp.c: Likewise.
23320         * sunrpc/clnt_udp.c: Likewise.
23321         * sunrpc/clnt_unix.c: Likewise.
23322         * sunrpc/des_crypt.c: Likewise.
23323         * sunrpc/des_soft.c: Likewise.
23324         * sunrpc/get_myaddr.c: Likewise.
23325         * sunrpc/getrpcport.c: Likewise.
23326         * sunrpc/key_call.c: Likewise.
23327         * sunrpc/key_prot.c: Likewise.
23328         * sunrpc/openchild.c: Likewise.
23329         * sunrpc/pm_getmaps.c: Likewise.
23330         * sunrpc/pm_getport.c: Likewise.
23331         * sunrpc/pmap_clnt.c: Likewise.
23332         * sunrpc/pmap_prot.c: Likewise.
23333         * sunrpc/pmap_prot2.c: Likewise.
23334         * sunrpc/pmap_rmt.c: Likewise.
23335         * sunrpc/rpc/auth.h: Likewise.
23336         * sunrpc/rpc/auth_unix.h: Likewise.
23337         * sunrpc/rpc/clnt.h: Likewise.
23338         * sunrpc/rpc/des_crypt.h: Likewise.
23339         * sunrpc/rpc/key_prot.h: Likewise.
23340         * sunrpc/rpc/netdb.h: Likewise.
23341         * sunrpc/rpc/pmap_clnt.h: Likewise.
23342         * sunrpc/rpc/pmap_prot.h: Likewise.
23343         * sunrpc/rpc/pmap_rmt.h: Likewise.
23344         * sunrpc/rpc/rpc.h: Likewise.
23345         * sunrpc/rpc/rpc_des.h: Likewise.
23346         * sunrpc/rpc/rpc_msg.h: Likewise.
23347         * sunrpc/rpc/svc.h: Likewise.
23348         * sunrpc/rpc/svc_auth.h: Likewise.
23349         * sunrpc/rpc/types.h: Likewise.
23350         * sunrpc/rpc/xdr.h: Likewise.
23351         * sunrpc/rpc_clntout.c: Likewise.
23352         * sunrpc/rpc_cmsg.c: Likewise.
23353         * sunrpc/rpc_common.c: Likewise.
23354         * sunrpc/rpc_cout.c: Likewise.
23355         * sunrpc/rpc_dtable.c: Likewise.
23356         * sunrpc/rpc_hout.c: Likewise.
23357         * sunrpc/rpc_main.c: Likewise.
23358         * sunrpc/rpc_parse.c: Likewise.
23359         * sunrpc/rpc_parse.h: Likewise.
23360         * sunrpc/rpc_prot.c: Likewise.
23361         * sunrpc/rpc_sample.c: Likewise.
23362         * sunrpc/rpc_scan.c: Likewise.
23363         * sunrpc/rpc_scan.h: Likewise.
23364         * sunrpc/rpc_svcout.c: Likewise.
23365         * sunrpc/rpc_tblout.c: Likewise.
23366         * sunrpc/rpc_util.c: Likewise.
23367         * sunrpc/rpc_util.h: Likewise.
23368         * sunrpc/rpcinfo.c: Likewise.
23369         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
23370         * sunrpc/rpcsvc/key_prot.x: Likewise.
23371         * sunrpc/rpcsvc/klm_prot.x: Likewise.
23372         * sunrpc/rpcsvc/mount.x: Likewise.
23373         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
23374         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
23375         * sunrpc/rpcsvc/rex.x: Likewise.
23376         * sunrpc/rpcsvc/rstat.x: Likewise.
23377         * sunrpc/rpcsvc/rusers.x: Likewise.
23378         * sunrpc/rpcsvc/sm_inter.x: Likewise.
23379         * sunrpc/rpcsvc/spray.x: Likewise.
23380         * sunrpc/rpcsvc/yppasswd.x: Likewise.
23381         * sunrpc/rtime.c: Likewise.
23382         * sunrpc/svc.c: Likewise.
23383         * sunrpc/svc_auth.c: Likewise.
23384         * sunrpc/svc_authux.c: Likewise.
23385         * sunrpc/svc_raw.c: Likewise.
23386         * sunrpc/svc_run.c: Likewise.
23387         * sunrpc/svc_simple.c: Likewise.
23388         * sunrpc/svc_tcp.c: Likewise.
23389         * sunrpc/svc_udp.c: Likewise.
23390         * sunrpc/svc_unix.c: Likewise.
23391         * sunrpc/svcauth_des.c: Likewise.
23392         * sunrpc/xcrypt.c: Likewise.
23393         * sunrpc/xdr.c: Likewise.
23394         * sunrpc/xdr_array.c: Likewise.
23395         * sunrpc/xdr_float.c: Likewise.
23396         * sunrpc/xdr_mem.c: Likewise.
23397         * sunrpc/xdr_rec.c: Likewise.
23398         * sunrpc/xdr_ref.c: Likewise.
23399         * sunrpc/xdr_sizeof.c: Likewise.
23400         * sunrpc/xdr_stdio.c: Likewise.
23402         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
23403         handling.
23405 2010-08-19  Andreas Schwab  <schwab@redhat.com>
23407         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
23409 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
23411         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
23412         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
23413         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
23414         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
23415         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
23416         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
23417         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
23418         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
23419         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
23420         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
23421         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
23422         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
23423         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
23424         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
23426 2010-07-26  Anton Blanchard  <anton@samba.org>
23428         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
23429         * malloc/arena.c (heap_trim): Likewise.
23431 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
23433         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
23434         here.  Not...
23435         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
23436         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
23438 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
23440         * sysdeps/i386/elf/Makefile: New file.
23442 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
23444         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
23445         from fanotify_init.
23446         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
23447         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
23449 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
23451         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
23452         of strncasecmp_l.
23453         * sysdeps/multiarch/strcmp.S: Likewise.
23455 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
23457         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
23458         strncase_l-nonascii.
23459         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
23460         Add strncase_l-ssse3.
23461         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
23462         * sysdeps/x86_64/strcmp.S: Likewise.
23463         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
23464         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
23465         * sysdeps/x86_64/strncase.S: New file.
23466         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
23467         * sysdeps/x86_64/strncase_l.S: New file.
23468         * string/Makefile (strop-tests): Add strncasecmp.
23469         * string/test-strncasecmp.c: New file.
23471         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
23472         warning.
23474         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
23475         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
23477 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
23479         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
23481 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
23483         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
23484         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
23485         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
23487 2010-05-01  Alan Modra  <amodra@gmail.com>
23489         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
23490         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
23491         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
23492         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
23493         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
23494         tidying.  Don't tail-call __sigjmp_save for static lib.
23495         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
23496         save location.
23497         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
23498         (CALL_MCOUNT): Add eh info, and nop after bl.
23499         (TAIL_CALL_SYSCALL_ERROR): New macro.
23500         (PSEUDO_RET): Use it.
23501         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
23502         Correct save location of integer regs and cr.
23503         (_dl_profile_resolve): Correct cr save location.  Delete nops
23504         after bl when SHARED.  Reduce cfi size a little by better
23505         placement of cfi directives.
23506         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
23507         make a stack frame.  Instead use parm save area as a temp.
23508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
23509         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
23510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
23511         Don't make a stack frame for parent, use parm save area.
23512         Increase child stack frame to 112 bytes.  Don't save unused reg,
23513         and adjust reg usage.  Set up cfi on error recovery and
23514         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
23515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
23516         (__makecontext): Add dummy nop after jump to exit.
23517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
23518         Use correct parm save area and cr save, reduce stack frame.
23519         Correct cfi for possible PSEUDO_RET frame setup.
23520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
23521         Branch to local label emitted by PSEUDO_RET rather than
23522         __syscall_error.
23524 2010-08-12  Andreas Schwab  <schwab@redhat.com>
23526         [BZ #11904]
23527         * locale/programs/locale.c (print_assignment): New function.
23528         (show_locale_vars): Use it.
23530 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
23532         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
23533         field.
23534         (struct statfs64): Likewise.
23535         (_STATFS_F_FLAGS): Define.
23536         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
23537         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23538         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
23539         (ST_VALID): Define locally.
23540         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
23541         __statvfs_getflags, use the provided value.
23542         * sysdeps/unix/sysv/linux/kernel-features.h: Define
23543         __ASSUME_STATFS_F_FLAGS.
23545         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
23547         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
23548         Add sys/fanotify.h.
23549         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
23550         fanotify_mask for GLIBC_2.13.
23551         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
23552         fanotify_init and fanotify_mark.
23553         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
23554         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
23556         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
23557         Add prlimit.
23558         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
23559         prlimit64 for GLIBC_2.13.
23560         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
23561         prlimit64.
23562         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
23563         syscall.
23564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
23565         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
23566         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
23567         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
23568         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
23569         add prlimit alias.
23570         * sysdeps/unix/sysv/linux/prlimit.c: New file.
23572         [BZ #11903]
23573         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
23574         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
23576         * nss/Makefile: Add rules to build and run tst-nss-test1.
23577         * shlib-versions: Add entry for libnss_test1.
23578         * nss/nss_test1.c: New file.
23579         * nss/tst-nss-test1.c: New file.
23581         * nss/nsswitch.c (__nss_database_custom): Define new variable.
23582         (__nss_configure_lookup): Set appropriate entry in
23583         __nss_configure_lookup to true.
23584         * nss/nsswitch.h: Define enum with indeces of databases in
23585         databases and __nss_database_custom arrays.  Declare
23586         __nss_database_custom.
23587         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
23588         to avoid using nscd when custom rules are installed.
23589         * nss/getXXbyYY_r.c: Likewise.
23590         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23592         * nss/nss_files/files-parse.c: Whitespace fixes.
23594 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
23596         [BZ #11883]
23597         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
23598         * posix/fnmatch_loop.c: Likewise.
23600 2010-07-17  Andi Kleen  <ak@linux.intel.com>
23602         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
23603         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
23604         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
23605         * Versions.def [GLIBC_2.13]: Add.
23607 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
23609         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
23610         Also fail if tpwd after pwuid call is NULL.
23612 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23614         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
23615         when converting to ms.
23617 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23619         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
23620         EOPNOTSUPP errors with ENOTTY.
23621         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
23622         EOPNOTSUPP errors with ENOTTY.
23624 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
23626         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
23627         Add strcasecmp_l-ssse3.
23628         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
23629         strcasecmp.
23630         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
23631         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
23632         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
23634 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
23636         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
23638         * string/Makefile (strop-tests): Add strcasecmp.
23639         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
23640         strcasecmp_l-nonascii.
23641         (gen-as-const-headers): Add locale-defines.sym.
23642         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
23643         * sysdeps/x86_64/strcasecmp.S: New file.
23644         * sysdeps/x86_64/strcasecmp_l.S: New file.
23645         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
23646         * sysdeps/x86_64/locale-defines.sym: New file.
23647         * string/test-strcasecmp.c: New file.
23649         * string/test-strcasestr.c: Test both ends of the range of characters.
23650         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
23652 2010-07-29  Roland McGrath  <roland@redhat.com>
23654         [BZ #11856]
23655         * manual/locale.texi (Yes-or-No Questions): Fix example code.
23657 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
23659         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
23660         for ld.so.
23662 2010-07-27  Andreas Schwab  <schwab@redhat.com>
23664         * manual/memory.texi (Malloc Tunable Parameters): Document
23665         M_PERTURB.
23667 2010-07-26  Roland McGrath  <roland@redhat.com>
23669         [BZ #11840]
23670         * configure.in (-fgnu89-inline check): Set and substitute
23671         gnu89_inline, not libc_cv_gnu89_inline.
23672         * configure: Regenerated.
23673         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
23675 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
23677         * string/test-strnlen.c: New file.
23678         * string/Makefile (strop-tests): Add strnlen.
23679         * string/tester.c (test_strnlen): Add a few more test cases.
23680         * string/tst-strlen.c: Better error reporting.
23682         * sysdeps/x86_64/strnlen.S: New file.
23684 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
23686         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
23687         lower-latency instructions.
23689 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
23691         * string/test-strcasestr.c: New file.
23692         * string/test-strstr.c: New file.
23693         * string/Makefile (strop-tests): Add strstr and strcasestr.
23694         * string/str-two-way.h: Don't undefine MAX.
23695         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
23697 2010-07-21  Andreas Schwab  <schwab@redhat.com>
23699         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23700         strcasestr-nonascii.
23701         (CFLAGS-strcasestr-nonascii.c): Define.
23702         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
23703         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
23704         Remove unused attribute.
23706 2010-07-20  Roland McGrath  <roland@redhat.com>
23708         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
23709         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
23710         ld.so.cache was broken.  With it, there is no way to disable dsocaps
23711         like LD_HWCAP_MASK can disable hwcaps.
23713 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
23715         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
23717 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
23719         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
23720         call in strcasestr.
23721         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
23722         __strcasestr_sse42_nonascii.
23723         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
23724         strcasestr-nonascii.c.
23725         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
23727 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
23729         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
23730         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
23731         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
23732         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
23734 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
23736         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
23737         fcntl.
23739 2010-07-06  Andreas Schwab  <schwab@redhat.com>
23741         [BZ #11577]
23742         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
23743         dl_signal_cerror.
23745 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
23747         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
23748         _PC_PIPE_BUF using F_GETPIPE_SZ.
23750 2010-07-05  Roland McGrath  <roland@redhat.com>
23752         * manual/arith.texi (Rounding Functions): Fix rint description
23753         implicit in round description.
23755 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
23757         * elf/Makefile: Fix linking for a few tests to make recent linker
23758         happy.
23760 2010-06-30  Andreas Schwab  <schwab@redhat.com>
23762         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
23763         $(common-objpfx)libc_nonshared.a.
23765 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
23767         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
23768         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
23769         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
23770         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
23771         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
23772         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
23773         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
23774         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
23775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
23776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
23777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
23778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
23779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
23780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
23781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
23782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
23783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
23784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
23785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
23786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
23787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
23788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
23789         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
23790         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
23791         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
23792         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
23793         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
23794         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
23795         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
23796         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
23797         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
23798         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
23799         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
23800         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
23801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
23802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
23803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
23804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
23805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
23806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
23807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
23808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
23809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
23810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
23811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
23812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
23813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
23814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
23816 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
23818         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
23819         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
23820         * string/memmove.c (memmove): Renamed to ...
23821         (MEMMOVE): ...this.  Default to memmove.
23822         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
23823         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
23824         (END_CHK): Define.
23825         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23826         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
23827         mempcpy-ssse3-back memmove-ssse3-back.
23828         * sysdeps/x86_64/multiarch/bcopy.S: New file .
23829         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
23830         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
23831         * sysdeps/x86_64/multiarch/memcpy.S: New file.
23832         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
23833         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
23834         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
23835         * sysdeps/x86_64/multiarch/memmove.c: New file.
23836         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
23837         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
23838         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
23839         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
23840         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
23841         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
23842         Define.
23843         (index_Fast_Copy_Backward): Define.
23844         (HAS_ARCH_FEATURE): Define.
23845         (HAS_FAST_REP_STRING): Define.
23846         (HAS_FAST_COPY_BACKWARD): Define.
23848 2010-06-21  Andreas Schwab  <schwab@redhat.com>
23850         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
23851         Restore proper fallback handling.
23853 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
23855         [BZ #11701]
23856         * posix/group_member.c (__group_member): Correct checking loop.
23858         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
23859         OOM in getpwuid_r correctly.  Return error number when the caller
23860         should return, otherwise -1.
23861         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
23862         call returning > 0 value.
23863         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
23865 2010-06-07  Andreas Schwab  <schwab@redhat.com>
23867         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
23868         libc_nonshared.a from targets in modules-names.
23870 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
23872         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
23873         requires it.
23875 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
23877         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
23878         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
23879         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
23880         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
23882 2010-06-02  Andreas Schwab  <schwab@redhat.com>
23884         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
23886 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
23888         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
23889         and F_GETPIPE_SZ.
23890         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
23891         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23892         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23893         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23894         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23895         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
23897 2010-06-14  Roland McGrath  <roland@redhat.com>
23899         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
23901 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
23903         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
23904         __REDIRECT followed by __THROW.
23905         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
23906         * posix/getopt.h (getopt): Likewise.
23908 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
23910         * hurd/lookup-at.c (__file_name_lookup_at): Accept
23911         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
23912         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
23913         in AT_FLAGS.
23914         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
23915         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
23917 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
23919         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
23921 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
23923         [BZ #11640]
23924         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23925         Properly check family and model.
23927 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
23929         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
23931 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
23933         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
23935 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
23937         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
23938         symbol reference.
23940 2010-05-19  Andreas Schwab  <schwab@redhat.com>
23942         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
23943         symbol reference.
23945 2010-05-21  Andreas Schwab  <schwab@redhat.com>
23947         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
23948         and internal_recvmmsg.
23949         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
23950         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
23951         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
23952         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
23954         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
23955         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
23956         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
23958 2010-05-20  Andreas Schwab  <schwab@redhat.com>
23960         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
23962 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
23964         POWER7 optimizations.
23965         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
23966         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
23968 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
23970         * version.h: Update for 2.13 development version.
23972 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
23974         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
23975         exceptions.  Return 0.
23977 2010-05-07  Roland McGrath  <roland@redhat.com>
23979         * elf/ldconfig.c (main): Add a const.
23981 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
23983         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
23984         (args_options): Add no-idn option.
23985         (ahosts_keys_int): Add idn_flags to ai_flags.
23986         (parse_option): Handle 'i' option to clear idn_flags.
23988         * malloc/malloc.c (_int_free): Possible race in the most recently
23989         added check.  Only act on the data if no current modification
23990         happened.
23992 See ChangeLog.17 for earlier changes.