Use x86_64 fpu/bits/fenv.h for i386 and x86_64
[glibc.git] / ChangeLog
blobac4e95f069d6c3c4054a7cac895c710affbf0f66
1 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
3         [BZ #14117]
4         * sysdeps/i386/fpu/bits/fenv.h: Removed.
5         * sysdeps/i386/fpu/Implies: New file.
6         * sysdeps/x86_64/fpu/Implies: Likewise.
7         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
8         * sysdeps/x86/fpu/bits/fenv.h: This.
10         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
11         __SSE_MATH__.
13 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
15         [BZ #14134]
16         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
17         character 0xffff that matches the last element of the
18         conversion table.
20 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
23         fmodl commit.
25 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
28         values higher than 25.6283.
30 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
33         subnormal exponent extraction and add some __builtin_expect.
34         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
35         Fix for subnormal mantissa calculation.
37 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
39         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
40         cpu2 is -1 and errno is not ENOSYS.
42 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
44         [BZ #14117]
45         * sysdeps/i386/i486/bits/string.h: Renamed to ...
46         * sysdeps/x86/bits/string.h: This.
47         * sysdeps/x86_64/bits/string.h: Removed.
49         * sysdeps/i386/i486/bits/string.h: Define inline functions only
50         if not compiling for x86-64, but compiling for >= i486.
52         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
53         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
55         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
56         New macro from Linux kernel 3.4.0.
57         (FP_XSTATE_MAGIC2): Likewise.
58         (FP_XSTATE_MAGIC2_SIZE): Likewise.
59         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
60         (struct _fpx_sw_bytes): New struct.
61         (struct _xsave_hdr): Likewise.
62         (struct _ymmh_state): Likewise.
63         (struct _xstate): Likewise.
65         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
66         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
67         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
68         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
69         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
70         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
72         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
73         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
74         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
75         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
76         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
77         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
79 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
81         [BZ #13743]
82         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
83         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
84         (sysdep_headers): Include sys/platform/ppc.h.
85         * sysdeps/powerpc/test-gettimebase.c: Test for
86         __ppc_get_timebase() to catch future ISA opcode/insn changes.
87         * manual/Makefile (appendices): Include platform.texi.
88         * manual/contrib.texi (Contributors): Update @node pointers.
89         * manual/maint.texi (Maintenance): Likewise.
90         (Platform): New node.
91         * manual/platform.texi: New file.  Document the new features.
93 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
94             Jakub Jelinek  <jakub@redhat.com>
96         [BZ #14188]
97         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
98         where __builtin_expect is unavailable.
100 2012-06-03  David S. Miller  <davem@davemloft.net>
102         * stdlib/longlong.h: Updated from GCC.
104 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
106         [BZ #14042]
107         * sysdeps/powerpc/powerpc32/mcount.c: New file.
108         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
109         __mcount_internal.
110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
111         (GLIBC_2.16): Likewise.
113 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
115         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
117 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
120         (default-abi): New variable.
121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
122         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
123         variable.
124         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
125         Likewise.
126         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
127         Likewise.
128         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
129         Likewise.
131         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
132         definition.  Document in comment.
134 2012-06-01  David S. Miller  <davem@davemloft.net>
136         * stdlib/longlong.h: Updated from GCC.
138 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
140         [BZ #14117]
141         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
142         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
143         sys/debugreg.h sys/io.h here.
144         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
145         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
146         sys/io.h.
147         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
148         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
149         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
150         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
151         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
152         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
154         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
155         Define only if __x86_64__ is defined.
157 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
159         [BZ #14048]
160         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
161         Use int64_t for variable i.
162         * math/libm-test.inc (fmod_test): Add more tests.
164         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
165         z computation is not scheduled after fetestexcept.
166         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
167         Use math_force_eval instead of asm to ensure calculation scheduled
168         before exception test.
169         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
170         Ensure a1 + u.d computation is not scheduled after fetestexcept.
172 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
174         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
175         computation is not scheduled after fetestexcept.
177 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
179         [BZ #14117]
180         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
181         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
183 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
185         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
186         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
188 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
190         [BZ #14117]
191         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
192         <bits/wordsize.h>.
193         (__WCHAR_MIN): Support __WORDSIZE == 64.
194         (__WCHAR_MAX): Likewise.
196         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
197         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
199         [BZ #14183]
200         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
201         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
203         [BZ #14117]
204         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
205         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
207         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
208         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
210         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
211         Defined to 1 if __x86_64__ isn't defined.
212         (_STAT_VER_LINUX_OLD): New.
213         (st_atime): Remove duplicate.
214         (st_mtime): Likewise.
215         (st_ctime): Likewise.
217 2012-05-31  David S. Miller  <davem@davemloft.net>
219         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
220         entries.
222 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
224         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
225         gen-libm-test.pl.
227         [BZ #14132]
228         * elf/dl-reloc.c: Include <_itoa.h>.
229         (_dl_reloc_bad_type): Remove use of INTUSE.
230         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
231         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
232         * stdio-common/psiginfo.c (psiginfo): Likewise.
233         * stdio-common/psignal.c (psignal): Likewise.
234         * string/strsignal.c (strsignal): Likewise.
235         * include/signal.h (_sys_siglist): Declare hidden proto.
236         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
237         INTVARDEF with libc_hidden_data_def.
238         * stdio-common/itoa-udigits.c: Likewise.
239         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
240         (_itoa_lower_digits_internal): Remove declaration.
241         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
242         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
243         (_sys_sigabbrev_internal): Remove aliases.
244         (_sys_siglist): Define hidden alias.
246 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
248         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
249         bits/sysctl.h.
251 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
253         [BZ #14117]
254         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
255         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
257         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
258         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
259         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
260         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
261         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
262         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
264         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
265         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
266         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
268         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
269         with __addr.
270         (insw): Likewise.
271         (insl): Likewise.
272         (outsb): Likewise.
273         (outsw): Likewise.
274         (outsl): Likewise.
276         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
277         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
278         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
280         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
281         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
282         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
283         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
284         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
285         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
287         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
288         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
290         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
291         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
293         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
294         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
295         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
297         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
298         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
299         to ...
300         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
302         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
303         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
304         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
306         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
307         for x86-64.
308         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
310 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
312         * math/math.h (M_El): Use two more decimal places.
313         (M_LOG2El): Likewise.
314         (M_LOG10El): Likewise.
315         (M_LN2l): Likewise.
316         (M_LN10l): Likewise.
317         (M_PIl): Likewise.
318         (M_PI_2l): Likewise.
319         (M_PI_4l): Likewise.
320         (M_1_PIl): Likewise.
321         (M_2_PIl): Likewise.
322         (M_2_SQRTPIl): Likewise.
323         (M_SQRT2l): Likewise.
324         (M_SQRT1_2l): Likewise.
326 2012-05-31  David S. Miller  <davem@davemloft.net>
328         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
329         values between float registers.
330         * sysdeps/sparc/sparc64/memset.S: Likewise.
331         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
333 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
335         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
336         -D_FORTIFY_SOURCE=1.
337         (CPPFLAGS-tst-longjmp_chk.c): Define.
338         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
339         (CPPFLAGS-tst-longjmp_chk2.c): Define.
340         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
341         CFLAGS-tst-wchar-h.c.
343 2012-05-31  Marek Polacek  <polacek@redhat.com>
345         [BZ #14132]
346         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
347         __endmntent_internal): Remove declaration.
348         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
349         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
350         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
352 2012-05-30  David S. Miller  <davem@davemloft.net>
354         * sysdeps/sparc/sparc32/soft-fp/q_util.c
355         (___Q_simulate_exceptions): Use real FP ops rather than writing
356         into the %fsr.
357         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
358         Likewise.
360 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
362         [BZ #14117]
363         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
364         * sysdeps/x86/bits/xtitypes.h: This.
366         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
367         * sysdeps/x86/bits/wordsize.h: This.
369         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
370         * sysdeps/x86/bits/huge_vall.h: This.
372         * sysdeps/i386/bits/select.h: Removed.
373         * sysdeps/x86_64/bits/select.h: Renamed to ...
374         * sysdeps/x86/bits/select.h: This.
376         * sysdeps/i386/bits/setjmp.h: Removed.
377         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
378         * sysdeps/x86/bits/setjmp.h: This.
380         * sysdeps/i386/bits/mathdef.h: Removed.
381         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
382         * sysdeps/x86/bits/mathdef.h: This.
384 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
386         [BZ #14132]
387         * include/sys/socket.h (__connect_internal)
388         (__libc_sa_len_internal): Remove declaration.
389         (__connect, __libc_sa_len): Declare hidden_proto.
390         (SA_LEN): Remove use of INTUSE.
391         * socket/connect.c: Add libc_hidden_def.
392         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
393         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
394         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
395         alias.
396         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
397         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
398         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
399         of adding _internal alias.
401 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
403         [BZ #14117]
404         * sysdeps/i386/bits/link.h: Removed.
405         * sysdeps/i386/bits/linkmap.h: Likewise.
406         * sysdeps/x86_64/bits/link.h: Renamed to ...
407         * sysdeps/x86/bits/link.h: This.
408         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
409         * sysdeps/x86/bits/linkmap.h: This.
411         * sysdeps/i386/bits/endian.h: Removed.
412         * sysdeps/x86_64/bits/endian.h: Renamed to ...
413         * sysdeps/x86/bits/endian.h: This.
415         * sysdeps/i386/bits/byteswap.h: Removed.
416         * sysdeps/i386/bits/byteswap-16.h: Likewise.
417         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
418         * sysdeps/x86/bits/byteswap.h: This.
419         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
420         * sysdeps/x86/bits/byteswap-16.h: This.
421         * sysdeps/i386/Implies: Add x86.
422         * sysdeps/x86_64/Implies: Likewise.
424 2012-05-30  David S. Miller  <davem@davemloft.net>
426         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
427         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
428         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
429         (FP_TRAPPING_EXCEPTIONS): Define.
430         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
431         (FP_TRAPPING_EXCEPTIONS): Define.
432         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
433         subnormals only when inexact has been signalled or underflow
434         exceptions are enabled.
435         (_FP_PACK_CANONICAL): Likewise.
437 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
439         [BZ #14183]
440         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
441         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
443 2012-05-30  Richard Henderson  <rth@twiddle.net>
445         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
446         with #ifndef NOT_IN_libc.
448         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
449         marked to avoid plt entry.
451 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
453         [BZ #14112]
454         * Makeconfig (default-abi): New macro.
455         (abi-includes): Likewise.
456         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
457         $(abi-$(default-abi)-lib-soname) for soname if defined.
458         ($(common-objpfx)gnu/lib-names.stmp): Generate from
459         abi-variants.
460         * Makefile (installed-stubs): Likewise.
461         * include/stubs-biarch.h: Removed.
462         * scripts/lib-names.awk: Only handle one library at a time.
463         * scripts/soversions.awk: Remove WORDSIZE support.
464         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
465         entries.
466         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
467         Removed.
468         (syscall-list-default-condition): Likewise.
469         (syscall-list-default-condition): Likewise.
470         (syscall-list-includes): Likewise.
471         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
472         syscall-list-* with abi-*.  Handle undefined abi-variants.
473         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
474         * sysdeps/unix/sysv/linux/i386/Implies: New file.
475         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
476         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
477         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
478         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
479         Removed.
480         (syscall-list-32-options): Likewise.
481         (syscall-list-32-condition): Likewise.
482         (syscall-list-64-options): Likewise.
483         (syscall-list-64-condition): Likewise.
484         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
485         macro.
486         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
487         Renamed to ...
488         (abi-*): This.
489         (abi-64-ld-soname): New macro.
490         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
491         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
492         Renamed to ...
493         (abi-*): This.
494         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
495         * sysdeps/x86_64/x32/shlib-versions: Likewise.
497 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
499         * sysdeps/unix/sysv/linux/kernel-features.h
500         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
501         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
502         include <kernel-features.h>.
503         [!__NR_ftruncate64]: Remove conditional code.
504         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
505         [__NR_ftruncate64]: Make code unconditional.
506         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
507         * sysdeps/unix/sysv/linux/truncate64.c: Do not
508         include <kernel-features.h>.
509         [!__NR_ftruncate64]: Remove conditional code.
510         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
511         [__NR_ftruncate64]: Make code unconditional.
512         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
514         include <kernel-features.h>.
515         [!__NR_ftruncate64]: Remove conditional code.
516         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
517         [__NR_ftruncate64]: Make code unconditional.
518         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
520         include <kernel-features.h>.
521         [!__NR_ftruncate64]: Remove conditional code.
522         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
523         [__NR_ftruncate64]: Make code unconditional.
524         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
526         * configure.in (libc_cv_fpie): Weaken to a compile test using
527         LIBC_TRY_CC_OPTION.
528         * configure: Regenerated.
530 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
532         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
533         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
534         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
535         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
536         Refreshed.
537         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
538         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
539         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
540         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
541         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
542         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
543         Refreshed.
545 2012-05-27  David S. Miller  <davem@davemloft.net>
547         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
548         (___Q_zero): New.
549         (__Q_simulate_exceptions): Return void.  Change to simulate
550         exceptions by writing into the %fsr.
551         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
552         (__Qp_handle_exceptions): Likewise.
553         (numbers): Delete.
554         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
555         __Qp_handle_exceptions.
556         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
557         __Qp_handle_exceptions.
558         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
559         as unused and give dummy FP_RND_NEAREST initializer.
560         (FP_INHIBIT_RESULTS): Define.
561         (___Q_simulate_exceptions): Update declaration.
562         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
563         formatting.
564         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
565         as unused and give dummy FP_RND_NEAREST initializer.
566         (__Qp_handle_exceptions): Update declaration.
567         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
568         formatting.
570 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
572         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
573         the temporary FPU control word.
574         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
575         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
576         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
577         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
578         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
579         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
580         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
581         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
582         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
583         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
584         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
586 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
588         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
589         fields.
591 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
593         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
594         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
595         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
596         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
597         Likewise.
598         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
599         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
600         Likewise.
602 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
604         * po/h.po: Update from translation team.
606 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
608         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
610         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
611         handling of denormals.
612         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
613         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
614         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
615         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
616         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
617         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
618         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
619         Likewise.
621 2012-05-26  Marek Polacek  <polacek@redhat.com>
623         [BZ #14152]
624         * math/libm-test.inc (fma_test): Don't always expect underflow
625         exception.
627 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
629         [BZ #12416]
630         * elf/tst-execstack.c: Include stackinfo.h.
631         (do_test): Adjust test case to ensure that pthread_getattr_np
632         behaviour remains the same after marking stack executable.
634 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
636         * sysdeps/unix/sysv/linux/kernel-features.h
637         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
638         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
639         kernel-features.h.
640         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
641         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
642         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
643         kernel-features.h.
644         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
645         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
647 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
649         * configure.in: Define the default includes to being none.
650         * configure: Regenerated.
652 2012-05-25  Roland McGrath  <roland@hack.frob.com>
654         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
655         * sysdeps/x86_64/setjmp.S: Likewise.
656         * sysdeps/i386/bsd-setjmp.S: Likewise.
657         * sysdeps/i386/bsd-_setjmp.S: Likewise.
658         * sysdeps/i386/setjmp.S: Likewise.
659         * sysdeps/i386/__longjmp.S: Likewise.
660         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
661         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
663         * include/stap-probe.h: New file.
664         * configure.in: Handle --enable-systemtap.
665         * configure: Regenerated.
666         * config.h.in (USE_STAP_PROBE): New #undef.
667         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
668         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
669         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
671 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
673         [BZ #13717]
674         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
675         to 2.4.0 where earlier.
676         * sysdeps/unix/sysv/linux/configure: Regenerated.
677         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
678         <kernel-features.h>.
679         [__ASSUME_32BITUIDS]: Make code unconditional.
680         [!__ASSUME_32BITUIDS]: Remove conditional code.
681         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
682         <kernel-features.h>.
683         [__ASSUME_32BITUIDS]: Make code unconditional.
684         [!__ASSUME_32BITUIDS]: Remove conditional code.
685         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
686         [__ASSUME_32BITUIDS]: Make code unconditional.
687         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
688         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
689         <kernel-features.h>.
690         [__ASSUME_32BITUIDS]: Make code unconditional.
691         [!__ASSUME_32BITUIDS]: Remove conditional code.
692         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
693         <kernel-features.h>.
694         [__ASSUME_32BITUIDS]: Make code unconditional.
695         [!__ASSUME_32BITUIDS]: Remove conditional code.
696         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
697         <kernel-features.h>.
698         [__ASSUME_32BITUIDS]: Make code unconditional.
699         [!__ASSUME_32BITUIDS]: Remove conditional code.
700         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
701         <kernel-features.h>.
702         [__ASSUME_32BITUIDS]: Make code unconditional.
703         [!__ASSUME_32BITUIDS]: Remove conditional code.
704         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
705         <kernel-features.h>.
706         [__ASSUME_32BITUIDS]: Make code unconditional.
707         [!__ASSUME_32BITUIDS]: Remove conditional code.
708         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
709         <kernel-features.h>.
710         [__ASSUME_32BITUIDS]: Make code unconditional.
711         [!__ASSUME_32BITUIDS]: Remove conditional code.
712         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
713         <kernel-features.h>.
714         [__ASSUME_32BITUIDS]: Make code unconditional.
715         [!__ASSUME_32BITUIDS]: Remove conditional code.
716         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
717         <kernel-features.h>.
718         [__ASSUME_32BITUIDS]: Make code unconditional.
719         [!__ASSUME_32BITUIDS]: Remove conditional code.
720         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
721         <kernel-features.h>.
722         [__ASSUME_32BITUIDS]: Make code unconditional.
723         [!__ASSUME_32BITUIDS]: Remove conditional code.
724         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
725         <kernel-features.h>.
726         [__ASSUME_32BITUIDS]: Make code unconditional.
727         [!__ASSUME_32BITUIDS]: Remove conditional code.
728         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
729         <kernel-features.h>.
730         [__NR_setresgid] (__setresgid): Do not declare.
731         [__ASSUME_32BITUIDS]: Make code unconditional.
732         [!__ASSUME_32BITUIDS]: Remove conditional code.
733         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
734         <kernel-features.h>.
735         [__NR_setresuid] (__setresuid): Do not declare.
736         [__ASSUME_32BITUIDS]: Make code unconditional.
737         [!__ASSUME_32BITUIDS]: Remove conditional code.
738         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
739         <kernel-features.h>.
740         [__ASSUME_32BITUIDS]: Make code unconditional.
741         [!__ASSUME_32BITUIDS]: Remove conditional code.
742         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
743         <kernel-features.h>.
744         [__ASSUME_32BITUIDS]: Make code unconditional.
745         [!__ASSUME_32BITUIDS]: Remove conditional code.
746         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
747         <kernel-features.h>.
748         [__ASSUME_32BITUIDS]: Make code unconditional.
749         [!__ASSUME_32BITUIDS]: Remove conditional code.
750         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
751         <kernel-features.h>.
752         [__ASSUME_32BITUIDS]: Make code unconditional.
753         [!__ASSUME_32BITUIDS]: Remove conditional code.
754         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
755         <kernel-features.h>.
756         [__ASSUME_32BITUIDS]: Make code unconditional.
757         [!__ASSUME_32BITUIDS]: Remove conditional code.
758         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
759         <kernel-features.h>.
760         [__ASSUME_32BITUIDS]: Make code unconditional.
761         [!__ASSUME_32BITUIDS]: Remove conditional code.
762         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
763         <kernel-features.h>.
764         [__ASSUME_32BITUIDS]: Make code unconditional.
765         [!__ASSUME_32BITUIDS]: Remove conditional code.
766         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
767         <kernel-features.h>.
768         [__ASSUME_32BITUIDS]: Make code unconditional.
769         [!__ASSUME_32BITUIDS]: Remove conditional code.
770         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
771         <kernel-features.h>.
772         [__ASSUME_32BITUIDS]: Make code unconditional.
773         [!__ASSUME_32BITUIDS]: Remove conditional code.
774         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
775         <kernel-features.h>.
776         [__ASSUME_32BITUIDS]: Make code unconditional.
777         [!__ASSUME_32BITUIDS]: Remove conditional code.
778         * sysdeps/unix/sysv/linux/kernel-features.h
779         (__ASSUME_SETRESUID_SYSCALL): Remove.
780         (__ASSUME_SETRESGID_SYSCALL): Likewise.
781         (__ASSUME_32BITUIDS): Likewise.
782         (__ASSUME_LDT_WORKS): Likewise.
783         (__ASSUME_O_DIRECTORY): Likewise.
784         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
785         architecture but not kernel version.
786         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
787         (__ASSUME_MMAP2_SYSCALL): Likewise.
788         (__ASSUME_STAT64_SYSCALL): Likewise.
789         (__ASSUME_IPC64): Likewise.
790         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
791         <kernel-features.h>.
792         [__ASSUME_32BITUIDS]: Make code unconditional.
793         [!__ASSUME_32BITUIDS]: Remove conditional code.
794         * sysdeps/unix/sysv/linux/opendir.c: Do not include
795         <kernel-features.h>.
796         [__ASSUME_O_DIRECTORY]: Make code unconditional.
797         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
798         132096]: Remove conditional code.
799         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
800         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
801         <kernel-features.h>.
802         [__ASSUME_32BITUIDS]: Make code unconditional.
803         [!__ASSUME_32BITUIDS]: Remove conditional code.
804         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
805         <kernel-features.h>.
806         [__ASSUME_32BITUIDS]: Make code unconditional.
807         [!__ASSUME_32BITUIDS]: Remove conditional code.
808         * sysdeps/unix/sysv/linux/setegid.c: Do not include
809         <kernel-features.h>.
810         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
811         unconditional.
812         (__setresgid): Do not declare.
813         [__ASSUME_32BITUIDS]: Make code unconditional.
814         [!__ASSUME_32BITUIDS]: Remove conditional code.
815         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
816         <kernel-features.h>.
817         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
818         unconditional.
819         (__setresuid): Do not declare.
820         [__ASSUME_32BITUIDS]: Make code unconditional.
821         [!__ASSUME_32BITUIDS]: Remove conditional code.
822         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
823         <kernel-features.h>.
824         [__ASSUME_32BITUIDS]: Make code unconditional.
825         [!__ASSUME_32BITUIDS]: Remove conditional code.
826         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
827         <kernel-features.h>.
828         [__ASSUME_32BITUIDS]: Make code unconditional.
829         [!__ASSUME_32BITUIDS]: Remove conditional code.
831 2012-05-25  Richard Henderson  <rth@twiddle.net>
833         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
834         dl_hwcap to ifunc resolver.
835         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
836         elf_ifunc_invoke.
837         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
838         dl_hwcap to ifunc resolver.
839         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
841 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
843         [BZ #14153]
844         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
845         for |x| <= 2**-26, not 2**-57.
846         * math/libm-test.inc (acos_test): Do not allow spurious underflow
847         exception.
849 2012-05-24  Jeff Law  <law@redhat.com>
851         * stdio-common/Makefile (tests): Add bug25.
852         * stdio-common/bug25.c: New test.
854 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
856         [BZ #13576]
857         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
858         multiple of MALLOC_ALIGNMENT in size.
859         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
861 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
863         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
864         Require >= 256.
865         (FILENAME_MAX): Use macro-int-constant.
866         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
867         (_IOFBF): Use macro-int-constant.
868         (_IOLBF): Likewise.
869         (_IONBF): Likewise.
870         (SEEK_CUR): Likewise.
871         (SEEK_END): Likewise.
872         (SEEK_SET): Likewise.
873         (TMP_MAX): Likewise.
874         (EOF): Use macro-int-constant.  Require < 0.
875         (NULL): Use macro-constant.  Require == 0.
876         (stdin): Require type to be FILE *.
877         (stdout): Likewise.
878         (stderr): Likewise.
879         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
880         macro-int-constant.
881         (EXIT_SUCCESS): Likewise.
882         (NULL): Use macro-constant.  Require == 0.
883         (RAND_MAX): Use macro-int-constant.
884         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
885         [C99-based standards] (strtof): Require function.
886         [C99-based standards] (strtold): Likewise.
887         [C99-based standards] (strtoll): Likewise.
888         [C99-based standards] (strtoull): Likewise.
889         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
890         [ISO || ISO99 || ISO11] (limits.h): Likewise.
891         [ISO || ISO99 || ISO11] (math.h): Likewise.
892         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
893         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
894         [ISO || ISO99 || ISO11] (*_t): Do not allow.
896 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
898         [BZ #14132]
899         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
900         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
901         * intl/dgettext.c (DCGETTEXT): Likewise.
902         * intl/gettext.c (DCGETTEXT): Likewise.
903         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
904         * posix/regex_internal.h (gettext): Likewise.
905         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
906         Remove declaration.
907         * include/argz.h (__argz_count_internal)
908         (__argz_stringify_internal): Remove declaration.
909         (__argz_count, __argz_stringify): Declare hidden proto.
910         * intl/dcgettext.c: Remove use of INTDEF.
911         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
912         * string/argz-stringify.c: Likewise.
913         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
914         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
915         Declare hidden proto.
916         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
917         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
918         Declare hidden proto.
919         * include/stdio.h (__asprintf_internal): Don't declare.
920         (__asprintf): Don't define as macro.  Declare hidden proto.
921         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
922         (__fsetlocking): Declare hidden proto.
923         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
924         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
925         hidden proto.
926         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
927         (_IO_setlinebuf): Remove use of INTUSE.
928         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
929         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
930         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
931         Remove declaration.
932         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
933         (_IO_do_flush): Remove use of INTUSE.
934         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
935         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
936         (_IO_adjust_column, _IO_least_wmarker)
937         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
938         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
939         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
940         (_IO_default_doallocate, _IO_wdefault_doallocate)
941         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
942         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
943         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
944         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
945         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
946         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
947         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
948         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
949         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
950         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
951         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
952         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
953         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
954         proto.
955         (_IO_flush_all_internal, _IO_adjust_column_internal)
956         (_IO_default_uflow_internal, _IO_default_finish_internal)
957         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
958         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
959         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
960         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
961         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
962         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
963         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
964         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
965         (_IO_file_close_internal, _IO_file_close_it_internal)
966         (_IO_file_underflow_internal, _IO_file_overflow_internal)
967         (_IO_file_init_internal, _IO_file_attach_internal)
968         (_IO_file_fopen_internal, _IO_file_read_internal)
969         (_IO_file_sync_internal, _IO_file_seek_internal)
970         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
971         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
972         (_IO_str_underflow_internal, _IO_str_overflow_internal)
973         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
974         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
975         (_IO_list_all_internal, _IO_link_in_internal)
976         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
977         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
978         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
979         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
980         (_IO_do_write_internal, _IO_padn_internal)
981         (_IO_getline_info_internal, _IO_getline_internal)
982         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
983         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
984         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
985         (_IO_vfscanf_internal, _IO_vfprintf_internal)
986         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
987         (_IO_init_internal, _IO_un_link_internal): Don't declare.
988         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
989         with libc_hidden_ver, remove use of INTUSE.
990         * libio/genops.c: Likewise.
991         * libio/freopen.c: Likewise.
992         * libio/freopen64.c: Likewise.
993         * libio/iofclose.c: Likewise.
994         * libio/iofdopen.c: Likewise.
995         * libio/iofflush.c: Likewise.
996         * libio/iofflush_u.c: Likewise.
997         * libio/iofgets.c: Likewise.
998         * libio/iofgets_u.c: Likewise.
999         * libio/iofopen.c: Likewise.
1000         * libio/iofopncook.c: Likewise.
1001         * libio/iofread.c: Likewise.
1002         * libio/iofread_u.c: Likewise.
1003         * libio/ioftell.c: Likewise.
1004         * libio/iofwrite.c: Likewise.
1005         * libio/iogetline.c: Likewise.
1006         * libio/iogets.c: Likewise.
1007         * libio/iogetwline.c: Likewise.
1008         * libio/iopadn.c: Likewise.
1009         * libio/iopopen.c: Likewise.
1010         * libio/ioseekoff.c: Likewise.
1011         * libio/ioseekpos.c: Likewise.
1012         * libio/iosetbuffer.c: Likewise.
1013         * libio/iosetvbuf.c: Likewise.
1014         * libio/ioungetc.c: Likewise.
1015         * libio/ioungetwc.c: Likewise.
1016         * libio/iovdprintf.c: Likewise.
1017         * libio/iovsprintf.c: Likewise.
1018         * libio/iovsscanf.c: Likewise.
1019         * libio/memstream.c: Likewise.
1020         * libio/obprintf.c: Likewise.
1021         * libio/oldfileops.c: Likewise.
1022         * libio/oldiofclose.c: Likewise.
1023         * libio/oldiofdopen.c: Likewise.
1024         * libio/oldiofopen.c: Likewise.
1025         * libio/oldiopopen.c: Likewise.
1026         * libio/oldstdfiles.c: Likewise.
1027         * libio/putc.c: Likewise.
1028         * libio/setbuf.c: Likewise.
1029         * libio/setlinebuf.c: Likewise.
1030         * libio/stdfiles.c: Likewise.
1031         * libio/strops.c: Likewise.
1032         * libio/vasprintf.c: Likewise.
1033         * libio/vscanf.c: Likewise.
1034         * libio/vsnprintf.c: Likewise.
1035         * libio/vswprintf.c: Likewise.
1036         * libio/wfiledoalloc.c: Likewise.
1037         * libio/wfileops.c: Likewise.
1038         * libio/wgenops.c: Likewise.
1039         * libio/wmemstream.c: Likewise.
1040         * libio/wstrops.c: Likewise.
1041         * libio/__fpurge.c: Likewise.
1042         * libio/__fsetlocking.c: Likewise.
1043         * assert/assert.c: Likewise.
1044         * debug/fgets_chk.c: Likewise.
1045         * debug/fgets_u_chk.c: Likewise.
1046         * debug/fread_chk.c: Likewise.
1047         * debug/fread_u_chk.c: Likewise.
1048         * debug/gets_chk.c: Likewise.
1049         * debug/obprintf_chk.c: Likewise.
1050         * debug/vasprintf_chk.c: Likewise.
1051         * debug/vdprintf_chk.c: Likewise.
1052         * debug/vsnprintf_chk.c: Likewise.
1053         * debug/vsprintf_chk.c: Likewise.
1054         * malloc/mtrace.c: Likewise.
1055         * misc/error.c: Likewise.
1056         * misc/syslog.c: Likewise.
1057         * stdio-common/asprintf.c: Likewise.
1058         * stdio-common/fxprintf.c: Likewise.
1059         * stdio-common/getw.c: Likewise.
1060         * stdio-common/isoc99_fscanf.c: Likewise.
1061         * stdio-common/isoc99_scanf.c: Likewise.
1062         * stdio-common/isoc99_vfscanf.c: Likewise.
1063         * stdio-common/isoc99_vscanf.c: Likewise.
1064         * stdio-common/isoc99_vsscanf.c: Likewise.
1065         * stdio-common/printf-prs.c: Likewise.
1066         * stdio-common/printf_fp.c: Likewise.
1067         * stdio-common/printf_fphex.c: Likewise.
1068         * stdio-common/printf_size.c: Likewise.
1069         * stdio-common/putw.c: Likewise.
1070         * stdio-common/scanf.c: Likewise.
1071         * stdio-common/sprintf.c: Likewise.
1072         * stdio-common/tmpfile.c: Likewise.
1073         * stdio-common/vfprintf.c: Likewise.
1074         * stdio-common/vfscanf.c: Likewise.
1075         * stdlib/strfmon_l.c: Likewise.
1076         * sunrpc/openchild.c: Likewise.
1077         * sunrpc/xdr_stdio.c: Likewise.
1078         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
1079         * sysdeps/mach/hurd/tmpfile.c: Likewise.
1081 2012-05-24  Roland McGrath  <roland@hack.frob.com>
1083         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1085         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
1086         in the third column, to generate for the shared library an IFUNC
1087         that uses _dl_vdso_vsym.
1088         * Makerules (COMPILE.c, compile-stdin.c): New variables.
1089         * Makeconfig (object-suffixes-noshared): New variable.
1091         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
1092         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
1093         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
1094         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
1096         [BZ #14132]
1097         * include/sys/time.h (__gettimeofday): Remove macro.
1098         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
1099         * time/gettimeofday.c (__gettimeofday): Remove #undef.
1100         Remove INTDEF.
1101         (__gettimeofday): Add libc_hidden_def.
1102         (gettimeofday): Add libc_hidden_weak.
1103         * sysdeps/mach/gettimeofday.c: Likewise.
1104         * sysdeps/posix/gettimeofday.c: Likewise.
1105         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
1106         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
1107         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
1108         (__gettimeofday_internal): Remove strong_alias.
1109         (__gettimeofday): Add libc_hidden_def.
1110         (gettimeofday): Add libc_hidden_weak.
1111         * sysdeps/unix/syscalls.list (gettimeofday):
1112         Remove __gettimeofday_internal alias.
1114 2012-05-24  Daniel Jacobowitz  <drow@false.org>
1115             H.J. Lu  <hongjiu.lu@intel.com>
1117         [BZ #12495]
1118         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
1119         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
1120         (largebin_index_32_big): New.
1121         (largebin_index): Use it for 16-byte alignment.
1122         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
1123         correction with front_misalign.
1125 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
1127         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
1128         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
1129         Likewise.
1130         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
1131         Likewise.
1132         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
1133         Likewise.
1134         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
1135         Likewise.
1136         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
1137         Likewise.
1138         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
1139         Likewise.
1140         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
1141         Likewise.
1142         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
1143         Likewise.
1144         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
1145         Likewise.
1146         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
1147         Likewise.
1148         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
1149         Likewise.
1150         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
1151         Likewise.
1153         * scripts/data/c++-types-x32-linux-gnu.data: New file.
1154         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
1156 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
1158         [BZ #10846]
1159         [BZ #14036]
1160         * math/libm-test.inc (exp_test): Add test from bug 14036.
1161         (pow_test): Add test from bug 10846.
1163         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
1164         and other flags.
1165         (special_function): Do not include flags in test name.
1166         (parse_args): Likewise.
1167         * sysdeps/i386/fpu/libm-test-ulps: Update.
1168         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1169         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1170         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1171         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1173         * math/gen-libm-test.pl (%beautify): Add entries for underflow
1174         exceptions.
1175         * math/libm-test.inc ("Philosophy"): Update comment about
1176         exception testing.
1177         (UNDERFLOW_EXCEPTION): New macro.
1178         (UNDERFLOW_EXCEPTION_OK): Likewise.
1179         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
1180         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
1181         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
1182         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
1183         (INVALID_EXCEPTION_OK): Update value.
1184         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1185         (OVERFLOW_EXCEPTION_OK): Likewise.
1186         (IGNORE_ZERO_INF_SIGN): Likewise.
1187         (test_exceptions): Handle underflow exceptions.
1188         (acos_test): Update for underflow exception expectations.
1189         (cexp_test): Likewise.
1190         (clog_test): Likewise.
1191         (clog10_test): Likewise.
1192         (csqrt_test): Likewise.
1193         (ctan_test): Likewise.
1194         (ctanh_test): Likewise.
1195         (exp_test): Likewise.
1196         (exp10_test): Likewise.
1197         (exp2_test): Likewise.
1198         (expm1_test): Likewise.
1199         (fma_test): Likewise.
1200         (j0_test): Likewise.
1201         (jn_test): Likewise.
1202         (nexttoward_test): Likewise.
1203         (pow_test): Likewise.
1204         (scalbn_test): Likewise.
1205         (scalbln_test): Likewise.
1206         (tan_test): Likewise.
1207         (y1_test): Likewise.
1208         * sysdeps/i386/fpu/libm-test-ulps: Update.
1209         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1211 2012-05-23  David S. Miller  <davem@davemloft.net>
1213         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1214         (__libc_sigaction): Remove unused local variables.
1216 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
1218         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
1220 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
1222         mktime: avoid signed integer overflow
1223         * time/mktime.c (__mktime_internal): Do not mishandle the case
1224         where diff == INT_MIN.
1226         mktime: simplify computation of average
1227         * time/mktime.c (ranged_convert): Use new time_t_avg function
1228         instead of rolling our own (probably-slower) code.
1230         mktime: do not assume signed right shift propagates sign bit
1231         * time/mktime.c (isdst_differ): New static function.
1232         (__mktime_internal): No need to normalize tm_isdst now.
1233         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
1234         tm_isdst values.
1236         mktime: merge another wrapv change from gnulib
1237         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
1238         from some compilers.
1240         mktime: remove incorrect attempt at unusual arithmetics
1241         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
1242         The code didn't really work on such machines anyway.
1243         (TYPE_MINIMUM): Assume two's complement.
1244         (twos_complement_arithmetic): Verify that long_int and time_t
1245         are two's complement (or unsigned, in the latter case).
1247         mktime: check signed shifts on long_int and time_t, too
1248         * time/mktime.c (SHR): Check that shifts work as desired
1249         on the types long_int and time_t too, as SHR is used on
1250         such types.
1252         mktime: do not assume 'long' is wide enough
1253         * time/mktime.c (verify): Move decl up.
1254         (long_int): New type.
1255         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
1256         to remove assumption in the code that 'long' is wide enough to
1257         store year values.  This assumption is not true on x32 and on
1258         some non-glibc platforms.
1260         mktime: merge wrapv change from gnulib
1261         * time/mktime.c (WRAPV): New macro.
1262         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
1263         (guess_time_tm, __mktime_internal): Do not assume that signed
1264         integer overflow wraps around; modern compilers generate code
1265         where this assumption is no longer valid.
1267 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
1269         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1270         Replace "jmp L(pseudo_end)" with "ret".
1271         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
1272         Likewise.
1274 2012-05-23  Andreas Jaeger  <aj@suse.de>
1276         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
1277         * sysdeps/unix/sysv/linux/poll.c: Remove file.
1279 2012-05-23  Andreas Jaeger  <aj@suse.de>
1280             Maximilian Attems  <max@stro.at>
1282         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
1283         New macros.
1285 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
1287         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
1288         code so that pseudo_end is just ret and the stack pointer is
1289         correct also for static library in error case.
1291 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
1293         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
1294         move to syscalls.list.
1295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1300         * manual/install.texi (Running make install): Do not mention Linux
1301         kernel version for which pt_chown is not needed.
1302         (Linux): Do not mention problems with nscd with 2.0 kernels.
1303         * INSTALL: Regenerated.
1305 2012-05-23  Andreas Jaeger  <aj@suse.de>
1307         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
1308         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
1309         macro.
1310         * sysdeps/unix/sysv/linux/s390/bits/mman.h
1311         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1312         * sysdeps/unix/sysv/linux/sh/bits/mman.h
1313         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1314         * sysdeps/unix/sysv/linux/i386/bits/mman.h
1315         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1316         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
1317         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1318         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
1319         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1320         * sysdeps/unix/sysv/linux/bits/in.h
1321         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
1323 2012-05-22  Roland McGrath  <roland@hack.frob.com>
1325         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
1326         (PREPARE_VERSION): Just use assert instead, it will be elided
1327         under [NDEBUG] anyway.
1329 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
1331         * sysdeps/unix/sysv/linux/Makefile: Include
1332         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
1333         (sysdep_routines): Remove sysctl.
1334         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
1335         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
1336         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
1337         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
1338         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
1340 2012-05-22  Andreas Jaeger  <aj@suse.de>
1342         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
1343         that pseudo_end is just ret and the stack pointer is correct also
1344         for static library in error case.
1346 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
1348         [BZ #14122]
1349         * nss/nsswitch.c (defconfig_entries): New variable.
1350         (__nss_database_lookup): Don't leak defconfig entries.
1351         (nss_parse_service_list): Don't leak on error paths.
1352         (free_database_entries): New function.
1353         (free_defconfig): New function.
1354         (free_mem): Move common code to free_database_entries.
1356 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
1358         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
1359         Add arch_prctl.
1360         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
1362         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1363         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
1364         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
1365         New macro.
1366         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
1367         (INTERNAL_SYSCALL_TYPES): Likewise.
1368         (LOAD_ARGS_TYPES_[1-6]): Likewise.
1369         (LOAD_REGS_TYPES_[1-6]): Likewise.
1370         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
1371         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
1373 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1375         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
1376         copysignl for GLIBC_2_0.
1377         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
1378         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
1379         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
1380         logbl for GLIBC_2_0.
1381         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1382         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1384 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
1386         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
1387         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
1389         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1390         Use "neg %eax".
1392         * time/mktime.c: Update copyright years.
1394 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
1396         mktime: merge comment-quoting-style change from gnulib
1397         * time/mktime.c: Quote 'like this' in comments.
1398         The GNU coding standards suggest that we no longer quote `like this',
1399         as "`" and "'" are typically rendered asymmetrically nowadays.
1400         The typical gnulib style is to quote 'like this' when quoting
1401         code, and "like this" when quoting English.
1403         * time/mktime.c (compile-command): Add "-I.".
1405         mktime: merge mktime-internal.h change from gnulib
1406         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
1408         mktime: merge time_r change from gnulib
1409         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
1411         mktime: merge DEBUG change from gnulib
1412         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
1413         case system <time.h> has a #define.
1415         mktime: merge <sys/types.h> change from gnulib
1416         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
1417         since <time.t> is now guaranteed to define time_t.
1419         mktime: merge HAVE_CONFIG_H change from gnulib
1420         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
1422 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
1424         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1425         Use "neg %eax".
1427         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
1428         __rlim_t cast.
1429         (struct rusage): Use anonymous union to pad each field to
1430         __syscall_slong_t.
1432 2012-05-21  David S. Miller  <davem@davemloft.net>
1434         * Makefules (o-iterator): Remove .s cases.
1435         (compile-command.s): Delete.
1436         (COMPILE.s): Delete.
1437         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
1439 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
1441         * configure.in (libc_cv_predef_stack_protector): Only consider
1442         "foobar" and "__stack_chk_fail" lines in libc_undefs.
1443         * configure: Regenerated.
1445 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
1447         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1448         New macro.  Use R*LP on int and pointer.
1449         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
1450         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
1451         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
1452         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
1454         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
1455         [__WORDSIZE_TIME64_COMPAT32] instead of
1456         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
1457         (struct utmp): Likewise.
1458         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
1459         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
1460         Renamed to ...
1461         (__WORDSIZE_TIME64_COMPAT32): This.
1462         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
1463         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
1464         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
1465         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
1466         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
1467         (__WORDSIZE_TIME64_COMPAT32): New macro.
1469 2012-05-21  Andreas Jaeger  <aj@suse.de>
1471         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
1472         only if [SHARED]. Add prototype for __wcschr_ia32.
1474 2012-05-21  Roland McGrath  <roland@hack.frob.com>
1476         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
1477         of %rbp unmolested in the jmp_buf while mangling the low bits.
1478         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
1479         unmolested high bits of %rbp while demangling the low bits.
1480         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
1482 2012-05-21  Andreas Jaeger  <aj@suse.de>
1484         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
1485         * sunrpc/svc_simple.c: Use it for registerrpc.
1486         * sunrpc/xcrypt.c: Use it for passwd2des.
1488         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
1490 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
1492         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
1493         Don't define if [__SYSCALL_WORDSIZE != 32].
1494         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
1495         New macro.
1497 2012-05-21  Bruno Haible  <bruno@clisp.org>
1498             Andreas Jaeger  <aj@suse.de>
1500         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
1501         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
1502         inptr and inend for must_buffer_ch.
1503         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
1504         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
1505         * stdio-common/Makefile (tests): Remove bug15.
1506         (bug15-ENV): Remove macro.
1507         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
1508         anymore.
1510 2012-05-19  Andreas Jaeger  <aj@suse.de>
1511             Roland McGrath  <roland@hack.frob.com>
1513         * manual/contrib.texi: Completely rewritten. It contains now an
1514         alphabetical list of contributors and their contributions.
1516 2012-05-21  Richard Henderson  <rth@twiddle.net>
1518         * misc/getauxval.c (__getauxval): Use unsigned long int.
1519         * misc/sys/auxv.h: Include <sys/cdefs.h>.
1520         (getauxval): Use unsigned long int.
1522 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
1524         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1526 2012-05-21  Roland McGrath  <roland@hack.frob.com>
1528         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
1529         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
1530         __alignof__ (long double).
1532 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1534         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1536 2012-05-20  Richard Henderson  <rth@twiddle.net>
1538         * misc/getauxval.c: New file.
1539         * misc/sys/auxv.h: New file.
1540         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
1541         (routines): Add getauxval.
1542         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
1543         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
1544         * elf/dl-sysdep.c (_dl_auxv): Remove.
1545         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
1546         * elf/dl-support.c (_dl_auxv): New variable.
1547         (_dl_aux_init): Initialize it.
1548         * manual/startup.texi (Auxiliary Vector): New node.
1549         * sysdeps/generic/bits/hwcap.h: New file.
1550         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
1551         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
1552         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
1553         * sysdeps/sparc/sysdep.h: ... here.  Include it.
1554         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
1555         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
1556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1557         Update.
1558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
1559         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
1560         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
1561         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
1562         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1563         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1564         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
1565         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
1567 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1569         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1571 2012-05-19  David S. Miller  <davem@davemloft.net>
1573         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1575 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
1577         [BZ #14123]
1578         * math/s_ccosh.c: Include <float.h>
1579         (__ccosh): Avoid internal overflow calculating sinh and cosh
1580         values before multiplying by sin and cos values.
1581         * math/s_ccoshf.c: Likewise.
1582         * math/s_ccoshl.c: Likewise.
1583         * math/s_csin.c: Likewise.
1584         * math/s_csinf.c: Likewise.
1585         * math/s_csinl.c: Likewise.
1586         * math/s_csinh.c: Likewise.
1587         * math/s_csinhf.c: Likewise.
1588         * math/s_csinhl.c: Likewise.
1589         * math/libm-test.inc (ccos_test): Add more tests.
1590         (ccosh_test): Likewise.
1591         (csin_test): Likewise.
1592         (csinh_test): Likewise.
1593         * sysdeps/i386/fpu/libm-test-ulps: Update.
1594         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1596 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
1598         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
1599         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
1601         * sysdeps/x86_64/x32/_itoa.h: Add comment.
1603 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
1605         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
1606         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
1607         * sysdeps/powerpc/soft-fp/Versions: Likewise.
1608         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
1609         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
1610         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
1611         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
1612         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
1613         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
1614         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
1615         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
1616         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
1617         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
1618         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
1619         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
1620         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
1621         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
1622         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
1623         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
1624         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
1625         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
1626         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
1627         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
1628         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
1629         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
1630         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
1631         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
1632         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
1633         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
1634         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
1635         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
1637 2012-05-18  Andreas Jaeger  <aj@suse.de>
1639         * csu/.gitignore: Delete.
1641 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
1643         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
1644         (timex): Use __syscall_slong_t.
1646 2012-05-18  Andreas Jaeger  <aj@suse.de>
1647             Carlos O'Donell  <carlos_odonell@mentor.com>
1649         * manual/install.texi (Configuring and compiling): Update
1650         description about files modified in the source directory.
1651         * INSTALL: Regenerated.
1653 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
1655         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
1656         value.  Use "or" to set return value to -1.
1657         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
1658         negate return value.
1660 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1662         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
1663         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
1664         failure if the compiler has Graphite support disabled.
1665         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
1666         Likewise.
1667         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
1668         CFLAGS-memmove.c): Likewise.
1669         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
1670         Likewise.
1672 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
1674         * sysdeps/x86_64/x32/_itoa.h: New file.
1676         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
1677         getdents system call only if kernel and user dirents have the
1678         same d_ino and d_off.
1680         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1681         LLONG_MAX != LONG_MAX.
1682         (_itoa_word): Use _ITOA_WORD_TYPE on value.
1683         (_fitoa_word): Likewise.
1685         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
1686         years.
1687         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
1688         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
1689         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
1691         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
1692         include <bits/wordsize.h>.  Check __x86_64__ instead of
1693         __WORDSIZE.
1694         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
1695         if __x86_64__ is defined.  Use anonymous union on fpstate.
1697         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
1698         anonymous union.
1700 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
1702         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
1703         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
1704         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
1705         Refer to _rtld_local_ro instead of _rtld_global_ro.
1706         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
1707         Likewise.
1708         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
1709         Likewise.
1710         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
1711         Likewise.
1712         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
1713         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
1714         of _rtld_global, and rtld_progname instead of _dl_argv[0].
1716         * sysdeps/powerpc/powerpc32/dl-machine.c
1717         (__elf_machine_runtime_setup) [PROF]: Don't reference
1718         _dl_prof_resolve.
1720 2012-05-18  Andreas Jaeger  <aj@suse.de>
1722         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
1723         function only available for GCCs before 3.4 since GCC 3.4
1724         introduced a builtin.
1725         (lrint): Likewise.
1726         (llrintf): Likewise.
1727         (llrint): Likewise.
1728         (fmaxf): Likewise.
1729         (fmax): Likewise.
1730         (fminf): Likewise.
1731         (fmin): Likewise.
1732         (rint): Likewise.
1733         (rintf): Likewise.
1734         (nearbyint): Likewise.
1735         (nearbyintf): Likewise.
1736         (ceil): Likewise.
1737         (ceilf): Likewise.
1738         (floor): Likewise.
1739         (floorf): Likewise.
1741 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
1743         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
1744         on both fields and cast pointer to __syscall_ulong_t.
1746         * bits/types.h (__fsword_t): New type.
1747         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
1748         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
1749         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1750         (__FSWORD_T_TYPE): Likewise.
1751         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1752         (__FSWORD_T_TYPE): Likewise.
1753         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1754         (__FSWORD_T_TYPE): Likewise.
1755         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
1756         (__FSWORD_T_TYPE): Likewise.
1757         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
1758         __SWORD_TYPE with __fsword_t.
1759         (statfs64): Likewise.
1761 2012-05-17  David S. Miller  <davem@davemloft.net>
1763         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
1765 2012-05-17  Andreas Jaeger  <aj@suse.de>
1767         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
1768         warning.
1770 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
1772         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
1774 2012-05-17  Andreas Jaeger  <aj@suse.de>
1776         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
1777         when it is used.
1779 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
1781         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
1783 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
1785         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
1786         * sysdeps/x86_64/tst-mallocalign1.c: New file.
1788 2012-05-17  Andreas Jaeger  <aj@suse.de>
1789             Carlos O'Donell  <carlos_odonell@mentor.com>
1791         [BZ #14059]
1792         * sysdeps/x86_64/multiarch/init-arch.h
1793         (bit_YMM_Usable): Rename to...
1794         (bit_AVX_Usable): ... this.
1795         (bit_FMA4_Usable): New macro.
1796         (bit_XMM_state): New macro.
1797         (bit_YMM_state): New macro.
1798         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
1799         [__ASSEMBLER__] (index_AVX_Usable): ... this.
1800         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
1801         (CPUID_OSXSAVE): New macro.
1802         (CPUID_AVX): New macro.
1803         (CPUID_FMA4): New macro.
1804         (index_YMM_Usable): Rename to...
1805         (index_AVX_Usable): ... this.
1806         (HAS_AVX): Use HAS_ARCH_FEATURE.
1807         (HAS_FMA4): Likewise.
1808         (HAS_YMM_USABLE): Remove.
1809         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1810         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
1811         are present.
1812         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
1813         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
1814         * sysdeps/x86_64/multiarch/Makefile: Likewise.
1815         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
1816         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
1818 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
1820         * math/libm-test.c: Support platforms without multiple rounding modes.
1821         * math/bug-nextafter.c: Support platforms without FP exceptions.
1822         * math/bug-nexttoward.c: Likewise.
1823         * math/test-fenv.c: Likewise.
1824         * math/test-misc.c: Likewise.
1825         * stdlib/bug-getcontext.c: Likewise.
1827 2012-05-17  Andreas Jaeger  <aj@suse.de>
1829         * manual/examples/search.c (critter_cmp): Change signature to
1830         avoid warnings.
1831         * manual/string.texi (Collation Functions): Likewise.
1833 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
1835         * bits/types.h: Fold copyright years.
1836         * bits/typesizes.h: Likewise.
1837         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
1838         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
1839         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
1840         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
1841         * time/time.h: Likewise.
1843 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
1845         [BZ #208]
1846         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
1847         in instead of returning them.  Return void.
1848         (__libc_mallinfo): Accumulate over all arenas.
1849         (__malloc_stats): Adjust for change in int_mallinfo interface.
1851 2012-05-16  Roland McGrath  <roland@hack.frob.com>
1853         [BZ #10375]
1854         * configure.in (NM): Add AC_CHECK_TOOL for it.
1855         (libc_extra_cflags): New substituted variable.
1856         Check for -fstack-protector being used implicitly.
1857         * configure: Regenerated.
1858         * config.make.in (config-extra-cflags): New variable,
1859         gets @libc_extra_cflags@.
1860         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
1862         [BZ #10375]
1863         * configure.in: Check for _FORTIFY_SOURCE being predefined.
1864         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
1865         * configure: Regenerated.
1866         * config.make.in (CPPUNDEFS): New substituted variable.
1867         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
1868         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
1869         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
1871 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
1873         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
1874         (mq_attr): Use __syscall_slong_t.
1876 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
1878         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
1879         Check __x86_64__ instead of __WORDSIZE.
1880         (_STAT_VER_LINUX): Likewise.
1881         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
1882         __syscall_ulong_t and __syscall_slong_t.
1883         (stat64): Likewise.
1885 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
1887         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
1889 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
1891         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
1893 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
1895         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
1896         __syscall_ulong_t.
1898         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
1899         include <bits/wordsize.h>.  Check __x86_64__ instead of
1900         __WORDSIZE.
1901         (greg_t): Use "__extension__ long long int" if __x86_64__ is
1902         defined.
1903         (mcontext_t): Replace "unsigned long" with "unsigned long long".
1905         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
1906         include <bits/wordsize.h>.  Check __x86_64__ instead of
1907         __WORDSIZE.
1908         (user_regs_struct): Use "__extension__ unsigned long long"
1909         instead of "unsigned long" if __x86_64__ is defined.
1910         (user): Likewise.  Pad after pointer field if __ILP32__ is
1911         defined.
1913 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
1915         * configure.in (makeinfo): Require version 4.5 or later.  Allow
1916         versions 5 to 9.
1917         * configure: Regenerated.
1918         * manual/install.texi (texinfo): Increase version requirement to
1919         4.5 or later.
1920         * INSTALL: Regenerated.
1922         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
1924 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
1926         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
1928         * sysdeps/x86_64/x32/ffs.c: New file.
1930         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
1931         __syscall_ulong_t.
1932         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
1933         defined.  Use __syscall_ulong_t.
1934         (shminfo): Use __syscall_ulong_t.
1935         (shm_info): Likewise.
1937         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
1938         __syscall_ulong_t.
1940         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
1941         <bits/wordsize.h>.
1942         (msgqnum_t): Use __syscall_ulong_t.
1943         (msglen_t): Likewise.
1944         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
1945         __syscall_ulong_t.
1947         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
1948         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
1950         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
1952         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
1953         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
1955         * sysvipc/sys/msg.h (msgbuf): Replace long int with
1956         __syscall_slong_t.
1958         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
1959         include <bits/wordsize.h>.  Check __x86_64__ instead of
1960         __WORDSIZE.
1962         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
1963         "unsigned long long int" if __x86_64__ is defined.
1964         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
1966         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
1967         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
1968         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
1970         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
1971         <stdint.h>.
1972         (GET_PC): Cast to uintptr_t first.
1973         (GET_FRAME): Likewise.
1974         (GET_STACK): Likewise.
1976         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
1977         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
1978         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
1979         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
1980         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
1981         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
1982         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
1983         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
1984         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
1985         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
1986         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
1987         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
1988         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
1989         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
1990         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
1991         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
1992         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
1993         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
1994         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
1995         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
1996         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
1997         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
1998         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
1999         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
2000         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
2001         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
2002         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
2003         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
2004         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
2006 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
2008         * Makerules (+depfiles): Also collect depfiles from .oS in
2009         $(extra-objs).
2010         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
2011         .oS, $(libnldbl-routines)).
2013         * Makerules (native-compile-mkdep-flags): Define.
2014         * sunrpc/Makefile (extra-objs): Add $(addprefix
2015         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
2016         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
2017         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
2018         calling $(make-target-directory).
2020 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2022         * bits/types.h (__snseconds_t): Removed.
2023         * time/time.h (struct timespec): Replace __snseconds_t with
2024         __syscall_slong_t.
2025         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
2026         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
2027         Likewise.
2028         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2029         (__SNSECONDS_T_TYPE): Likewise.
2030         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2031         (__SNSECONDS_T_TYPE): Likewise.
2032         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2033         (__SNSECONDS_T_TYPE): Likewise.
2035 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2037         * sysdeps/mach/hurd/bits/typesizes.h
2038         (__SYSCALL_SLONG_TYPE): New macro.
2039         (__SYSCALL_ULONG_TYPE): Likewise.
2041 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2043         * bits/types.h (__syscall_slong_t): New type.
2044         (__syscall_ulong_t): Likewise.
2046         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
2047         (__SYSCALL_ULONG_TYPE): Likewise.
2048         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2049         (__SYSCALL_SLONG_TYPE): Likewise.
2050         (__SYSCALL_ULONG_TYPE): Likewise.
2051         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2052         (__SYSCALL_SLONG_TYPE): Likewise.
2053         (__SYSCALL_ULONG_TYPE): Likewise.
2054         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2055         (__SYSCALL_SLONG_TYPE): Likewise.
2056         (__SYSCALL_ULONG_TYPE): Likewise.
2058 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2060         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
2061         Add sigaltstack-offsets.sym.
2062         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
2063         <sigaltstack-offsets.h>.
2064         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
2065         longjmp_msg pointer.
2066         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
2067         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
2068         signal stack.
2069         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
2071 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
2073         * elf/stackguard-macros.h: Remove file.
2074         * sysdeps/generic/stackguard-macros.h: New file.
2075         * sysdeps/i386/stackguard-macros.h: Likewise.
2076         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
2077         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
2078         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
2079         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
2080         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
2081         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
2082         * sysdeps/x86_64/stackguard-macros.h: Likewise.
2083         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
2084         <elf/stackguard-macros.h>.
2086         [BZ #14109]
2087         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
2088         __aligned__ in attribute.
2089         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
2090         (gregset_t): Likewise.
2092 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2094         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
2095         * sysdeps/x86_64/64/Implies-after: Here.  New file.
2096         * sysdeps/x86_64/x32/Implies-after: New file.
2098 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2100         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
2101         and access return value for _dl_profile_fixup.  Use R10_LP to
2102         load frame size.
2104 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2106         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
2108 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2110         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
2111         * sysdeps/x86_64/x32/sysdep.h: New file.
2113 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2115         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
2116         * sysdeps/x86_64/setjmp.S: Likewise.
2118 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2120         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
2121         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
2122         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
2123         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
2124         remove unused global constant.
2126 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
2128         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
2129         include of <not-cancel.h>.
2131 2012-05-15  Roland McGrath  <roland@hack.frob.com>
2133         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
2135 2012-05-15  Jeff Law  <law@redhat.com>
2136             Andreas Jaeger  <aj@suse.de>
2138         [BZ #13594]
2139         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
2140         out from...
2141         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
2142         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
2143         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
2144         code changing __hst_map_handle.map.
2146 2012-05-15  Roland McGrath  <roland@hack.frob.com>
2148         * configure.in (sysnames): Look for Implies-before and Implies-after
2149         files.
2150         * configure: Regenerated.
2152 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2154         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
2155         8-byte data alignment with LP_SIZE alignment.
2157 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2159         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
2160         into R10_LP.
2162 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2164         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
2166 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2168         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
2169         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
2170         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
2171         Likewise.
2172         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2174 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2176         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
2177         (stackinfo_sub_sp): Likewise.
2179 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2181         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
2182         RAX_LP.
2184 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2186         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
2187         into R*_LP.
2189 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2191         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
2192         sizes into R*_LP.
2194 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2196         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
2198 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2200         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
2201         into R11_LP and load __x86_64_shared_cache_size_half into
2202         R8_LP.
2204 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2206         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
2207         R8_LP.
2209 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2211         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
2212         logb for POWER7.
2213         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
2214         logbf for POWER7.
2215         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
2216         logbl for POWER7.
2217         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
2218         powerpc32/power7/fpu/s_logb.c via #include.
2219         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
2220         powerpc32/power7/fpu/s_logbf.c via #include.
2221         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
2222         powerpc32/power7/fpu/s_logbl.c via #include.
2224 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
2226         * README.libm: Remove file.
2228 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
2230         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
2231         count for x32.  Use R*_LP and omit operand-size suffix.
2233 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
2235         * shlib-versions: Move x86_64-.*-linux.* entries to ...
2236         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
2237         * sysdeps/x86_64/x32/shlib-versions: New file.
2239 2012-05-14  Roland McGrath  <roland@hack.frob.com>
2241         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
2242         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
2243         Use _dl_fatal_printf instead.
2245 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
2247         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
2248         set if not set by the user.  Do not allow for being unset.
2249         * sysdeps/unix/sysv/linux/configure: Regenerated.
2251 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
2253         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
2254         the `q' suffix from lea and replace .quad with ASM_ADDR.
2256 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
2258         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
2259         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
2260         instead of $17.
2261         (PTR_DEMANGLE): Likewise.
2263 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
2265         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
2266         (LP_OP): Likewise.
2267         (ASM_ADDR): Likewise.
2268         (RAX_LP): Likewise.
2269         (RBP_LP): Likewise.
2270         (RBX_LP): Likewise.
2271         (RCX_LP): Likewise.
2272         (RDI_LP): Likewise.
2273         (RSI_LP): Likewise.
2274         (RSP_LP): Likewise.
2275         (R8_LP): Likewise.
2276         (R9_LP): Likewise.
2277         (R10_LP): Likewise.
2278         (R10_LP): Likewise.
2279         (R11_LP): Likewise.
2280         (R12_LP): Likewise.
2281         (R13_LP): Likewise.
2282         (R14_LP): Likewise.
2283         (R15_LP): Likewise.
2285 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
2287         * sysdeps/x86_64/x32/dl-machine.h: New file.
2289 2012-05-14  Andreas Jaeger  <aj@suse.de>
2291         * manual/Makefile (subdir): Remove export of subdir.
2292         (all): Remove target.
2293         (.PHONY): Remove all from list.
2294         (mkinstalldirs): Remove.
2295         (.PHONY): Remove installdirs from list.
2296         ($(inst_infodir)/libc.info): Use make-target-directory.
2297         (installdirs): Remove.
2298         (subdir_%): Remove.
2299         (glibc-targets): Remove.
2300         (lib): Remove.
2301         (stubs): Remove.
2302         ($(objpfx)stubs ../po/manual.pot): Remove.
2303         ($(objpfx)stamp%): Remove.
2304         (make-target-directory): Remove.
2305         (subdir_install): Remove.
2306         (routines): Remove.
2307         (aux): Remove.
2308         (sources): Remove.
2309         (objects): Remove.
2310         (headers): Remove.
2312         [BZ #13750]
2313         * manual/.gitignore: Remove, it's not needed anymore.
2314         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
2315         all files in it.
2316         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
2317         directory.
2318         (texis): Renamed to $(objpfx)texis.
2319         (texis-path): New, contains path to generated files.
2320         (chapters.%): Use texis-path for complete path, add extra argument
2321         libc-texinfo.sh.
2322         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
2323         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
2324         (summary,texi, stamp-summary): Use complete path of
2325         files. Generate files in build dir.
2326         (dir-add.texi): Build in build dir.
2327         (libm-err.texi,stamp-libm-err): Likewise.
2328         (version.texi, stamp-version): Likewise.
2329         (.%c.texi): Likewise.
2330         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
2331         (mostlyclean): Remove target.
2332         (realclean): Remove target.
2333         (generated): Add new variable with contents from mostlyclean and
2334         realclean, remove entries duplicated in common-mostlyclean, add
2335         stamp-libm-err and stamp-version.
2336         (generated-dirs): Add libc directory.
2337         ($(inst_infodir)/libc.info): Install files from build dir.
2339         * manual/install.texi (Configuring and compiling): Adjust since
2340         the info files are not part of the tar ball anymore.
2342 2012-05-14  Andreas Jaeger  <aj@suse.de>
2344         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
2345         variable.
2347 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
2349         [BZ #13717]
2350         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2351         to 2.2.0 where earlier.
2352         * sysdeps/unix/sysv/linux/configure: Regenerated.
2353         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
2354         Remove conditional code.
2355         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
2356         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
2357         Remove conditional code.
2358         [!__NR_lchown]: Likewise.
2359         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2360         [__NR_lchown]: Likewise.
2361         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
2362         comment referencing __ASSUME_LCHOWN_SYSCALL.
2363         * sysdeps/unix/sysv/linux/i386/sigaction.c
2364         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2365         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2366         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
2367         Remove conditional code.
2368         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
2369         (__protocol_available): Remove #if 0 code.
2370         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
2371         conditional code.
2372         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
2373         * sysdeps/unix/sysv/linux/kernel-features.h
2374         (__ASSUME_GETCWD_SYSCALL): Don't define.
2375         (__ASSUME_REALTIME_SIGNALS): Likewise.
2376         (__ASSUME_PREAD_SYSCALL): Likewise.
2377         (__ASSUME_PWRITE_SYSCALL): Likewise.
2378         (__ASSUME_POLL_SYSCALL): Likewise.
2379         (__ASSUME_LCHOWN_SYSCALL): Likewise.
2380         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
2381         non-SPARC.
2382         (__ASSUME_SIOCGIFNAME): Don't define.
2383         (__ASSUME_MSG_NOSIGNAL): Likewise.
2384         (__ASSUME_SENDFILE): Define unconditionally.
2385         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
2386         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
2387         conditional code.
2388         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
2389         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
2390         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2391         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2392         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
2393         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2394         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
2396         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2397         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2399         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2400         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
2402         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2403         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
2405         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2406         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
2408         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2409         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
2411         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2412         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
2414         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2415         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
2417         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2418         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2419         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
2420         Remove conditional code.
2421         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2422         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2423         Remove conditional code.
2424         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2425         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
2426         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
2427         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2428         Remove conditional code.
2429         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2430         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
2431         Remove conditional code.
2432         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2433         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
2434         Remove conditional code.
2435         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2436         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2437         Remove conditional code.
2438         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2439         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2440         Remove conditional code.
2441         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2442         * sysdeps/unix/sysv/linux/sh/pwrite64.c
2443         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2444         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2445         * sysdeps/unix/sysv/linux/sigaction.c
2446         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2447         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2448         * sysdeps/unix/sysv/linux/sigpending.c
2449         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2450         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2451         * sysdeps/unix/sysv/linux/sigprocmask.c
2452         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2453         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2454         * sysdeps/unix/sysv/linux/sigsuspend.c
2455         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2456         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2457         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2458         (__libc_missing_rt_sigs): Remove.
2459         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
2460         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
2461         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
2462         Remove conditional code.
2463         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
2464         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
2465         return 1.
2466         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
2467         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
2468         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
2469         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
2471 2012-05-14  Andreas Jaeger  <aj@suse.de>
2473         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
2474         it's not used in glibc.
2475         (__coshm1): Likewise.
2476         (__acosh1p): Likewise.
2477         (__sgn): Likewise.
2479         * manual/string.texi (Copying and Concatenation): Add missing
2480         variable in concat example.
2481         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
2483 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
2485         [BZ #14103]
2486         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
2487         __builtin_clzl with __builtin_clzll.
2489 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
2491         [BZ #14104]
2492         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
2493         libc_freeres_ptr.
2495 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
2497         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
2498         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
2499         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
2500         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
2502 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
2504         * NEWS: Update ia64 info.
2506 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
2508         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
2509         used as bcopy.
2511 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
2513         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
2514         * sysdeps/unix/syscalls.list (dup3): Likewise.
2515         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
2516         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
2518 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
2520         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
2521         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
2523 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
2525         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
2526         thread pointer.
2527         (TLS_IE): Use mov/add instead of movq/addq to load thread
2528         pointer.
2529         (TLS_GD_PREFIX): New.
2530         (TLS_GD): Use it.
2532 2012-05-11  David S. Miller  <davem@davemloft.net>
2534         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
2535         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
2536         (_FPU_SETCW): Likewise.
2538 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
2540         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
2541         is 32-byte aligned.
2543 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
2545         [BZ #11837]
2546         * iconvdata/gb18030.c: Update tables.
2547         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
2548         characters specially.
2549         (BODY for TO_LOOP): Add encoding of missing ranges.
2551 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
2553         [BZ #13673]
2554         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
2555         * sysdeps/mach/hurd/dup3.c: Likewise.
2556         * sysdeps/mach/hurd/readlinkat.c: Likewise.
2557         * sysdeps/powerpc/memmove.c:: Likewise.
2559 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
2561         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
2562         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
2564 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
2566         * elf/elf.h (R_X86_64_RELATIVE64): New.
2567         (R_X86_64_NUM): Updated.
2568         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
2569         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
2570         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
2571         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
2572         tst-quad1pie tst-quad2pie
2573         (modules-names): Add tst-quadmod1 tst-quadmod2.
2574         ($(objpfx)tst-quad1): New dependency.
2575         ($(objpfx)tst-quad2): Likewise.
2576         ($(objpfx)tst-quad1pie): Likewise.
2577         ($(objpfx)tst-quad2pie): Likewise.
2578         * sysdeps/x86_64/tst-quad1.c: New file.
2579         * sysdeps/x86_64/tst-quad1pie.c: New file.
2580         * sysdeps/x86_64/tst-quad2.c: Likewise.
2581         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
2582         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
2583         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
2584         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
2585         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
2587 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2589         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
2590         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
2591         * streams/stropts.h (t_scalar_t): Define type.
2593         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
2594         (_PATH_PRESERVE): Set to "/var/lib".
2595         (_PATH_RWHODIR): Set to "/var/spool/rwho".
2597         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
2598         instead of int.
2600         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
2601         if __dir_mkfile succeeded.
2603         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
2604         checking for _hurd_dtablesize.  Unlock it right after having
2605         finished _hurd_dtable allocation.
2607 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
2609         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
2610         * sysdeps/mach/hurd/configure: Regenerated.
2611         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
2612         special-casing to...
2613         * sysdeps/gnu/configure.in: ... this new file.
2614         * sysdeps/unix/sysv/linux/configure: Regenerated.
2615         * sysdeps/gnu/configure: New generated file.
2617         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
2618         for Linux: use nsec instead of usec, as well as:
2619         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
2620         members of type struct timespec.
2621         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
2622         New macros.
2623         (struct stat64): Likewise.
2624         (_STATBUF_ST_NSEC): New macro.
2625         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
2627         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
2628         __strtoul_internal rather than strtoul.
2630 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
2632         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
2633         and reject them.
2635 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2637         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
2638         which preserves existing values.
2639         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
2641 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
2643         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
2644         TIMEOUT values.  Return EINVAL for NFDS values either negative or
2645         greater than FD_SETSIZE.
2647 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2649         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
2650         allocated, call __vm_protect to finish enabling the existing space, and
2651         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
2652         allocate the remainder.
2654 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
2656         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
2657         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
2659 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2661         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
2662         sysdeps/mach/hurd/readlink.c.
2664         * posix/tst-sysconf.c (posix_options): Only use
2665         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
2666         _POSIX_SYNCHRONIZED_IO when they are defined
2667         * sysdeps/mach/hurd/bits/posix_opt.h:
2668         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
2669         (_XOPEN_REALTIME): Undefine macro.
2670         (_XOPEN_REALTIME_THREADS): Undefine macro.
2671         (_XOPEN_SHM): Undefine macro.
2672         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
2673         macro to -1.
2674         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
2675         macro to -1.
2676         (_POSIX_ASYNC_IO): Undefine macro.
2677         (_POSIX_PRIORITIZED_IO): Undefine macro.
2678         (_POSIX_SPIN_LOCKS): Define macro to -1.
2680         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
2681         SA_NODEFER, SA_RESETHAND.
2682         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
2683         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
2684         F_DUPFD_CLOEXEC.
2686 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
2688         * elf/Makefile (pldd-modules): Define unconditionally.
2690 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
2692         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
2694 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2696         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
2697         Return ENOENT when name is empty.
2698         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
2700 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
2702         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
2704         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
2706 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2708         Fix mlock in all cases except non-readable pages.
2709         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
2710         instead of VM_PROT_ALL as parameter to __vm_wire function.
2712         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
2713         (__mkdir): When path is `/', just fail with EEXIST.
2714         * sysdeps/mach/hurd/mkdirat.c: Likewise.
2716 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
2718         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
2719         <sys/uio.h> (for writev).
2720         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
2721         and <sys/param.h> (for MIN).
2723 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
2725         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
2726         REQUESTED_TIME.  Properly set the remaining time and return EINTR
2727         if interrupted.
2729 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
2731         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
2732         Depend on against $(link-rpcuserlibs).
2734 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2736         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
2737         (__libc_stack_end): Do not use attribute_relro.
2738         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
2739         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
2740         to libthread-provided value.
2741         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
2742         attribute_relro.
2744 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
2746         [BZ #3748]
2747         * bits/libc-lock.h (__libc_once_get): New macro.
2748         * sysdeps/mach/bits/libc-lock.h: Likewise.
2749         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
2750         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
2751         instead of using implementation details.
2753         * libio/fileops.c: Unconditionally include <kernel-features.h>.
2754         * libio/freopen.c: Likewise.
2755         * libio/freopen64.c: Likewise.
2756         * misc/syslog.c: Likewise.
2757         * nscd/connections.c: Likewise.
2758         * nscd/netgroupcache.c: Likewise.
2759         * sysdeps/posix/getcwd.c: Likewise.
2761 2012-05-10  Roland McGrath  <roland@hack.frob.com>
2763         * math/w_ilogbf.c: Add #include <limits.h>.
2765 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2767         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
2768         path instead of returning without unlocking.
2770         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
2771         immediate-write ioctls.
2772         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
2774 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
2776         * sysdeps/mach/hurd/i386/init-first.c (init): Use
2777         __builtin_frame_address instead of making assumptions about the
2778         location of the return address relative to DATA.  Force early load of
2779         the return address.
2780         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
2781         __builtin_frame_address.
2783         dup3 for GNU Hurd.
2784         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
2785         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
2786         implement dup3 and do some further code clean-ups.
2787         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
2788         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
2790 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2792         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
2794         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
2795         HURD_CRITICAL_END around holding _hurd_dtable_lock.
2796         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
2797         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
2798         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
2799         d->port.lock.
2801         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
2802         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
2803         when handler == SIG_ERR, not when handler != SIG_ERR.
2805 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
2807         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
2808         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
2809         definitions.
2811         accept4 for GNU Hurd.
2812         * include/sys/socket.h (__libc_accept4): New prototype.
2813         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
2814         to implement __libc_accept4.
2815         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
2816         __libc_accept4.
2817         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
2819         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
2820         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
2821         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
2822         signal-defines.sym.
2824 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2826         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
2828 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
2830         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
2831         assertion on O_CLOEXEC flag.
2832         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
2833         * hurd/intern-fd.c: Likewise.
2834         * hurd/port2fd.c: Likewise.
2836 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2838         [BZ #3906]
2839         * bits/in.h (IPV6_PKTINFO): Define new macro.
2840         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
2842 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2844         [BZ #13954]
2845         [BZ #13955]
2846         [BZ #13956]
2847         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
2848         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2849         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
2850         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
2851         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2852         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
2853         * math/libm-test.inc (logb_test) : Additional logb tests.
2855 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
2856             Andreas Jaeger  <aj@suse.de>
2858         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
2859         * configure: Regenerated.
2860         * config.h.in (LINK_OBSOLETE_RPC): New macro.
2861         * config.make.in (link-obsolete-rpc): New substituted variable.
2862         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
2863         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
2864         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2865         (shared-only-routines): Don't set it under [link-obsolete-rpc],
2866         so that libc.a contains the symbols.
2867         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2868         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
2869         * sunrpc/auth_none.c: Likewise.
2870         * sunrpc/auth_unix.c: Likewise.
2871         * sunrpc/authdes_prot.c: Likewise.
2872         * sunrpc/authuxprot.c: Likewise.
2873         * sunrpc/clnt_gen.c: Likewise.
2874         * sunrpc/clnt_perr.c: Likewise.
2875         * sunrpc/clnt_raw.c: Likewise.
2876         * sunrpc/clnt_simp.c: Likewise.
2877         * sunrpc/clnt_tcp.c: Likewise.
2878         * sunrpc/clnt_udp.c: Likewise.
2879         * sunrpc/clnt_unix.c: Likewise.
2880         * sunrpc/des_crypt.c: Likewise.
2881         * sunrpc/des_soft.c: Likewise.
2882         * sunrpc/get_myaddr.c: Likewise.
2883         * sunrpc/key_call.c: Likewise.
2884         * sunrpc/key_prot.c: Likewise.
2885         * sunrpc/netname.c: Likewise.
2886         * sunrpc/pm_getmaps.c: Likewise.
2887         * sunrpc/pm_getport.c: Likewise.
2888         * sunrpc/pmap_clnt.c: Likewise.
2889         * sunrpc/pmap_prot.c: Likewise.
2890         * sunrpc/pmap_prot2.c: Likewise.
2891         * sunrpc/pmap_rmt.c: Likewise.
2892         * sunrpc/publickey.c: Likewise.
2893         * sunrpc/rpc_cmsg.c: Likewise.
2894         * sunrpc/rpc_common.c: Likewise.
2895         * sunrpc/rpc_dtable.c: Likewise.
2896         * sunrpc/rpc_prot.c: Likewise.
2897         * sunrpc/rpc_thread.c: Likewise.
2898         * sunrpc/rtime.c: Likewise.
2899         * sunrpc/svc.c: Likewise.
2900         * sunrpc/svc_auth.c: Likewise.
2901         * sunrpc/svc_raw.c: Likewise.
2902         * sunrpc/svc_run.c: Likewise.
2903         * sunrpc/svc_tcp.c: Likewise.
2904         * sunrpc/svc_udp.c: Likewise.
2905         * sunrpc/svc_unix.c: Likewise.
2906         * sunrpc/svcauth_des.c: Likewise.
2907         * sunrpc/xcrypt.c: Likewise.
2908         * sunrpc/xdr.c: Likewise.
2909         * sunrpc/xdr_array.c: Likewise.
2910         * sunrpc/xdr_float.c: Likewise.
2911         * sunrpc/xdr_intXX_t.c: Likewise.
2912         * sunrpc/xdr_mem.c: Likewise.
2913         * sunrpc/xdr_rec.c: Likewise.
2914         * sunrpc/xdr_ref.c: Likewise.
2915         * sunrpc/xdr_sizeof.c: Likewise.
2916         * sunrpc/xdr_stdio.c: Likewise.
2918 2012-05-10  Roland McGrath  <roland@hack.frob.com>
2920         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
2921         change.  Update copyright years.
2923 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
2925         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
2927 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
2928             Joseph Myers  <joseph@codesourcery.com>
2929             Paul Pluzhnikov  <ppluzhnikov@google.com>
2931         [BZ #14012]
2932         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
2933         requiring rpcgen.
2934         [cross-compiling] (extra-libs): Likewise.
2935         [cross-compiling] (extra-libs-others): Likewise.
2936         [cross-compiling] (librpcsvc-routines): Likewise.
2937         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
2938         [cross-compiling] (omit-deps): Likewise.
2939         (sunrpc-CPPFLAGS): New variable.
2940         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
2941         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
2942         (cross-rpcgen-objs): New variable.
2943         (extra-objs): Append $(cross-rpcgen-objs).
2944         ($(cross-rpcgen-objs)): New rule.
2945         ($(objpfx)cross-rpcgen): Likewise.
2946         (rpcgen-cmd): Define to use $(built-program-file).  Expand
2947         comment.
2948         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
2949         ($(objpfx)x%.stmp): Likewise.
2950         * sunrpc/proto.h [IS_IN_build] (_): Define.
2951         [IS_IN_build] (_libc_intl_domainname): Likewise.
2953 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
2955         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
2956         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
2957         and R_X86_64_TPOFF64.
2959 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
2961         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
2962         sysdeps/unix/sysv/syscalls.list.
2963         (stime): Likewise.
2964         (utime): Likewise.
2965         * sysdeps/unix/sysv/syscalls.list: Remove file.
2967 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
2969         [BZ #3440]
2970         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
2971         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
2972         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
2973         (__LC_IDENTIFICATION): Make these macros useful in #if
2974         expressions, as required by C99.
2976 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
2978         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
2979         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
2980         after this.
2982 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
2984         * stdlib/longlong.h: Updated from GCC.
2986 2012-05-09  Andreas Jaeger  <aj@suse.de>
2988         * nscd/nscd.c (run_modes): Make named enum, reorder so that
2989         default is first entry.
2990         (run_mode): Set type.
2991         (main): Remove informal message about syslog.
2992         (options): Fix typo.
2994         [BZ #14053]
2995         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
2996         to asm.
2997         (lrint): Likewise.
2998         (llrintf): Likewise.
2999         (llrint): Likewise.
3000         (rint): Likewise.
3001         (rintf): Likewise.
3002         (nearbyint): Likewise.
3003         (nearbyintf): Likewise.
3005 2012-05-09  Andreas Jaeger  <aj@suse.de>
3006             Pedro Alves  <palves@redhat.com>
3008         * nscd/nscd.c (run_mode): Use enum.
3009         (main): Cleanup coding style issue.
3011 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
3012             Andreas Jaeger  <aj@suse.de>
3014         * nscd/nscd.c (go_background): Replaced with...
3015         (run_mode): ... this.
3016         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
3017         (options): Add -F --foreground.
3018         (main): Implement it.
3019         (parse_opt): Parse it.
3021 2012-05-09  Andreas Jaeger  <aj@suse.de>
3023         [BZ #14083]
3024         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
3025         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
3026         -Wconversion warning.
3027         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
3028         Likewise.
3030 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
3032         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
3033         == 0.
3034         (LC_ALL): Use macro-int-constant.
3035         (LC_COLLATE): Likewise.
3036         (LC_CTYPE): Likewise.
3037         (LC_MESSAGES): Likewise.
3038         (LC_MONETARY): Likewise.
3039         (LC_NUMERIC): Likewise.
3040         (LC_TIME): Likewise.
3041         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
3042         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
3043         [ISO || ISO99 || ISO11] (*_t): Do not allow.
3044         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
3045         Specify type.
3046         [C99-based standards] (float_t): Expect type.
3047         [C99-based standards] (double_t): Expect type.
3048         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
3049         type.
3050         [C99-based standards] (HUGE_VALL): Likewise.
3051         [C99-based standards] (INFINITY): Likewise.
3052         [C99-based standards] (NAN): Likewise.
3053         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
3054         [C99-based standards] (FP_NAN): Likewise.
3055         [C99-based standards] (FP_NORMAL): Likewise.
3056         [C99-based standards] (FP_SUBNORMAL): Likewise.
3057         [C99-based standards] (FP_ZERO): Likewise.
3058         [C99-based standards] (FP_FAST_FMA): Use
3059         optional-macro-int-constant.  Specify type.  Require == 1.
3060         [C99-based standards] (FP_FAST_FMAF): Likewise.
3061         [C99-based standards] (FP_FAST_FMAL): Likewise.
3062         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
3063         [C99-based standards] (FP_ILOGBNAN): Likewise.
3064         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
3065         Specify type.
3066         [C99-based standards] (MATH_ERREXCEPT): Likewise.
3067         [C99-based standards] (math_errhandling): Specify type.
3068         [ISO99 || ISO11] (signgam): Do not allow.
3069         [non-C99-based standards] (copysignf): Do not allow.
3070         [non-C99-based standards] (exp2f): Likewise.
3071         [non-C99-based standards] (log2f): Likewise.
3072         [non-C99-based standards] (modff): Allow.
3073         [non-C99-based standards] (erff): Do not allow.
3074         [non-C99-based standards] (erfcf): Likewise.
3075         [non-C99-based standards] (gammaf): Likewise.
3076         [non-C99-based standards] (hypotf): Likewise.
3077         [non-C99-based standards] (j0f): Likewise.
3078         [non-C99-based standards] (j1f): Likewise.
3079         [non-C99-based standards] (jnf): Likewise.
3080         [non-C99-based standards] (lgammaf): Likewise.
3081         [non-C99-based standards] (tgammaf): Likewise.
3082         [non-C99-based standards] (y0f): Likewise.
3083         [non-C99-based standards] (y1f): Likewise.
3084         [non-C99-based standards] (ynf): Likewise.
3085         [non-C99-based standards] (isnanf): Likewise.
3086         [non-C99-based standards] (acoshf): Likewise.
3087         [non-C99-based standards] (asinhf): Likewise.
3088         [non-C99-based standards] (atanhf): Likewise.
3089         [non-C99-based standards] (cbrtf): Likewise.
3090         [non-C99-based standards] (expm1f): Likewise.
3091         [non-C99-based standards] (ilogbf): Likewise.
3092         [non-C99-based standards] (log1pf): Likewise.
3093         [non-C99-based standards] (logbf): Likewise.
3094         [non-C99-based standards] (nextafterf): Likewise.
3095         [non-C99-based standards] (remainderf): Likewise.
3096         [non-C99-based standards] (rintf): Likewise.
3097         [non-C99-based standards] (scalbf): Likewise.
3098         [non-C99-based standards] (copysignl): Likewise.
3099         [non-C99-based standards] (exp2l): Likewise.
3100         [non-C99-based standards] (log2l): Likewise.
3101         [non-C99-based standards] (modfl): Allow.
3102         [non-C99-based standards] (erfl): Do not allow.
3103         [non-C99-based standards] (erfcl): Likewise.
3104         [non-C99-based standards] (gammal): Likewise.
3105         [non-C99-based standards] (hypotl): Likewise.
3106         [non-C99-based standards] (j0l): Likewise.
3107         [non-C99-based standards] (j1l): Likewise.
3108         [non-C99-based standards] (jnl): Likewise.
3109         [non-C99-based standards] (lgammal): Likewise.
3110         [non-C99-based standards] (tgammal): Likewise.
3111         [non-C99-based standards] (y0l): Likewise.
3112         [non-C99-based standards] (y1l): Likewise.
3113         [non-C99-based standards] (ynl): Likewise.
3114         [non-C99-based standards] (isnanl): Likewise.
3115         [non-C99-based standards] (acoshl): Likewise.
3116         [non-C99-based standards] (asinhl): Likewise.
3117         [non-C99-based standards] (atanhl): Likewise.
3118         [non-C99-based standards] (cbrtl): Likewise.
3119         [non-C99-based standards] (expm1l): Likewise.
3120         [non-C99-based standards] (ilogbl): Likewise.
3121         [non-C99-based standards] (log1pl): Likewise.
3122         [non-C99-based standards] (logbl): Likewise.
3123         [non-C99-based standards] (nextafterl): Likewise.
3124         [non-C99-based standards] (remainderl): Likewise.
3125         [non-C99-based standards] (rintl): Likewise.
3126         [non-C99-based standards] (scalbl): Likewise.
3127         [ISO || ISO99 || ISO11] (*_t): Do not allow.
3128         [non-C99-based standards] (FP_*): Do not allow.
3129         [C99-based standards] (FP_*): Change to
3130         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
3131         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3132         allow.
3133         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
3134         (SIG_ERR): Likewise.
3135         [X/Open-based standards] (SIG_HOLD): Likewise.
3136         (SIG_IGN): Likewise.
3137         (SIGABRT): Use macro-int-constant.  Specify type.  Require
3138         positive value.
3139         (SIGFPE): Likewise.
3140         (SIGILL): Likewise.
3141         (SIGINT): Likewise.
3142         (SIGSEGV): Likewise.
3143         (SIGTER): Likewise.
3144         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
3145         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
3146         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
3147         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
3148         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
3149         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
3150         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
3151         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
3152         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
3153         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
3154         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
3155         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
3156         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
3157         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
3158         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
3159         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
3160         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
3161         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
3162         [X/Open-based standards] (SIGTRAP): Likewise.
3163         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
3164         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
3165         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
3166         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
3167         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3168         allow.
3170 2012-05-08  Ian Wienand  <ianw@vmware.com>
3172         [BZ #14080]
3173         * time/tzset.c (__tzset_parse_tz): Update default rules for
3174         daylight time changes in the Energy Policy Act of 2005.
3176 2012-05-09  Andreas Jaeger  <aj@suse.de>
3178         [BZ #13983]
3179         * elf/ldconfig.c (parse_conf): Change string to make clear that
3180         ldconfig only issued a warning if ld.so.conf does not exist.
3182 2012-05-08  David S. Miller  <davem@davemloft.net>
3184         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
3185         movxtod instead of popping the value on the stack.
3187         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3189 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
3191         * config.h.in: Add HAVE_ARM_PCS_VFP.
3193 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
3195         [BZ #13979]
3196         * include/features.h: Warn if user requests __FORTIFY_SOURCE
3197         checking but the checks are disabled for any reason.
3199 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
3201         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
3202         and ELF64_R_TYPE with ELFW(R_TYPE).
3204 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
3206         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
3207         (ulimit): Likewise.
3209         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
3210         (settimeofday): Likewise.
3212 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
3214         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
3215         a struct th_u2 inside the union, and move tu_block/tu_code into
3216         a new th_u3 union of tu_block/tu_code inside of that.  Move
3217         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
3218         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
3219         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
3220         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
3221         (th_stuff): Change to th_u1.tu_stuff.
3222         (th_data): Define.
3223         (th_msg): Change to th_u1.th_u2.tu_data.
3225 2012-05-07  David S. Miller  <davem@davemloft.net>
3227         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3229         [BZ #14074]
3230         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
3231         (SETUP_PIC_REG): Use it.
3232         (SETUP_PIC_REG_LEAF): Use it.
3234 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
3236         [BZ #13885]
3237         [BZ #13923]
3238         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3239         USE_AS_EXPM1L.
3240         (EXPL_FINITE): Likewise.
3241         (FLDLOG): Likewise.
3242         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3243         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3244         e_expl.S.
3245         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3246         USE_AS_EXPM1L.
3247         (EXPL_FINITE): Likewise.
3248         (FLDLOG): Likewise.
3249         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3250         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3251         e_expl.S.
3252         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
3253         test of -max_value argument for long double.
3254         * sysdeps/i386/fpu/libm-test-ulps: Update.
3255         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3257 2012-05-06  David S. Miller  <davem@davemloft.net>
3259         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
3260         quad soft-float symbols whose references which are compiler
3261         generated.
3262         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
3264 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
3266         [BZ #13884]
3267         [BZ #13914]
3268         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3269         USE_AS_EXP10L.
3270         (EXPL_FINITE): Likewise.
3271         (FLDLOG): Likewise.
3272         (c0): Likewise.
3273         (c1): Likewise.
3274         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
3275         Adjust comments for base varying.
3276         (__expl_finite): Change alias to EXPL_FINITE.
3277         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
3278         e_expl.S.
3279         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
3280         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
3281         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3282         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
3283         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3284         USE_AS_EXP10L.
3285         (EXPL_FINITE): Likewise.
3286         (FLDLOG): Likewise.
3287         (c0): Likewise.
3288         (c1): Likewise.
3289         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
3290         Adjust comments for base varying.
3291         (__expl_finite): Change alias to EXPL_FINITE.
3292         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
3293         tests for bugs.
3294         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3296         [BZ #14064]
3297         * math/libm-test.inc (check_float_internal): Correct ulp
3298         calculation for subnormal expected results.
3300 2012-05-06  Andreas Jaeger  <aj@suse.de>
3302         * Makeconfig (+math-flags): New, set to -frounding-math.
3303         (+cflags): Add +math-flags so that all of glibc gets compiled with
3304         it.
3306         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
3308 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
3310         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
3311         Disable one test.
3313         [BZ #13787]
3314         [BZ #13922]
3315         [BZ #14036]
3316         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
3317         (__ieee754_expl): Allow for and saturate large arguments.
3318         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
3319         (u_threshold): Likewise.
3320         (__exp): Call __ieee754_exp before checking for overflow and
3321         underflow.
3322         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
3323         (u_threshold): Likewise.
3324         (__expf): Call __ieee754_expf before checking for overflow and
3325         underflow.
3326         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
3327         (u_threshold): Likewise.
3328         (__expl): Call __ieee754_expl before checking for overflow and
3329         underflow.
3330         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
3331         (__ieee754_expl): Allow for and saturate large arguments.
3332         * math/libm-test.inc (exp_test): Add another test.  Do not allow
3333         missing overflow exception on overflow.
3334         (expm1_test): Do not allow missing overflow exception on overflow.
3336         * sysdeps/i386/fpu/e_expl.c: Move to ...
3337         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
3338         rather than using inline asm.
3339         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
3340         * sysdeps/x86_64/fpu/e_expl.S: Copy from
3341         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
3343         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
3344         (nice): Likewise.
3345         (poll): Likewise.
3346         (signal): Likewise.
3347         (time): Likewise.
3348         (times): Likewise.
3350 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
3352         * sysdeps/unix/syscalls.list (adjtime): Add entry from
3353         sysdeps/unix/common/syscalls.list.
3354         (fchmod): Likewise.
3355         (fchown): Likewise.
3356         (ftruncate): Likewise.
3357         (getrusage): Likewise.
3358         (gettimeofday): Likewise.
3359         (setpgid): Likewise.
3360         (setregid): Likewise.
3361         (setreuid): Likewise.
3362         (sigaction): Likewise.
3363         (truncate): Likewise.
3364         (vhangup): Likewise.
3365         * sysdeps/unix/common/syscalls.list: Remove file.
3366         * sysdeps/unix/bsd/Implies: Don't include unix/common.
3367         * sysdeps/unix/sysv/linux/Implies: Likewise.
3369 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
3371         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
3372         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
3373         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
3374         Moved to ...
3375         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
3376         Here.
3377         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
3378         to ...
3379         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
3380         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
3381         to ...
3382         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
3383         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
3384         to ...
3385         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
3386         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
3387         to ...
3388         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
3389         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
3390         to ...
3391         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
3392         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
3393         to ...
3394         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
3395         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
3396         to ...
3397         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3398         Here.
3399         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
3400         to ...
3401         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
3402         Here.
3403         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
3404         to ...
3405         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
3406         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
3407         Moved to ...
3408         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
3409         Here.
3410         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
3411         to ...
3412         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
3414 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
3416         * sysdeps/unix/common/bits/dirent.h: Remove file.
3417         * sysdeps/unix/common/bits/fcntl.h: Likewise.
3419         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
3420         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
3421         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
3422         * sysdeps/unix/bsd/isatty.c: Likewise.
3423         * sysdeps/unix/bsd/tcdrain.c: Likewise.
3424         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
3425         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
3427 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3429         [BZ #13563]
3430         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
3431         long double comparison inaccuracies.
3432         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
3433         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3435 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
3437         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
3438         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
3440 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
3442         [BZ #14049]
3443         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
3444         nonzero digits before rounding a hex value.
3445         * stdlib/tst-strtod.c (tests): Add another test.
3447 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3449         * sysdeps/s390/fpu/libm-test-ulps: Update.
3451 2012-05-03  Andreas Jaeger  <aj@suse.de>
3453         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
3454         does not get optimized out.
3455         (malloc_opt_barrier): New.
3457 2012-05-03  Andreas Jaeger  <aj@suse.de>
3458             Roland McGrath  <roland@hack.frob.com>
3460         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
3461         intermediate file deletion.
3462         (generated): Add .symlist files.
3464 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
3466         [BZ #13775]
3467         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
3468         Redirect under this condition.
3469         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3470         [__USE_GNU] (__dprintf_chk): Not under this condition.
3471         [__USE_GNU] (__vdprintf_chk): Likewise.
3472         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
3473         under this condition.
3474         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3475         [__USE_XOPEN2K8] (dprintf): Define under this condition.
3476         [__USE_XOPEN2K8] (vdprintf): Likewise.
3477         [__USE_GNU] (__dprintf_chk): Not under this condition.
3478         [__USE_GNU] (__vdprintf_chk): Likewise.
3479         [__USE_GNU] (dprintf): Likewise.
3480         [__USE_GNU] (vdprintf): Likewise.
3482 2012-05-03  Roland McGrath  <roland@hack.frob.com>
3484         * elf/Makefile (common-generated): Set this instead of generated for
3485         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
3486         $(all-built-dso)-derived lists.
3488 2012-05-03  Andreas Jaeger  <aj@suse.de>
3490         * sysdeps/i386/fpu/libm-test-ulps: Update.
3492         * FAQ: Removed.
3493         * FAQ.in: Likewise.
3494         * scripts/gen-FAQ.pl: Likewise.
3495         * manual/install.texi (Installation): Point to online location of
3496         FAQ.
3497         * Makefile (files-for-dist): Remove FAQ.
3498         (FAQ): Remove.
3500 2012-05-02  Allan McRae  <allan@archlinux.org>
3502         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
3503         (LDFLAGS-reldepmod5.so): Likewise.
3504         (LDFLAGS-reldep6mod1.so): Likewise.
3505         (LDFLAGS-reldep6mod4.so): Likewise.
3506         (LDFLAGS-reldep8mod3.so): Likewise.
3507         (LDFLAGS-unload4mod1.so): Likewise.
3508         (LDFLAGS-unload4mod2.so): Likewise.
3509         (LDFLAGS-tst-initorder): Likewise.
3510         (LDFLAGS-tst-initordera2.so): Likewise.
3511         (LDFLAGS-tst-initordera3.so): Likewise.
3512         (LDFLAGS-tst-initordera4.so): Likewise.
3513         (LDFLAGS-tst-initorderb2.so): Likewise.
3514         (LDFLAGS-noload): Likewise.
3515         (LDFLAGS-next): Likewise.
3516         (LDFLAGS-order2mod1.so): Likewise.
3517         (LDFLAGS-order2mod2.so): Likewise.
3518         (LDFLAGS-tst-initorder2): Likewise.
3519         (LDFLAGS-tst-initorder2a.so): Likewise.
3520         (LDFLAGS-tst-initorder2b.so): Likewise.
3521         (LDFLAGS-tst-initorder2c.so): Likewise.
3522         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
3524 2012-05-02  David S. Miller  <davem@davemloft.net>
3526         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3528 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
3530         [BZ #14055]
3531         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
3533 2012-05-02  Andreas Jaeger  <aj@suse.de>
3535         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
3536         since we manipulate rounding mode.
3537         (CPPFLAGS-test-idouble.c): Likewise.
3538         (CPPFLAGS-test-ifloat.c): Likewise.
3539         (CFLAGS-test-ldouble.c): Likewise.
3540         (CFLAGS-test-double.c): Likewise.
3541         (CFLAGS-test-float.c): Likewise.
3542         (CFLAGS-test-misc.c): Likewise.
3543         (CFLAGS-test-test-fenv.c): Likewise.
3545 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3547         [BZ #2550]
3548         [BZ #2570]
3549         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
3550         comparisons to determine direction to adjust input.
3552 2012-05-01  Roland McGrath  <roland@hack.frob.com>
3554         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
3555         output to the target.
3557         * scripts/localplt.awk: New file.
3558         * elf/Makefile ($(objpfx)check-localplt): Target removed.
3559         (check-localplt-CFLAGS): Variable removed.
3560         ($(all-built-dso:=.jmprel)): New static pattern rule.
3561         (generated): Add those targets.
3562         (localplt-built-dso): New variable.
3563         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
3565         * elf/check-localplt.c: File removed.
3567         * scripts/check-execstack.awk: New file.
3568         * elf/Makefile ($(objpfx)check-execstack): Target removed.
3569         (check-execstack-CFLAGS): Variable removed.
3570         ($(objpfx)check-execstack.h): Target removed.
3571         ($(objpfx)execstack-default): New target.
3572         (generated): Add that instead of check-execstack.h.
3573         ($(all-built-dso:=.phdr)): New static pattern rule.
3574         (generated): Add those targets.
3575         * elf/check-execstack.c: File removed.
3577         * scripts/check-textrel.awk: New file.
3578         * elf/Makefile ($(objpfx)check-textrel): Target removed.
3579         (check-textrel-CFLAGS): Variable removed.
3580         (all-built-dso): Use := to define.o
3581         ($(all-built-dso:=.dyn)): New static pattern rule.
3582         (generated): Add those targets.
3583         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
3584         * config.make.in (READELF): New substituted variable.
3585         * elf/check-textrel.c: File removed.
3587 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
3589         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3590         allow.
3591         * conform/data/ctype.h-data [C99-based standards] (isblank):
3592         Expect function.
3593         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
3594         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
3595         [ISO || ISO99 || ISO11] (*_t): Do not allow.
3596         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
3597         Specify type.  Require positive value.
3598         (EILSEQ): Likewise.
3599         (ERANGE): Likewise.
3600         [ISO || POSIX] (EILSEQ): Do not expect.
3601         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
3602         Specify type.  Require positive value.
3603         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
3604         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
3605         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
3606         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
3607         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
3608         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
3609         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
3610         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
3611         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
3612         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
3613         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
3614         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
3615         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
3616         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
3617         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
3618         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
3619         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
3620         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
3621         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
3622         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
3623         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
3624         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
3625         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
3626         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
3627         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
3628         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
3629         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
3630         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
3631         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
3632         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
3633         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
3634         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
3635         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
3636         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
3637         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
3638         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
3639         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
3640         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
3641         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
3642         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
3643         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
3644         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
3645         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
3646         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
3647         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
3648         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
3649         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
3650         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
3651         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
3652         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
3653         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
3654         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
3655         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
3656         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
3657         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
3658         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
3659         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
3660         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
3661         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
3662         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
3663         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
3664         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
3665         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
3666         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
3667         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
3668         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
3669         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
3670         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
3671         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
3672         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
3673         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
3674         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
3675         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
3676         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
3677         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
3678         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
3679         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
3680         Require >= 2.
3681         (FLT_ROUNDS): Expect as macro, not constant.
3682         (FLT_MANT_DIG): Use macro-int-constant.
3683         (DBL_MANT_DIG): Likewise.
3684         (LDBL_MANT_DIG): Likewise.
3685         (FLT_DIG): Likewise.
3686         (DBL_DIG): Likewise.
3687         (LDBL_DIG): Likewise.
3688         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
3689         (DBL_MIN_EXP): Likewise.
3690         (LDBL_MIN_EXP): Likewise.
3691         (FLT_MAX_EXP): Use macro-int-constant.
3692         (DBL_MAX_EXP): Likewise.
3693         (LDBL_MAX_EXP): Likewise.
3694         (FLT_MAX_10_EXP): Likewise.
3695         (DBL_MAX_10_EXP): Likewise.
3696         (LDBL_MAX_10_EXP): Likewise.
3697         (FLT_MAX): Use macro-constant.
3698         (DBL_MAX): Likewise.
3699         (LDBL_MAX): Likewise.
3700         (FLT_EPSILON): Use macro-constant.  Give upper bound.
3701         (DBL_EPSILON): Likewise.
3702         (LDBL_EPSILON): Likewise.
3703         (FLT_MIN): Likewise.
3704         (DBL_MIN): Likewise.
3705         (LDBL_MIN): Likewise.
3706         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
3707         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
3708         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
3709         [ISO11] (FLT_HAS_SUBNORM): Likewise.
3710         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
3711         [ISO11] (DBL_DECIMAL_DIG): Likewise.
3712         [ISO11] (FLT_DECIMAL_DIG): Likewise.
3713         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
3714         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
3715         [ISO11] (FLT_TRUE_MIN): Likewise.
3716         [ISO11] (LDBL_TRUE_MIN): Likewise.
3717         [ISO || ISO99 || ISO11] (*_t): Do not allow.
3718         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
3719         (SCHAR_MIN): Use macro-int-constant.  Specify type.
3720         (SCHAR_MAX): Likewise.
3721         (UCHAR_MAX): Likewise.
3722         (CHAR_MIN): Likewise.
3723         (CHAR_MAX): Likewise.
3724         (MB_LEN_MAX): Use macro-int-constant.
3725         (SHRT_MIN): Use macro-int-constant.  Specify type.
3726         (SHRT_MAX): Likewise.
3727         (USHRT_MAX): Likewise.
3728         (INT_MAX): Likewise.
3729         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
3730         bound negative.
3731         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
3732         bound with "U".
3733         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
3734         bound with "L".
3735         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
3736         bound negative.  Suffix upper bound with "L".
3737         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
3738         bound with "UL".
3739         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
3740         Specify type.
3741         [C99-based standards] (LLONG_MAX): Likewise.
3742         [C99-based standards] (ULLONG_MAX): Likewise.
3743         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
3744         == 0.
3745         [ISO11] (max_align_t): Require type.
3746         [ISO || ISO99 || ISO11] (*_t): Do not allow.
3748         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
3749         from $CFLAGS, without defining away __attribute__ calls.
3750         (checknamespace): Use $CFLAGS_namespace.
3752         * conform/conformtest.pl (@keywords): Only include C99 keywords
3753         for standards based on C99 or C11.
3755         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
3756         Disable tests.
3757         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
3758         UNIX98]: Likewise.
3760         * conform/conformtest.pl: Handle "macro-int-constant" and test for
3761         usability of symbols in #if.
3763         * conform/conformtest.pl: If macro or constant types start
3764         "promoted:", expect the symbol to be of the following type
3765         promoted by the integer promotions.
3767         * conform/conformtest.pl: Parse all "constant" and "macro" lines
3768         in one place.  Also handle "macro-constant".
3770         * conform/conformtest.pl: Only accept expected macro values with
3771         "==".  Parse all "macro" lines in one place.
3772         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
3774         * conform/conformtest.pl: Handle braced types on "constant" lines
3775         instead of handling "typed-constant".
3776         * conform/data/signal.h-data: Use "constant" instead of
3777         "typed-constant".
3779         * conform/conformtest.pl: Handle "optional-" at start of lines in
3780         one place rather than duplicating several cases.  Handle each
3781         format of "macro" line with initial "optional-".
3783         * conform/conformtest.pl: Only accept expected constant or
3784         optional-constant values with "==".  Parse all "constant" lines in
3785         one place.  Parse all "optional-constant" lines in one place.
3786         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
3787         * conform/data/fmtmsg.h-data: Likewise.
3788         * conform/data/netinet/in.h-data: Likewise.
3789         * conform/data/tar.h-data: Likewise.
3790         * conform/data/limits.h-data: Use "==" form on "constant" and
3791         "optional-constant" lines.
3793         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
3794         Use -std=c99 for XOPEN2K.
3795         (@knownproblems): Remove.
3796         (newtoken): Don't check %isknown.
3798         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
3799         Do not expect macro.
3800         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
3801         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
3802         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
3803         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
3804         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
3805         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
3806         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
3807         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
3808         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
3809         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
3810         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
3811         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
3812         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
3813         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
3814         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
3815         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
3816         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
3817         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
3818         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
3819         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
3820         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
3821         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
3822         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
3823         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
3824         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
3825         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
3826         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
3827         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
3828         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
3829         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
3830         [XPG3] (acosh): Likewise.
3831         [XPG3] (asinh): Likewise.
3832         [XPG3] (atanh): Likewise.
3833         [XPG3] (cbrt): Likewise.
3834         [XPG3] (expm1): Likewise.
3835         [XPG3] (ilogb): Likewise.
3836         [XPG3] (log1p): Likewise.
3837         [XPG3] (logb): Likewise.
3838         [XPG3] (nextafter): Likewise.
3839         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
3840         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
3841         [XPG3] (remainder): Likewise.
3842         [XPG3] (rint): Likewise.
3843         [XPG3 || XPG4 || UNIX98] (round): Likewise.
3844         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
3845         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
3846         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
3847         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
3848         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
3849         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
3850         [UNIX98 || XOPEN2K] (scalb): Expect.
3851         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
3852         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
3853         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
3854         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
3855         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
3856         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
3857         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
3858         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
3859         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
3860         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
3861         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
3862         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
3863         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
3864         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
3865         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
3866         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
3867         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
3868         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
3869         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
3870         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
3871         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
3872         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
3873         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
3874         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
3875         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
3876         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
3877         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
3878         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
3879         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
3880         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
3881         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
3882         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
3883         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
3884         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
3885         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
3886         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
3887         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
3888         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
3889         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
3890         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
3891         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
3892         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
3893         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
3894         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
3895         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
3896         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
3897         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
3898         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
3899         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
3900         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
3901         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
3902         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
3903         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
3904         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
3905         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
3906         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
3907         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
3908         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
3909         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
3910         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
3911         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
3912         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
3913         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
3914         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
3915         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
3916         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
3917         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
3918         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
3919         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
3920         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
3921         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
3922         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
3923         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
3924         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
3925         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
3926         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
3927         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
3928         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
3929         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
3930         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
3931         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
3932         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
3933         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
3934         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
3935         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
3936         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
3937         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
3938         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
3939         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
3940         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
3941         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
3942         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
3943         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
3944         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
3945         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
3946         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
3947         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
3948         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
3949         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
3950         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
3951         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
3952         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
3953         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
3954         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
3955         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
3956         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
3957         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
3958         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
3959         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
3960         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
3961         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
3962         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
3963         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
3964         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
3965         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
3966         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
3967         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
3968         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
3969         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
3970         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
3971         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
3972         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
3973         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
3974         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
3975         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
3976         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
3977         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
3978         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
3979         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
3980         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
3981         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
3982         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
3983         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
3984         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
3985         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
3986         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
3987         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
3989         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
3990         _XOPEN_SOURCE_EXTENDED for XPG4.
3992         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
3994         * Makeconfig (localtime): Remove variable.
3995         (inst_localtime-file): Likewise.
3997 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
3999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
4000         Update.
4001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4002         Update.
4003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
4004         Update.
4005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4006         Update.
4007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
4008         Update.
4009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
4010         Update.
4011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4012         Update.
4013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
4014         Update.
4015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4016         Update.
4018 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
4020         [BZ #2550]
4021         [BZ #2570]
4022         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
4023         comparisons to determine direction to adjust input.
4024         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
4025         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
4026         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
4027         Likewise.
4028         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
4029         Likewise.
4030         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4031         Likewise.
4032         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
4033         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
4034         Likewise.
4035         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
4036         Likewise.
4037         * math/libm-test.inc (nexttoward_test): Add more tests.
4039 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
4041         [BZ #14040]
4042         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
4043         in version GLIBC_2.1, not GLIBC_2.0.
4044         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
4045         Likewise.
4047 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
4049         [BZ #13942]
4050         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
4051         (1 - x) * (1 + x).
4052         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
4053         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
4054         * math/libm-test.inc (acos_test): Add more tests.
4055         (asin_test): Likewise.
4056         * sysdeps/i386/fpu/libm-test-ulps: Update.
4057         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4059         [BZ #14034]
4060         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
4061         of square root.
4062         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
4063         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
4064         * math/libm-test.inc (acos_test_tonearest): New function.
4065         (acos_test_towardzero): Likewise.
4066         (acos_test_downward): Likewise.
4067         (acos_test_upward): Likewise.
4068         (asin_test_tonearest): Likewise.
4069         (asin_test_towardzero): Likewise.
4070         (asin_test_downward): Likewise.
4071         (asin_test_upward): Likewise.
4072         (main): Call the new functions.
4073         * sysdeps/i386/fpu/libm-test-ulps: Update.
4074         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4076         [BZ #13884]
4077         [BZ #13924]
4078         * math/e_exp10.c: Include <float.h>.
4079         (__ieee754_exp10): Handle underflow here rather than multiplying
4080         large negative argument by M_LN10.
4081         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
4082         of __ieee754_expf.
4083         * math/e_exp10l.c: Include <float.h>.
4084         (__ieee754_exp10l): Handle underflow here rather than multiplying
4085         large negative argument by M_LN10l.
4086         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
4087         spurious overflow exception on underflow.
4089 2012-04-29  Marek Polacek  <polacek@redhat.com>
4091         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
4092         (__fortify_function): New macro.
4093         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
4094         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
4095         __extern_always_inline.
4096         * libio/bits/stdio2.h: Likewise.
4097         * libio/bits/stdio.h: Likewise.
4098         * string/string.h: Likewise.
4099         * string/bits/string3.h: Likewise.
4100         * include/stdio.h: Likewise.
4101         * stdlib/bits/stdlib.h: Likewise.
4102         * stdlib/stdlib.h: Likewise.
4103         * rt/bits/mqueue2.h: Likewise.
4104         * rt/mqueue.h: Likewise.
4105         * posix/bits/unistd.h: Likewise.
4106         * posix/unistd.h: Likewise.
4107         * io/bits/poll2.h: Likewise.
4108         * io/bits/fcntl2.h: Likewise.
4109         * io/fcntl.h: Likewise.
4110         * io/sys/poll.h: Likewise.
4111         * misc/bits/syslog.h: Likewise.
4112         * misc/bits/syslog-ldbl.h: Likewise.
4113         * misc/sys/syslog.h: Likewise.
4114         * socket/bits/socket2.h: Likewise.
4115         * socket/sys/socket.h: Likewise.
4116         * debug/tst-chk1.c: Likewise.
4117         * wcsmbs/bits/wchar2.h: Likewise.
4118         * wcsmbs/bits/wchar-ldbl.h: Likewise.
4119         * wcsmbs/wchar.h: Likewise.
4121 2012-04-29  Andreas Jaeger  <aj@suse.de>
4123         * Makerules (tests): Remove enable-check-abi protection.
4124         (check-abi-warn): Remove.
4125         (check-abi-%): Remove check-abi-warn usage.
4127         * configure.in: Remove check-abi configure option.
4128         * configure: Regenerated.
4129         * config.make.in (enable-check-abi): Remove.
4131 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
4133         [BZ #14033]
4134         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
4135         double functions to double *_finite functions.
4137         [BZ #13941]
4138         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
4139         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
4140         LDBL_MIN_EXP.
4141         * stdio-common/Makefile (tests): Add tst-sprintf3.
4142         * stdio-common/tst-sprintf3.c: New file.
4144         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
4145         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
4147 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
4149         * conform/conformtest.pl: Remove duplicate typed-constant
4150         handling.
4152 2012-04-28  David S. Miller  <davem@davemloft.net>
4154         * Makerules (%.abilist): Add vpath on sysdep_dirs.
4155         (check-abi-%): Remove AWK script prerequisite and explicit
4156         abilist directory.
4157         (check-abi): Rewrite to just diff the symlist with the abilist.
4158         (config-tls, config-abi-config): Delete, no longer used.
4159         (update-abi-%): Remove AWK script and explicit abilist directory.
4160         (update-abi): Rewrite to simply compare and conditionally copy the
4161         symlist and the sysdep abilist file.  Remove update-abi-config
4162         checks.
4163         * abilist/ld.abilist: Remove.
4164         * abilist/libBrokenLocale.abilist: Remove.
4165         * abilist/libanl.abilist: Remove.
4166         * abilist/libcrypt.abilist: Remove.
4167         * abilist/libdl.abilist: Remove.
4168         * abilist/librt.abilist: Remove.
4169         * abilist/libthread_db.abilist: Remove.
4170         * abilist/libutil.abilist: Remove.
4171         * scripts/extract-abilist.awk: Remove.
4172         * scripts/merge-abilist.awk: Remove.
4173         * sysdeps/generic/libcidn.abilist: New file.
4174         * sysdeps/generic/libnss_compat.abilist: New file.
4175         * sysdeps/generic/libnss_db.abilist: New file.
4176         * sysdeps/generic/libnss_dns.abilist: New file.
4177         * sysdeps/generic/libnss_files.abilist: New file.
4178         * sysdeps/generic/libnss_hesiod.abilist: New file.
4179         * sysdeps/generic/libnss_nis.abilist: New file.
4180         * sysdeps/generic/libnss_nisplus.abilist: New file.
4181         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
4182         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
4183         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
4184         file.
4185         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
4186         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
4187         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
4188         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
4189         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
4190         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
4191         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
4192         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
4193         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
4194         file.
4195         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
4196         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
4197         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
4198         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
4199         file.
4200         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
4201         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
4202         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
4203         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
4204         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
4205         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
4206         file.
4207         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
4208         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
4209         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
4210         file.
4211         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
4212         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
4213         New file.
4214         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
4215         New file.
4216         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
4217         New file.
4218         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
4219         New file.
4220         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
4221         New file.
4222         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
4223         New file.
4224         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
4225         New file.
4226         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
4227         New file.
4228         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
4229         New file.
4230         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
4231         New file.
4232         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
4233         New file.
4234         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
4235         New file.
4236         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
4237         New file.
4238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
4239         file.
4240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
4241         New file.
4242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
4243         New file.
4244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
4245         file.
4246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
4247         New file.
4248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
4249         New file.
4250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
4251         file.
4252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
4253         New file.
4254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4255         New file.
4256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
4257         New file.
4258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
4259         New file.
4260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
4261         New file.
4262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
4263         New file.
4264         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
4265         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
4266         file.
4267         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
4268         New file.
4269         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
4270         file.
4271         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
4272         file.
4273         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
4274         file.
4275         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
4276         file.
4277         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
4278         file.
4279         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4280         New file.
4281         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
4282         file.
4283         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
4284         file.
4285         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
4286         New file.
4287         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
4288         file.
4289         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
4290         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
4291         file.
4292         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
4293         New file.
4294         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
4295         file.
4296         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
4297         file.
4298         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
4299         file.
4300         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
4301         file.
4302         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
4303         file.
4304         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4305         New file.
4306         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
4307         file.
4308         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
4309         file.
4310         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
4311         New file.
4312         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
4313         file.
4314         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
4315         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
4316         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
4317         file.
4318         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
4319         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
4320         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
4321         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
4322         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
4323         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
4324         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
4325         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
4326         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
4327         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
4328         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
4329         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
4330         file.
4331         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
4332         New file.
4333         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
4334         file.
4335         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
4336         file.
4337         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
4338         file.
4339         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
4340         file.
4341         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
4342         file.
4343         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4344         New file.
4345         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
4346         New file.
4347         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
4348         file.
4349         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
4350         New file.
4351         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
4352         file.
4353         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
4354         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
4355         file.
4356         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
4357         New file.
4358         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
4359         file.
4360         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
4361         file.
4362         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
4363         file.
4364         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
4365         file.
4366         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
4367         file.
4368         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4369         New file.
4370         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
4371         New file.
4372         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
4373         file.
4374         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
4375         New file.
4376         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
4377         file.
4379 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
4381         * conform/conformtest.pl: Fix typo in handling typed-constant from
4382         allow-header.
4384 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
4386         * README: Cut down references to pre-2.6 Linux kernels and
4387         Linuxthreads.  Update lists of configurations in libc and ports
4388         and sort alphabetically.  Say "or newer" with Linux kernel version
4389         requirements.
4391         * config.h.in [IS_IN_build]: Allow compiling without optimization.
4393 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
4395         [BZ #887]
4396         * math/libm-test.inc (logb_test_downward): New test to expose
4397         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
4398         rounding mode.
4400 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
4402         [BZ #14027]
4403         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
4404         to be done.
4405         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
4406         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
4408 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
4410         * sysdeps/unix/i386/brk.S: Remove file.
4411         * sysdeps/unix/i386/dl-brk.S: Likewise.
4412         * sysdeps/unix/i386/pipe.S: Likewise.
4413         * sysdeps/unix/i386/sigreturn.S: Likewise.
4414         * sysdeps/unix/i386/syscall.S: Likewise.
4415         * sysdeps/unix/i386/vfork.S: Likewise.
4416         * sysdeps/unix/i386/wait.S: Likewise.
4418         * sysdeps/unix/common/tcsendbrk.c: Move to ...
4419         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
4421         * configure.in (arm*-none*): Do not allow without
4422         --enable-hacker-mode.
4423         (netbsd*): Remove case setting base_os.
4424         (386bsd*): Likewise.
4425         (freebsd*): Likewise.
4426         (bsdi*): Likewise.
4427         (osf*): Likewise.
4428         (sunos*): Likewise.
4429         (ultrix*): Likewise.
4430         (newsos*): Likewise.
4431         (dynix*): Likewise.
4432         (*bsd*): Likewise.
4433         (sysv*): Likewise.
4434         (isc*): Likewise.
4435         (esix*): Likewise.
4436         (sco*): Likewise.
4437         (minix*): Likewise.
4438         (irix4*): Likewise.
4439         (irix6*): Likewise.
4440         (solaris[2-9]*): Likewise.
4441         (none): Likewise.
4442         * configure: Regenerated.
4444 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4446         [BZ #11521]
4447         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
4448         overflow or cancellation in calculating denominator.
4449         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
4450         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
4451         down expression to avoid unexpected rounding in newer GCCs.
4452         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
4454 2012-04-26  David S. Miller  <davem@davemloft.net>
4456         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
4457         long-double compat symbols.
4458         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4459         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4460         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4461         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
4462         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4463         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
4464         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
4465         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
4466         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
4467         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
4468         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
4469         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
4470         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
4472 2012-04-25  David S. Miller  <davem@davemloft.net>
4474         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
4475         HWCAP_* values only after the memory barriers have been defined.
4476         (atomic_full_barrier): Define.
4477         (atomic_read_barrier): Define.
4478         (atomic_write_barrier): Define.
4480 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
4482         * shlib-versions: Add libgcc_s version information.
4483         * sysdeps/generic/libgcc_s.h: Remove.
4484         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
4485         libgcc_s.h.
4486         * sysdeps/gnu/unwind-resume.c: Likewise.
4487         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
4489 2012-04-25  David S. Miller  <davem@davemloft.net>
4491         * sysdeps/unix/sparc/brk.S: Delete.
4492         * sysdeps/unix/sparc/dl-brk.S: Delete.
4493         * sysdeps/unix/sparc/pipe.S: Delete.
4494         * sysdeps/unix/sparc/sysdep.S: Delete.
4495         * sysdeps/unix/sparc/sysdep.h: Delete.
4496         * sysdeps/unix/sparc/vfork.S: Delete.
4497         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
4498         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
4499         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
4500         ret_ERRVAL, r0, r1, MOVE): Define.
4501         (JUMPTARGET): Remove.
4502         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
4503         sysdeps/unix/sparc/sysdep.h
4504         (ENTRY, END): Remove.
4505         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4507 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
4509         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
4510         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
4511         -DIS_IN_build.
4513         * timezone/README: Update upstream location and email address for
4514         tzcode and tzdata.
4515         * timezone/zdump.c: Update from tzcode 2012b.
4516         * timezone/zic.c: Likewise.
4518         * configure.in (libc_cv_as_needed): Remove test.
4519         * configure: Regenerated.
4520         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
4521         conditional definition.
4522         [$(have-as-needed) != yes] (no-as-needed): Likewise.
4523         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
4524         * config.make.in (have-as-needed): Remove variable.
4526 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
4527             Paul Pluzhnikov  <ppluzhnikov@google.com>
4529         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
4530         strings correctly.
4532 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
4534         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
4535         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
4536         * sysdeps/sh/strlen.S: Likewise.
4538 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
4540         * sysdeps/unix/fork.S: Remove file.
4541         * sysdeps/unix/i386/fork.S: Likewise.
4542         * sysdeps/unix/sparc/fork.S: Likewise.
4544         * sysdeps/unix/system.c: Remove file.
4545         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
4547         * sysdeps/unix/getegid.S: Remove file.
4548         * sysdeps/unix/geteuid.S: Likewise.
4550 2012-04-24  Roland McGrath  <roland@hack.frob.com>
4552         * scripts/check-localplt.awk: New file.
4553         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
4554         of diff.
4555         * scripts/data/localplt-generic.data: Add a comment.
4557         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
4558         NODE when __dir_mkfile failed.
4559         * sysdeps/mach/hurd/symlinkat.c: Likewise.
4560         Reported by Ludovic Courtès <ludo@gnu.org>.
4562 2012-04-24  Andreas Jaeger  <aj@suse.de>
4564         * Makerules (common-clean): Also remove gen-as-const-headers
4565         files.
4567 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
4569         * Makerules (native-compile): Do not change working directory for
4570         build.  Use $(OUTPUT_OPTION) in command.
4571         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
4573 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4575         [BZ #13886]
4576         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
4577         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
4578         * math/libm-test.inc (floor_test): Add more tests.
4579         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
4581 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
4583         * sysdeps/unix/getdents.c: Remove file.
4584         * sysdeps/unix/sysv/getdents.c: Likewise.
4585         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
4587         * sysdeps/unix/syscalls.list (madvise): Add syscall from
4588         sysdeps/unix/mman/syscalls.list.
4589         (mmap): Likewise.
4590         (mprotect): Likewise.
4591         (msync): Likewise.
4592         (munmap): Likewise.
4593         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
4594         * sysdeps/unix/mman/syscalls.list: Remove.
4595         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
4597         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
4598         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
4599         * configure: Regenerated.
4600         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
4601         $(libgcc_s_suffix).
4602         * config.make.in (libgcc_s_suffix): Remove variable.
4604 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
4606         * sysdeps/unix/sysv/gethostname.c: Move to ...
4607         * sysdeps/posix/gethostname.c: ... here.
4609         * sysdeps/unix/execve.S: Remove file.
4611         * sysdeps/unix/_exit.S: Remove file.
4613 2012-04-23  Andreas Jaeger  <aj@suse.de>
4615         [BZ #13739]
4616         * manual/Makefile: Remove make dist support, there's no
4617         need for a stand-alone documentation tar ball.
4618         (TEXI2DVI): Define always, it's not in Makeconfig.
4619         (dist): Removed.
4620         (tar-it): Removed.
4621         (edition): Removed.
4622         (glibc-doc-$(edition).tar): Removed
4623         (%.Z): Removed.
4624         (%.gz): Removed.
4625         (%.uu): Removed.
4626         (ETAGS): Remove, it's in Makeconfig.
4627         (move-if-change): Remove, it's in Makeconfig.
4629 2013-04-23  Paul Eggert  <eggert@cs.ucla.edu>
4631         [BZ #13970]
4632         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
4633         (strtod, strtof, strtold, strtol, strtoul, strtoq)
4634         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
4635         (strtod_l, strtof_l, strtold_l): Remove __wur.
4636         It is not necessarily an error to ignore strtol's return value.
4637         One can reliably look at the stored endptr to decide whether
4638         the number had valid syntax.
4640 2012-04-21  Andreas Jaeger  <aj@suse.de>
4642         [BZ #13739]
4643         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
4645 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
4647         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
4648         * sysdeps/unix/sysv/Versions: Remove file.
4650 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
4652         [BZ #13927]
4653         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4655 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
4657         [BZ #7064]
4658         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
4659         version from __vm86.
4661 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
4663         * sysdeps/unix/common/lxstat.c: Remove file.
4664         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
4666         * sysdeps/unix/sysv/Makefile: Remove file.
4668         * sysdeps/unix/sysv/direct.h: Remove file.
4670         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
4671         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
4672         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
4673         * sysdeps/unix/sysv/bits/signum.h: Likewise.
4674         * sysdeps/unix/sysv/bits/stat.h: Likewise.
4675         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
4676         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
4678         * sysdeps/unix/sysv/setrlimit.c: Remove file.
4680         * sysdeps/unix/xmknod.c: Remove file.
4681         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
4683         * sysdeps/unix/sysv/settimeofday.c: Remove file.
4685         * sysdeps/unix/sysv/i386/time.S: Remove file.
4687         * sysdeps/unix/fxstat.c: Remove file.
4688         * sysdeps/unix/xstat.c: Likewise.
4689         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
4691         * sysdeps/unix/sysv/sigaction.c: Remove file.
4693         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
4694         (sysdep_headers): Remove variable.
4695         [termio.h not in sysdep_headers] (generated): Likewise.
4696         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
4697         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
4698         * sysdeps/unix/sysv/tcdrain.c: Likewise.
4699         * sysdeps/unix/sysv/tcflow.c: Likewise.
4700         * sysdeps/unix/sysv/tcflush.c: Likewise.
4701         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
4702         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
4703         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
4704         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
4705         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
4707         * sysdeps/unix/siglist.c: Remove file.
4709         * sysdeps/unix/getppid.S: Remove file.
4711         * sysdeps/unix/mkdir.c: Remove file.
4712         * sysdeps/unix/rmdir.c: Likewise.
4714 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
4716         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
4717         ERR_MAX value.
4718         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
4719         errlist-compat value.
4721 2012-04-18  David S. Miller  <davem@davemloft.net>
4723         * sysdeps/generic/memcopy.h (reg_char): Delete.
4724         * debug/strcat_chk.c: Use char, not reg_char.
4725         * debug/strcpy_chk.c: Likewise.
4726         * debug/strncat_chk.c: Likewise.
4727         * debug/strncpy_chk.c: Likewise.
4728         * string/memchr.c: Likewise.
4729         * string/memrchr.c: Likewise.
4730         * string/rawmemchr.c: Likewise.
4731         * string/strcat.c: Likewise.
4732         * string/strchr.c: Likewise.
4733         * string/strchrnul.c: Likewise.
4734         * string/strcmp.c: Likewise.
4735         * string/strcpy.c: Likewise.
4736         * string/strncat.c: Likewise.
4737         * string/strncmp.c: Likewise.
4738         * string/strncpy.c: Likewise.
4740 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
4742         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
4743         __builtin_memcopy is called when src and dest ranges are known to not
4744         overlap.
4746 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
4748         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
4749         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
4750         fwd_align_merge macro call.
4751         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
4752         bwd_align_merge macro call.
4753         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4755 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
4757         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
4758         bwd_align_merge macros.
4759         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
4760         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
4761         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4763 2012-04-18  David S. Miller  <davem@davemloft.net>
4765         * sysdeps/sparc/sparc64/memcopy.h: Delete.
4767 2012-04-18  Andreas Jaeger  <aj@suse.de>
4769         [BZ# 6794]
4770         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
4771         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
4772         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4774         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
4775         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
4776         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4778         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
4779         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
4780         Adjust for changed ldbl-128 files.
4782         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
4783         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
4784         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4786 2012-04-17  David S. Miller  <davem@davemloft.net>
4788         * sysdeps/sparc/sparc32/memcopy.h: Delete.
4790 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
4792         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
4793         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
4794         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
4795         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
4796         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
4797         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
4799 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4801         [BZ #6794]
4802         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
4803         * math/libm-test.inc: Add ilogb errno and exception tests.
4804         * math/w_ilogb.c: New file: ilogb wrapper.
4805         * math/w_ilogbf.c: New file: ilogbf wrapper.
4806         * math/w_ilogbl.c: New file: ilogbl wrapper.
4807         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
4808         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
4809         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
4810         exception being thrown with 0.0 as argument.
4811         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
4812         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
4813         exception being thrown with 0.0 as argument.
4814         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
4815         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4816         exception being thrown with 0.0 as argument.
4817         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
4818         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4819         exception being thrown with 0.0 as argument.
4820         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
4821         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
4822         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
4823         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
4824         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
4825         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
4826         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
4827         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
4828         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
4830 2012-04-17  Petr Baudis  <pasky@ucw.cz>
4832         * include/sys/uio.h: Change __vector to __iovec to avoid clash
4833         with altivec.
4835 2012-04-16  Marek Polacek  <polacek@redhat.com>
4837         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
4839 2012-04-16  Marek Polacek  <polacek@redhat.com>
4841         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
4842         operands of fdivp instruction.
4844 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
4846         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
4847         * elf/tst-auditmod3b.c: Likewise.
4848         * elf/tst-auditmod4b.c: Likewise.
4849         * elf/tst-auditmod5b.c: Likewise.
4850         * elf/tst-auditmod6b.c: Likewise.
4851         * elf/tst-auditmod6c.c: Likewise.
4852         * elf/tst-auditmod7b.c: Likewise.
4853         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
4854         * sysdeps/x86_64/preconfigure.in: Likewise.
4855         * sysdeps/x86_64/preconfigure: Regenerated.
4857 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
4859         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
4860         __ILP32__.
4862 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
4864         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4865         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
4867 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
4869         [BZ #13973]
4870         * locale/iso-639.def: Fix gl language name. Spotted by
4871         Yaron Shahrabani.
4873 2012-04-12  Roland McGrath  <roland@hack.frob.com>
4875         [BZ #2074]
4876         * libio/libio.h (__io_write_fn): Update comment.
4878 2012-04-12  Petr Baudis  <pasky@ucw.cz>
4880         [BZ #2074]
4881         * stdio.texi (Hook Functions): The user provided writer function
4882         is not allowed to return -1.
4884 2012-04-11  David S. Miller  <davem@davemloft.net>
4886         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4888 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
4890         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
4891         Add a leading slash to rtkaio.
4893 2012-04-11  Jim Meyering  <meyering@redhat.com>
4895         [BZ #11959]
4896         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
4897         It is not necessarily an error to ignore fwrite's return
4898         value.  One can reliably use ferror to test for errors after
4899         the fact.
4901 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
4903         * bits/types.h (__snseconds_t): New type.
4904         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
4906         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
4907         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4908         (__SNSECONDS_T_TYPE): Likewise.
4909         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4910         (__SNSECONDS_T_TYPE): Likewise.
4911         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4912         (__SNSECONDS_T_TYPE): Likewise.
4914 2012-04-10  Andreas Jaeger  <aj@suse.de>
4916         [BZ #2636]
4917         * manual/time.texi (Processor Time): Return type of times is
4918         elapsed real time since an arbitrary point in the past.
4919         (CPU Time): Move CLK_TCK from here...
4920         (Processor Time): ...to here.  Correct description.
4921         * manual/conf.texi (Constants for Sysconf): Correct description of
4922         _SC_CLK_TCK.
4924 2012-04-10  David S. Miller  <davem@davemloft.net>
4926         [BZ #13967]
4927         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
4928         where the is a gap between DT_REL(A) and DT_JMPREL.
4930 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
4932         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
4933         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
4934         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
4936 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
4938         * elf/dl-support.c (_dl_inhibit_cache): New variable.
4939         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
4940         (dl_main): Handle --inhibit-cache.
4941         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
4942         _dl_inhibit_cache.
4943         * elf/dl-load.c (_dl_map_object): Use it.
4944         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
4946 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
4948         [BZ #13872]
4949         * sysdeps/i386/fpu/e_powl.S (p78): New object.
4950         (__ieee754_powl): Saturate large exponents rather than testing for
4951         overflow of y*log2(x).
4952         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4953         * math/libm-test.inc (pow_test): Do not permit spurious overflow
4954         exceptions.
4956         [BZ #11521]
4957         * math/s_ctan.c: Include <float.h>.
4958         (__ctan): Avoid internal overflow or cancellation in calculating
4959         denominator.
4960         * math/s_ctanf.c: Likewise.
4961         * math/s_ctanl.c: Likewise.
4962         * math/s_ctanh.c: Likewise.
4963         * math/s_ctanhf.c: Likewise.
4964         * math/s_ctanhl.c: Likewise.
4965         * math/libm-test.inc (ctan_test): Add more tests.
4966         (ctanh_test): Likewise.
4967         * sysdeps/i386/fpu/libm-test-ulps: Update.
4968         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4970 2012-04-09  Andreas Jaeger  <aj@suse.de>
4972         [BZ #6894]
4973         * manual/filesys.texi (Directory Entries): Mention that d_namlen
4974         is an optional BSD extension.
4976         [BZ #10254]
4977         * manual/stdio.texi (Opening Streams): Document additional fopen
4978         parameters.
4980 2012-04-09  Roland McGrath  <roland@hack.frob.com>
4982         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
4983         %eax without telling the compiler.
4985 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
4987         [BZ # 13963]
4988         * manual/install.texi: Use sourceware.org.
4990 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
4992         [BZ #13873]
4993         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
4994         (__ieee754_pow): Generate overflow and underflow using huge*huge
4995         and tiny*tiny rather than just returning constant infinity or zero
4996         for large exponents.
4997         * math/libm-test.inc (pow_test): Require overflow exceptions for
4998         applicable cases of large exponents.
5000         [BZ #706]
5001         * sysdeps/i386/fpu/e_pow.S (p10): New object.
5002         (__ieee754_pow): Use iterative multiplication algorithm only for
5003         integer exponents with absolute value below 1024.  Check for odd
5004         integer exponents when using algorithm for real exponents.
5005         * math/libm-test.inc (pow_test): Add more tests.
5006         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5008 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
5010         [BZ #13705]
5011         * math/libm-test.inc (exp_test): Do not allow overflow exception
5012         on underflow test.
5014 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
5016         [BZ #13705]
5017         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
5018         instead of __kernel_standard_f.
5020 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
5022         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
5023         * sysdeps/x86_64/memset_chk.S: Likewise.
5025 2012-04-08  Andreas Jaeger  <aj@suse.de>
5027         [BZ #10153]
5028         * manual/startup.texi (Environment Access): Describe return value
5029         for putenv and setenv.
5031         [BZ #6895]
5032         * manual/filesys.texi (Directory Entries): Add description for
5033         DT_LNK.
5035         [BZ #6890]
5036         * manual/filesys.texi (Directory Entries): Clarify that it's file
5037         system not operating system in the description of DT_UNKNOWN.
5039         [BZ #6578]
5040         * manual/syslog.texi (closelog): Fix reference, it's openlog.
5042 2012-04-08  Stephen Compall  <s11@member.fsf.org>
5044         [BZ #6649]
5045         * manual/llio.texi (Opening and Closing Files): Add cross
5046         reference to explain mode argument.
5048 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
5050         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
5051         * sysdeps/x86_64/memset_chk.S: Likewise.
5053 2012-04-07  David S. Miller  <davem@davemloft.net>
5055         * elf/elf.h (R_SPARC_WDISP10): Define.
5056         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
5057         R_SPARC_SIZE32.
5058         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
5059         R_SPARC_SIZE64 and R_SPARC_H34.
5061 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
5063         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
5064         conditions and remove no longer applicable assertion.
5066 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
5068         * bits/byteswap.h: Include <features.h>.
5069         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
5070         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
5072 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
5074         * bits/byteswap.h (__bswap_16): Removed.
5075         Include <bits/byteswap-16.h> to get __bswap_16.
5076         * sysdeps/i386/bits/byteswap.h: Likewise.
5077         * sysdeps/s390/bits/byteswap.h: Likewise.
5078         * sysdeps/x86_64/bits/byteswap.h: Likewise.
5079         * bits/byteswap-16.h: New file.
5080         * sysdeps/i386/bits/byteswap-16.h: Likewise.
5081         * sysdeps/s390/bits/byteswap-16.h: Likewise.
5082         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
5083         * string/Makefile (headers): Add bits/byteswap-16.h.
5085 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
5087         [BZ #13895]
5088         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
5089         extra indirection.
5090         * nss/Makefile (tests-static, tests): Add tst-nss-static.
5091         * nss/tst-nss-static.c: New.
5093 2012-04-06  Robert Millan  <rmh@gnu.org>
5095         [BZ #6486]
5096         * manual/llio.texi (File Position Primitive): lseek
5097         refers to WHENCE when it really means OFFSET.
5099 2012-04-06  Andreas Jaeger  <aj@suse.de>
5101         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
5102         strncmp declarations.
5104         * abilist/libc.abilist: Add __poll and __ppoll.
5106 2012-04-05  David S. Miller  <davem@davemloft.net>
5108         * scripts/check-local-headers.sh: Accept a host triplet in the
5109         path matched by the exclude regexp.
5111         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
5112         definition.
5113         * sysdeps/powerpc/powerpc32/dl-machine.h
5114         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
5115         * sysdeps/s390/s390-32/dl-machine.h
5116         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5117         * sysdeps/sparc/sparc32/dl-machine.h
5118         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5119         * sysdeps/sparc/sparc64/dl-machine.h
5120         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5122         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
5123         lazy binding.
5124         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
5125         undefined symbol errors.
5127         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
5128         DT_NEEDED entries.
5130 2012-04-05  Michael Matz  <matz@suse.de>
5132         [BZ #13592]
5133         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
5135 2012-04-05  Andreas Jaeger  <aj@suse.de>
5137         [BZ #13908]
5138         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
5139         comment.
5141 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
5143         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
5144         which ROUND is no valid rounding mode.
5146 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
5148         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
5149         read again.
5150         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
5152 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
5154         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
5155         an exception using FPU order intentionally.
5157 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
5159         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
5160         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
5161         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
5162         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
5164 2012-04-05  Simon Josefsson  <simon@josefsson.org>
5166         [BZ #12340]
5167         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
5168         EINVAL when BUFLEN is too smal.
5170 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
5172         [BZ #13553]
5173         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
5174         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
5176 2012-04-03  Andreas Jaeger  <aj@suse.de>
5178         [BZ #13938]
5179         * manual/setjmp.texi (System V contexts): Fix sentence.
5181         [BZ #13926]
5182         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
5183         New macro for this case.
5184         [!__GNUC__] (__bswap_64): New inline function for this case.
5185         * sysdeps/x86_64/bits/byteswap.h: Likewise.
5186         * bits/byteswap.h: Likewise.
5187         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
5188         ull, guard with __GLIBC_HAVE_LONG_LONG.
5190         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
5191         __GLIBC_HAVE_LONG_LONG.
5193         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
5194         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
5196 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5198         [BZ #13691]
5199         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
5200         inptr and inend, rather than using last_ch.
5202 2012-04-02  David S. Miller  <davem@davemloft.net>
5204         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
5205         * stdio-common/printf-parse.h (read_int): Change return type to
5206         'int', return -1 on INT_MAX overflow.
5207         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
5208         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
5209         overflows INT_MAX.  Check for overflow of in-format-string precision
5210         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
5211         SIZE_MAX not INT_MAX for integer overflow test.
5212         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
5213         skip the construct in the format string but do not record anything.
5214         * stdio-common/bug22.c: Adjust to test both width/prevision
5215         INT_MAX overflow as well as total length INT_MAX overflow.  Check
5216         explicitly for proper errno values.
5218 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
5220         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
5221         CHAR_MAX.
5222         * string/test-strcmp.c [! WIDE]: Likewise.
5223         * time/tst-mktime2.c: Likewise for INT_MAX.
5224         * string/test-string.h: #include <sys/param.h> for MIN.
5226         * csu/init-first.c (__libc_init_first): Call __ctype_init.
5227         * sysdeps/i386/init-first.c (init): Likewise.
5228         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
5229         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
5230         * sysdeps/sh/init-first.c (init): Likewise.
5232 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
5234         * po/ru.po: Update from translation team.
5235         * po/vi.po: Likewise.
5237 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
5239         * resolv/nss_dns/dns-host.c: Merge copyright years.
5241 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5243         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5244         Optimize memcpy with prefetch if
5245         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
5246         src, dst pointers have unequal 16 byte alignments.
5248 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5250         [BZ #13928]
5251         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
5252         from a CNAME entry and return the minimum ttl for the query.
5253         (gaih_getanswer_slice): Likewise.
5255 2012-03-30  Jeff Law  <law@redhat.com>
5257         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
5258         due to long keys.
5259         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
5260         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
5262         * resolv/nss_dns/dns-host.c: Update copyright year.
5264 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
5266         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
5267         requests to save a system call.  Fix check that all bytes are sent.
5269         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
5270         comments for sendmmsg.
5272 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5274         [BZ #13691]
5275         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
5276         with only 1 character between 0x0041 and 0x01b0.
5277         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
5278         * wcsmbs/tst-mbsnrtowcs.c: New file.
5280 2012-03-29  David S. Miller  <davem@davemloft.net>
5282         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
5283         small copies by hand.
5285 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
5287         [BZ #13761]
5288         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
5289         _nss_compat_initgroups_dyn): Fall back to malloc/free
5290         for large group memberships.
5292 2012-03-28  David S. Miller  <davem@davemloft.net>
5294         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
5295         that branches into memcpy.
5296         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
5297         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
5298         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5299         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
5300         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
5301         bits.
5302         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
5303         implementation too.
5304         * sysdeps/sparc/mempcpy.S: New file.
5306         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
5307         the IFUNC routine in the libc case.
5308         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5310         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
5311         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
5312         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
5313         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
5314         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
5315         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
5316         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
5317         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
5319         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
5320         loop to 256 bytes instead of 64 bytes and fix test signedness.
5322         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
5323         * sysdeps/sparc/sparc32/Makefile: rather than here...
5324         * sysdeps/sparc/sparc64/Makefile: and here.
5326 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
5328         * malloc/mallocbug.c: Avoid warnings about unused variables.
5330 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
5332         [BZ #13760]
5333         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
5334         in the right place. Discard and retry query if response is
5335         larger than input buffer size.
5337 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
5339         [BZ #369]
5340         [BZ #2678]
5341         [BZ #3866]
5342         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
5343         x for large integer exponent.
5344         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5345         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
5346         sign of result as needed afterwards.
5347         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
5348         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
5349         result for underflowing pow the same as for overflow.
5350         (__kernel_standard_l): Handle powl overflow and underflow here
5351         rather than calling __kernel_standard.
5352         * math/libm-test.inc (pow_test): Add more tests.
5354         [BZ #3868]
5355         [BZ #13879]
5356         [BZ #13910]
5357         [BZ #13911]
5358         [BZ #13912]
5359         [BZ #13913]
5360         [BZ #13915]
5361         [BZ #13916]
5362         [BZ #13917]
5363         [BZ #13918]
5364         [BZ #13919]
5365         [BZ #13920]
5366         [BZ #13921]
5367         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
5368         * sysdeps/ieee754/k_standard.c: Include <float.h>.
5369         (__kernel_standard_l): New function.
5370         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
5371         __kernel_standard.
5372         * math/w_acosl.c (__acosl): Likewise.
5373         * math/w_asinl.c (__asinl): Likewise.
5374         * math/w_atan2l.c (__atan2l): Likewise.
5375         * math/w_atanhl.c (__atanhl): Likewise.
5376         * math/w_coshl.c (__coshl): Likewise.
5377         * math/w_exp10l.c (__exp10l): Likewise.
5378         * math/w_exp2l.c (__exp2l): Likewise.
5379         * math/w_fmodl.c (__fmodl): Likewise.
5380         * math/w_hypotl.c (__hypotl): Likewise.
5381         * math/w_j0l.c (__j0l, __y0l): Likewise.
5382         * math/w_j1l.c (__j1l, __y1l): Likewise.
5383         * math/w_jnl.c (__jnl, __ynl): Likewise.
5384         * math/w_lgammal.c (__lgammal): Likewise.
5385         * math/w_log10l.c (__log10l): Likewise.
5386         * math/w_log2l.c (__log2l): Likewise.
5387         * math/w_logl.c (__logl): Likewise.
5388         * math/w_powl.c (__powl): Likewise.
5389         * math/w_remainderl.c (__remainderl): Likewise.
5390         * math/w_scalbl.c (sysv_scalbl): Likewise.
5391         * math/w_sinhl.c (__sinhl): Likewise.
5392         * math/w_sqrtl.c (__sqrtl): Likewise.
5393         * math/w_tgammal.c (__tgammal): Likewise.
5394         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
5395         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
5396         * math/libm-test.inc (acos_test): Add more tests.
5397         (acosh_test): Likewise.
5398         (asin_test): Likewise.
5399         (atanh_test): Likewise.
5400         (exp_test): Likewise.
5401         (exp10_test): Likewise.
5402         (exp2_test): Likewise.
5403         (expm1_test): Likewise.
5404         (lgamma_test): Likewise.
5405         (log_test): Likewise.
5406         (log10_test): Likewise.
5407         (log1p_test): Likewise.
5408         (log2_test): Likewise.
5409         (pow_test): Do not allow some spurious overflow exceptions.
5410         (sqrt_test): Add more tests.
5411         (tgamma_test): Likewise.
5412         (y0_test): Likewise.
5413         (y1_test): Likewise.
5414         (yn_test): Likewise.
5416 2012-03-27  Anton Blanchard  <anton@samba.org>
5418         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
5419         MAP_HUGETLB.
5420         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5421         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
5422         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5424 2012-03-27  David S. Miller  <davem@davemloft.net>
5426         * conform/Makefile: Run run-conformtest.sh using $(BASH).
5428         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
5429         have-as-vis3 check.
5431 2012-03-27  Andreas Jaeger  <aj@suse.de>
5433         * sysdeps/x86_64/elf/configure.in: Moved to ...
5434         * sysdeps/x86_64/configure.in: ... here.
5435         * sysdeps/x86_64/elf/start.S: Moved to ...
5436         * sysdeps/x86_64/start.S: ... here.
5437         * sysdeps/x86_64/elf/configure: Delete.
5439         * sysdeps/x86_64/configure.in: Merge contents from
5440         sysdeps/i386/configure.in (without i686 check).
5442         * sysdeps/i386/elf/Versions: Merge into ...
5443         * sysdeps/i386/Versions: ... this.
5444         * sysdeps/i386/elf/Versions: Delete file.
5445         * sysdeps/i386/elf/start.S: Moved to ...
5446         * sysdeps/i386/start.S: ...here.
5447         * sysdeps/i386/elf/configure.in: Merge into...
5448         * sysdeps/i386/configure.in: ...here.
5449         * sysdeps/i386/elf/configure.in: Delete file.
5450         * sysdeps/i386/elf/configure: Delete file.
5452         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
5453         * debug/backtracesyms.c: ... here.
5454         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
5455         * debug/backtracesymsfd.c: ... here.
5456         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
5457         * sysdeps/generic/ifunc-sel.h: ... here.
5459         * sysdeps/unix/i386/start.c: Delete file.
5460         * sysdeps/unix/sparc/start.c: Delete file.
5461         * sysdeps/unix/start.c: Delete file.
5463         * sysdeps/sh/elf/configure.in: Moved to ...
5464         * sysdeps/sh/configure.in: ... here.
5465         * sysdeps/sh/elf/start.S: Moved to ...
5466         * sysdeps/sh/start.S: ... here.
5467         * sysdeps/sh/elf/configure: Delete file.
5469         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
5470         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
5471         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
5472         * sysdeps/powerpc/powerpc64/entry.h: ... here.
5473         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
5474         * sysdeps/powerpc/powerpc64/start.S: here.
5475         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
5476         * sysdeps/powerpc/powerpc64/Makefile: ... this.
5477         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
5478         * sysdeps/powerpc/powerpc64/configure.in: ... this.
5479         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
5481         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
5482         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
5483         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
5484         * sysdeps/powerpc/powerpc32/start.S: ... here.
5485         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
5486         * sysdeps/powerpc/powerpc32/configure.in: ... this.
5487         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
5489         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
5490         * sysdeps/powerpc/ifunc-sel.h: ... here.
5491         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
5492         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
5494         * sysdeps/sparc/elf/configure.in: Moved to ...
5495         * sysdeps/sparc/configure.in: ... here.
5496         * sysdeps/sparc/elf/configure: Delete file.
5497         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
5498         * sysdeps/sparc/sparc32/start.S: ... here.
5499         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
5500         * sysdeps/sparc/sparc64/start.S: ... here.
5501         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
5502         * sysdeps/sparc/sparc32/Makefile: ... this.
5503         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
5504         * sysdeps/sparc/sparc64/Makefile: ... this.
5506         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
5507         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
5508         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
5509         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
5510         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
5511         * sysdeps/s390/s390-32/setjmp.S: ... here.
5512         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
5513         * sysdeps/s390/s390-32/configure.in: ... here.
5514         * sysdeps/s390/s390-32/elf/configure: Delete file.
5515         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
5516         * sysdeps/s390/s390-32/start.S: ... here.
5518         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
5519         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
5520         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
5521         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
5522         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
5523         * sysdeps/s390/s390-64/setjmp.S: ... here.
5524         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
5525         * sysdeps/s390/s390-64/configure.in: ... here
5526         * sysdeps/s390/s390-64/elf/configure: Delete file.
5527         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
5528         * sysdeps/s390/s390-64/start.S: ... here.
5529         * sysdeps/s390/s390-64/elf/configure: Delete.
5531         * configure.in: Remove support for elf directories in sysdeps.
5533         * configure: Regenerated.
5534         * sysdeps/i386/configure: Regenerated.
5535         * sysdeps/powerpc/powerpc32/configure: Regenerated.
5536         * sysdeps/powerpc/powerpc64/configure: Regenerated.
5537         * sysdeps/s390/s390-32/configure: Regenerated.
5538         * sysdeps/s390/s390-64/configure: Regenerated.
5539         * sysdeps/sh/configure: Regenerated.
5540         * sysdeps/sparc/configure: Regenerated.
5541         * sysdeps/x86_64/configure: Regenerated.
5543 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
5545         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5547         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
5548         denormal result into account.
5550 2012-03-25  Roland McGrath  <roland@hack.frob.com>
5552         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
5553         Reported by Allan McRae <allan@archlinux.org>.
5555 2012-03-23  Jeff Law  <law@redhat.com>
5557         * nss/getnssent.c (__nss_getent): Fix typo.
5559 2012-03-23  David S. Miller  <davem@davemloft.net>
5561         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5563 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
5565         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
5566         to pad to uint64_t for each field.
5567         (dl_tls_index): Replace unsigned long with uint64_t.
5569 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
5570         Paul Pluzhnikov  <ppluzhnikov@google.com>
5572         [BZ #6528]
5573         * grp/Makefile (otherlibs): Don't set it.
5574         * inet/Makefile (otherlibs): Likewise.
5575         * login/Makefile (otherlibs): Likewise.
5576         * nscd/Makefile (otherlibs): Likewise.
5577         * posix/Makefile (otherlibs): Likewise.
5578         * pwd/Makefile (otherlibs): Likewise.
5579         * rt/Makefile (otherlibs): Likewise.
5580         * sunrpc/Makefile (otherlibs): Likewise.
5581         * nss/Makefile (otherlibs): Likewise.
5582         Add libnss_files to routines and static-only-routines.
5583         ($(objpfx)getent): Remove rule.
5584         * resolv/Makefile: Add libnss_dns and libresolv to routines and
5585         static-only-routines.
5587 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
5589         [BZ #13892]
5590         * math/s_cexp.c: Include <float.h>.
5591         (__cexp): Handle exp result overflowing not necessarily
5592         overflowing both real and imaginary parts of result.
5593         * math/s_cexpf.c: Likewise.
5594         * math/s_cexpl.c: Likewise.
5595         * math/libm-test.inc (cexp_test): Add more tests.
5596         * sysdeps/i386/fpu/libm-test-ulps: Update.
5597         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5599 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
5601         * include/link.h (ELFW): New macro.
5602         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
5603         Replace ELF64_R_TYPE with ELFW(R_TYPE).
5605 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
5607         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
5608         with uint64_t.
5610 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
5612         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
5613         declaration.
5614         (struct La_x32_retval): Likewise.
5616 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
5618         * sysdeps/x86_64/preconfigure.in: New file.
5619         * sysdeps/x86_64/preconfigure: New generated file.
5621 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
5623         [BZ #13824]
5624         * math/e_exp2l.c: Include <float.h>.
5625         (__ieee754_exp2l): Handle overflow and underflow cases
5626         separately.  Only pass fractional part of argument to
5627         __ieee754_expl.
5628         * math/libm-test.inc (exp2_test): Add more tests.
5630         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
5631         negating x to take absolute value.
5632         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
5633         Likewise.
5634         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5635         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
5636         Likewise.
5637         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
5638         computing low part if x was negated.
5639         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5641 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
5643         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
5644         la_x32_gnu_pltexit.
5645         (pltexit): Cast int_retval to ptrdiff_t.
5646         * elf/tst-auditmod3b.c: Likewise.
5647         * elf/tst-auditmod4b.c: Likewise.
5648         * elf/tst-auditmod5b.c: Likewise.
5649         * elf/tst-auditmod6b.c: Likewise.
5650         * elf/tst-auditmod6c.c: Likewise.
5651         * elf/tst-auditmod7b.c: Likewise.
5653         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
5654         and x32_gnu_pltexit.
5656         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
5657         __ELF_NATIVE_CLASS.
5658         (La_x32_regs): New macro.
5659         (La_x32_retval): Likewise.
5660         (la_x32_gnu_pltenter): New function prototype.
5661         (la_x32_gnu_pltexit): Likewise.
5663 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
5665         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
5666         exponent.
5668         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5670         * configure.in (libc_cv_cc_nofma): Check for option to disable
5671         generation of FMA instructions.
5672         * configure: Regenerate.
5673         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
5674         * sysdeps/ieee754/dbl-64/Makefile: New file.
5675         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
5676         Remove brandred-fma4.
5677         (CFLAGS-brandred-fma4.c): Remove.
5678         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
5679         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
5680         define.
5681         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
5682         define.
5684 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
5686         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
5687         LLONG_MAX != LONG_MAX.
5688         (_itoa_word): Use _ITOA_WORD_TYPE on value.
5689         (_fitoa_word): Likewise.
5690         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
5691         LLONG_MAX != LONG_MAX.
5692         * stdio-common/_itowa.h: Include <_itoa.h>.
5693         (_itowa_word): Use _ITOA_WORD_TYPE on value.
5694         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
5695         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
5696         only if not defined.
5697         (_ITOA_WORD_TYPE): Likewise.
5698         (_itoa_word): Use _ITOA_WORD_TYPE on value.
5699         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
5701 2012-03-21  David S. Miller  <davem@davemloft.net>
5703         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5705 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
5707         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
5708         of x86_64 when setting libc_cv_slibdir, libdir and
5709         libc_cv_localedir.
5710         * sysdeps/unix/sysv/linux/configure: Regenerated.
5712 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
5714         * manual/lang.texi (Old Varargs): Remove section.
5715         (How Variadic): Update menu.
5716         (va_start): Do not mention varargs.h.
5718 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
5719             Joseph Myers  <joseph@codesourcery.com>
5721         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
5722         link test.
5723         * configure: Regenerated.
5725 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
5727         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
5728         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
5729         conformtest.pl
5731 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
5733         * NOTES: Remove.
5734         * Makefile (files-for-dist): Remove NOTES.
5735         (NOTES): Remove rule.
5736         * README: Don't refer to NOTES.
5737         * manual/creature.texi: Don't include macros.texi.
5738         * manual/intro.texi (creature.texi): Remove comment referring to
5739         NOTES.
5741         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
5742         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
5743         * configure: Regenerated.
5744         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
5745         LIBC_TRY_CC_OPTION.
5746         (libc_cv_as_i686): Likewise.
5747         (libc_cv_cc_avx): Likewise.
5748         (libc_cv_cc_sse2avx): Likewise.
5749         (libc_cv_cc_fma4): Likewise.
5750         (libc_cv_cc_novzeroupper): Likewise.
5751         * sysdeps/i386/configure: Regenerated.
5753         [BZ #13883]
5754         * sysdeps/i386/fpu/s_cexp.S: Remove.
5755         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
5756         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
5757         * math/libm-test.inc (cexp_test): Add more tests.
5758         * sysdeps/i386/fpu/libm-test-ulps: Update.
5759         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5761 2012-03-21  Allan McRae  <allan@archlinux.org>
5763         * timezone/Makefile: Do not install iso3166.tab and zone.tab
5765 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
5767         [BZ #13871]
5768         * math/w_exp2.c: Do not include <float.h>.
5769         (o_threshold, u_threshold): Remove.
5770         (__exp2): Calculate result before checking finiteness and calling
5771         __kernel_standard.
5772         * math/w_exp2f.c: Likewise.
5773         * math/w_exp2l.c: Likewise.
5774         * math/libm-test.inc (exp2_test): Require overflow exception for
5775         1e6 input.
5777         [BZ #3866]
5778         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
5779         range of signed 64-bit integers before using fistpll.  Remove
5780         checks for whether integers fit in mantissa bits.
5781         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
5782         the range of signed 32-bit integers before using fistpl.  Remove
5783         checks for whether integers fit in mantissa bits.
5784         * sysdeps/i386/fpu/e_powl.S (p64): New object.
5785         (__ieee754_powl): Test for y outside the range of signed 64-bit
5786         integers before using fistpll.  Reduce 64-bit values to 63-bit
5787         ones as needed.
5788         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
5789         divide-by-zero is raised for zero to large negative powers.
5790         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
5791         (__ieee754_powl): Test for y outside the range of signed 64-bit
5792         integers before using fistpll.  Reduce 64-bit values to 63-bit
5793         ones as needed.
5794         * math/libm-test.inc (pow_test): Add more tests.
5796 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
5798         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
5799         <stdio-common/_itoa.h>.
5800         * debug/segfault.c: Likewise.
5801         * elf/dl-cache.c: Likewise.
5802         * elf/dl-minimal.c: Likewise.
5803         * elf/dl-misc.c: Likewise.
5804         * elf/dl-sysdep.c: Likewise.
5805         * elf/dl-version.c: Likewise.
5806         * elf/rtld.c: Likewise.
5807         * hurd/hurdsock.c: Likewise.
5808         * hurd/lookup-retry.c: Likewise.
5809         * malloc/malloc.c: Likewise.
5810         * malloc/mtrace.c: Likewise.
5811         * nscd/nscd_getgr_r.c: Likewise.
5812         * nscd/nscd_getpw_r.c: Likewise.
5813         * nscd/nscd_getserv_r.c: Likewise.
5814         * posix/getopt_init.c: Likewise.
5815         * posix/wordexp.c: Likewise.
5816         * stdio-common/_itoa.c: Likewise.
5817         * stdio-common/printf_fphex.c: Likewise.
5818         * stdio-common/vfprintf.c: Likewise.
5819         * string/_strerror.c: Likewise.
5820         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
5821         * sysdeps/i386/i686/hp-timing.h: Likewise.
5822         * sysdeps/mach/_strerror.c: Likewise.
5823         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
5824         * sysdeps/mach/hurd/sethostid.c: Likewise.
5825         * sysdeps/mach/hurd/xmknodat.c: Likewise.
5826         * sysdeps/mach/xpg-strerror.c: Likewise.
5827         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
5828         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
5829         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
5830         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
5831         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
5832         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
5833         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
5834         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
5835         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
5836         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
5837         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
5838         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
5839         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
5840         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
5841         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
5842         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
5843         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
5844         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
5845         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
5846         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
5847         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
5849         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
5851         * stdio-common/_itoa.h: Moved to ...
5852         * sysdeps/generic/_itoa.h: Here.
5854         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
5856         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
5857         instead of "_itoa.h" and "_itowa.h".
5858         * stdio-common/vfprintf.: Likewise.
5860 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
5862         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
5863         <bits/wordsize.h>.
5864         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
5865         (__signbit): Likwise.
5866         (llrintf): Likwise.
5867         (llrint): Likwise.
5869 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
5871         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
5872         __WORDSIZE != 64.
5874 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
5876         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
5877         OVERFLOW_EXCEPTION_OK.
5878         * math/libm-test.inc ("Philosophy"): Update comment about
5879         exception testing.
5880         (OVERFLOW_EXCEPTION): Define.
5881         (OVERFLOW_EXCEPTION_OK): Likewise.
5882         (INVALID_EXCEPTION_OK): Renumber.
5883         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5884         (IGNORE_ZERO_INF_SIGN): Likewise.
5885         (test_exceptions): Handle FE_OVERFLOW.
5886         (exp10_test): Expect overflow exceptions.
5887         (exp2_test): Likewise.
5888         (expm1_test): Likewise.
5889         (nextafter_test): Likewise.
5890         (pow_test): Likewise.
5891         (scalbn_test): Likewise.
5892         (scalbln_test): Likewise.
5894 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
5896         * sysdeps/x86_64/bits/atomic.h
5897         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
5898         64bit integer.
5899         (atomic_exchange_acq): Likewise.
5900         (__arch_exchange_and_add_body): Likewise.
5901         (__arch_add_body): Likewise.
5902         (atomic_add_negative): Likewise.
5903         (atomic_add_zero): Likewise.
5905 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
5907         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
5908         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
5910 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
5912         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
5913         Check __x86_64__ instead of __WORDSIZE.
5915 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
5917         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
5919 2012-03-19  David S. Miller  <davem@davemloft.net>
5921         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5923         * sysdeps/sparc/fpu/fenv_private.h: New file.
5924         * sysdeps/sparc/fpu/math_private.h: Use it.
5925         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
5926         Remove.
5927         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
5928         (libc_feholdexcept_setroundl): Remove.
5929         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
5930         Remove.
5931         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
5932         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
5934 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
5936         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
5937         int64_t instead of long int.
5938         (INSERT_WORDS64): Likwise.
5940 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
5942         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
5943         _Unwind_GetCFA return to _Unwind_Ptr first.
5945 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
5947         [BZ #13629]
5948         * math/s_clog.c: Include <float.h>.
5949         (__clog): Scale large or subnormal inputs.
5950         * math/s_clogf.c: Likewise.
5951         * math/s_clogl.c: Likewise.
5952         * math/s_clog10.c: Include <float.h>.
5953         (M_LOG10_2): Define.
5954         (__clog10): Scale large or subnormal inputs.
5955         * math/s_clog10f.c: Likewise.
5956         * math/s_clog10l.c: Likewise.
5957         * math/libm-test.inc (clog_test): Add more tests.
5958         (clog10_test): Likewise.
5959         * sysdeps/i386/fpu/libm-test-ulps: Update.
5960         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5962         [BZ #11451]
5963         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
5964         x and y.
5965         * math/libm-test.inc (atan2_test): Add another test.
5967         * Makerules (common-objdir-compile): Remove.
5968         * sysdeps/unix/Makefile (config-generated): Do not add
5969         $(unix-generated) to variable.
5970         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
5971         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
5972         Remove rule.
5973         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
5974         Likewise.
5975         [generic bits/local_lim.h] (before-compile): Do not append to
5976         variable.
5977         [generic bits/local_lim.h] (common-generated): Likewise.
5978         [generic sys/param.h] (before-compile): Do not append to variable.
5979         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
5980         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
5981         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
5982         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
5983         include.
5984         [generic sys/param.h] (sys/param.h-includes): Remove variable.
5985         [generic sys/param.h] (sys/param.h-includes): Remove rule.
5986         [generic sys/param.h] ($(addprefix
5987         $(common-objpfx),$(sys/param.h-includes))): Likewise.
5988         [generic sys/param.h] (common-generated): Do not append to
5989         variable.
5990         [generic sys/param.h] (sysdep_headers): Likewise.
5991         [generic bits/errno.h] (before-compile): Do not append to
5992         variable.
5993         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
5994         rule.
5995         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
5996         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
5997         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
5998         [generic bits/errno.h] (common-generated): Do not append to
5999         variable.
6000         [generic bits/ioctls.h] (before-compile): Do not append to
6001         variable.
6002         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
6003         rule.
6004         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
6005         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
6006         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
6007         rule.
6008         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
6009         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
6010         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
6011         [generic bits/ioctls.h] (common-generated): Do not append to
6012         variable.
6013         [generic sys/syscall.h] (syscall.h): Remove variable.
6014         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
6015         rule.
6016         [generic sys/syscall.h] (before-compile): Do not append to
6017         variable.
6018         [generic sys/syscall.h] (common-generated): Likewise.
6019         * sysdeps/unix/errnos-tmpl.c: Remove file.
6020         * sysdeps/unix/errnos.awk: Likewise.
6021         * sysdeps/unix/ioctls-tmpl.c: Likewise.
6022         * sysdeps/unix/ioctls.awk: Likewise.
6023         * sysdeps/unix/mk-local_lim.c: Likewise.
6024         * sysdeps/unix/snarf-ioctls: Likewise.
6026 2012-03-19  Richard Henderson  <rth@twiddle.net>
6028         * sysdeps/i386/fpu/fenv_private.h: New file.
6029         * sysdeps/i386/fpu/math_private.h: Use it.
6030         (math_opt_barrier, math_force_eval): Remove.
6031         (libc_feholdexcept_setround_53bit): Remove.
6032         (libc_feupdateenv_53bit): Remove.
6033         * sysdeps/x86_64/fpu/math_private.h: Likewise.
6034         (math_opt_barrier, math_force_eval): Remove.
6035         (libc_feholdexcept): Remove.
6036         (libc_feholdexcept_setround): Remove.
6037         (libc_fetestexcept, libc_fesetenv): Remove.
6038         (libc_feupdateenv_test): Remove.
6039         (libc_feupdateenv, libc_feholdsetround): Remove.
6040         (libc_feresetround): Remove.
6042         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
6043         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6045         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
6046         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
6047         (libc_feupdateenv_testl): New.
6048         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
6049         (libc_feupdateenv_testf): New.
6050         (libc_feupdateenv): Use libc_feupdateenv_test.
6051         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
6052         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
6054         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
6055         (libc_feholdsetroundf, libc_feholdsetroundl): New.
6056         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
6057         (libc_feresetround_noex): New.
6058         (libc_feresetround_noexf): New.
6059         (libc_feresetround_noexl): New.
6060         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
6061         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
6062         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
6063         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
6064         SET_RESTORE_ROUND.
6065         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
6066         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
6067         (__cos): Likewise.
6068         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
6069         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
6070         SET_RESTORE_ROUND_NOEX.
6071         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
6072         SET_RESTORE_ROUND_NOEXF.
6073         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
6074         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
6075         (libc_feholdsetroundf): New.
6076         (libc_feresetround, libc_feresetroundf): New.
6078         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
6079         (libc_feholdexcept_setround_53bit): Convert from macro to function.
6080         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
6082         * sysdeps/generic/math_private.h: Include <fenv.h>.
6083         (default_libc_feholdexcept): New.
6084         (default_libc_feholdexcept_setround): New.
6085         (default_libc_fesetenv, default_libc_feupdateenv): New.
6086         (libc_feholdexcept): Only define if undefined.
6087         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
6088         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
6089         (libc_feholdexcept_setroundl): Likewise.
6090         (libc_feholdexcept_setround_53bit): Likewise.
6091         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
6092         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
6093         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
6094         (libc_feupdateenv_53bit): Likewise.
6095         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
6096         (libc_feholdexcept): Convert from macro to inline function.
6097         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
6098         (libc_fesetenv, libc_feupdateenv): Likewise.
6100         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
6101         not previously defined.
6102         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
6103         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
6104         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
6105         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
6106         * sysdeps/ieee754/flt-32/math_private.h: New file.
6107         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
6108         math_private.h below SET_FLOAT_WORD.
6109         (__isnan, __isinf_ns, __finite): Remove.
6110         (__isnanf, __isinf_nsf, __finitef): Remove.
6112 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
6114         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6116 2012-03-17  David S. Miller  <davem@davemloft.net>
6118         [BZ #6471]
6119         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
6120         for 2.16.
6122 2012-03-16  David S. Miller  <davem@davemloft.net>
6124         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
6125         warnings.
6127         [BZ #6471]
6128         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
6129         properly.
6130         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
6131         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
6132         sysdep_routines when subdir is sysvipc.
6133         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
6134         __getshmlba helper.
6136         * sysdeps/sparc/fpu/libm-test/ulps: Update.
6138 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
6140         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
6141         [__LP64__].
6143 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
6145         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
6146         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
6147         (__lround): Renamed to ...
6148         (__llround): This.  Replace long int with long long int.
6149         Define lround functions as aliases of llround functions.
6150         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
6152 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
6154         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
6155         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
6156         adresses to uintptr_t.  Replace "long int" and "unsigned long
6157         int" with "greg_t" on va_arg.
6159 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
6161         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
6162         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
6164         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
6165         Move e_machine check before EI_CLASS check.  Handle x32
6166         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
6167         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
6168         SKIP_EM_IA_64 and include
6169         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
6171         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
6172         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
6173         (add_system_dir): New macro.
6175         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
6176         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
6178 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
6180         [BZ #2551]
6181         [BZ #2552]
6182         [BZ #2553]
6183         [BZ #2554]
6184         [BZ #2562]
6185         [BZ #2563]
6186         [BZ #2565]
6187         [BZ #2566]
6188         [BZ #2576]
6189         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
6190         (y0): Likewise.
6191         * math/w_j0f.c (j0f): Likewise.
6192         (y0f): Likewise.
6193         * math/w_j0l.c (__j0l): Likewise.
6194         (__y0l): Likewise.
6195         * math/w_j1.c (j1): Likewise.
6196         (y1): Likewise.
6197         * math/w_j1f.c (j1f): Likewise.
6198         (y1f): Likewise.
6199         * math/w_j1l.c (__j1l): Likewise.
6200         (__y1l): Likewise.
6201         * math/w_jn.c (jn): Likewise.
6202         (yn): Likewise.
6203         * math/w_jnf.c (jnf): Likewise.
6204         (ynf): Likewise.
6205         * math/w_jnl.c (__jnl): Likewise.
6206         (__ynl): Likewise.
6207         * math/libm-test.inc (j0_test): Add more tests.
6208         (j1_test): Likewise.
6209         (jn_test): Likewise.  Add trailing semicolon to existing test.
6210         (y0_test): Likewise.
6211         (y1_test): Likewise.
6212         * sysdeps/i386/fpu/libm-test-ulps: Update.
6213         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6215         [BZ #13851]
6216         [BZ #13854]
6217         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
6218         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
6219         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
6220         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
6221         (__tanl): Set errno for infinite argument.
6222         * sysdeps/i386/fpu/mptan.c: Remove.
6223         * sysdeps/i386/fpu/s_tan.S: Likewise.
6224         * sysdeps/i386/fpu/s_tanl.S: Likewise.
6225         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
6226         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
6227         * math/libm-test.inc (tan_test): Add more tests and enable more
6228         tests for double and long double.
6229         * sysdeps/i386/fpu/libm-test-ulps: Update.
6230         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6232 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
6234         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
6235         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
6237 2012-03-16  Roland McGrath  <roland@hack.frob.com>
6239         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
6240         * configure.in: Use it for both main tree and add-ons.
6241         * configure: Regenerated.
6243 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
6245         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
6247 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
6249         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
6250         in comment.
6252         [BZ #13851]
6253         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
6254         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
6255         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
6256         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
6257         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
6258         infinite argument.
6259         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
6260         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
6261         != 0 for prec == 2.
6262         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
6263         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
6264         * sysdeps/i386/fpu/s_cosl.S: Likewise.
6265         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
6266         * sysdeps/i386/fpu/s_sinl.S: Likewise.
6267         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
6268         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
6269         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
6270         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
6271         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
6272         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
6273         * math/libm-test.inc (cos_test): Add more tests and enable more
6274         tests for long double.
6275         (sin_test): Likewise.
6276         (sincos_test): Likewise.
6277         * sysdeps/i386/fpu/libm-test-ulps: Update.
6278         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6280 2012-03-16  David S. Miller  <davem@davemloft.net>
6282         * sysdeps/sparc/fpu/math_private.h: New file.
6284 2012-03-15  David S. Miller  <davem@davemloft.net>
6286         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
6287         file.
6288         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
6289         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
6290         file.
6291         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
6292         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
6293         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
6294         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
6295         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
6296         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
6297         sysdep routines.
6298         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6300         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
6301         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
6303         * sysdeps/sparc/sparc-ifunc.h: New file.
6304         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
6305         sparc-ifunc.h
6306         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
6307         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
6308         Likewise.
6309         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
6310         Likewise.
6311         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
6312         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
6313         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
6314         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
6315         Likewise.
6316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6317         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
6318         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6319         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
6320         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
6321         Likewise.
6322         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
6323         Likewise.
6324         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
6325         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
6326         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
6327         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
6328         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
6329         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
6330         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
6331         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
6332         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
6333         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
6334         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
6335         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
6336         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
6337         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
6338         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
6339         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
6340         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
6341         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
6342         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
6343         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
6344         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
6345         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
6346         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
6347         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
6349 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
6351         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
6352         scaling.
6353         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6355 2012-03-15  Andreas Jaeger  <aj@suse.de>
6357         [BZ #13852]
6358         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
6359         ieee754/flt-32 implementation for sin, cos and sincos.
6360         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
6361         * sysdeps/i386/fpu/s_cosf.S: Likewise.
6362         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
6363         * sysdeps/i386/fpu/s_sinf.S: Likewise.
6364         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
6365         ieee754/flt-32 implementation for tan.
6367         * math/libm-test.inc (cos_test): Enable some large input tests for
6368         float as well
6369         (sin_test): Likewise.
6370         (sincos_test): Likewise.
6371         (tan_test): Add tests for large input.
6373         * sysdeps/i386/fpu/libm-test-ulps: Update.
6375 2012-03-15  Andreas Jaeger  <aj@suse.de>
6377         [BZ #13658]
6378         * math/libm-test.inc (cos_test): Add more test cases.
6379         (sin_test): Likewise.
6380         (sincos_test): Likewise.
6382 2012-03-15  Andreas Jaeger  <aj@suse.de>
6384         [BZ #13837]
6385         * math/libm-test.inc (cos_test): Add a test case for large input
6386         value.
6387         (sin_test): Likewise.
6388         (sincos_test): Likewise.
6390 2012-03-15  Andreas Jaeger  <aj@suse.de>,
6391         Joseph Myers  <joseph@codesourcery.com>
6393         [BZ #13658]
6394         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
6395         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
6396         * sysdeps/i386/fpu/branred.c: Likewise.
6397         * sysdeps/i386/fpu/dosincos.c: Likewise.
6398         * sysdeps/i386/fpu/mpa.c: Likewise.
6399         * sysdeps/i386/fpu/s_cos.S: Likewise.
6400         * sysdeps/i386/fpu/s_sin.S: Likewise.
6401         * sysdeps/i386/fpu/s_sincos.S: Likewise.
6402         * sysdeps/i386/fpu/sincos32.c: Likewise.
6404         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
6405         Define.
6406         (libc_feupdateenv_53bit): Define.
6407         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
6408         Define.
6409         (libc_feupdateenv_53bit): Define.
6411         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
6412         53 bit (without extend i386 double precision).
6414         * math/libm-test.inc (sincos_test): Add tests for large input.
6415         (sin): Likewise.
6416         (cos): Likewise.
6418         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6420 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
6422         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6424 2012-03-15  David S. Miller  <davem@davemloft.net>
6426         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
6427         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
6428         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
6429         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
6430         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
6431         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
6432         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
6433         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
6434         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
6435         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
6436         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
6437         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
6438         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
6439         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
6440         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
6441         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
6442         file.
6443         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
6444         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
6445         file.
6446         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
6447         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
6448         file.
6449         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
6450         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
6451         file.
6452         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
6453         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
6454         fmin/fmax sysdep routines.
6455         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6457 2012-03-14  David S. Miller  <davem@davemloft.net>
6459         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
6460         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
6461         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
6462         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
6463         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
6464         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
6465         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
6466         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
6467         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
6468         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
6469         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
6470         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
6471         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
6472         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
6473         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
6474         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
6475         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
6476         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
6477         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
6478         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
6479         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
6480         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
6481         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
6482         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
6483         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
6484         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
6485         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
6486         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
6487         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
6488         routines.
6489         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
6490         file.
6491         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
6492         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
6493         file.
6494         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
6495         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
6496         file.
6497         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
6498         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
6499         file.
6500         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
6501         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
6502         file.
6503         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
6504         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
6505         file.
6506         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
6507         file.
6508         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
6509         file.
6510         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
6511         file.
6512         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
6513         New file.
6514         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
6515         file.
6516         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
6517         file.
6518         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
6519         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
6520         file.
6521         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
6522         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
6523         file.
6524         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
6525         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
6526         file.
6527         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
6528         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
6529         VIS3 routines.
6531         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
6532         New file.
6534         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6536         * sysdeps/sparc/configure.in: New file.
6537         * sysdeps/sparc/configure: Generate.
6538         * configure.in (libc_cv_sparc_as_vis3): Substitute.
6539         * configure: Regenerate.
6540         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
6541         * config.make.in (have-as-vis3): New.
6542         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
6543         available use -Av9d instead of -Av9a.
6544         * sysdeps/sparc/sparc64/Makefile: Likewise.
6545         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
6546         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
6547         New file.
6548         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
6549         file.
6550         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
6551         New file.
6552         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
6553         file.
6554         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
6555         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
6556         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
6557         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
6558         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
6560         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
6561         fzeros/fnegs to load 0x80000000 into a float register instead of
6562         using the stack.
6563         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
6565 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
6567         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6568         bits/syscall.h.
6569         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
6570         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
6571         ($(inst_includedir)/bits/syscall.h): Remove rule.
6572         ($(objpfx)bits/syscall.d): Include instead of
6573         $(objpfx)syscall-list.d.
6574         (generated): Change syscall-list.h and syscall-list.d to
6575         bits/syscall.h and bits/syscall.d.
6577 2012-03-14  Roland McGrath  <roland@hack.frob.com>
6579         [BZ #13846]
6580         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
6582 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
6584         [BZ #13841]
6585         * math/s_csqrt.c: Include <float.h>.
6586         (__csqrt): Scale large or subnormal inputs.
6587         * math/s_csqrtf.c: Likewise.
6588         * math/s_csqrtl.c: Likewise.
6589         * math/libm-test.inc (csqrt_test): Add more tests.
6590         * sysdeps/i386/fpu/libm-test-ulps: Update.
6591         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6593         [BZ #13840]
6594         * math/libm-test.inc (hypot_test): Add more tests.
6596 2012-03-13  David S. Miller  <davem@davemloft.net>
6598         [BZ #13840]
6599         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
6600         double-precision for the calculation instead of scaling.
6602 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
6604         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
6605         manipulate bits before adding and subtracting TWO52[sx].
6606         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
6607         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
6608         Likewise.
6609         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
6611 2012-03-13  David S. Miller  <davem@davemloft.net>
6613         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
6614         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
6615         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
6616         rtld-global-offsets.h
6617         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6619         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
6620         large parameters.
6622         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
6624         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
6625         'err' in the ifdef scope in which it is actually used.
6627         * nss/nss_db/db-init.c: Include string.h
6629 2012-03-12  David S. Miller  <davem@davemloft.net>
6631         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
6632         masking out of the most significant byte of random value used.
6633         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6634         Fix coding style in previous change.
6636         * sysdeps/unix/sysv/linux/kernel-features.h
6637         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
6638         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
6639         expression.
6640         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
6641         later.
6643 2012-03-11  David S. Miller  <davem@davemloft.net>
6645         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6646         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
6647         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
6648         for 'resultvar' otherwise things get truncated on 64-bit.
6650         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6651         Fix masking out of the most significant byte of random value used.
6653         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6655 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
6657         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6659 2012-03-09  David S. Miller  <davem@davemloft.net>
6661         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
6662         variables with appropriate CPP guards.
6663         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
6664         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
6665         on resulting framesize and the management of the outregs buffer for pltexit.
6666         Preserve floating point return values across _dl_call_pltexit call.
6667         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
6668         framesize and the management of the outregs buffer for pltexit.
6669         Preserve floating point return values across _dl_call_pltexit
6670         call.
6671         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
6672         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
6673         (print_exit): Fix format string for return register value.
6675 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
6677         * sunrpc/Makefile (others): Add rpcgen.
6678         ($(objpfx)rpcgen): Remove special build rule and dependency on
6679         libc.
6680         * sunrpc/rpcgen.c: New file.
6682 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
6684         [BZ #13673]
6685         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
6686         * stdio-common/bug-vfprintf-nargs.c: Likewise.
6687         * sysdeps/i386/crti.S: Likewise.
6688         * sysdeps/i386/crtn.S: Likewise.
6689         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
6690         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
6691         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
6692         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
6693         * sysdeps/sh/crti.S: Likewise.
6694         * sysdeps/sh/crtn.S: Likewise.
6695         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
6697         [BZ #13673]
6698         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
6699         with URL.
6700         * locale/programs/locfile-kw.gperf: Likewise.
6701         * locale/programs/charmap-kw.h: Regenerated.
6702         * locale/programs/locfile-kw.h: Likewise.
6704         [BZ #13673]
6705         * intl/plural.y: Replace FSF snail mail address with URL.
6706         * intl/plural.c: Regenerated.
6708 2012-03-09  Richard Henderson  <rth@twiddle.net>
6710         * include/math_private.h: Remove file.
6711         * math/math_private.h: Move file ...
6712         * sysdeps/generic/math_private.h: ... here.
6714         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
6715         * sysdeps/powerpc/fpu/math_private.h: Likewise.
6716         * sysdeps/x86_64/fpu/math_private.h: Likewise.
6718         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
6719         and <math_private.h>.
6720         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6721         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6722         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6723         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6724         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6725         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
6726         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6727         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6728         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6729         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6730         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6731         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6732         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6733         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6734         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6735         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6736         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6737         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6738         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6739         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6740         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6741         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6742         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6743         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6744         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
6745         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6746         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6747         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6748         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6749         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6750         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6751         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6752         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
6753         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6754         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6755         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6756         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6757         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6758         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6759         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6760         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
6761         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6762         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6763         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
6764         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
6765         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6766         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
6767         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
6768         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6769         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6770         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
6771         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
6772         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
6773         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6774         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
6775         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6776         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6777         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
6778         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
6779         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
6780         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6781         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
6782         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6783         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6784         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
6785         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
6786         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
6787         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
6788         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
6789         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
6790         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
6791         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6792         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6793         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6794         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
6795         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
6796         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
6797         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6798         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
6799         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
6800         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
6801         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
6802         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
6803         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6804         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6805         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
6806         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
6807         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
6808         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6809         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6810         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6811         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6812         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6813         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6814         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6815         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6816         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6817         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6818         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6819         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6820         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6821         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6822         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6823         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6824         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6825         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6826         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6827         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6828         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6829         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6830         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6831         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6832         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6833         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6834         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
6835         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6836         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6837         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6838         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6839         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
6840         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6841         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6842         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6843         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
6844         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6845         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6846         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6847         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
6848         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6849         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
6850         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
6851         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
6852         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6853         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
6854         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
6855         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6856         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6857         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6858         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
6859         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6860         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6861         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6862         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6863         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
6864         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
6865         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6866         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6867         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6868         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
6869         * sysdeps/ieee754/k_standard.c: Likewise.
6870         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6871         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6872         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6873         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6874         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6875         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6876         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6877         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6878         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6879         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6880         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6881         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6882         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6883         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6884         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6885         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6886         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6887         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6888         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6889         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
6890         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
6891         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
6892         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6893         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6894         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6895         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
6896         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6897         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6898         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6899         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6900         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6901         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6902         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6903         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6904         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6905         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6906         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6907         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
6908         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
6909         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6910         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6911         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6912         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6913         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6914         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6915         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6916         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6917         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6918         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6919         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6920         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6921         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6922         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6923         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
6924         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6925         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6926         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
6927         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
6928         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6929         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6930         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6931         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6932         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6933         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6934         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6935         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6936         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6937         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6938         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6939         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6940         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6941         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6942         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6943         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6944         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6945         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6946         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
6947         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6948         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6949         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
6950         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
6951         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
6952         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6953         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6954         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
6955         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6956         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6957         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
6958         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6959         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6960         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
6961         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6962         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
6963         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
6964         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6965         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6966         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
6967         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
6968         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
6969         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
6970         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6971         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6972         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6973         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6974         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
6975         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6976         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6977         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
6978         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
6979         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6980         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6981         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6982         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6983         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6984         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6985         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6986         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6987         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6988         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6989         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6990         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6991         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6992         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6993         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6994         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6995         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
6996         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6997         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6998         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6999         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7000         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7001         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7002         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7003         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7004         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
7005         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
7006         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
7007         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7008         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7009         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
7010         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
7011         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7012         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
7013         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
7014         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
7015         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7016         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7017         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
7018         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
7019         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
7020         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7021         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7022         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7023         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7024         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
7025         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
7026         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
7027         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
7028         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
7029         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7030         * sysdeps/ieee754/s_lib_version.c: Likewise.
7031         * sysdeps/ieee754/s_matherr.c: Likewise.
7032         * sysdeps/ieee754/s_signgam.c: Likewise.
7033         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7034         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7035         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
7036         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
7037         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
7038         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7039         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
7040         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
7041         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
7042         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
7043         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7044         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
7045         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
7046         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7047         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
7048         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
7049         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7050         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
7051         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7052         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7053         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7055 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
7057         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
7058         * sunrpc/rpc_main.c: Likewise.
7059         * sunrpc/rpc_svcout.c: Likewise.
7061 2012-03-09  David S. Miller  <davem@davemloft.net>
7063         * include/math_private.h: New file.
7065 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
7067         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
7068         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
7069         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
7070         from <bits/socket_type.h>.
7071         (enum __socket_type): Don't define here.
7072         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
7073         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7074         bits/socket_type.h.
7076         [BZ #13566]
7077         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
7078         checking __USE_GNU.
7080         * Makerules ($(inst_includedir)/%.h): New rule.
7081         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
7082         (install-others): Remove variable setting.
7083         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
7085 2012-03-08  Richard Henderson  <rth@twiddle.net>
7087         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
7088         from macro to inline function; merge with the
7089         !__LIBC_INTERNAL_MATH_INLINES version.
7090         (__ieee754_sqrtf): Likewise.
7092         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
7093         to inline function.
7094         (__rintf, __floor, __floorf): Likewise.
7096         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
7097         macro to inline function.
7098         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
7100         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
7101         not <math/math_private.h>.
7103 2012-03-08  David S. Miller  <davem@davemloft.net>
7105         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
7106         copyright year.
7107         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
7109 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
7111         * resolv/gai_misc.c (handle_requests): Fix struct timespec
7112         normalization.
7113         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
7114         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
7116 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
7118         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
7119         be defined individually, they must be defined as a block.  Define
7120         S for printing a string instead of hidint the different by using a
7121         macro for adding the 'l'.
7122         * stdio-common/tst-fphex-wide.c: Adjust.
7124 2012-03-07  Marek Polacek  <polacek@redhat.com>
7126         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
7128 2012-03-08  Marek Polacek  <polacek@redhat.com>
7130         [BZ #13806]
7131         * stdio-common/Makefile (tests): Add tst-fphex-wide.
7132         * stdio-common/tst-fphex.c: Define a few macros to make the
7133         test reusable.  Use them.
7134         * stdio-common/tst-fphex-wide.c: New file.
7136 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
7138         [BZ #6911]
7139         * manual/macros.texi (gnusystems): New macro.
7140         (nongnusystems): Likewise.
7141         (gnulinuxhurdsystems): Likewise.
7142         (gnuhurdsystems): Likewise..
7143         (gnulinuxsystems): Likewise.
7144         * manual/charset.texi: Use new macros or @theglibc{} to refer to
7145         variants of the GNU system, not "GNU system".
7146         * manual/conf.texi: Likewise.
7147         * manual/errno.texi: Likewise.  Update example of errno macro
7148         expansion.
7149         * manual/filesys.texi: Likewise.
7150         (getumask): Document as specific to GNU/Hurd.
7151         * manual/install.texi: Likewise.  Reword some references to
7152         GNU/Linux.
7153         * manual/intro.texi: Likewise.
7154         * manual/io.texi: Likewise.
7155         (File Name Portability): Detail which constraints are inapplicable
7156         to all GNU systems and which are only inapplicable to GNU/Hurd.
7157         * manual/job.texi: Likewise.
7158         * manual/llio.texi: Likewise.
7159         (O_NOCTTY): Document as present on GNU/Linux.
7160         * manual/maint.texi: Likewise.
7161         * manual/memory.texi: Likewise.
7162         * manual/pattern.texi: Likewise.
7163         * manual/pipe.texi: Likewise.
7164         * manual/process.texi: Likewise.
7165         * manual/resource.texi: Likewise.
7166         (RUSAGE_CHILDREN): Remove statement about specifying a particular
7167         child on GNU/Hurd.
7168         * manual/setjmp.texi: Likewise.
7169         * manual/signal.texi: Likewise.
7170         * manual/startup.texi: Likewise.
7171         * manual/stdio.texi: Likewise.
7172         * manual/terminal.texi: Likewise.
7173         (ONLCR): Document as POSIX.
7174         (OXTABS): Document availability on GNU/Linux as XTABS.
7175         (ONOEOT): Document availability separately from other bits.
7176         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
7177         * manual/time.texi: Likewise.
7178         * manual/users.texi: Likewise.
7179         * INSTALL: Regenerated.
7180         * sysdeps/gnu/errlist.c: Regenerated.
7182         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
7183         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
7184         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
7185         puts.
7186         * configure: Regenerated.
7188 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
7190         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
7191         default includes instead of AC_HEADER_CHECK.
7192         * sysdeps/i386/configure: Regenerated.
7194         [BZ #10716]
7195         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
7196         * math/s_cacoshf.c (__cacoshf): Likewise.
7197         * math/s_cacoshl.c (__cacoshl): Likewise.
7198         * math/s_casinh.c (__casinh): Set signs of result from argument.
7199         * math/s_casinhf.c (__casinhf): Likewise.
7200         * math/s_casinhl.c (__casinhl): Likewise.
7201         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
7202         (casinh_test): Add more tests.
7203         * sysdeps/i386/fpu/libm-test-ulps: Update.
7204         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7206 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
7208         * po/zh_TW.po: Update from translation team.
7210         * login/Makefile (distribute): Remove variable.
7211         * catgets/Makefile: Likewise.
7212         * mach/Makefile: Likewise.
7213         * malloc/Makefile: Likewise.
7214         * misc/Makefile: Likewise.
7215         * iconv/Makefile: Likewise.
7216         * nscd/Makefile: Likewise.
7217         * hurd/Makefile: Likewise.
7218         * manual/Makefile: Likewise.
7219         * locale/Makefile: Likewise.
7220         * intl/Makefile: Likewise.
7221         * conform/Makefile: Likewise.
7222         * nss/Makefile: Likewise.
7223         * time/Makefile: Likewise.
7224         * soft-fp/Makefile: Likewise.
7225         * dirent/Makefile: Likewise.
7226         * gmon/Makefile: Likewise.
7227         * po/Makefile: Likewise.
7228         * rt/Makefile: Likewise.
7229         * socket/Makefile: Likewise.
7230         * math/Makefile: Likewise.
7231         * signal/Makefile: Likewise.
7232         * debug/Makefile: Likewise.
7233         * elf/Makefile: Likewise.
7234         * timezone/Makefile: Likewise.
7235         * stdlib/Makefile: Likewise.
7236         * iconvdata/Makefile: Likewise.
7237         * sunrpc/Makefile: Likewise.
7238         * io/Makefile: Likewise.
7239         * argp/Makefile: Likewise.
7240         * inet/Makefile: Likewise.
7241         * hesiod/Makefile: Likewise.
7242         * grp/Makefile: Likewise.
7243         * csu/Makefile: Likewise.
7244         * wctype/Makefile: Likewise.
7245         * crypt/Makefile: Likewise.
7246         * libio/Makefile: Likewise.
7247         * string/Makefile: Likewise.
7248         * nis/Makefile: Likewise.
7249         * resolv/Makefile: Likewise.
7250         * stdio-common/Makefile: Likewise.
7251         * wcsmbs/Makefile: Likewise.
7252         * dlfcn/Makefile: Likewise.
7253         * posix/Makefile: Likewise.
7255         [BZ #6959]
7256         * timezone/Makefile: Don't install timezone files, just the programs
7257         and scripts.
7259 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
7261         * nss/databases.def: Add missing gshadow entry.
7263         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
7265 2012-03-06  Marek Polacek  <polacek@redhat.com>
7267         [BZ #13726]
7268         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
7269         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
7270         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
7271         * stdio-common/tst-long-dbl-fphex.c: New file.
7273 2012-03-06  David S. Miller  <davem@davemloft.net>
7275         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7276         (set_obp_int): New function.
7277         (get_obp_int): New function.
7278         (__get_clockfreq_via_dev_openprom): Likewise.
7279         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
7280         Avoid unused variable warnings on 'val' and use builtin_expect.
7281         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
7282         __builtin_expect.
7283         (INLINE_CLONE_SYSCALL): Likewise.
7285 2012-03-05  David S. Miller  <davem@davemloft.net>
7287         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7289 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
7291         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7293         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
7294         only for |x| >= 40.
7295         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7297 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
7299         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
7300         Replace gettimeofday with __vdso_gettimeofday.
7302         * sysdeps/unix/sysv/linux/x86_64/init-first.c
7303         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
7304         __vdso_clock_gettime and __vdso_getcpu.
7306         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
7307         time with __vdso_time.
7309 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
7311         * manual/lang.texi (size_t): Note types to which size_t may be
7312         equivalent with the GNU C Library, but do not describe when
7313         differences between them are significant.
7315 2012-03-05  Andreas Jaeger  <aj@suse.de>
7317         * sysdeps/i386/fpu/libm-test-ulps: Update.
7319 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
7321         [BZ #3976]
7322         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
7323         (__ieee754_pow): Save and restore rounding mode and use
7324         round-to-nearest for main computations.
7325         * math/libm-test.inc (pow_test_tonearest): New function.
7326         (pow_test_towardzero): Likewise.
7327         (pow_test_downward): Likewise.
7328         (pow_test_upward): Likewise.
7329         (main): Call the new functions.
7330         * sysdeps/i386/fpu/libm-test-ulps: Update.
7331         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7333         [BZ #3976]
7334         * math/libm-test.inc (cosh_test_tonearest): New function.
7335         (cosh_test_towardzero): Likewise.
7336         (cosh_test_downward): Likewise.
7337         (cosh_test_upward): Likewise.
7338         (sinh_test_tonearest): Likewise.
7339         (sinh_test_towardzero): Likewise.
7340         (sinh_test_downward): Likewise.
7341         (sinh_test_upward): Likewise.
7342         (main): Call the new functions.
7343         * sysdeps/i386/fpu/libm-test-ulps: Update.
7344         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7346 2012-03-05  Tom de Vries  <tom@codesourcery.com>
7348         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
7349         default stack guard is set in last bytes.
7350         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
7352 2012-03-05  Kees Cook  <keescook@chromium.org>
7354         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
7356         [BZ #13656]
7357         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
7358         possibly allocate from heap instead of stack.
7359         * stdio-common/bug-vfprintf-nargs.c: New file.
7360         * stdio-common/Makefile (tests): Add nargs overflow test.
7362 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
7364         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7366 2012-03-03  Marek Polacek  <polacek@redhat.com>
7368         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
7369         * math/math_private.h: Likewise.
7370         * stdlib/tst-strtod.c: Likewise.
7371         * sysdeps/i386/i486/bits/atomic.h: Likewise.
7372         * sysdeps/x86_64/bits/atomic.h: Likewise.
7374 2012-03-02  David S. Miller  <davem@davemloft.net>
7376         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
7377         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
7378         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
7379         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
7380         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
7381         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
7382         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
7383         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
7385 2012-03-02  Roland McGrath  <roland@hack.frob.com>
7387         [BZ #13792]
7388         * manual/examples/README: New file, says the example source files
7389         can be used under GPL>=2.
7390         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
7391         line containing just "*/".
7392         * manual/examples/add.c: Add copyright header (GPL>=2).
7393         * manual/examples/argp-ex1.c: Likewise.
7394         * manual/examples/argp-ex2.c: Likewise.
7395         * manual/examples/argp-ex3.c: Likewise.
7396         * manual/examples/argp-ex4.c: Likewise.
7397         * manual/examples/atexit.c: Likewise.
7398         * manual/examples/db.c: Likewise.
7399         * manual/examples/dir.c: Likewise.
7400         * manual/examples/dir2.c: Likewise.
7401         * manual/examples/execinfo.c: Likewise.
7402         * manual/examples/filecli.c: Likewise.
7403         * manual/examples/filesrv.c: Likewise.
7404         * manual/examples/fmtmsgexpl.c: Likewise.
7405         * manual/examples/genpass.c: Likewise.
7406         * manual/examples/inetcli.c: Likewise.
7407         * manual/examples/inetsrv.c: Likewise.
7408         * manual/examples/isockad.c: Likewise.
7409         * manual/examples/longopt.c: Likewise.
7410         * manual/examples/memopen.c: Likewise.
7411         * manual/examples/memstrm.c: Likewise.
7412         * manual/examples/mkfsock.c: Likewise.
7413         * manual/examples/mkisock.c: Likewise.
7414         * manual/examples/mygetpass.c: Likewise.
7415         * manual/examples/pipe.c: Likewise.
7416         * manual/examples/popen.c: Likewise.
7417         * manual/examples/rprintf.c: Likewise.
7418         * manual/examples/search.c: Likewise.
7419         * manual/examples/select.c: Likewise.
7420         * manual/examples/setjmp.c: Likewise.
7421         * manual/examples/sigh1.c: Likewise.
7422         * manual/examples/sigusr.c: Likewise.
7423         * manual/examples/stpcpy.c: Likewise.
7424         * manual/examples/strdupa.c: Likewise.
7425         * manual/examples/strftim.c: Likewise.
7426         * manual/examples/strncat.c: Likewise.
7427         * manual/examples/subopt.c: Likewise.
7428         * manual/examples/swapcontext.c: Likewise.
7429         * manual/examples/termios.c: Likewise.
7430         * manual/examples/testopt.c: Likewise.
7431         * manual/examples/testpass.c: Likewise.
7432         * manual/examples/timeval_subtract.c: Likewise.
7434         [BZ #13792]
7435         * manual/time.texi (Elapsed Time): Move timeval_subtract example
7436         function to ...
7437         * manual/timeval_subtract.c.texi: ... here, new file.
7439 2012-03-02  David S. Miller  <davem@davemloft.net>
7441         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
7443 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
7445         [BZ #3976]
7446         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
7447         (__sin): Save and restore rounding mode and use round-to-nearest
7448         for all computations.
7449         (__cos): Save and restore rounding mode and use round-to-nearest
7450         for all computations.
7451         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
7452         <fenv.h>.
7453         (tan): Save and restore rounding mode and use round-to-nearest for
7454         all computations.
7455         * math/libm-test.inc (cos_test_tonearest): New function.
7456         (cos_test_towardzero): Likewise.
7457         (cos_test_downward): Likewise.
7458         (cos_test_upward): Likewise.
7459         (sin_test_tonearest): Likewise.
7460         (sin_test_towardzero): Likewise.
7461         (sin_test_downward): Likewise.
7462         (sin_test_upward): Likewise.
7463         (tan_test_tonearest): Likewise.
7464         (tan_test_towardzero): Likewise.
7465         (tan_test_downward): Likewise.
7466         (tan_test_upward): Likewise.
7467         (main): Call the new functions.
7468         * sysdeps/i386/fpu/libm-test-ulps: Update.
7469         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7471         [BZ #10135]
7472         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
7473         small n, then large n, before computing and testing k+n.
7474         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7475         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
7476         Likewise.
7477         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
7478         Likewise.
7479         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
7480         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
7481         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
7482         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
7483         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
7484         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
7485         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
7486         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
7487         * math/libm-test.inc (scalbn_test): Add more tests.
7488         (scalbln_test): Likewise.
7490         * manual/filesys.texi (mode_t): Describe constraints on size and
7491         signedness, not exact equivalence to a particular type.
7492         (ino_t): Likewise.
7493         (ino64_t): Likewise.
7494         (dev_t): Likewise.
7495         (nlink_t): Likewise.
7496         (blkcnt_t): Likewise.
7497         (blkcnt64_t): Likewise.
7498         * manual/llio.texi (off_t): Likewise.
7500         [BZ #3976]
7501         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
7502         (__ieee754_exp): Save and restore rounding mode and use
7503         round-to-nearest for all computations.
7504         * math/libm-test.inc (exp_test_tonearest): New function.
7505         (exp_test_towardzero): Likewise.
7506         (exp_test_downward): Likewise.
7507         (exp_test_upward): Likewise.
7508         (main): Call the new functions.
7509         * sysdeps/i386/fpu/libm-test-ulps: Update.
7510         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7512 2012-03-01  Chris Demetriou  <cgd@google.com>
7514         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
7515         have predictable order.
7517 2012-03-01  David S. Miller  <davem@davemloft.net>
7519         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
7521         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
7522         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
7523         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
7524         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
7526         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
7527         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
7528         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
7529         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
7530         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
7531         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
7532         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
7533         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
7534         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
7536         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7538         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
7539         * sysdeps/sparc/fpu/libm-test-ulps: to here.
7540         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
7542         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
7543         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7544         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
7545         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
7546         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
7547         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
7548         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
7549         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7550         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
7551         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
7552         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
7553         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7554         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7555         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
7556         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7557         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7558         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
7559         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
7560         * sysdeps/sparc/elf/configure: Regenerated.
7562 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
7564         * configure.in (AS, LD): Require binutils 2.20 or later.
7565         * configure: Regenerated.
7566         * manual/install.texi (Tools for Compilation): Give binutils 2.20
7567         as required minimum version.
7568         * INSTALL: Regenerated.
7570         [BZ #2541]
7571         [BZ #4108]
7572         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
7573         before squaring exponent.
7574         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
7575         bottom long double and 27 bits of top long double before squaring
7576         exponent.
7577         * math/libm-test.inc (erfc_test): Add more tests.
7578         * sysdeps/i386/fpu/libm-test-ulps: Update.
7579         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7580         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7582 2012-03-01  Kai Tietz  <ktietz@redhat.com>
7584         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
7585         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
7586         containing bit-fields.
7587         * soft-fp/extended.h (_FP_UNION_E): Likewise.
7588         * soft-fp/single.h (_FP_UNION_S): Likewise.
7589         * soft-fp/double.h (_FP_UNION_D): Likewise.
7591 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
7593         [BZ #13786]
7594         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
7595         not include ../strcmp.S.
7596         [USE_AS_STRNCASECMP_L]: Likewise.
7597         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
7598         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
7599         * sysdeps/i386/i686/multiarch/strncase_l-c.c
7600         (__strncasecmp_l_ia32): Define as alias to
7601         __strncasecmp_l_nonascii.
7603         [BZ #5794]
7604         * math/libm-test.inc (expm1_test): Add test for bug 5794.
7605         * sysdeps/i386/fpu/libm-test-ulps: Update.
7606         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7608         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
7609         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7611 2012-02-29  Jeff Law  <law@redhat.com>
7613         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
7614         out of bounds read.
7616 2012-02-29  Marek Polacek  <polacek@redhat.com>
7618         [BZ #13706]
7619         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
7620         * elf/Makefile: Add rules to run tst-unused-dep.out.
7622 2012-02-28  David S. Miller  <davem@davemloft.net>
7624         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
7625         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
7626         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
7627         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
7628         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
7629         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
7631 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
7633         * math/libm-test.inc (llround_test): Move one test from
7634         lround_test.  Use TEST_f_L in moved test.
7635         (lround_test): Move misplaced test to llround_test.  Add testcase
7636         from bug 2561.
7638 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
7640         * sysdeps/x86_64/fpu/e_expf.S: New file.
7641         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
7643 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
7645         [BZ #13637]
7646         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
7647         of remain_len that may cause incomplete multi-byte character and
7648         false match.
7649         * posix/bug-regex33.c: New file.
7650         * posix/Makefile (tests): Add bug-regex33.
7652 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
7654         * manual/macros.texi: New file.
7655         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
7656         * manual/libc.texinfo: Include macros.texi.
7657         * manual/creatute.texi: Likewise.
7658         * manual/install.texi: Likewise.
7659         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
7660         @glibcadj{} in references to the GNU C Library.
7661         * manual/charset.texi: Likewise.
7662         * manual/conf.texi: Likewise.
7663         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
7664         when not using those macros.
7665         * manual/creature.texi: Likewise.
7666         * manual/crypt.texi: Likewise.
7667         * manual/errno.texi: Likewise.
7668         * manual/filesys.texi: Likewise.
7669         * manual/header.texi: Likewise.
7670         * manual/install.texi: Likewise.
7671         * manual/intro.texi: Likewise.
7672         * manual/io.texi: Likewise.
7673         * manual/job.texi: Likewise.
7674         * manual/lang.texi: Likewise.
7675         * manual/libc.texiinfo: Likewise.
7676         * manual/llio.texi: Likewise.
7677         * manual/locale.texi: Likewise.
7678         * manual/maint.texi: Likewise.
7679         * manual/math.texi: Likewise.
7680         * manual/memory.texi: Likewise.
7681         * manual/message.texi: Likewise.
7682         * manual/nss.texi: Likewise.
7683         * manual/pattern.texi: Likewise.
7684         * manual/process.texi: Likewise.
7685         * manual/resource.texi: Likewise.
7686         * manual/search.texi: Likewise.
7687         * manual/setjmp.texi: Likewise.
7688         * manual/signal.texi: Likewise.
7689         * manual/socket.texi: Likewise.
7690         * manual/startup.texi: Likewise.
7691         * manual/stdio.texi: Likewise.
7692         * manual/string.texi: Likewise.
7693         * manual/sysinfo.texi: Likewise.
7694         * manual/syslog.texi: Likewise.
7695         * manual/terminal.texi: Likewise.
7696         * manual/time.texi: Likewise.
7697         * manual/users.texi: Likewise.
7698         * INSTALL: Regenerated.
7699         * NOTES: Regenerated.
7700         * sysdeps/gnu/errlist.c: Regenerated.
7702 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
7704         * include/dirent.h: Include <dirstream.h> before
7705         <dirent/dirent.h>.
7707 2012-02-28  David S. Miller  <davem@davemloft.net>
7709         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
7710         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
7711         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
7712         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
7714 2012-02-27  David S. Miller  <davem@davemloft.net>
7716         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
7717         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
7718         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
7719         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
7721         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
7722         frame pointer instead of stack pointer relative arg slot.
7723         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7724         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7725         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7727 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
7729         [BZ #3992]
7730         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
7732 2012-02-27  David S. Miller  <davem@davemloft.net>
7734         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
7735         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7736         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7737         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
7738         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7739         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7740         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
7741         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
7743 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
7745         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
7746         later.  Allow versions 5-9.
7747         * configure: Regenerated.
7748         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
7749         required minimum version and 4.6 as recommended version.  Do not
7750         mention bugs in GCC 2.7 and 2.8.
7751         * INSTALL: Regenerated.
7753 2012-02-27  David S. Miller  <davem@davemloft.net>
7755         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
7756         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
7757         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
7758         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
7759         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
7760         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
7761         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
7762         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
7764         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
7765         manipulate bits before adding and subtracting TWO112[sx].
7766         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
7768 2012-02-27  Roland McGrath  <roland@hack.frob.com>
7770         [BZ #13775]
7771         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
7772         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
7773         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
7774         being in POSIX, because they are in 1003.1-2008.
7776         * rt/tst-aio.c: Include <fcntl.h>.
7777         * rt/tst-aio7.c: Likewise.
7778         * rt/tst-aio64.c: Likewise.
7780         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
7782 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
7784         * manual/install.texi (--with-headers): Describe headers as
7785         interface headers, not private headers.
7786         (Specific advice for GNU/Linux systems): Describe use of headers
7787         from "make headers_install", not private headers from older
7788         kernels.
7789         * INSTALL: Regenerated.
7790         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
7791         Change to 2.6.19.
7792         * sysdeps/unix/sysv/linux/configure: Regenerated.
7794         * manual/llio.texi (fclean): Remove documentation.
7796         * manual/Makefile (libc-texi-generated): New variable.  Include
7797         version.texi.
7798         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
7799         $(libc-texi-generated), not duplicated list of files.
7800         (version.texi, stamp-version): New rules.
7801         (realclean): Remove $(libc-texi-generated), not individual files
7802         from that list.  Do not remove dir-add.texinfo.
7803         * manual/libc.texinfo: Comment out uses of edition numbers and
7804         references to printed manual.  Remove last-updated dates.
7805         (EDITION): Comment out.
7806         (ISBN): Likewise.
7807         (VERSION, UPDATED): Remove.
7808         (version.texi): Include.
7810 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
7812         * sysdeps/posix/spawni.c: Include <signal.h>.
7813         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
7814         * sysdeps/pthread/aio_fsync.c: Likewise.
7816 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
7818         * conform/Makefile (tests): Run only when not cross-compiling and
7819         when fast-check is not defined.
7821         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
7822         * conform/data/limits.h-data: Fixes for POSIX2008.
7823         * conform/run-conformtest.sh: Run all tests.
7824         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
7825         headers.
7826         * include/bits/dlfcn.h: Likewise.
7827         * include/langinfo.h: Likewise.
7828         * include/monetary.h: Likewise.
7829         * include/sys/poll.h: Likewise.
7831         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
7832         for __USE_GNU.
7833         * posix/spawn.h: Define __need_sigset_t.
7834         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
7835         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
7836         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
7837         to get sigevent_t only.
7838         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
7839         only for __USE_GNU.
7840         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7841         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7842         process_vm_writev only for __USE_GNU.
7843         * termios/termios.h: Declare tcgetsid also for POSIX2008.
7845         * conform/Makefile: For now ignore errors from run-conformtest.
7846         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
7847         POSIX to avoid namespace pollution.  Don't prepend headers.
7848         * conform/data/aio.h-data: Fixes for POSIX testing.
7849         * conform/data/fcntl.h-data: Likewise.
7850         * conform/data/glob.h-data: Likewise.
7851         * conform/data/grp.h-data: Likewise.
7852         * conform/data/pthread.h-data: Likewise.
7853         * conform/data/pwd.h-data: Likewise.
7854         * conform/data/signal.h-data: Likewise.
7855         * conform/data/spawn.h-data: Likewise.
7856         * conform/data/stdio.h-data: Likewise.
7857         * conform/data/stdlib.h-data: Likewise.
7858         * conform/data/stropts.h-data: Likewise.
7859         * conform/data/sys/mman.h-data: Likewise.
7860         * conform/data/sys/stat.h-data: Likewise.
7861         * conform/data/sys/types.h-data: Likewise.
7862         * conform/data/sys/wait.h-data: Likewise.
7863         * conform/data/time.h-data: Likewise.
7864         * conform/data/unistd.h-data: Likewise.
7865         * conform/data/utime.h-data: Likewise.
7867         * io/sys/stat.h: fchmod was always in POSIX.
7868         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
7869         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
7870         * rt/aio.h: Define __need_timespec before including <time.h>.
7871         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
7872         struct.  Add forward declaration of pthread_attr_t and use it in
7873         sigevent.
7874         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
7875         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7876         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
7877         always remove CLK_TCK definition.
7879 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
7881         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
7883 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
7885         * conform/run-conformtest.sh: New file.
7886         * conform/Makefile: Run run-conformtest for tests.
7887         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
7888         support.
7890         * conform/data/uchar.h-data: New file.
7891         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
7892         * conform/data/arpa/inet.h-data: Likewise.
7893         * conform/data/assert.h-data: Likewise.
7894         * conform/data/complex.h-data: Likewise.
7895         * conform/data/cpio.h-data: Likewise.
7896         * conform/data/ctype.h-data: Likewise.
7897         * conform/data/dirent.h-data: Likewise.
7898         * conform/data/dlfcn.h-data: Likewise.
7899         * conform/data/errno.h-data: Likewise.
7900         * conform/data/fcntl.h-data: Likewise.
7901         * conform/data/float.h-data: Likewise.
7902         * conform/data/fmtmsg.h-data: Likewise.
7903         * conform/data/fnmatch.h-data: Likewise.
7904         * conform/data/ftw.h-data: Likewise.
7905         * conform/data/glob.h-data: Likewise.
7906         * conform/data/grp.h-data: Likewise.
7907         * conform/data/iconv.h-data: Likewise.
7908         * conform/data/inttypes.h-data: Likewise.
7909         * conform/data/langinfo.h-data: Likewise.
7910         * conform/data/libgen.h-data: Likewise.
7911         * conform/data/limits.h-data: Likewise.
7912         * conform/data/locale.h-data: Likewise.
7913         * conform/data/math.h-data: Likewise.
7914         * conform/data/monetary.h-data: Likewise.
7915         * conform/data/mqueue.h-data: Likewise.
7916         * conform/data/ndbm.h-data: Likewise.
7917         * conform/data/net/if.h-data: Likewise.
7918         * conform/data/netdb.h-data: Likewise.
7919         * conform/data/netinet/in.h-data: Likewise.
7920         * conform/data/nl_types.h-data: Likewise.
7921         * conform/data/poll.h-data: Likewise.
7922         * conform/data/pthread.h-data: Likewise.
7923         * conform/data/pwd.h-data: Likewise.
7924         * conform/data/regex.h-data: Likewise.
7925         * conform/data/sched.h-data: Likewise.
7926         * conform/data/search.h-data: Likewise.
7927         * conform/data/semaphore.h-data: Likewise.
7928         * conform/data/setjmp.h-data: Likewise.
7929         * conform/data/signal.h-data: Likewise.
7930         * conform/data/spawn.h-data: Likewise.
7931         * conform/data/stdarg.h-data: Likewise.
7932         * conform/data/stdio.h-data: Likewise.
7933         * conform/data/stdlib.h-data: Likewise.
7934         * conform/data/string.h-data: Likewise.
7935         * conform/data/strings.h-data: Likewise.
7936         * conform/data/stropts.h-data: Likewise.
7937         * conform/data/sys/ipc.h-data: Likewise.
7938         * conform/data/sys/mman.h-data: Likewise.
7939         * conform/data/sys/msg.h-data: Likewise.
7940         * conform/data/sys/resource.h-data: Likewise.
7941         * conform/data/sys/select.h-data: Likewise.
7942         * conform/data/sys/sem.h-data: Likewise.
7943         * conform/data/sys/shm.h-data: Likewise.
7944         * conform/data/sys/socket.h-data: Likewise.
7945         * conform/data/sys/stat.h-data: Likewise.
7946         * conform/data/sys/statvfs.h-data: Likewise.
7947         * conform/data/sys/time.h-data: Likewise.
7948         * conform/data/sys/timeb.h-data: Likewise.
7949         * conform/data/sys/times.h-data: Likewise.
7950         * conform/data/sys/types.h-data: Likewise.
7951         * conform/data/sys/uio.h-data: Likewise.
7952         * conform/data/sys/un.h-data: Likewise.
7953         * conform/data/sys/utsname.h-data: Likewise.
7954         * conform/data/sys/wait.h-data: Likewise.
7955         * conform/data/syslog.h-data: Likewise.
7956         * conform/data/tar.h-data: Likewise.
7957         * conform/data/termios.h-data: Likewise.
7958         * conform/data/utime.h-data: Likewise.
7959         * conform/data/utmpx.h-data: Likewise.
7960         * conform/data/varargs.h-data: Likewise.
7961         * conform/data/wchar.h-data: Likewise.
7962         * conform/data/wctype.h-data: Likewise.
7963         * conform/data/wordexp.h-data: Likewise.
7965         * include/stropts.h: New file.
7966         * include/uchar.h: New file.
7967         * include/aio.h: Changes to allow conformtest.pl to use the headers.
7968         * include/assert.h: Likewise.
7969         * include/ctype.h: Likewise.
7970         * include/dirent.h: Likewise.
7971         * include/dlfcn.h: Likewise.
7972         * include/fcntl.h: Likewise.
7973         * include/fnmatch.h: Likewise.
7974         * include/glob.h: Likewise.
7975         * include/grp.h: Likewise.
7976         * include/libio.h: Likewise.
7977         * include/locale.h: Likewise.
7978         * include/math.h: Likewise.
7979         * include/net/if.h: Likewise.
7980         * include/netdb.h: Likewise.
7981         * include/netinet/in.h: Likewise.
7982         * include/pthread.h: Likewise.
7983         * include/pwd.h: Likewise.
7984         * include/regex.h: Likewise.
7985         * include/sched.h: Likewise.
7986         * include/search.h: Likewise.
7987         * include/setjmp.h: Likewise.
7988         * include/signal.h: Likewise.
7989         * include/stdio.h: Likewise.
7990         * include/stdlib.h: Likewise.
7991         * include/string.h: Likewise.
7992         * include/sys/cdefs.h: Likewise.
7993         * include/sys/mman.h: Likewise.
7994         * include/sys/msg.h: Likewise.
7995         * include/sys/resource.h: Likewise.
7996         * include/sys/select.h: Likewise.
7997         * include/sys/socket.h: Likewise.
7998         * include/sys/stat.h: Likewise.
7999         * include/sys/statvfs.h: Likewise.
8000         * include/sys/time.h: Likewise.
8001         * include/sys/times.h: Likewise.
8002         * include/sys/uio.h: Likewise.
8003         * include/sys/utsname.h: Likewise.
8004         * include/sys/wait.h: Likewise.
8005         * include/termios.h: Likewise.
8006         * include/time.h: Likewise.
8007         * include/ulimit.h: Likewise.
8008         * include/unistd.h: Likewise.
8009         * include/utime.h: Likewise.
8010         * include/wchar.h: Likewise.
8011         * include/wctype.h: Likewise.
8012         * include/wordexp.h: Likewise.
8014         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
8016         * time/time.h: TIME_UTC must be a macro.
8017         Make timespec_get available for ISO C11 only as well.
8019 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
8021         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
8022         Reported by Peng Haitao <penght@cn.fujitsu.com>.
8024 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
8026         * configure.in: Use -o not -a in test for unsupported multi-arch.
8028 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
8030         * manual/texinfo.tex: Update to version 2012-01-19.16.
8032 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
8034         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
8036 2012-02-24  Roland McGrath  <roland@hack.frob.com>
8038         [BZ #13738]
8039         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
8040         * manual/fdl-1.3.texi: New file.
8041         * manual/fdl-1.1.texi: File removed.
8043         [BZ #13738]
8044         * manual/libc.texinfo (FDL_VERSION): New @set.
8045         Use it for mention of FDL in cover text.
8046         (Documentation License): Use it in @include file name.
8048 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
8049             Roland McGrath  <roland@hack.frob.com>
8051         [BZ #5461]
8052         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
8053         not LONG_LONG_MAX and LONG_LONG_MIN.
8054         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
8055         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
8056         name.
8057         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
8059 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
8061         [BZ #2547]
8062         [BZ #11365]
8063         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
8064         manipulate bits before adding and subtracting TWO23[sx].
8065         * math/libm-test.inc (nearbyint_test): Add more tests.
8067 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
8069         [BZ #2548]
8070         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
8071         bits before adding and subtracting TWO23[sx].
8072         * math/libm-test.inc (rint_test): Add more tests.
8073         (rint_test_tonearest): Likewise.
8074         (rint_test_towardzero): Likewise.
8075         (rint_test_downward): Likewise.
8076         (rint_test_upward: Likewise.
8078 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
8080         [BZ #10110]
8081         * include/stdc-predef.h: New file.  Extracted from features.h.
8082         * include/features.h: Include stdc-predef.h.
8083         * Makefile (headers): Add stdc-predef.h.
8084         * CONFORMANCE (Compiler limitations): Update.
8086 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
8088         * manual/libc.texinfo (VERSION, UPDATED): Revert.
8090 2012-02-21  David S. Miller  <davem@davemloft.net>
8092         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
8093         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8095 2012-02-20  David S. Miller  <davem@davemloft.net>
8097         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
8098         using a normal save/restore sequence, rather than allocating a
8099         dummy stack frame just to store a frame pointer and restore.
8100         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8102 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
8104         * manual/install.texi: Fix stray word in line-wrapped comment.
8106 2012-02-20  David S. Miller  <davem@davemloft.net>
8108         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
8109         both binutils and gcc support GOTDATA.
8111         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
8112         "rd %pc" in the PIC register setup sequences.
8114         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
8115         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
8116         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
8117         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
8118         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
8119         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8120         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8121         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8122         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
8123         (SYSCALL_ERROR_HANDLER): Likewise.
8124         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
8125         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8126         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
8127         (SYSCALL_ERROR_HANDLER): Likewise.
8129         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
8130         (HAVE_GCC_GOTDATA): New.
8131         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
8132         relocation support in both binutils and gcc.
8133         * sysdeps/sparc/elf/configure: Regenerate.
8135         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
8136         * sysdeps/sparc/sparc32/elf/configure: Delete.
8137         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
8138         * sysdeps/sparc/sparc64/elf/configure: Delete.
8139         * sysdeps/sparc/elf/configure.in: New file.
8140         * sysdeps/sparc/elf/configure: Generate.
8142         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
8143         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
8144         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
8145         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
8146         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
8148 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
8150         * manual/install.texi: Do not mention specific glibc version
8151         numbers.
8152         * manual/libc.texinfo (VERSION, UPDATED): Update.
8153         (@copying): Use @copyright{} and range of years.
8155 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
8157         [BZ #13695]
8158         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
8159         [crti.S not in sysdirs] (generated): Do not append.
8160         [crti.S not in sysdirs] (omit-deps): Likewise.
8161         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
8162         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
8163         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
8164         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
8165         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
8166         Likewise.
8167         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
8168         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
8169         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
8170         * csu/defs.awk: Remove file.
8171         * sysdeps/generic/initfini.c: Likewise.
8172         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
8173         variable.
8174         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
8175         Likewise.
8177 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
8179         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
8180         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
8181         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
8182         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
8183         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8184         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
8185         <bits/epoll.h>.
8186         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
8187         (__EPOLL_PACKED): Define to empty if not defined by
8188         <bits/epoll.h>.
8189         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
8190         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8191         bits/epoll.h.
8193 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
8195         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
8196         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
8197         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
8198         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
8199         <bits/timerfd.h>.
8200         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
8201         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8202         bits/timerfd.h.
8204 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
8206         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
8207         in C locale.
8208         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8209         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8210         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
8211         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8213 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
8215         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8216         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8218 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
8220         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
8221         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
8222         defined.
8223         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
8224         Likewise.
8225         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
8226         entry for 2.16.
8228 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
8230         * math/w_acos.c: Use non-signaling floating-point comparisons.
8231         * math/w_acosf.c: Likewise.
8232         * math/w_acosh.c: Likewise.
8233         * math/w_acoshf.c: Likewise.
8234         * math/w_acoshl.c: Likewise.
8235         * math/w_acosl.c: Likewise.
8236         * math/w_asin.c: Likewise.
8237         * math/w_asinf.c: Likewise.
8238         * math/w_asinl.c: Likewise.
8239         * math/w_atanh.c: Likewise.
8240         * math/w_atanhf.c: Likewise.
8241         * math/w_atanhl.c: Likewise.
8242         * math/w_exp2.c: Likewise.
8243         * math/w_exp2f.c: Likewise.
8244         * math/w_exp2l.c: Likewise.
8245         * math/w_j0.c: Likewise.
8246         * math/w_j0f.c: Likewise.
8247         * math/w_j0l.c: Likewise.
8248         * math/w_j1.c: Likewise.
8249         * math/w_j1f.c: Likewise.
8250         * math/w_j1l.c: Likewise.
8251         * math/w_jn.c: Likewise.
8252         * math/w_jnf.c: Likewise.
8253         * math/w_log.c: Likewise.
8254         * math/w_log10.c: Likewise.
8255         * math/w_log10f.c: Likewise.
8256         * math/w_log10l.c: Likewise.
8257         * math/w_log2.c: Likewise.
8258         * math/w_log2f.c: Likewise.
8259         * math/w_log2l.c: Likewise.
8260         * math/w_logf.c: Likewise.
8261         * math/w_logl.c: Likewise.
8262         * math/w_sqrt.c: Likewise.
8263         * math/w_sqrtf.c: Likewise.
8264         * math/w_sqrtl.c: Likewise.
8265         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8266         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
8267         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8268         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8269         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8271 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
8273         [BZ #9739]
8274         * manual/string.texi (strnlen): Use correct parameter name in
8275         equivalent expression.
8277 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
8279         [BZ #11174]
8280         * manual/users.texi (seteuid): Consistently use neweuid for
8281         argument name.
8283 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
8285         [BZ #13704]
8286         * manual/nss.texi (Services in the NSS configuration): Correct
8287         list of services in example configuration file.
8289 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
8291         [BZ #11322]
8292         * manual/arith.texi: Remove statements about negative zero
8293         behaving identically to zero.
8295 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
8297         [BZ #5993]
8298         * manual/install.texi: Do not document upgrading from libc5.
8300 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
8302         [BZ #4596]
8303         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
8305 2012-02-18  David S. Miller  <davem@davemloft.net>
8307         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
8308         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
8309         %o7 across the call.
8310         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
8311         instead.
8312         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
8313         SETUP_PIC_REG_LEAF.
8314         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8315         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
8316         * sysdeps/sparc/crtn.S: Likewise.
8318 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
8320         * aout/Makefile: Remove.
8322 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
8324         [BZ #13058]
8325         * manual/examples/argp-ex1.c (main): Format definition in GNU
8326         style.
8327         * manual/examples/argp-ex2.c (main): Likewise.
8328         * manual/examples/argp-ex3.c (main): Likewise.
8329         * manual/examples/argp-ex4.c (main): Likewise.
8330         * manual/examples/longopt.c (main): Use new-style prototype
8331         definition.
8332         * manual/examples/strncat.c (main): Specify return type and use
8333         (void) for arguments.
8334         * manual/examples/subopt.c (main): Use char **argv argument.
8336 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
8338         [BZ #5077]
8339         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
8340         rounding modes.
8342 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
8344         [BZ #6907]
8345         * manual/string.texi (strchr): Change when strchrnul is
8346         recommended.
8348 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
8350         [BZ #174]
8351         * manual/locale.texi (setlocale): Document LOCPATH.
8353 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
8355         [BZ #10210]
8356         * manual/process.texi (execle): Move @dots{} before last argument.
8358 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
8360         [BZ #12047]
8361         * manual/charset.texi (Generic Charset Conversion): Fix typo
8362         (LC_TYPE -> LC_CTYPE).
8364 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
8366         [BZ #5805]
8367         * manual/arith.texi (scalbn): Use @var{} on parameter names.
8368         (scalbnf): Likewise.
8369         (scalbnl): Likewise.
8370         (scalbln): Likewise.
8371         (scalblnf): Likewise.
8372         (scalblnl): Likewise.
8373         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
8374         (vwarnx): Likewise.
8375         (verr): Likewise.
8376         (verrx): Likewise.
8377         * manual/filesys.texi (telldir): Use braces around return type.
8378         * manual/llio.texi (mmap): Add space after comma.
8379         (mmap64): Likewise.
8380         * manual/math.texi (jn): Use @var{} on parameter names.
8381         (jnf): Likewise.
8382         (jnl): Likewise.
8383         (yn): Likewise.
8384         (ynf): Likewise.
8385         (ynl): Likewise.
8386         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
8387         line.
8388         * manual/resource.texi (ulimit): Use @dots{} instead of literal
8389         "...".
8390         (sched_get_priority_min): Remove semicolon on @deftypefun line.
8391         (sched_get_priority_max): Likewise.
8392         * manual/signal.texi (sigvec): Add space after comma.
8393         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
8394         names.
8395         (if_indextoname): Likewise.
8396         (if_freenameindex): Likewise.
8397         (sendto): Use ',' instead of '.' in prototype.
8398         * manual/startup.texi (syscall): Use @dots{} instead of literal
8399         "...".
8400         * manual/stdio.texi (__fpending): Separate initial words of
8401         paragraph from @deftypefun line.
8402         * manual/syslog.texi (syslog): Use @dots{} instead of literal
8403         "...".
8404         (vsyslog): Use @var{} on parameter names.
8405         * manual/terminal.texi (stty): Use @var{} on parameter names.
8406         * manual/users.texi (getutmp): Use @var{} on parameter names.
8407         (getutmpx): Likewise.
8409 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
8411         [BZ #6884]
8412         * manual/stdio.texi (fopen): Fix typos in description of
8413         ",ccs=STRING".
8415 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
8417         [BZ #4026]
8418         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
8419         get clock_id definition.
8421 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
8423         [BZ #4822]
8424         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
8425         (madvise): Cast every argument to void on its own.
8427 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
8429         [BZ #9902]
8430         * manual/startup.texi (Exit Status): Fix typo.
8432 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
8434         [BZ #10140]
8435         * manual/examples/argp-ex1.c: Include <stdlib.h>.
8436         * manual/examples/argp-ex2.c: Likewise.
8437         * manual/examples/argp-ex3.c: Likewise.
8439 2012-02-16  Richard Henderson  <rth@redhat.com>
8441         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
8442         * sysdeps/s390/s390-32/initfini.c: Remove.
8443         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
8444         * sysdeps/s390/s390-64/initfini.c: Remove.
8446 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8448         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
8449         compiler output for sysdeps/generic/initfini.c.
8450         * sysdeps/sh/elf/initfini.c: Remove file.
8452 2012-02-16  David S. Miller  <davem@davemloft.net>
8454         [BZ #11494]
8455         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
8457         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
8458         * sysdeps/sparc/crti.S: New file.
8459         * sysdeps/sparc/crtn.S: New file.
8460         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
8461         * sysdeps/sparc/sparc64/Makefile: Likewise.
8463 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
8465         [BZ #3335]
8466         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
8468 2012-02-15  Roland McGrath  <roland@hack.frob.com>
8470         [BZ #4822]
8471         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
8473         * mach/devstream.c (cookie_io_functions_t): Macro removed.
8474         (write, read, close): Likewise.
8475         Patch by Aurelien Jarno <aurelien@aurel32.net>.
8477 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
8479         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
8480         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
8481         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
8482         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
8483         <bits/signalfd.h>.
8484         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
8485         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8486         bits/signalfd.h.
8488 2012-02-14  Marek Polacek  <polacek@redhat.com>
8490         * sysdeps/x86_64/crti.S: New file.
8491         * sysdeps/x86_64/crtn.S: New file.
8492         * sysdeps/x86_64/elf/initfini.c: Remove file.
8494 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
8496         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
8497         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
8498         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
8499         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
8500         <bits/inotify.h>.
8501         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
8502         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8503         bits/inotify.h.
8505 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
8507         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
8508         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
8509         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
8510         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
8511         <bits/eventfd.h>.
8512         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
8513         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8514         bits/eventfd.h.
8516 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
8518         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
8519         __feraiseexcept instead of feraiseexcept.
8521         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
8522         nanosleep invocations.
8523         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
8524         strings, and add error checking for a nanosleep invocations.
8526 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
8528         Replace FSF snail mail address with URLs, as per GNU coding standards.
8529         Most of the snail mail addresses were wrong anyway, and omitting
8530         them makes the source code easier to maintain.  Almost all of the
8531         changes are to license notices and to locale LC_IDENTIFICATION
8532         addresses, except for this one:
8533         * manual/libc.texinfo: In "Published by", give the FSF's URL,
8534         not its snail mail address.
8536 2012-02-09  Richard Henderson  <rth@twiddle.net>
8538         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
8539         of kernel-features.h.
8541         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
8543 2012-02-08  Marek Polacek  <polacek@redhat.com>
8545         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
8546         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
8547         * sysdeps/gnu/_G_config.h: Likewise.
8548         * sysdeps/generic/_G_config.h: Likewise.
8550 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
8552         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
8553         tests.
8554         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8556         * sysdeps/powerpc/powerpc32/crti.S: New file.
8557         * sysdeps/powerpc/powerpc32/crtn.S: New file.
8558         * sysdeps/powerpc/powerpc64/crti.S: New file.
8559         * sysdeps/powerpc/powerpc64/crtn.S: New file.
8561         * Makeconfig (have-initfini): Don't set.
8562         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
8563         * configure.in (nopic_initfini): Don't substitute.
8564         * config.h.in (HAVE_INITFINI): Don't #undef.
8565         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
8566         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
8568 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
8570         Support crti.S and crtn.S provided directly by architectures.
8571         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
8572         [crti.S in sysdirs] (omit-deps): Likewise.
8573         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
8574         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
8575         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
8576         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
8577         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
8578         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
8579         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
8580         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
8581         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
8582         compiler output for sysdeps/generic/initfini.c.
8583         * sysdeps/i386/elf/Makefile: Remove file.
8584         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
8586 2012-02-07  Marek Polacek  <polacek@redhat.com>
8588         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
8589         * sysdeps/gnu/_G_config.h: Likewise.
8590         * sysdeps/mach/hurd/_G_config.h: Likewise.
8592 2012-02-07  Marek Polacek  <polacek@redhat.com>
8594         * math/Makefile (tests): Add tst-CMPLX2.
8595         * math/tst-CMPLX2.c: New file.
8597 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
8599         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8601         * math/libm-test.inc (jn_test): Add missing L suffix.
8603 2012-02-06  Marek Polacek  <polacek@redhat.com>
8605         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
8606         * sysdeps/i386/fpu/e_powf.S: Likewise.
8607         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8608         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8609         * sysdeps/i386/fpu/e_acosh.S: Likewise.
8610         * sysdeps/i386/fpu/e_pow.S: Likewise.
8611         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
8612         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8613         * sysdeps/i386/fpu/s_expm1.S: Likewise.
8614         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8615         * sysdeps/i386/fpu/e_log2.S: Likewise.
8616         * sysdeps/i386/fpu/e_log2l.S: Likewise.
8617         * sysdeps/i386/fpu/e_scalb.S: Likewise.
8618         * sysdeps/i386/fpu/e_powl.S: Likewise.
8619         * sysdeps/i386/fpu/s_log1p.S: Likewise.
8620         * sysdeps/i386/fpu/e_log10f.S: Likewise.
8621         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
8622         * sysdeps/i386/fpu/e_logl.S: Likewise.
8623         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
8624         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
8625         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8626         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
8627         * sysdeps/i386/fpu/e_log2f.S: Likewise.
8628         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8629         * sysdeps/i386/fpu/e_log.S: Likewise.
8630         * sysdeps/i386/fpu/s_cexp.S: Likewise.
8631         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8632         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
8633         * sysdeps/i386/fpu/e_logf.S: Likewise.
8634         * sysdeps/i386/fpu/e_log10l.S: Likewise.
8635         * sysdeps/i386/fpu/e_atanh.S: Likewise.
8636         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
8637         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
8638         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8639         * sysdeps/i386/fpu/e_log10.S: Likewise.
8640         * sysdeps/i386/fpu/s_frexp.S: Likewise.
8641         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8642         * sysdeps/i386/fpu/s_asinh.S: Likewise.
8643         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
8644         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8645         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
8646         * sysdeps/i386/asm-syntax.h: Likewise.
8647         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8648         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8649         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8650         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
8651         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
8652         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8653         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
8654         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
8655         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8656         * sysdeps/powerpc/sysdep.h: Likewise.
8657         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
8658         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8660 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
8662         [BZ #411]
8663         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
8665 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
8667         * sysdeps/i386/sysdep.h: Include <features.h>.
8668         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
8669         version.
8671 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
8673         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
8674         Define.
8675         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
8676         LOAD_PIC_REG_STR.
8678 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
8680         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
8681         (SETUP_PIC_REG): Use GET_PC_THUNK.
8682         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
8683         macro.
8685 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
8687         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
8688         for non-PIC compilation.
8689         (SETUP_PIC_REG): Add .p2align directive.
8690         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
8691         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
8692         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8693         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8694         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
8695         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8696         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
8697         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8698         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8699         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8700         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8701         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8702         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8703         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8704         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8705         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8706         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8707         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8708         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8709         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8710         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8711         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8712         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8713         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8714         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
8715         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
8716         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8717         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8718         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8719         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8720         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8721         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8722         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8723         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8724         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8725         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8726         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8727         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8728         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8729         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8730         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8732 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
8734         * math/tst-CMPLX.c: Include <stdio.h>.
8736 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
8738         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
8739         float.
8740         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8741         * sysdeps/sparc/bits/mathdef.h: Likewise.
8743 2012-01-31  Marek Polacek  <polacek@redhat.com>
8745         * libio/libio.h: Don't define _PARAMS.
8746         * locale/programs/config.h: Don't define PARAMS.
8747         * stdlib/strtol_l.c: Likewise.
8748         (__strtol_l): Remove PARAMS from the prototype.
8750 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
8752         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
8753         names.  Just use the correct names.  Remove unnecessary wrapper
8754         functions.
8755         * malloc/arena.c: Likewise.
8756         * malloc/hooks.c: Likewise.
8758         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
8759         ARENA_TEST says not to.  Simplify test for creation of a new arena.
8760         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
8762 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
8764         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
8765         into tail calls.
8766         (update_get_addr): New function.
8767         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
8768         GET_ADDR_MODULE parameter.
8770 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
8772         * crypt/cert.c: Remove __STDC__ conditionals.
8773         * crypt/crypt-entry.c: Likewise.
8774         * crypt/crypt_util.c: Likewise.
8775         * libio/filedoalloc.c: Likewise.
8776         * libio/fileops.c: Likewise.
8777         * libio/genops.c: Likewise.
8778         * libio/iofclose.c: Likewise.
8779         * libio/iofdopen.c: Likewise.
8780         * libio/iofopen.c: Likewise.
8781         * libio/iofopen64.c: Likewise.
8782         * libio/iogetdelim.c: Likewise.
8783         * libio/iopopen.c: Likewise.
8784         * libio/obprintf.c: Likewise.
8785         * libio/oldfileops.c: Likewise.
8786         * libio/oldiofclose.c: Likewise.
8787         * libio/oldiofdopen.c: Likewise.
8788         * libio/oldiofopen.c: Likewise.
8789         * libio/oldiopopen.c: Likewise.
8790         * libio/wfiledoalloc.c: Likewise.
8791         * libio/wgenops.c: Likewise.
8792         * locale/programs/xmalloc.c: Likewise.
8793         * misc/syslog.c: Likewise.
8794         * stdio-common/xbug.c: Likewise.
8795         * string/memchr.c: Likewise.
8796         * string/memcmp.c: Likewise.
8797         * string/memrchr.c: Likewise.
8798         * string/rawmemchr.c: Likewise.
8799         * sysdeps/posix/getcwd.c: Likewise.
8800         * time/strftime_l.c: Likewise.
8802 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
8804         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
8805         * config.make.in (config-cflags-sse2avx): Define.
8806         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
8807         Fix typo.
8809 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
8811         * scripts/config.guess: Update from upstream config git repository.
8812         * scripts/config.sub: Likewise.
8814 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
8816         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
8817         (EM_NUM): Update.
8818         (R_TILEPRO_*, R_TILEGX_*): New macros.
8820         * scripts/firstversions.awk: Fix bug in version range handling.
8822         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
8824         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
8826         * include/sys/epoll.h: New file.
8827         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
8828         libc_hidden_def.
8830 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
8832         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
8833         Avoid unnecessary __WORDSIZE == 64 test.
8834         (fmaxf): Use VEX format if possible.
8835         (fmax): Likewise.
8836         (fminf): Likewise.
8837         (fmin): Likewise.
8839         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
8840         * math/math_private.h: Remove libc_fegetround* and
8841         libc_fesetround*.
8842         * sysdeps/i386/configure.in: Check for -msse2avx.
8843         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
8844         also if SSE2AVX is defined.
8845         Remove libc_fegetround* and libc_fesetround*.
8846         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
8847         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
8848         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
8849         of HAS_YMM_USABLE.
8850         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8851         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8852         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8853         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8854         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8856         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
8858 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8860         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
8861         size is not set.
8862         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
8864 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
8866         [BZ #13618]
8867         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
8868         relocation.
8869         * Makeconfig (libm): Define.
8870         * elf/Makefile: Add rules to build and run tst-relsort1.
8871         * elf/tst-relsort1.c: New file.
8872         * elf/tst-relsort1mod1.c: New file.
8873         * elf/tst-relsort1mod2.c: New file.
8875 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
8877         * math/s_ldexp.c: Remove __STDC__ conditionals.
8878         * math/s_ldexpf.c: Likewise.
8879         * math/s_ldexpl.c: Likewise.
8880         * math/s_nextafter.c: Likewise.
8881         * math/s_nexttowardf.c: Likewise.
8882         * math/s_significand.c: Likewise.
8883         * math/s_significandf.c: Likewise.
8884         * math/s_significandl.c: Likewise.
8885         * math/w_jnl.c: Likewise.
8886         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
8887         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
8888         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8889         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8890         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8891         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8892         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
8893         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8894         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8895         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8896         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8897         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8898         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8899         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
8900         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8901         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8902         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8903         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8904         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8905         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8906         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8907         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8908         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8909         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8910         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8911         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8912         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8913         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8914         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
8915         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8916         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8917         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
8918         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8919         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
8920         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
8921         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8922         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
8923         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
8924         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
8925         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
8926         * sysdeps/ieee754/k_standard.c: Likewise.
8927         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8928         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8929         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8930         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8931         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8932         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8933         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8934         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
8935         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
8936         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8937         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8938         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
8939         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
8940         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
8941         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
8942         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8943         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8944         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8945         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8946         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8947         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8948         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8949         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8950         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8951         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8952         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8953         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8954         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8955         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8956         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
8957         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
8958         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
8959         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8960         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
8961         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
8962         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
8963         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
8964         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8965         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
8966         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
8967         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
8968         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
8969         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8970         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
8971         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8972         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
8973         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
8974         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8975         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
8976         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8977         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
8978         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8979         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8980         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
8981         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
8982         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
8983         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
8984         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8985         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8986         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8987         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8988         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8989         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
8990         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8991         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8992         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8993         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8994         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
8995         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
8996         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8997         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8998         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8999         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9000         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
9001         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
9002         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9003         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
9004         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
9005         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
9006         * sysdeps/ieee754/s_matherr.c: Likewise.
9007         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
9008         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9009         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9010         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9012 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
9014         * crypt/md5.h: Remove __STDC__ conditionals.
9015         * libio/libioP.h: Likewise.
9016         * locale/programs/config.h: Likewise.
9017         * sysdeps/generic/sysdep.h: Likewise.
9018         * sysdeps/i386/asm-syntax.h: Likewise.
9019         * sysdeps/s390/asm-syntax.h: Likewise.
9020         * sysdeps/unix/sysdep.h: Likewise.
9021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
9022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9024 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
9026         * libio/libio.h: Remove __STDC__ conditionals.
9027         * malloc/obstack.h: Likewise.
9028         * math/complex.h: Likewise.
9029         * math/math.h: Likewise.
9030         * sysdeps/generic/_G_config.h: Likewise.
9031         * sysdeps/gnu/_G_config.h: Likewise.
9032         * sysdeps/mach/hurd/_G_config.h: Likewise.
9033         * sysdeps/powerpc/bits/mathdef.h: Likewise.
9034         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
9035         * sysdeps/sparc/bits/mathdef.h: Likewise.
9037 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
9039         [BZ #13583]
9040         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
9041         Clean up HAS_* macros.
9042         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
9043         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
9044         possible.
9045         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
9046         HAS_AVX.
9047         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9048         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9049         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9050         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9051         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9053 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
9055         * elf/tst-unique3.cc (gets): Remove declaration.
9056         * elf/tst-unique3lib.cc (gets): Likewise.
9057         * elf/tst-unique3lib2.cc (gets): Likewise.
9058         * elf/tst-unique4.cc (gets): Likewise.
9060 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
9062         * include/stdio.h: Add C++ protection.  Add gets declarations and
9063         definitions.
9064         * debug/tst-chk1.c: Don't declare gets here.
9065         * stdio-common/tst-gets.c: Likewise.
9067 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
9069         * posix/glob: Remove directory.
9071 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
9073         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
9075 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
9077         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
9078         of the non-standard EPFNOSUPPORT.
9080 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9082         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
9083         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
9084         ANYWHERE set to 1 only on KERN_NO_SPACE error.
9086 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
9088         * wcsmbs/uchar.h: Test __STDC_VERSION__.
9090 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
9092         * nscd/aicache.c (addhstaiX): Do not cache negative results of
9093         transient errors.
9094         * nscd/grpcache.c (cache_addgr): Likewise.
9095         * nscd/hstcache.c (cache_addhst): Likewise.
9096         * nscd/initgrcache.c (addinitgroupsX): Likewise.
9097         * nscd/pwdcache.c (cache_addpw): Likewise.
9098         * nscd/servicescache.c (cache_addserv): Likewise.
9100 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
9102         * malloc/malloc.c: Various cleanups.
9103         * malloc/hooks.c: Likewise.
9105         * stdlib/Makefile (tests): Add bug-fmtmsg1.
9106         * stdlib/bug-fmtmsg1.c: New file.
9108         * stdlib/fmtmsg.c (init): Add missing unlock.
9109         Patch by Peng Haitao <penght@cn.fujitsu.com>.
9111 2012-01-12  Marek Polacek  <polacek@redhat.com>
9113         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
9114         and _GNU_SOURCE.
9116 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
9118         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
9119         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
9120         macro to ensure uniqueness of label name.
9121         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
9122         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
9124 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
9126         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
9128         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
9129         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
9130         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9131         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
9133 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
9135         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
9137         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
9138         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
9139         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
9141         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
9143         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
9144         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
9145         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9146         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
9148         * math/bits/math-finite.h: Add ldexp support.
9150 2012-01-10  Marek Polacek  <polacek@redhat.com>
9152         * locale/programs/localedef.h (show_archive_content): Add noreturn
9153         attribute.
9155 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
9157         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
9159 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
9161         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
9163         * io/Makefile (headers): Add bits/poll2.h.
9165 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
9167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
9168         typo #include statement.
9170 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
9172         * include/sys/cdefs.h: Define __attribute_alloc_size.
9173         * catgets/gencat.c: Add alloc_size attribute and apply consistently
9174         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
9175         * elf/pldd.c: Likewise.
9176         * iconv/iconv_charmap.c: Likewise.
9177         * iconv/iconvconfig.c: Likewise.
9178         * iconv/strtab.c: Likewise.
9179         * locale/programs/locale.c: Likewise.
9180         * locale/programs/localedef.h: Likewise.
9181         * locale/programs/simple-hash.c: Likewise.
9182         * nscd/nscd.h: Likewise.
9183         * nss/makedb.c: Likewise.
9184         * sysdeps/generic/ldconfig.h: Likewise.
9185         * locale/programs/localedef.c: Remove xmalloc prototype.
9186         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
9188 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
9190         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
9191         appropriate.
9193 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
9195         * math/Makefile (tests): Add tst-CMPLX.
9196         * math/tst-CMPLX.c: New file.
9198         * math/complex.h (CMPLXL): Fix typo.
9200         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
9201         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
9202         GLIBC_2.16.
9203         * debug/tst-chk1.c: Add poll and ppoll tests.
9204         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
9205         * include/sys/poll.h: Add hidden proto for ppoll.
9206         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
9207         * sysdeps/mach/hurd/ppoll.c: Likewise.
9208         * io/ppoll.c: Likewise.
9209         * debug/poll_chk.c: New file.
9210         * debug/ppoll_chk.c: New file.
9211         * include/bits/poll2.h: New file.
9212         * io/bits/poll2.h: New file.
9214         [BZ #1350]
9215         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
9217         * configure.in: static is always set to yes.  Remove.
9218         * config.make.in: Don't set build-static.
9219         * Makeconfig: Remove use of build-static.
9220         * dlfcn/Makefile: Likewise.
9221         * elf/Makefile: Likewise.
9222         * math/Makefile: Likewise.
9223         * misc/Makefile: Likewise.
9224         * nptl/Makefile: Likewise.
9225         * sysdeps/mach/hurd/Makefile: Likewise.
9227         * configure.in: PWD_P is not used anymore.
9228         * config.make.in: Remove PWD_P entry.
9230         * configure.in: Remove last remnants of RANLIB.
9231         No need to check for signed size_t anymore.
9232         Don't set libc_commonpagesize and libc_relro_required here for Alpha
9233         and IA-64.
9234         Remove __builtin_expect test because we require at least gcc 3.4.
9235         * aclocal.m4: Likewise.
9237         * wcsmbs/mbrtoc16.c: Implement using towc function.
9238         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
9239         * wcsmbs/wcsmbsload.c: Likewise.
9240         * iconv/gconv_simple.c: Likewise.
9241         * iconv/gconv_int.h: Likewise.
9242         * iconv/gconv_builtin.h: Likewise.
9243         * iconv/iconv_prog.c: Remove CHAR16 handling.
9245         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
9247         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
9249         * configure.in: Remove --with-elf and --enable-bounded options.
9250         Dont set base_machine for ia64.  More non-ELF conditions removed.
9251         Remove testing and setting of leading underscore information.
9252         * config.make.in (build-bounded): Set to no.
9253         * config.h.in: Remove NO_UNDERSCORES entry.
9254         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
9255         them.
9256         * csu/start.c: Remove !NO_UNDERSCORE code.
9257         * locale/localeinfo.h: Likewise.
9258         * sysdeps/generic/machine-gmon.h: Likewise.
9259         * sysdeps/generic/sysdep.h: Likewise.
9260         * sysdeps/i386/sysdep.h: Likewise.
9261         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9262         * sysdeps/mach/sysdep.h: Likewise.
9263         * sysdeps/s390/s390-32/sysdep.h: Likewise.
9264         * sysdeps/s390/s390-64/sysdep.h: Likewise.
9265         * sysdeps/sh/sysdep.h: Likewise.
9266         * sysdeps/sparc/sparc32/alloca.S: Likewise.
9267         * sysdeps/unix/i386/sysdep.S: Likewise.
9268         * sysdeps/unix/sparc/start.c: Likewise.
9269         * sysdeps/unix/sparc/sysdep.S: Likewise.
9270         * sysdeps/unix/sparc/sysdep.h: Likewise.
9271         * sysdeps/unix/start.c: Likewise.
9272         * sysdeps/unix/x86_64/sysdep.S: Likewise.
9273         * sysdeps/x86_64/sysdep.h: Likewise.
9275 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
9277         [BZ #13553]
9278         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
9279         for non-gcc.
9280         * argp/argp-fmtstream.h: Use const instead __const.
9281         * argp/argp.h: Likewise.
9282         * assert/assert.h: Likewise.
9283         * bits/fenv.h: Likewise.
9284         * bits/sched.h: Likewise.
9285         * bits/sigset.h: Likewise.
9286         * bits/sigthread.h: Likewise.
9287         * catgets/nl_types.h: Likewise.
9288         * conform/data/pthread.h-data: Likewise.
9289         * crypt/crypt-private.h: Likewise.
9290         * crypt/crypt.h: Likewise.
9291         * crypt/crypt_util.c: Likewise.
9292         * ctype/ctype.h: Likewise.
9293         * debug/execinfo.h: Likewise.
9294         * debug/mbsnrtowcs_chk.c: Likewise.
9295         * debug/mbsrtowcs_chk.c: Likewise.
9296         * debug/wcsnrtombs_chk.c: Likewise.
9297         * debug/wcsrtombs_chk.c: Likewise.
9298         * debug/wcstombs_chk.c: Likewise.
9299         * dirent/dirent.h: Likewise.
9300         * dlfcn/dlfcn.h: Likewise.
9301         * elf/neededtest4.c: Likewise.
9302         * grp/grp.h: Likewise.
9303         * gshadow/gshadow.h: Likewise.
9304         * iconv/gconv.h: Likewise.
9305         * iconv/gconv_int.h: Likewise.
9306         * iconv/gconv_simple.c: Likewise.
9307         * iconv/iconv.h: Likewise.
9308         * iconv/loop.c: Likewise.
9309         * iconv/skeleton.c: Likewise.
9310         * include/aio.h: Likewise.
9311         * include/aliases.h: Likewise.
9312         * include/argz.h: Likewise.
9313         * include/arpa/inet.h: Likewise.
9314         * include/assert.h: Likewise.
9315         * include/dirent.h: Likewise.
9316         * include/dlfcn.h: Likewise.
9317         * include/execinfo.h: Likewise.
9318         * include/fcntl.h: Likewise.
9319         * include/fenv.h: Likewise.
9320         * include/glob.h: Likewise.
9321         * include/grp.h: Likewise.
9322         * include/libintl.h: Likewise.
9323         * include/mntent.h: Likewise.
9324         * include/netdb.h: Likewise.
9325         * include/pwd.h: Likewise.
9326         * include/rpc/netdb.h: Likewise.
9327         * include/sched.h: Likewise.
9328         * include/search.h: Likewise.
9329         * include/shadow.h: Likewise.
9330         * include/signal.h: Likewise.
9331         * include/stdio.h: Likewise.
9332         * include/stdlib.h: Likewise.
9333         * include/string.h: Likewise.
9334         * include/sys/socket.h: Likewise.
9335         * include/sys/stat.h: Likewise.
9336         * include/sys/statfs.h: Likewise.
9337         * include/sys/statvfs.h: Likewise.
9338         * include/sys/syslog.h: Likewise.
9339         * include/sys/time.h: Likewise.
9340         * include/sys/uio.h: Likewise.
9341         * include/time.h: Likewise.
9342         * include/unistd.h: Likewise.
9343         * include/utmp.h: Likewise.
9344         * include/wchar.h: Likewise.
9345         * include/wctype.h: Likewise.
9346         * inet/aliases.h: Likewise.
9347         * inet/arpa/inet.h: Likewise.
9348         * inet/netinet/ether.h: Likewise.
9349         * inet/netinet/in.h: Likewise.
9350         * intl/libintl.h: Likewise.
9351         * io/bits/fcntl2.h: Likewise.
9352         * io/fcntl.h: Likewise.
9353         * io/ftw.h: Likewise.
9354         * io/sys/poll.h: Likewise.
9355         * io/sys/stat.h: Likewise.
9356         * io/sys/statfs.h: Likewise.
9357         * io/sys/statvfs.h: Likewise.
9358         * io/utime.h: Likewise.
9359         * libio/bits/stdio.h: Likewise.
9360         * libio/bits/stdio2.h: Likewise.
9361         * libio/libio.h: Likewise.
9362         * libio/libioP.h: Likewise.
9363         * libio/stdio.h: Likewise.
9364         * locale/lc-ctype.c: Likewise.
9365         * locale/locale.h: Likewise.
9366         * login/utmp.h: Likewise.
9367         * malloc/arena.c: Likewise.
9368         * malloc/malloc.c: Likewise.
9369         * malloc/malloc.h: Likewise.
9370         * malloc/mcheck.c: Likewise.
9371         * malloc/mtrace.c: Likewise.
9372         * math/bits/mathcalls.h: Likewise.
9373         * math/fenv.h: Likewise.
9374         * math/math_private.h: Likewise.
9375         * misc/bits/error.h: Likewise.
9376         * misc/bits/syslog.h: Likewise.
9377         * misc/err.h: Likewise.
9378         * misc/error.h: Likewise.
9379         * misc/fstab.h: Likewise.
9380         * misc/mntent.h: Likewise.
9381         * misc/regexp.h: Likewise.
9382         * misc/search.h: Likewise.
9383         * misc/sgtty.h: Likewise.
9384         * misc/sys/mman.h: Likewise.
9385         * misc/sys/syslog.h: Likewise.
9386         * misc/sys/uio.h: Likewise.
9387         * misc/sys/xattr.h: Likewise.
9388         * misc/ttyent.h: Likewise.
9389         * nis/rpcsvc/ypclnt.h: Likewise.
9390         * nss/nss.h: Likewise.
9391         * posix/bits/unistd.h: Likewise.
9392         * posix/fnmatch.h: Likewise.
9393         * posix/glob.h: Likewise.
9394         * posix/sched.h: Likewise.
9395         * posix/spawn.h: Likewise.
9396         * posix/sys/wait.h: Likewise.
9397         * posix/unistd.h: Likewise.
9398         * posix/wordexp.h: Likewise.
9399         * pwd/pwd.h: Likewise.
9400         * resolv/netdb.h: Likewise.
9401         * resource/sys/resource.h: Likewise.
9402         * rt/aio.h: Likewise.
9403         * rt/bits/mqueue2.h: Likewise.
9404         * rt/mqueue.h: Likewise.
9405         * shadow/shadow.h: Likewise.
9406         * signal/signal.h: Likewise.
9407         * socket/send.c: Likewise.
9408         * socket/sendto.c: Likewise.
9409         * socket/sys/socket.h: Likewise.
9410         * stdio-common/printf.h: Likewise.
9411         * stdlib/bits/stdlib.h: Likewise.
9412         * stdlib/fmtmsg.h: Likewise.
9413         * stdlib/monetary.h: Likewise.
9414         * stdlib/stdlib.h: Likewise.
9415         * stdlib/ucontext.h: Likewise.
9416         * streams/stropts.h: Likewise.
9417         * string/argz.h: Likewise.
9418         * string/bits/string2.h: Likewise.
9419         * string/string.h: Likewise.
9420         * string/strings.h: Likewise.
9421         * sunrpc/rpc/auth.h: Likewise.
9422         * sunrpc/rpc/auth_des.h: Likewise.
9423         * sunrpc/rpc/clnt.h: Likewise.
9424         * sunrpc/rpc/netdb.h: Likewise.
9425         * sunrpc/rpc/pmap_clnt.h: Likewise.
9426         * sunrpc/rpc/xdr.h: Likewise.
9427         * sysdeps/generic/inttypes.h: Likewise.
9428         * sysdeps/generic/net/if.h: Likewise.
9429         * sysdeps/generic/sys/swap.h: Likewise.
9430         * sysdeps/gnu/net/if.h: Likewise.
9431         * sysdeps/gnu/utmpx.h: Likewise.
9432         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
9433         * sysdeps/i386/i486/bits/string.h: Likewise.
9434         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
9435         * sysdeps/s390/bits/string.h: Likewise.
9436         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
9437         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
9438         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
9439         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
9440         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
9441         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
9442         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
9443         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
9444         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
9445         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
9446         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
9447         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9448         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
9449         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9450         * sysdeps/unix/sysv/linux/readv.c: Likewise.
9451         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
9452         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9453         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9454         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
9455         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
9456         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9457         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
9458         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
9459         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
9460         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
9461         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
9462         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
9463         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9464         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
9465         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
9466         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
9467         * sysvipc/sys/ipc.h: Likewise.
9468         * sysvipc/sys/msg.h: Likewise.
9469         * sysvipc/sys/sem.h: Likewise.
9470         * sysvipc/sys/shm.h: Likewise.
9471         * termios/termios.h: Likewise.
9472         * time/sys/time.h: Likewise.
9473         * time/time.h: Likewise.
9474         * wcsmbs/bits/wchar2.h: Likewise.
9475         * wcsmbs/uchar.h: Likewise.
9476         * wcsmbs/wchar.h: Likewise.
9477         * wctype/wctype.h: Likewise.
9479         [BZ #13551]
9480         * Makeconfig: Remove all but ELF support including AIX support.
9481         * Makerules: Likewise.
9482         * config.h.in: Likewise.
9483         * config.make.in: Likewise.
9484         * configure: Likewise.
9485         * configure.in: Likewise.
9486         * csu/Makefile: Likewise.
9487         * csu/version.c: Likewise.
9488         * debug/Makefile: Likewise.
9489         * dlfcn/Makefile: Likewise.
9490         * elf/Makefile: Likewise.
9491         * extra-lib.mk: Likewise.
9492         * iconv/Makefile: Likewise.
9493         * include/libc-symbols.h: Likewise.
9494         * include/shlib-compat.h: Likewise.
9495         * resolv/Makefile: Likewise.
9496         * resolv/res_libc.c: Likewise.
9497         * rt/Makefile: Likewise.
9498         * sysdeps/i386/asm-syntax.h: Likewise.
9499         * sysdeps/i386/sysdep.h: Likewise.
9500         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9501         * sysdeps/mach/sysdep.h: Likewise.
9502         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
9503         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
9504         * sysdeps/s390/asm-syntax.h: Likewise.
9505         * sysdeps/s390/s390-32/sysdep.h: Likewise.
9506         * sysdeps/s390/s390-64/sysdep.h: Likewise.
9507         * sysdeps/sh/sysdep.h: Likewise.
9508         * sysdeps/unix/sparc/sysdep.h: Likewise.
9509         * sysdeps/wordsize-32/divdi3.c: Likewise.
9510         * sysdeps/x86_64/sysdep.h: Likewise.
9512         * argp/Versions: Remove _argp_unlock_xxx.
9514         [BZ #13559]
9515         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
9516         * abilist/libBrokenLocale.abilist: Likewise.
9517         * abilist/libanl.abilist: Likewise.
9518         * abilist/libc.abilist: Likewise.
9519         * abilist/libcrypt.abilist: Likewise.
9520         * abilist/libdl.abilist: Likewise.
9521         * abilist/libm.abilist: Likewise.
9522         * abilist/libnsl.abilist: Likewise.
9523         * abilist/libpthread.abilist: Likewise.
9524         * abilist/libresolv.abilist: Likewise.
9525         * abilist/librt.abilist: Likewise.
9526         * abilist/libthread_db.abilist: Likewise.
9527         * abilist/libutil.abilist: Likewise.
9528         * abilist/libnss_db.abilist: New file.
9530         * scripts/abilist.awk: Add support for indirect functions.
9532         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
9534         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
9536         * shlib-versions: Remove entries for ports architectures.
9538         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
9539         files in ports.
9540         * elf/stackguard-macros.h: Remove support for IA-64.
9541         * elf/tst-auditmod1.c: Likewise.
9542         * sysdeps/generic/ldsodefs.h: Likewise.
9544         * sysdeps/unix/sysv/linux/configure.in: Ports should define
9545         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
9546         configure files.
9548         [BZ #13552]
9549         * configure.in: Remove --enable-omitfp support.
9550         * FAQ.in: Adjust.
9551         * config.make.in: Likewise.
9552         * Makeconfig: Likewise.
9553         * manual/install.texi: Likewise.
9555         In case anyone cares, the IA-64 architecture could move to ports.
9556         * sysdeps/ia64/*: Removed.
9557         * sysdeps/unix/sysv/linux/ia64/*: Removed.
9558         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
9560         [BZ #13555]
9561         * configure.in: Remove entries for unsupported architectures.
9563         [BZ #13533]
9564         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
9565         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
9566         routines.
9567         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
9568         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
9569         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
9570         fall back to using wcrtomb.
9571         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
9572         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
9573         renaming.
9574         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
9575         * wcsmbs/tst-c16c32-1.c: New file.
9577         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
9578         local variable.
9580         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
9582         * elf/tst-unique3.cc: Add explicit declaration of gets.
9583         * elf/tst-unique3lib.cc: Likewise.
9584         * elf/tst-unique3lib2.cc: Likewise.
9585         * elf/tst-unique4.cc: Likewise.
9587         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
9589 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
9591         [BZ #13566]
9592         * assert/assert.h (static_assert): Don't define for C++.
9593         * libio/stdio.h (gets): Do declare for C++ <= C++11.
9594         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
9596 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
9598         * iconv/loop.c (single loop): Fix assertion in storing of
9599         remaining bytes.
9601         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
9603 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
9605         * posix/getconf.c: Update copyright year.
9606         * nss/getent.c: Likewise.
9607         * nss/makedb.c: Likewise.
9608         * iconv/iconvconfig.c: Likewise.
9609         * iconv/iconv_prog.c: Likewise.
9610         * elf/ldconfig.c: Likewise.
9611         * elf/pldd.c: Likewise.
9612         * elf/sotruss.ksh: Likewise.
9613         * catgets/gencat.c: Likewise.
9614         * csu/version.c: Likewise.
9615         * elf/ldd.bash.in: Likewise.
9616         * elf/sprof.c (print_version): Likewise.
9617         * locale/programs/locale.c: Likewise.
9618         * locale/programs/localedef.c: Likewise.
9619         * login/programs/pt_chown.c: Likewise.
9620         * nscd/nscd.c (print_version): Likewise.
9621         * debug/xtrace.sh: Likewise.
9622         * malloc/memusage.sh: Likewise.
9623         * malloc/mtrace.pl: Likewise.
9624         * debug/catchsegv.sh: Likewise.
9626 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
9628         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
9629         pure attribute.
9631 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
9633         [BZ #13533]
9634         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
9635         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
9636         transformations.
9637         * iconv/gconv_int.h: Likewise.
9638         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
9639         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
9640         from libc for GLIBC_2.16.
9641         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
9642         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
9643         * wcsmbs/uchar.h: Really define mbstate_t.
9644         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
9645         * wcsmbs/c16rtomb.c: New file.
9646         * wcsmbs/mbrtoc16.c: New file.
9647         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
9648         for C/POSIX locale.
9649         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
9650         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
9652         * wcsmbs/wchar.h: Add missing __restrict.
9654 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
9656         [BZ #13532]
9657         * time/Makefile (routines): Add timespec_get.
9658         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
9659         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
9660         timespec for ISO C11.
9661         * time/timespec_get.c: New file.
9662         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
9663         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
9665         [BZ #13531]
9666         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
9667         * stdlib/stdlib.h: Declare aligned_alloc.
9668         * Versions.def: Add GLIBC_2.16 for libc.
9669         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
9671         [BZ 13527]
9672         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
9673         ISO C11.
9675         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
9676         code.
9678         [BZ #13528]
9679         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
9681         [BZ #13529]
9682         * assert/assert.h (static_assert): Define.
9684         * version.h: Update for 2.16 development version.
9686         [BZ #13526]
9687         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
9688         _ISOC11_SOURCE.
9690         * version.h (RELEASE): Bump for 2.15 release.
9691         * include/features.h (__GLIBC_MINOR__): Bump to 15.
9693         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
9694         Patch by Marek Polacek <mpolacek@redhat.com>.
9696         * bits/byteswap.h: Protect long long constants with __extension__.
9697         * sysdeps/i386/bits/byteswap.h: Likewise.
9698         * sysdeps/ia64/bits/byteswap.h: Likewise.
9699         * sysdeps/s390/bits/byteswap.h: Likewise.
9700         * sysdeps/x86_64/bits/byteswap.h: Likewise.
9702 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
9704         [BZ #13540]
9705         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
9706         destination buffer.
9707         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
9709 2011-12-23  Marek Polacek  <polacek@redhat.com>
9711         * elf/dl-addr.c (determine_info): Add inline keyword.
9712         * elf/tst-auditmod4b.c (check_avx): Likewise.
9713         * elf/tst-auditmod6b.c (check_avx): Likewise.
9714         * elf/tst-auditmod6c.c (check_avx): Likewise.
9715         * elf/tst-auditmod7b.c (check_avx): Likewise.
9717 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
9719         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
9720         !__SSE_MATH__.
9722 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
9724         [BZ #13540]
9725         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
9726         processing for last bytes.
9728 2011-08-06  Bruno Haible  <bruno@clisp.org>
9730         [BZ #13061]
9731         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
9732         U+0385, not to U+1FEE.
9734         [BZ #13062]
9735         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
9736         entry for U+00A5 U+0301.
9738 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
9740         [BZ #13166]
9741         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
9742         buffer for the output is too small.
9744         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
9745         optimization.
9747         [BZ #13185]
9748         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
9749         SSE flags if possible.
9751 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
9753         [BZ #13540]
9754         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
9755         processing for last bytes.
9757 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
9759         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
9760         (syscall-list-default-options, syscall-list-default-condition)
9761         (syscall-list-includes): Define.
9762         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
9763         list of ABIs and options and #if conditions for each ABI.  Do not
9764         handle common syscalls between ABIs specially.
9765         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
9766         Remove.
9767         (syscall-list-variants, syscall-list-32bit-options)
9768         (syscall-list-32bit-condition, syscall-list-64bit-options)
9769         (syscall-list-64bit-condition): Define.
9770         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
9771         (syscall-list-variants, syscall-list-32bit-options)
9772         (syscall-list-32bit-condition, syscall-list-64bit-options)
9773         (syscall-list-64bit-condition): Define.
9774         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
9775         Remove.
9776         (syscall-list-variants, syscall-list-32bit-options)
9777         (syscall-list-32bit-condition, syscall-list-64bit-options)
9778         (syscall-list-64bit-condition): Define.
9779         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
9780         Remove.
9781         (syscall-list-variants, syscall-list-32bit-options)
9782         (syscall-list-32bit-condition, syscall-list-64bit-options)
9783         (syscall-list-64bit-condition): Define.
9785 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
9787         * locale/iso-639.def: Add brx entry.
9789         [BZ #13328]
9790         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
9791         Proposed by Mariusz_Cukr <marcukr@op.pl>.
9793         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
9794         __feraiseexcept_renamed.
9796 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
9798         [BZ #13538]
9799         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
9800         EPOLLET with unsigned values.
9801         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9802         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9804         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
9805         to large cancellation.
9806         * math/s_cacoshf.c: Likewise.
9807         * math/s_cacoshl.c: Likewise.
9809 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
9811         [BZ #13305]
9812         [BZ #12786]
9813         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
9814         * math/s_cacoshf.c: Likewise.
9815         * math/s_cacoshl.c: Likewise.
9817 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
9819         [BZ #13439]
9820         * iconv/gconv.h: Define __GCONV_SWAP.
9821         * iconvdata/unicode.c: The swap bit must be stored in __flags.
9822         * iconvdata/utf-16.c: Likewise.
9823         * iconvdata/utf-32.c: Likewise.
9825 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
9827         [BZ #13524]
9828         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
9829         numerator after shifting it by one limb.
9831 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
9833         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
9834         under [__USE_EXTERN_INLINES].
9836 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
9838         [BZ #13446]
9839         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
9841 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9843         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
9844         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
9845         optimized code.
9846         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
9847         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
9848         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
9849         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
9850         for strncasecmp/strncasecmp_l compilation.
9851         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
9852         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
9854 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
9856         [BZ #13484]
9857         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
9858         of __asm__.
9860 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
9862         [BZ #13506]
9863         * time/tzfile.c (__tzfile_read): Check values from file header.
9865 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
9867         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
9868         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
9869         * powerpc/powerpc32/dl-start.S: Likewise.
9870         * powerpc/powerpc32/elf/start.S: Likewise.
9871         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9872         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
9873         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
9874         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
9875         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
9876         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
9877         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
9878         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
9879         * powerpc/powerpc32/fpu/s_round.S: Likewise.
9880         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
9881         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
9882         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
9883         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
9884         * powerpc/powerpc32/memset.S: Likewise.
9885         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
9886         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9887         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9888         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9889         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9890         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9891         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9892         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9893         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
9894         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
9895         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
9896         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
9897         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
9899 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9901         * math/libm-test.inc: Added more nearbyint tests.
9902         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
9903         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
9904         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
9905         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
9907 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
9909         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
9910         FD_CLOEXEC.
9912 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
9914         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
9915         Add wcscpy-ssse3 wcscpy-c.
9916         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
9917         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
9918         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
9919         * sysdeps/x86_64/wcschr.S: New file.
9920         * sysdeps/x86_64/wcsrchr.S: New file.
9921         * string/test-strcmp.c: Remove checking of wcscmp function for
9922         wrong alignments.
9923         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
9924         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
9925         wcsrchr-sse2 wcsrchr-c.
9926         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
9927         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
9928         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
9929         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
9930         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
9931         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
9932         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
9933         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
9934         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
9935         * wcsmbc/wcschr.c (WCSCHR): New macro.
9937 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
9939         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
9940         * wcsmbs/test-wcsrchr.c: New file.
9941         * string/test-strrchr.c: Add wcsrchr support.
9942         (WIDE): New macro.
9943         * wcsmbs/test-wcscpy.c: New file.
9944         * string/test-strcpy.c: Add wcscpy support.
9945         (WIDE): New macro.
9947 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
9949         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
9950         the inner loop.
9952 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
9954         [BZ #13472]
9955         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
9957 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
9959         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
9960         Minor optimizations.
9962         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
9963         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
9964         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
9966 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
9968         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
9969         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
9970         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
9971         for gcc to avoid warnings.
9972         * inet/Makefile (tests): Add tst-checks.
9973         * inet/tst-checks.c: New file.
9975         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
9976         warning.
9978         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
9979         __wmemcmp_sse2.
9981         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
9982         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
9984         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
9986 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
9988         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
9989         problem.
9991         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
9993 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
9995         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
9996         conditional on GCC version.
9997         (__arch_compare_and_exchange_val_8_acq)
9998         (__arch_compare_and_exchange_val_16_acq)
9999         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
10000         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
10001         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
10003 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
10005         * sysdeps/sh/backtrace.c: New file.
10007 2011-12-02  Andreas Schwab  <schwab@redhat.com>
10009         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
10010         parenthesis.
10012 2011-12-01  Andreas Schwab  <schwab@redhat.com>
10014         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
10015         falling back to utime.
10017 2011-11-30  Andreas Schwab  <schwab@redhat.com>
10019         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
10020         expectations for float.
10022 2011-11-29  Andreas Schwab  <schwab@redhat.com>
10024         * locale/weight.h (findidx): Add parameter len.
10025         * locale/weightwc.h (findidx): Likewise.
10026         * posix/fnmatch_loop.c (FCT): Adjust caller.
10027         * posix/regcomp.c (build_equiv_class): Likewise.
10028         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
10029         * posix/regexec.c (check_node_accept_bytes): Likewise.
10030         * string/strcoll_l.c (STRCOLL): Likewise.
10031         * string/strxfrm_l.c (STRXFRM): Likewise.
10033 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
10035         * Makefile.in: Remove CVSOPT handling.
10036         * configure.in: Remove use of AC_REVISION.
10037         * iconvdata/Makefile (distribute): No need to filter out CVS.
10038         * scripts/list-sources.sh: Remove CVS, subversion and monotone
10039         handling.
10041 2011-11-16  Andreas Schwab  <schwab@redhat.com>
10043         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
10044         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
10045         [USE_AS_STRNCASECMP_L]: Likewise.
10046         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
10047         NO_TLS_DIRECT_SEG_REFS.
10048         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
10049         Fix argument offsets for non-PIC.
10050         [USE_AS_STRNCASECMP_L]: Likewise.
10051         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
10052         NO_TLS_DIRECT_SEG_REFS.
10054 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
10056         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
10057         O_CLOEXEC.
10058         * locale/loadlocale.c (_nl_load_locale): Likewise.
10060 2011-11-15  Andreas Schwab  <schwab@redhat.com>
10062         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
10063         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
10064         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
10065         (SYSCALL_GETTIME): Set errno on error.
10067         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
10068         count references to noai6ai_cached.
10070 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
10072         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
10074         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
10075         FD_CLOEXEC for /proc/self/maps.
10077         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
10078         FD_CLOEXEC for /proc/meminfo.
10080         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
10081         gai.conf.
10083         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
10084         FD_CLOEXEC for given file.
10086         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
10088         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
10089         FD_CLOEXEC for /etc/hosts.
10090         (_gethtent): Likewise.
10092         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
10094         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
10095         cancellation and set FD_CLOEXEC for /etc/netgroup.
10097         * nss/nss_files/files-key.c (search): Don't allow cancellation when
10098         reading /etc/publickey.
10100         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
10101         allow cancellation when reading /etc/group.
10103         * nss/nss_files/files-alias.c (internal_setent): Don't allow
10104         cancellation.
10105         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
10107         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
10108         when using data file.
10110         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
10112         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
10113         (write_nis_obj): Use "c" and "e" in fopen.
10115         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
10117         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
10119         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
10121         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
10123         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
10124         locale.alias.
10126         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
10128         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
10130         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
10132         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
10133         file parsing and set FD_CLOEXEC.
10135 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
10137         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
10139 2011-11-14  Andreas Schwab  <schwab@redhat.com>
10141         * malloc/arena.c (arena_get2): Don't call reused_arena when
10142         _int_new_arena failed.
10144 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
10146         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
10147         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
10148         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
10149         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10150         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10151         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
10152         to compile strcasecmp and strncasecmp.
10153         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
10154         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
10156         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
10158 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
10160         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
10161         locale-defines.sym to gen-as-const-headers.
10162         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
10163         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
10164         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
10165         to compile strcasecmp and strncasecmp.
10166         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
10167         strcasecmp_l and strncasecmp_l.
10168         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
10169         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
10170         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
10171         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
10172         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
10173         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
10174         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
10175         * sysdeps/i386/i686/multiarch/strncase.S: New file.
10176         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
10177         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
10178         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
10180 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
10182         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
10183         result of SYSDEP_GETTIME_CPU to retval.
10184         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
10185         parameter list to macro.  Remove trailing semicolon.  Adjust users.
10187         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
10188         variable.
10190         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
10191         mantissa words.
10192         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
10194         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
10195         from unused variable.
10197         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
10198         DWARF definitions.
10199         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
10200         for assembling.
10202         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
10203         over namespaces.
10205         * sunrpc/rpc_prot.c (rejected): Fix case value.
10207         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
10208         unsigned long long int to avoid warnings in shift.
10210         * posix/regex_internal.c (re_string_reconstruct): Actually use result
10211         of use of trans.
10212         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
10213         variable tmp.
10215         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
10216         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
10217         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
10219         * nis/nis_table.c (nis_list): Use variable of correct type for
10220         result of __follow_path call.
10222 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10224         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
10225         of math functions ceil, trunc, floor, round, and sqrt, when
10226         avaliable on the platform.
10227         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
10228         name clash.
10229         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10230         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
10231         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
10233 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
10235         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
10236         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
10238 2011-11-11  Roland McGrath  <roland@hack.frob.com>
10240         * include/unistd.h: Fix __readlink return type.
10241         Reported by Chris Metcalf <cmetcalf@tilera.com>.
10243 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
10245         * stdlib/ucontext.h: Undo last change for makecontext.
10247 2011-11-11  Andreas Schwab  <schwab@redhat.com>
10249         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
10251         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
10252         * setjmp/setjmp.h: Mark functions as non-leaf.
10253         * setjmp/bits/setjmp2.h: Likewise.
10254         * stdlib/ucontext.h: Likewise.
10256 2011-11-10  Andreas Schwab  <schwab@redhat.com>
10258         * malloc/arena.c (_int_new_arena): Don't increment narenas.
10259         (reused_arena): Don't check arena limit.
10260         (arena_get2): Atomically check arena limit.
10262 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
10264         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
10265         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
10267         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
10268         instructions.
10270 2011-11-07  Andreas Schwab  <schwab@redhat.com>
10272         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
10273         handler when locking.
10275         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10276         Fix size of allocated buffer.
10278 2011-11-04  Andreas Schwab  <schwab@redhat.com>
10280         [BZ #10103]
10281         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
10282         declarations for long double functions.
10283         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
10285         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
10287 2011-11-03  Andreas Schwab  <schwab@redhat.com>
10289         * nscd/nscd.c (main): Don't start AVC thread until credentials are
10290         installed.
10292         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
10293         is disabled.
10295 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10297         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
10299 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
10301         * include/alloca.h (stackinfo_alloca_round): Define.
10302         (extend_alloca): Use it.
10303         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
10304         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
10305         here.
10307         * scripts/check-local-headers.sh: Ignore libaudit.h.
10309         * nscd/Makefile (extra-objs): Make recursively expanded.
10311 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
10313         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
10314         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10316         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
10317         * posix/tst-rfc3484-2.c: Likewise.
10318         * posix/tst-rfc3484-3.c: Likewise.
10320         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10321         process_vm_writev.
10322         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
10323         process_vm_writev.
10324         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
10325         process_vm_writev from libc using GLIBC_2.15 version.
10327         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
10329 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
10331         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
10332         stack usage.
10334 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
10336         [BZ #13367]
10337         * nss/getent.c (initgroups_keys): Show error message in case no group
10338         names are given.
10340         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
10341         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
10342         __bump_nl_timestamp.
10343         * nscd/connections (nscd_init): When host database is served open
10344         netlink socket and request notification about configuration changes.
10345         (main_loop_poll): Track netlink file descriptor and bump timestamp
10346         in case data becomes available.
10347         (main_loop_epoll): Likewise.
10348         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
10349         (database_pers_head): Add extra_data fileds.
10350         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
10351         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
10352         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
10353         Adjust caller.
10354         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
10355         in6ai data, call __free_in6ai.
10356         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
10357         Add -DHAVE_NETLINK.
10358         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
10359         interface information.  Reuse previous data if netlink timestamp
10360         is not changed.
10361         (__bump_nl_timestamp): New function.
10362         (__free_in6ai): New function.
10364 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
10366         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
10367         close_not_cancel_no_status here.
10368         (__check_pf): Reorganize code a bit to not call close twice if OOM.
10370 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
10372         [BZ #13276]
10373         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
10374         return value.
10376         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
10377         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
10378         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
10380 2011-07-03  Andreas Jaeger  <aj@suse.de>
10382         [BZ #10709]
10383         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
10384         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
10385         * math/libm-test.inc (sin_test): Add test case.
10387 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
10389         [BZ #13337]
10390         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
10391         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10393         * elf/chroot_canon.c (chroot_canon): Cleanups.
10395         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
10397         [BZ #13335]
10398         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
10399         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10401         * string/test-strchr.c: Make usable for strchrnul testing.
10402         * string/test-strchrnul.c: New file.
10403         * string/Makefile (strop-tests): Add strchrnul.
10405         * po/it.po: Update from translation team.
10406         * po/es.po: Likewise.
10408 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
10410         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
10411         the three constants needed as parameters.  Drop the others.
10412         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
10413         __m128i_strloadu_tolower.
10414         Create and initialize variable zero and use it in all the places
10415         where _mm_setzero_si128 was used.
10417         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
10418         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
10419         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
10420         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
10421         anymore.
10422         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
10423         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
10424         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
10425         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
10426         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
10427         __mpranred, __mptan.
10428         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
10429         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
10430         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
10431         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
10432         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
10433         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
10434         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
10435         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
10436         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
10438 2011-10-28  Andreas Schwab  <schwab@redhat.com>
10440         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
10441         redefine if SHARED.
10442         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
10444         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
10445         wide char related routines to wcsmbs subdir.
10447 2011-10-27  Andreas Schwab  <schwab@redhat.com>
10449         [BZ #13344]
10450         * misc/sys/cdefs.h (__THROWNL): Define.
10451         * posix/unistd.h: Use __THREADNL instead of __THREAD
10452         for memory synchronization functions.
10454 2011-10-26  Roland McGrath  <roland@hack.frob.com>
10456         [BZ #13349]
10457         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
10458         doesn't exist.
10459         * manual/stdio.texi (Obstack Streams): Node removed.
10461 2011-10-26  Andreas Schwab  <schwab@redhat.com>
10463         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
10464         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10465         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10467         * math/math_private.h (math_force_eval): Allow non-addressable
10468         arguments.
10469         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
10471 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
10473         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
10474         file is not needed.
10476         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
10477         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
10478         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10479         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10480         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10481         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10482         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10483         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
10484         Add AVX variants.
10485         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
10486         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
10487         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
10488         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
10489         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
10490         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
10491         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
10492         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
10493         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
10494         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
10495         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
10496         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
10497         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
10498         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
10499         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
10500         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
10501         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
10502         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
10503         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
10505         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
10506         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
10508         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
10509         place.  Use VEX encoding when compiling for AVX.
10511 2011-10-25  Andreas Schwab  <schwab@redhat.com>
10513         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
10514         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
10516         * string/test-strchr.c (do_test): Don't generate NUL bytes.
10518 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
10520         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
10521         useless if() expression.
10522         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10523         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10524         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10525         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10526         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10527         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10528         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10529         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10530         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10531         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10532         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10533         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10534         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10535         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10536         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10537         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10538         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10539         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10540         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10542         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
10544 2011-10-25  Andreas Schwab  <schwab@redhat.com>
10546         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
10547         condition.
10548         * elf/dl-fini.c (_dl_sort_fini): Likewise.
10550 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
10552         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
10553         .text section.  Avoid duplicate constants.
10554         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10555         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10556         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10557         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10558         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10559         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10560         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10561         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10562         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10563         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
10564         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10565         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10566         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
10567         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
10568         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10569         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
10570         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10571         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10572         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10573         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10574         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10575         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10576         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10577         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
10578         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
10579         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
10580         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
10581         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
10582         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
10583         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
10584         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
10585         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
10586         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10587         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
10588         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
10589         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
10590         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
10591         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
10592         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
10593         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
10594         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
10595         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
10596         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
10597         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
10598         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
10600 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
10602         * sysdeps/x86_64/dla.h: Move to ...
10603         * sysdeps/x86_64/fpu/dla.h: ...here.
10604         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
10605         situations.  Use __builtin_fma only for gcc 4.6 and up.
10607         * config.make.in: Add have-mfma4 entry.
10608         * configure.in: Substitute libc_cv_cc_fma4.
10609         * math/Makefile (dbl-only-routines): Add sincostab.
10610         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
10611         Use __sincostab not sincos.
10612         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
10613         name is a macro.
10614         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10615         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10616         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10617         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
10618         using __copysign.
10619         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
10620         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
10621         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
10622         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
10623         and __inv.
10624         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
10625         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
10626         __copysign.
10627         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
10628         define aliases when function name is a macro.
10629         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
10630         sysdeps/ieee754/dbl-64/sincos.tbl.
10631         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
10632         fma4-enabled routines.
10633         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
10634         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
10635         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
10636         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
10637         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
10638         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
10639         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
10640         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
10641         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
10642         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
10643         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
10644         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
10645         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
10646         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
10647         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
10648         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
10649         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
10650         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
10651         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
10652         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
10653         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
10654         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
10655         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
10656         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
10657         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
10658         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
10659         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
10660         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
10661         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
10662         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
10664         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
10665         rename.
10666         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10667         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10668         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10669         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10670         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10671         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10672         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10673         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10675 2011-10-24  Andreas Schwab  <schwab@redhat.com>
10677         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
10679 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
10681         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
10683         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
10684         prediction.
10685         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
10687         * string/strnlen.c: Don't define STRNLEN, reverse logic.
10688         Remove unused variable magic_bits.
10689         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
10691         * string/strnlen.c: Define and use STRNLEN macro.
10692         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
10693         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
10694         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
10695         * wcsmbs/wcslen.c: Define and use WCSLEN.
10696         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
10697         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
10698         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
10699         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
10700         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
10701         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
10702         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
10704 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
10706         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10707         strnlen-sse2-no-bsf.
10708         Rename strlen-no-bsf to strlen-sse2-no-bsf.
10709         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
10710         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
10711         Add strnlen support.
10712         (USE_AS_STRNLEN): New macro.
10713         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
10714         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
10715         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
10716         * sysdeps/x86_64/wcslen.S: New file.
10718 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
10720         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
10721         XMM-moves are used for copying on small sizes.
10723 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
10725         * wcsmbs/Makefile (strop-tests): Add wcschr.
10726         * wcsmbs/test-wcschr.c: New file.
10727         * string/test-strchr.c: Update.
10728         Add wcschr support.
10729         (WIDE): New macro.
10731 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
10733         * wcsmbs/Makefile (strop-tests): Add wcslen.
10734         * wcsmbs/test-wcslen.c: New file.
10735         * string/test-strlen.c: Update.
10736         Add wcslen support.
10737         (WIDE): New macro.
10739 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
10741         * po/it.po: Update from translation team.
10743 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
10745         * sysdeps/x86_64/wcscmp.S: Update.
10746         Fix wrong comparison semantics.
10747         wcscmp shall use signed comparison not unsigned.
10748         Don't use substraction to avoid overflow bug.
10749         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
10750         * wcsmbc/wcscmp.c: Likewise.
10751         * string/test-strcmp.c: Likewise.
10752         Add new tests to check cases with negative values.
10754 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
10756         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
10757         * sysdeps/x86_64/dla.h: ...here.  New file.
10758         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
10759         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10760         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10761         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10762         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10763         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10764         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10765         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10766         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10768 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
10770         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
10771         __ynl_finite aliases.
10773 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
10775         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10777         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
10778         define DLA_FMA.
10779         [DLA_FMA] (EMULV): Use DLA_FMA.
10780         [DLA_FMA] (MUL12): Use EMULV.
10781         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
10782         that are not needed.
10783         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10784         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10785         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10786         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10787         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10788         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10789         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10791 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
10793         * math/s_nan.c: Undef __nan.
10794         * math/s_nanf.c: Undef __nanf.
10795         * math/s_nanl.c: Undef __nanl.
10796         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
10797         "math_private.h".
10799 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
10801         * math/s_catan.c: Add branch predictions.
10802         * math/s_catanf.c: Likewise.
10803         * math/s_catanh.c: Likewise.
10804         * math/s_catanhf.c: Likewise.
10805         * math/s_catanhl.c: Likewise.
10806         * math/s_catanl.c: Likewise.
10807         * math/s_cexp.c: Likewise.
10808         * math/s_cexpf.c: Likewise.
10809         * math/s_cexpl.c: Likewise.
10810         * math/s_clog.c: Likewise.
10811         * math/s_clog10.c: Likewise.
10812         * math/s_clog10f.c: Likewise.
10813         * math/s_clog10l.c: Likewise.
10814         * math/s_clogf.c: Likewise.
10815         * math/s_clogl.c: Likewise.
10816         * math/s_csqrt.c: Likewise.
10817         * math/s_csqrtf.c: Likewise.
10818         * math/s_csqrtl.c: Likewise.
10819         * math/s_ctanf.c: Likewise.
10820         * math/s_ctanh.c: Likewise.
10821         * math/s_ctanhf.c: Likewise.
10822         * math/s_ctanhl.c: Likewise.
10823         * math/s_ctanl.c: Likewise.
10825         * math/math_private.h: Define __nan, __nanf, __nanl.
10826         * math/s_cacosh.c: Include <math_private.h>.
10827         * math/s_cacoshl.c: Likewise.
10828         * math/s_casinh.c: Likewise.
10829         * math/s_casinhf.c: Likewise.
10830         * math/s_casinhl.c: Likewise.
10831         * math/s_ccos.c: Rely entire on ccosh.
10832         * math/s_ccosf.c: Rely entire on ccoshf.
10833         * math/s_ccosl.c: Rely entirely on ccoshl.
10834         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
10835         Remove tests for FE_INVALID.
10836         * math/s_ccoshf.c: Likewise.
10837         * math/s_ccoshl.c: Likewise.
10838         * math/s_csin.c: Likewise.
10839         * math/s_csinf.c: Likewise.
10840         * math/s_csinh.c Likewise.
10841         * math/s_csinhf.c: Likewise.
10842         * math/s_csinhl.c: Likewise.
10843         * math/s_csinl.c: Likewise.
10844         * math/s_ctan.c: Likewise.
10845         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
10846         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
10847         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
10849 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
10851         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
10852         compilation problems.
10854         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
10855         __builtin_expect.
10857 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
10859         * sysdeps/i386/configure.in: Test for -mfma4 option.
10860         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
10861         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
10862         COMMON_CPUID_INDEX_80000001.
10863         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
10864         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
10865         use it if FMA3 is not supported.
10866         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
10868         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
10869         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10871 2011-10-20  Andreas Schwab  <schwab@redhat.com>
10873         [BZ #12892]
10874         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
10875         it would create a cycle with a link time dependency.
10877 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
10879         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
10880         instruction.
10881         * string/Makefile (strop-tests): Add rawmemchr.
10882         * string/test-rawmemchr.c: New file.
10884         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
10885         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
10886         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
10887         when compiling str{,n}casecmp and when AVX is available.  Hook up
10888         new optimized code in initializers.
10890 2011-10-19  Andreas Schwab  <schwab@redhat.com>
10892         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
10893         __feraiseexcept instead of feraiseexcept.
10895 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
10897         * math/math_private.h: Define defaults for libc_fetestexcept and
10898         libc_feupdateenv.
10899         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
10900         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
10901         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
10902         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10903         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10904         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
10905         libc_fetestexcept and libc_feupdateenv.
10907         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
10908         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
10909         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
10910         * sysdeps/x86_64/fpu/math_private.h: Define special version of
10911         libc_feholdexcept_setround.
10913         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
10914         Add s_nearbyint-c and s_nearbyintf-c.
10915         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
10916         nearbyintf inlines.
10917         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
10918         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
10919         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
10920         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
10922         * math/math_private.h: Define defaults for libc_fegetround,
10923         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
10924         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
10925         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
10926         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
10927         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
10928         standard functions.
10929         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10930         Remove comments and hacks for old compiler versions.
10931         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
10932         libc_fegetround, libc_fesetround, libc_feholdexcept, and
10933         libc_feholdexceptl.
10935 2011-10-18  Andreas Schwab  <schwab@redhat.com>
10937         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
10938         (__feraiseexcept_renamed): Add __NTH.
10939         (feraiseexcept): Add __NTH.  Rename local variables to fix
10940         namespace violations.
10942 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
10944         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
10946         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
10948         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
10949         recently added interfaces.
10950         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
10952         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
10953         about macro parameter expansion.
10955         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
10956         __NO_MATH_INLINES is defined.  Cleanups.
10958         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
10959         and __floorf is target has SSE4.1.
10960         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
10961         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
10962         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
10963         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
10965         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
10966         name.
10967         (floorf): Likewise.
10969         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
10971 2011-10-17  Andreas Schwab  <schwab@redhat.com>
10973         * misc/sys/cdefs.h: Fix last change.
10975         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
10976         database lookup.
10978 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
10980         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
10982         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
10983         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10984         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10985         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10986         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10987         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10988         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10989         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10990         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
10991         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
10992         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
10993         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
10994         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
10995         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
10996         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
10997         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
10998         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
10999         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
11000         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
11001         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
11002         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
11003         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
11005         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
11006         ceil, ceilf, floor, floorf.
11008         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
11009         Perform IRELATIVE relocations last.
11011         * elf/do-rel.h: Add another parameter nrelative, replacing the
11012         local variable with the same name.  Change name of the function
11013         to end in Rel or Rela (uppercase).
11014         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
11015         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
11016         elf_dynamic_do_##reloc function.
11018 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
11020         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
11021         is sufficient, at least on modern CPUs.
11023         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
11025         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
11026         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
11028         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
11029         __expl_finite.
11030         * math/bits/math-finite.h: Add entries for exp.
11031         * math/e_expl.c: Add __*_finite alias.
11032         * sysdeps/i386/fpu/e_exp.S: Likewise.
11033         * sysdeps/i386/fpu/e_expf.S: Likewise.
11034         * sysdeps/i386/fpu/e_expl.c: Likewise.
11035         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11036         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11037         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11038         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11039         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
11040         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11041         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11043         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
11044         is sufficient, at least on modern CPUs.
11046         * ctype/ctype-info.c (__ctype_init): Define.
11047         * include/ctype.h (__ctype_init): Declare.
11048         (__ctype_b_loc): The variable is always initialized.
11049         (__ctype_toupper_loc): Likewise.
11050         (__ctype_tolower_loc): Likewise.
11051         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
11052         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
11054 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
11056         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
11058         * configure.in: Also look in $cxxmachine/include for C++ system
11059         headers.
11061 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
11063         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
11064         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
11065         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
11066         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
11067         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
11068         (USE_AS_WMEMCMP): New macro.
11069         Fixing indents.
11070         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
11071         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
11072         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
11073         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
11074         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11075         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
11076         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
11077         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
11078         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
11079         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
11080         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
11081         (USE_AS_WMEMCMP): New macro.
11082         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
11083         * sysdeps/string/test-memcmp.c: Update.
11084         Fix simple_wmemcmp.
11085         Add new tests.
11086         * wcsmbs/wmemcmp.c: Update.
11087         (WMEMCMP): New macro.
11088         Fix overflow bug.
11090 2011-10-12  Andreas Jaeger  <aj@suse.de>
11092         [BZ #13268]
11093         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
11095 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
11097         * libio/iofwide.c (do_length): Avoid warning.
11099         * ctype/ctype.h (__isctype_f): Add missing __THROW.
11101 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
11103         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
11105         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
11106         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
11107         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
11108         * sysdeps/i386/i686/fpu/e_log.S: New file.
11109         * sysdeps/i386/i686/fpu/e_logf.S: New file.
11110         * sysdeps/i386/i686/fpu/e_logl.S: New file.
11112         * ctype/ctype.h: Add support for inlined isXXX functions when
11113         compiling C++ code.
11115 2011-10-14  Andreas Schwab  <schwab@redhat.com>
11117         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11119         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
11121 2011-10-13  Roland McGrath  <roland@hack.frob.com>
11123         [BZ #13291]
11124         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
11126 2011-10-13  Andreas Schwab  <schwab@redhat.com>
11128         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
11129         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
11130         feraiseexcept.
11132         * sysdeps/x86_64/memrchr.S: Check for zero size.
11134         * string/stratcliff.c: Add memrchr tests.
11136 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
11138         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11139         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
11140         rawmemchr-sse2 rawmemchr-sse2-bsf.
11141         * sysdeps/i386/i686/multiarch/memchr.S: New file.
11142         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
11143         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
11144         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
11145         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
11146         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
11147         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
11148         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
11149         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
11150         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
11151         * string/memrchr.c (MEMRCHR): New macro.
11153 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
11155         Add integration with gcc's -ffinite-math-only and optimize wrapper
11156         functions in libm.
11157         * Versions.def: Define GLIBC_2.15 version for libm.
11158         * math/Makefile (headers): Add bits/math-finite.h.
11159         * math/bits/math-finite.h: New file.
11160         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
11161         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
11162         * math/e_acoshl.c: Add __*_finite alias.
11163         * math/e_acosl.c: Likewise.
11164         * math/e_asinl.c: Likewise.
11165         * math/e_atan2l.c: Likewise.
11166         * math/e_atanhl.c: Likewise.
11167         * math/e_coshl.c: Likewise.
11168         * math/e_exp10.c: Likewise.
11169         * math/e_exp10f.c: Likewise.
11170         * math/e_exp10l.c: Likewise.
11171         * math/e_exp2l.c: Likewise.
11172         * math/e_fmodl.c: Likewise.
11173         * math/e_gammal_r.c: Likewise.
11174         * math/e_hypotl.c: Likewise.
11175         * math/e_j0l.c: Likewise.
11176         * math/e_j1l.c: Likewise.
11177         * math/e_jnl.c: Likewise.
11178         * math/e_lgammal_r.c: Likewise.
11179         * math/e_log10l.c: Likewise.
11180         * math/e_log2l.c: Likewise.
11181         * math/e_logl.c: Likewise.
11182         * math/e_powl.c: Likewise.
11183         * math/e_sinhl.c: Likewise.
11184         * math/e_sqrtl.c: Likewise.
11185         * math/e_scalb.c: Completely rewritten and optimized.
11186         * math/e_scalbf.c: Likewise.
11187         * math/e_scalbl.c: Likewise.
11188         * math/w_acos.c: Likewise.
11189         * math/w_acosf.c: Likewise.
11190         * math/w_acosl.c: Likewise.
11191         * math/w_acosh.c: Likewise.
11192         * math/w_acoshf.c: Likewise.
11193         * math/w_acoshl.c: Likewise.
11194         * math/w_asin.c: Likewise.
11195         * math/w_asinf.c: Likewise.
11196         * math/w_asinl.c: Likewise.
11197         * math/w_atan2.c: Likewise.
11198         * math/w_atan2f.c: Likewise.
11199         * math/w_atan2l.c: Likewise.
11200         * math/w_atanh.c: Likewise.
11201         * math/w_atanhf.c: Likewise.
11202         * math/w_atanhl.c: Likewise.
11203         * math/w_exp10.c: Likewise.
11204         * math/w_exp10f.c: Likewise.
11205         * math/w_exp10l.c: Likewise.
11206         * math/w_fmod.c: Likewise.
11207         * math/w_fmodf.c: Likewise.
11208         * math/w_fmodl.c: Likewise.
11209         * math/w_j0.c: Likewise.
11210         * math/w_j0f.c: Likewise.
11211         * math/w_j0l.c: Likewise.
11212         * math/w_j1.c: Likewise.
11213         * math/w_j1f.c: Likewise.
11214         * math/w_j1l.c: Likewise.
11215         * math/w_jn.c: Likewise.
11216         * math/w_jnf.c: Likewise.
11217         * math/w_log.c: Likewise.
11218         * math/w_logf.c: Likewise.
11219         * math/w_logl.c: Likewise.
11220         * math/w_log10.c: Likewise.
11221         * math/w_log10f.c: Likewise.
11222         * math/w_log10l.c: Likewise.
11223         * math/w_log2.c: Likewise.
11224         * math/w_log2f.c: Likewise.
11225         * math/w_log2l.c: Likewise.
11226         * math/w_pow.c: Likewise.
11227         * math/w_powf.c: Likewise.
11228         * math/w_powl.c: Likewise.
11229         * math/w_remainder.c: Likewise.
11230         * math/w_remainderf.c: Likewise.
11231         * math/w_remainderl.c: Likewise.
11232         * math/w_scalb.c: Likewise.
11233         * math/w_scalbf.c: Likewise.
11234         * math/w_scalbl.c: Likewise.
11235         * math/w_sqrt.c: Likewise.
11236         * math/w_sqrtf.c: Likewise.
11237         * math/w_sqrtl.c: Likewise.
11238         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
11239         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
11240         used.
11241         * math/math_private.h: Declare __kernel_standard_f.
11242         * math/w_cosh.c: Remove cruft and optimize a bit.
11243         * math/w_coshf.c: Likewise.
11244         * math/w_coshl.c: Likewise.
11245         * math/w_exp2.c: Likewise.
11246         * math/w_exp2f.c: Likewise.
11247         * math/w_exp2l.c: Likewise.
11248         * math/w_hypot.c: Likewise.
11249         * math/w_hypotf.c: Likewise.
11250         * math/w_hypotl.c: Likewise.
11251         * math/w_lgamma.c: Likewise.
11252         * math/w_lgamma_r.c: Likewise.
11253         * math/w_lgammaf.c: Likewise.
11254         * math/w_lgammaf_r.c: Likewise.
11255         * math/w_lgammal.c: Likewise.
11256         * math/w_lgammal_r.c: Likewise.
11257         * math/w_sinh.c: Likewise.
11258         * math/w_sinhf.c: Likewise.
11259         * math/w_sinhl.c: Likewise.
11260         * math/w_tgamma.c: Likewise.
11261         * math/w_tgammaf.c: Likewise.
11262         * math/w_tgammal.c: Likewise.
11263         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11264         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11265         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
11266         Minor optimizations.  Pretty printing.  Remove cruft.
11267         * sysdeps/i386/fpu/e_acosf.S: Likewise.
11268         * sysdeps/i386/fpu/e_acosh.S: Likewise.
11269         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11270         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11271         * sysdeps/i386/fpu/e_acosl.c: Likewise.
11272         * sysdeps/i386/fpu/e_asin.S: Likewise.
11273         * sysdeps/i386/fpu/e_asinf.S: Likewise.
11274         * sysdeps/i386/fpu/e_atan2.S: Likewise.
11275         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
11276         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
11277         * sysdeps/i386/fpu/e_atanh.S: Likewise.
11278         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11279         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11280         * sysdeps/i386/fpu/e_exp10.S: Likewise.
11281         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
11282         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
11283         * sysdeps/i386/fpu/e_exp2.S: Likewise.
11284         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
11285         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
11286         * sysdeps/i386/fpu/e_fmod.S: Likewise.
11287         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
11288         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
11289         * sysdeps/i386/fpu/e_hypot.S: Likewise.
11290         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
11291         * sysdeps/i386/fpu/e_log.S: Likewise.
11292         * sysdeps/i386/fpu/e_log10.S: Likewise.
11293         * sysdeps/i386/fpu/e_log10f.S: Likewise.
11294         * sysdeps/i386/fpu/e_log10l.S: Likewise.
11295         * sysdeps/i386/fpu/e_log2.S: Likewise.
11296         * sysdeps/i386/fpu/e_log2f.S: Likewise.
11297         * sysdeps/i386/fpu/e_log2l.S: Likewise.
11298         * sysdeps/i386/fpu/e_logf.S: Likewise.
11299         * sysdeps/i386/fpu/e_logl.S: Likewise.
11300         * sysdeps/i386/fpu/e_pow.S: Likewise.
11301         * sysdeps/i386/fpu/e_powf.S: Likewise.
11302         * sysdeps/i386/fpu/e_powl.S: Likewise.
11303         * sysdeps/i386/fpu/e_remainder.S: Likewise.
11304         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
11305         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
11306         * sysdeps/i386/fpu/e_scalb.S: Likewise.
11307         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11308         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11309         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
11310         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
11311         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
11312         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11313         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11314         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11315         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11316         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11317         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11318         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11319         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11320         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11321         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11322         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11323         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
11324         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11325         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11326         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11327         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11328         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11329         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11330         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11331         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11332         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11333         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
11334         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11335         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11336         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
11337         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11338         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11339         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
11340         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11341         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
11342         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11343         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11344         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11345         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11346         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
11347         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
11348         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
11349         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
11350         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
11351         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11352         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
11353         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11354         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
11355         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11356         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11357         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11358         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11359         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11360         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
11361         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11362         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11363         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11364         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11365         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11366         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11367         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11368         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11369         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11370         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11371         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11372         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11373         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
11374         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11375         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11376         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
11377         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11378         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
11379         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
11380         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
11381         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11382         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
11383         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
11384         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
11385         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11386         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
11387         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11388         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11389         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
11390         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11391         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
11392         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11393         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
11394         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
11395         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11396         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11397         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11398         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11399         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
11400         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11401         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11402         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11403         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11404         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11405         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
11406         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11407         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
11408         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
11409         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
11410         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
11411         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
11412         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
11413         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
11414         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
11415         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
11416         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11417         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11418         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11419         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11420         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
11421         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11422         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
11423         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
11424         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
11425         (__isnanf): Likewise.
11426         (__isinf_ns): Likewise.
11427         (__isinf_nsf): Likewise.
11428         (__finite): Likewise.
11429         (__finitef): Likewise.
11430         (__ieee754_sqrt): Define as macro.
11431         (__ieee754_sqrtf): Define as macro.
11432         (__ieee754_sqrtl): Define as macro.
11433         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
11434         inlined copy.
11435         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
11436         __FINITE_MATH_ONLY__ consistent.
11437         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
11439 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
11441         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
11442         of rawmemchr.
11444         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
11446 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
11448         * po/ja.po: Update from translation team.
11450 2011-10-08  Roland McGrath  <roland@hack.frob.com>
11452         * locale/programs/locarchive.c (prepare_address_space): New function.
11453         (create_archive, enlarge_archive, open_archive): Use it.
11455         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
11456         inside [SHARED], where it is used.
11458         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
11460         * nss/getent.c (netgroup_keys): Remove unused variable.
11461         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
11463 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
11465         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
11466         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
11467         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
11468         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
11469         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
11470         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
11471         * math/Makefile (libm-calls): Add s_isinf_ns.
11472         * math/divtc3.c: Use __isinf_nsl instead of isinf.
11473         * math/multc3.c: Likewise.
11474         * math/s_casin.c: Likewise.
11475         * math/s_casinf.c: Likewise.
11476         * math/s_casinl.c: Likewise.
11477         * math/s_ccos.c: Likewise.
11478         * math/s_ccosf.c: Likewise.
11479         * math/s_ccosl.c: Likewise.
11480         * math/s_ctan.c: Likewise.
11481         * math/s_ctanf.c: Likewise.
11482         * math/s_ctanh.c: Likewise.
11483         * math/s_ctanhf.c: Likewise.
11484         * math/s_ctanhl.c: Likewise.
11485         * math/s_ctanl.c: Likewise.
11486         * math/w_fmod.c: Likewise.
11487         * math/w_fmodf.c: Likewise.
11488         * math/w_fmodl.c: Likewise.
11489         * math/w_remainder.c: Likewise.
11490         * math/w_remainderf.c: Likewise.
11491         * math/w_remainderl.c: Likewise.
11492         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
11493         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
11494         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
11495         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
11496         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
11497         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
11498         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
11499         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
11501         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
11502         of the number.
11503         * stdio-common/printf_fphex.c: Likewise.
11504         * stdio-common/printf_size.c: Likewise.
11506         * math/e_exp10.c: Include math_private.h using <...> not "...".
11507         * math/e_exp10f.c: Likewise.
11508         * math/e_exp10l.c: Likewise.
11509         * math/e_exp2l.c: Likewise.
11510         * math/e_j0l.c: Likewise.
11511         * math/e_j1l.c: Likewise.
11512         * math/e_jnl.c: Likewise.
11513         * math/e_lgammal_r.c: Likewise.
11514         * math/e_rem_pio2l.c: Likewise.
11515         * math/e_scalb.c: Likewise.
11516         * math/e_scalbf.c: Likewise.
11517         * math/e_scalbl.c: Likewise.
11518         * math/k_cosl.c: Likewise.
11519         * math/k_sinl.c: Likewise.
11520         * math/k_tanl.c: Likewise.
11521         * math/s_cacoshf.c: Likewise.
11522         * math/s_catan.c: Likewise.
11523         * math/s_catanf.c: Likewise.
11524         * math/s_catanh.c: Likewise.
11525         * math/s_catanhf.c: Likewise.
11526         * math/s_catanhl.c: Likewise.
11527         * math/s_catanl.c: Likewise.
11528         * math/s_ccosh.c: Likewise.
11529         * math/s_ccoshf.c: Likewise.
11530         * math/s_ccoshl.c: Likewise.
11531         * math/s_cexp.c: Likewise.
11532         * math/s_cexpf.c: Likewise.
11533         * math/s_cexpl.c: Likewise.
11534         * math/s_clog.c: Likewise.
11535         * math/s_clog10.c: Likewise.
11536         * math/s_clog10f.c: Likewise.
11537         * math/s_clog10l.c: Likewise.
11538         * math/s_clogf.c: Likewise.
11539         * math/s_clogl.c: Likewise.
11540         * math/s_csin.c: Likewise.
11541         * math/s_csinf.c: Likewise.
11542         * math/s_csinh.c: Likewise.
11543         * math/s_csinhf.c: Likewise.
11544         * math/s_csinhl.c: Likewise.
11545         * math/s_csinl.c: Likewise.
11546         * math/s_csqrt.c: Likewise.
11547         * math/s_csqrtf.c: Likewise.
11548         * math/s_csqrtl.c: Likewise.
11549         * math/s_ctan.c: Likewise.
11550         * math/s_ctanf.c: Likewise.
11551         * math/s_ctanh.c: Likewise.
11552         * math/s_ctanhf.c: Likewise.
11553         * math/s_ctanhl.c: Likewise.
11554         * math/s_ctanl.c: Likewise.
11555         * math/s_ldexp.c: Likewise.
11556         * math/s_ldexpf.c: Likewise.
11557         * math/s_ldexpl.c: Likewise.
11558         * math/s_significand.c: Likewise.
11559         * math/s_significandf.c: Likewise.
11560         * math/s_significandl.c: Likewise.
11561         * math/w_acos.c: Likewise.
11562         * math/w_acosf.c: Likewise.
11563         * math/w_acosh.c: Likewise.
11564         * math/w_acoshf.c: Likewise.
11565         * math/w_acoshl.c: Likewise.
11566         * math/w_acosl.c: Likewise.
11567         * math/w_asin.c: Likewise.
11568         * math/w_asinf.c: Likewise.
11569         * math/w_asinl.c: Likewise.
11570         * math/w_atan2.c: Likewise.
11571         * math/w_atan2f.c: Likewise.
11572         * math/w_atan2l.c: Likewise.
11573         * math/w_atanh.c: Likewise.
11574         * math/w_atanhf.c: Likewise.
11575         * math/w_atanhl.c: Likewise.
11576         * math/w_cosh.c: Likewise.
11577         * math/w_coshf.c: Likewise.
11578         * math/w_coshl.c: Likewise.
11579         * math/w_dremf.c: Likewise.
11580         * math/w_exp10.c: Likewise.
11581         * math/w_exp10f.c: Likewise.
11582         * math/w_exp10l.c: Likewise.
11583         * math/w_exp2.c: Likewise.
11584         * math/w_exp2f.c: Likewise.
11585         * math/w_fmod.c: Likewise.
11586         * math/w_fmodf.c: Likewise.
11587         * math/w_fmodl.c: Likewise.
11588         * math/w_hypot.c: Likewise.
11589         * math/w_hypotf.c: Likewise.
11590         * math/w_hypotl.c: Likewise.
11591         * math/w_j0.c: Likewise.
11592         * math/w_j0f.c: Likewise.
11593         * math/w_j0l.c: Likewise.
11594         * math/w_j1.c: Likewise.
11595         * math/w_j1f.c: Likewise.
11596         * math/w_j1l.c: Likewise.
11597         * math/w_jn.c: Likewise.
11598         * math/w_jnf.c: Likewise.
11599         * math/w_jnl.c: Likewise.
11600         * math/w_lgamma.c: Likewise.
11601         * math/w_lgamma_r.c: Likewise.
11602         * math/w_lgammaf.c: Likewise.
11603         * math/w_lgammaf_r.c: Likewise.
11604         * math/w_lgammal.c: Likewise.
11605         * math/w_lgammal_r.c: Likewise.
11606         * math/w_log.c: Likewise.
11607         * math/w_log10.c: Likewise.
11608         * math/w_log10f.c: Likewise.
11609         * math/w_log10l.c: Likewise.
11610         * math/w_log2.c: Likewise.
11611         * math/w_log2f.c: Likewise.
11612         * math/w_log2l.c: Likewise.
11613         * math/w_logf.c: Likewise.
11614         * math/w_logl.c: Likewise.
11615         * math/w_pow.c: Likewise.
11616         * math/w_powf.c: Likewise.
11617         * math/w_powl.c: Likewise.
11618         * math/w_remainder.c: Likewise.
11619         * math/w_remainderf.c: Likewise.
11620         * math/w_remainderl.c: Likewise.
11621         * math/w_scalb.c: Likewise.
11622         * math/w_scalbf.c: Likewise.
11623         * math/w_scalbl.c: Likewise.
11624         * math/w_sinh.c: Likewise.
11625         * math/w_sinhf.c: Likewise.
11626         * math/w_sinhl.c: Likewise.
11627         * math/w_sqrt.c: Likewise.
11628         * math/w_sqrtf.c: Likewise.
11629         * math/w_sqrtl.c: Likewise.
11630         * math/w_tgamma.c: Likewise.
11631         * math/w_tgammaf.c: Likewise.
11632         * math/w_tgammal.c: Likewise.
11634         * po/ja.po: Update from translation team.
11636 2011-09-29  Andreas Jaeger  <aj@suse.de>
11638         [BZ #13179]
11639         * sunrpc/netname.c (netname2host): Fix logic.
11641         [BZ #6779]
11642         [BZ #6783]
11643         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
11644         correctly.
11645         * math/w_remainder.c (__remainder): Likewise.
11646         * math/w_remainderf.c (__remainderf): Likewise.
11647         * math/libm-test.inc (remainder_test): Add test cases.
11649 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11651         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
11652         sdiv_qrnnd.
11654 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
11656         * string/test-memcmp.c: Avoid unncessary #defines.
11657         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
11659 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
11661         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
11662         Use new sse2 version for core i3 - i7 as it's faster
11663         than sse42 version.
11664         (bit_Prefer_PMINUB_for_stringop): New.
11665         * sysdeps/x86_64/rawmemchr.S: Update.
11666         Replace with faster SSE2 version.
11667         * sysdeps/x86_64/memrchr.S: New file.
11668         * sysdeps/x86_64/memchr.S: Update.
11669         Replace with faster SSE2 version.
11671 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
11673         * elf/dl-load.c (lose): Add cast to avoid warning.
11675 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
11677         * po/ca.po: Update from translation team.
11679         * inet/getnetgrent_r.c: Hook up nscd.
11680         * nscd/Makefile (routines): Add nscd_netgroup.
11681         (nscd-modules): Add netgroupcache.
11682         (CFLAGS-netgroupcache.c): Define.
11683         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
11684         (cache_search): Add const to second parameter.
11685         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
11686         INNETGR.
11687         (dbs): Add netgrdb entry.
11688         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
11689         (verify_persistent_db): Handle netgrdb.
11690         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
11691         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
11692         GETFDNETGR.
11693         (netgroup_response_header): Define.
11694         (innetgroup_response_header): Define.
11695         (datahead): Add netgroup_response_header and innetgroup_response_header
11696         elements.
11697         * nscd/nscd.conf: Add entries for netgroup cache.
11698         * nscd/nscd.h (dbtype): Add netgrdb.
11699         (_PATH_NSCD_NETGROUP_DB): Define.
11700         (netgroup_iov_disabled): Declare.
11701         (xmalloc, xcalloc, xrealloc): Move declarations here.
11702         (cache_search): Adjust prototype.
11703         Add netgroup-related prototypes.
11704         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
11705         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
11706         (__nscd_innetgr): Declare.
11707         * nscd/selinux.c (perms): Use access_vector_t as element type and
11708         add netgroup-related initializers.
11709         * nscd/netgroupcache.c: New file.
11710         * nscd/nscd_netgroup.c: New file.
11711         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
11712         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
11713         For four parameters use innetgr.
11714         * nss/nss_files/files-init.c: Add definition and callback for netgr.
11715         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
11716         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
11717         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
11719         * nscd/connections.c (register_traced_file): Don't register file
11720         for disabled databases.
11722 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
11724         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
11726         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
11727         from tree and freeing node.
11729 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
11731         * nss/nsswitch.c (__nss_database_lookup): Handle
11732         nss_parse_service_list out of memory case.
11734 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
11736         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
11737         out of memory case.
11739 2011-10-04  Andreas Schwab  <schwab@redhat.com>
11741         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
11742         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
11743         pass it down.
11744         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
11745         elf_machine_rela, elf_machine_lazy_rel.
11746         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
11747         (ELF_DYNAMIC_DO_REL): Likewise.
11748         (ELF_DYNAMIC_DO_RELA): Likewise.
11749         (ELF_DYNAMIC_RELOCATE): Likewise.
11750         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
11751         to ELF_DYNAMIC_DO_REL.
11752         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
11753         (dl_main): In trace mode always set __RTLD_NOIFUNC.
11754         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
11755         elf_machine_rela.
11756         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
11757         skip_ifunc, don't call ifunc function if non-zero.
11758         (elf_machine_rela): Likewise.
11759         (elf_machine_lazy_rel): Likewise.
11760         (elf_machine_lazy_rela): Likewise.
11761         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
11762         (elf_machine_lazy_rel): Likewise.
11763         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
11764         Likewise.
11765         (elf_machine_lazy_rel): Likewise.
11766         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11767         Likewise.
11768         (elf_machine_lazy_rel): Likewise.
11769         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
11770         (elf_machine_lazy_rel): Likewise.
11771         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
11772         (elf_machine_lazy_rel): Likewise.
11773         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11774         (elf_machine_lazy_rel): Likewise.
11775         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
11776         (elf_machine_lazy_rel): Likewise.
11777         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
11778         (elf_machine_lazy_rel): Likewise.
11779         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
11780         (elf_machine_lazy_rel): Likewise.
11782 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
11784         * nss/nss_files/files-init.c (_nss_files_init): Use static
11785         initialization for all the *_traced_file variables.
11787 2011-09-28  Andreas Schwab  <schwab@redhat.com>
11789         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11791 2011-09-27  Roland McGrath  <roland@hack.frob.com>
11793         [BZ #13226]
11794         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
11796 2011-09-27  Andreas Schwab  <schwab@redhat.com>
11798         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
11799         Reread the line before reparsing it.
11801 2011-09-26  Andreas Schwab  <schwab@redhat.com>
11803         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
11805 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
11806             Maxim Kuvyrkov  <maxim@codesourcery.com>
11807             Joseph Myers  <joseph@codesourcery.com>
11809         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
11810         if needed for __stack_chk_guard.
11812 2011-09-19  Roland McGrath  <roland@hack.frob.com>
11814         * sysdeps/posix/spawni.c (script_execute): Always define it.
11815         It will be optimized away if unused.
11816         (maybe_script_execute): New function.
11817         (__spawni): Call it.
11819         * Makerules: Don't include tls.make.
11820         (config-tls): Always set to thread.
11821         * tls.make.c: File removed.
11823 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
11825         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
11826         * config.make.in (CPPFLAGS-config): New substituted variable.
11828 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
11830         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
11832         [BZ #13192]
11833         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
11834         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
11836 2011-09-15  Roland McGrath  <roland@hack.frob.com>
11838         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
11839         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
11840         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
11841         (CALL_FAIL): Likewise.
11842         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
11843         (CALL_FAIL): Macro removed.
11844         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
11846 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
11848         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
11849         for __FINITE_MATH_ONLY__ == 1.
11851 2011-09-15  Andreas Schwab  <schwab@redhat.com>
11853         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
11854         __ieee754_sqrt instead of sqrt.
11855         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
11856         __ieee754_sqrtf instead of sqrtf.
11857         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
11858         __floorf instead of floorf.
11859         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
11860         __floorf, __truncf instead of floorf, truncf.
11862 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
11864         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
11866         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
11867         __extern_always_inline.
11868         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
11869         32-bit.
11871 2011-09-14  Andreas Schwab  <schwab@redhat.com>
11873         * elf/rtld.c (dl_main): Also relocate in dependency order when
11874         doing symbol dependency testing.
11876 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
11878         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11879         Always define `refsym'.
11881 2011-09-13  Andreas Schwab  <schwab@redhat.com>
11883         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
11884         (__FD_ELT): Renamed from __FDELT.
11885         * misc/bits/select2.h (__FD_ELT): Likewise.
11886         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
11887         __FD_MASK instead of __FDELT, __FDMASK.
11888         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
11889         Likewise.
11890         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
11891         Likewise.
11893         * elf/Makefile (gen-ldd): Fix pattern.
11895         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
11896         (init_tls): Likewise.
11898 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
11900         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
11902 2011-09-12  Andreas Schwab  <schwab@redhat.com>
11904         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
11905         `struct cmsghdr *' instead of `void *'.
11906         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
11907         Likewise.
11909 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
11911         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
11912         if non-absolute.
11913         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
11914         ldd_rewrite_script.
11916 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
11918         * configure.in: Remove --with-tls option.
11919         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
11920         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
11921         out in case it is missing.
11922         * sysdeps/ia64/elf/configure.in: Likewise.
11923         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
11924         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
11925         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
11926         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
11927         * sysdeps/sh/elf/configure.in: Likewise.
11928         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
11929         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
11930         * sysdeps/x86_64/elf/configure.in: Likewise.
11931         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
11932         * sysdeps/mach/hurd/tls.h: Likewise.
11934         [BZ #13067]
11935         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
11937         [BZ #13090]
11938         * configure.in: Fix use of AC_INIT.
11940         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
11942 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
11944         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
11945         __set_errno.
11946         * malloc/hooks.c: Likewise.
11948         [BZ #11929]
11949         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
11950         variables statically.
11951         (narenas): Initialize.
11952         (list_lock): Initialize.
11953         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
11954         initializtion of main_arena and list_lock.  Small cleanups.
11955         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
11956         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
11957         Add initializers to main_arena and mp_.
11958         (malloc_state): Remove pagesize member.  Change all users to use
11959         GLRO(dl_pagesize).
11961         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
11962         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
11963         is always initialized.
11965         * malloc/malloc.c: Removed unused configurations and dead code.
11966         * malloc/arena.c: Likewise.
11967         * malloc/hooks.c: Likewise.
11968         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
11970         * include/tls.h: Removed.  USE___THREAD must always be defined.
11971         * bits/libc-tsd.h: Don't handle !USE___THREAD.
11972         * elf/dl-libc.c: Likewise.
11973         * elf/dl-tsd.c: Likewise.
11974         * include/errno.h: Likewise.
11975         * include/netdb.h: Likewise.
11976         * include/resolv.h: Likewise.
11977         * inet/herrno-loc.c: Likewise.
11978         * inet/herrno.c: Likewise.
11979         * malloc/arena.c: Likewise.
11980         * malloc/hooks.c: Likewise.
11981         * malloc/malloc.c: Likewise.
11982         * resolv/res-state.c: Likewise.
11983         * resolv/res_libc.c: Likewise.
11984         * sysdeps/i386/dl-machine.h: Likewise.
11985         * sysdeps/ia64/dl-machine.h: Likewise.
11986         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
11987         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
11988         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
11989         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
11990         * sysdeps/sh/dl-machine.h: Likewise.
11991         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11992         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11993         * sysdeps/unix/i386/sysdep.S: Likewise.
11994         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11995         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
11996         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
11997         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11998         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
11999         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12000         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12001         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12002         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12003         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12004         * sysdeps/unix/x86_64/sysdep.S: Likewise.
12005         * sysdeps/x86_64/dl-machine.h: Likewise.
12006         * tls.make.c: Likewise.
12008         * configure.in: Remove --with-__thread option.  Make tests for
12009         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
12010         tls_model attribute fail if no support is available.  Remove
12011         USE_IN_LIBIO.
12012         * Makeconfig: Adjust for dropped configure option.  All features are
12013         now mandatory.
12014         * Makerules: Likewise.
12015         * Versions.def: Likewise.
12016         * argp/argp-fmtstream.c: Likewise.
12017         * argp/argp-fmtstream.h: Likewise.
12018         * argp/argp-help.c: Likewise.
12019         * assert/assert.c: Likewise.
12020         * config.h.in: Likewise.
12021         * config.make.in: Likewise.
12022         * configure: Likewise.
12023         * configure.in: Likewise.
12024         * csu/Versions: Likewise.
12025         * csu/init.c: Likewise.
12026         * elf/tst-audit2.c: Likewise.
12027         * elf/tst-tls10.c: Likewise.
12028         * elf/tst-tls10.h: Likewise.
12029         * elf/tst-tls11.c: Likewise.
12030         * elf/tst-tls12.c: Likewise.
12031         * elf/tst-tls14.c: Likewise.
12032         * elf/tst-tlsmod11.c: Likewise.
12033         * elf/tst-tlsmod12.c: Likewise.
12034         * elf/tst-tlsmod13.c: Likewise.
12035         * elf/tst-tlsmod13a.c: Likewise.
12036         * elf/tst-tlsmod14a.c: Likewise.
12037         * elf/tst-tlsmod15b.c: Likewise.
12038         * elf/tst-tlsmod16a.c: Likewise.
12039         * elf/tst-tlsmod16b.c: Likewise.
12040         * elf/tst-tlsmod7.c: Likewise.
12041         * elf/tst-tlsmod8.c: Likewise.
12042         * elf/tst-tlsmod9.c: Likewise.
12043         * gmon/gmon.c: Likewise.
12044         * grp/fgetgrent_r.c: Likewise.
12045         * grp/putgrent.c: Likewise.
12046         * hurd/fopenport.c: Likewise.
12047         * include/libc-symbols.h: Likewise.
12048         * include/tls.h: Likewise.
12049         * intl/gettextP.h: Likewise.
12050         * intl/loadinfo.h: Likewise.
12051         * locale/global-locale.c: Likewise.
12052         * locale/localeinfo.h: Likewise.
12053         * mach/devstream.c: Likewise.
12054         * malloc/arena.c: Likewise.
12055         * malloc/set-freeres.c: Likewise.
12056         * misc/err.c: Likewise.
12057         * misc/getttyent.c: Likewise.
12058         * misc/mntent_r.c: Likewise.
12059         * posix/getopt.c: Likewise.
12060         * posix/wordexp.c: Likewise.
12061         * pwd/fgetpwent_r.c: Likewise.
12062         * resolv/Versions: Likewise.
12063         * resolv/res_hconf.c: Likewise.
12064         * shadow/fgetspent_r.c: Likewise.
12065         * shadow/putspent.c: Likewise.
12066         * stdio-common/printf_fphex.c: Likewise.
12067         * stdio-common/tmpfile.c: Likewise.
12068         * stdlib/abort.c: Likewise.
12069         * stdlib/fmtmsg.c: Likewise.
12070         * sunrpc/auth_unix.c: Likewise.
12071         * sunrpc/clnt_perr.c: Likewise.
12072         * sunrpc/clnt_tcp.c: Likewise.
12073         * sunrpc/clnt_udp.c: Likewise.
12074         * sunrpc/clnt_unix.c: Likewise.
12075         * sunrpc/openchild.c: Likewise.
12076         * sunrpc/svc_simple.c: Likewise.
12077         * sunrpc/svc_tcp.c: Likewise.
12078         * sunrpc/svc_udp.c: Likewise.
12079         * sunrpc/svc_unix.c: Likewise.
12080         * sunrpc/xdr.c: Likewise.
12081         * sunrpc/xdr_array.c: Likewise.
12082         * sunrpc/xdr_rec.c: Likewise.
12083         * sunrpc/xdr_ref.c: Likewise.
12084         * sunrpc/xdr_stdio.c: Likewise.
12086 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
12088         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12090 2011-07-03  Andreas Jaeger  <aj@suse.de>
12092         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
12093         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
12094         regenerate with gen-libm-tests.pl.
12096 2010-05-12  Petr Baudis  <pasky@suse.cz>
12098         [BZ #11589]
12099         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
12100         around j0() zero points by switching to j1().
12101         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12102         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12103         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12104         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12106 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
12108         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
12109         instead of 0.
12110         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
12111         instead of 0.                              .
12112         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12113         Patch in part by Pavel Roskin <proski@gnu.org>.
12115         [BZ #13138]
12116         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
12117         realloc.
12118         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
12119         Free memory block if necessary.
12121         [BZ #12847]
12122         * libio/genops.c (INTDEF): For string streams the _lock pointer can
12123         be NULL.  Don't lock in this case.
12125 2011-09-09  Roland McGrath  <roland@hack.frob.com>
12127         * elf/elf.h (ELFOSABI_GNU): New macro.
12128         (ELFOSABI_LINUX): Define to that.
12130 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
12132         * string/strncat.c (strncat): Undef the symbol in case it has been
12133         defined in bits/string.h.
12135 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
12137         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
12139         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
12140         link map.
12142 2011-08-17  Andreas Jaeger  <aj@suse.de>
12144         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
12146 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
12147             Ian Lance Taylor  <iant@google.com>
12149         * math/libm-test.inc (lround_test): New testcase.
12150         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
12152 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
12154         * Makefile: Remove support for automatic cvs check-ins.
12155         * Makerules: Likewise.
12156         * config.make.in: Likewise.
12157         * configure.in: Likewise.
12158         * intl/Makefile: Likewise.
12159         * locale/Makefile: Likewise.
12160         * po/Makefile: Likewise.
12161         * posix/Makefile: Likewise.
12162         * sysdeps/gnu/Makefile: Likewise.
12163         * sysdeps/mach/hurd/Makefile: Likewise.
12164         * sysdeps/sparc/sparc32/Makefile: Likewise.
12166         [BZ #13118]
12167         * posix/Makefile (bug-regex32-ENV): Define.
12168         Patch by John Stanley <jpsinthemix@verizon.net>.
12170         * misc/Makefile (headers): Add bits/select2.h.
12171         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
12172         * misc/bits/select2.h: New file.
12173         * include/bits/select2.h: New file.
12174         * debug/Makefile (routines): Add fdelt_chk.
12175         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
12176         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
12177         FD_ISSET.
12178         * debug/fdelt_chk.c: New file.
12180         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
12181         * wcsmbs/test-wmemcmp.c: Likewise.
12182         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
12183         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
12185 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12187         * string/Makefile (strop-tests): Add memcmp.
12188         * string/test-wmemcmp.c: New file.
12189         * string/test-memcmp.c: Add wmemcmp support.
12191 2011-09-08  Roland McGrath  <roland@hack.frob.com>
12193         [BZ #13153]
12194         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
12195         2011-07-19 change.
12197         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
12198         garbage value in a __mach_port_mod_refs call in the cases of the
12199         task-self and thread-self ports.
12201 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12203         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
12205 2011-09-08  Andreas Schwab  <schwab@redhat.com>
12207         * elf/dl-load.c (lose): Check for non-null L.
12209 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
12211         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
12213         * elf/dl-libc.c (dlerror_run): Pass back error code from
12214         dl_catch_error.
12216         [BZ #13123]
12217         * elf/dl-load.c (lose): Free l_origin if it is valid.
12219         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
12220         names.
12221         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
12222         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12223         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12224         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12225         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
12226         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
12228 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12230         * sysdeps/powerpc/fpu/e_hypot.c: New file.
12231         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
12232         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
12233         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
12234         * sysdeps/powerpc/fpu/k_cosf.c: New file.
12235         * sysdeps/powerpc/fpu/k_sinf.c: New file.
12236         * sysdeps/powerpc/fpu/s_cosf.c: New file.
12237         * sysdeps/powerpc/fpu/s_sinf.c: New file.
12238         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
12239         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
12241 2011-08-15  Alan Modra  <amodra@gmail.com>
12243         [BZ #13092]
12244         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
12245         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
12246         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
12247         ppc_mcount to static-only-routines.
12248         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
12249         __mcount_internal.
12250         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
12251         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
12253 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
12255         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
12256         for finite and infinity parameters.
12258 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
12260         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
12261         and add nop instructions for throughput optimization.
12262         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12264 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
12266         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
12267         aligned copy for power7 with vector-scalar instructions.
12268         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
12270 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
12272         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
12273         AVX check.
12275 2011-09-07  Andreas Schwab  <schwab@redhat.com>
12277         [BZ #13144]
12278         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
12279         last change.
12281 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
12283         * sysdeps/unix/sysv/linux/x86_64/init-first.c
12284         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
12285         syscall wrapper around clock_gettime in __vdso_clock_gettime.
12286         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
12287         clock_gettime.
12289 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
12291         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
12292         Forgot to demangle the pointer.
12294         * sysdeps/i386/sysdep.h: Define atom_text_section.
12295         * sysdeps/x86_64/sysdep.h: Likewise.
12296         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
12297         section with atom_text_section.
12298         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12299         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12300         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
12301         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12302         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
12304         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
12305         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
12306         already be defined.  Change to take two parameters and don't assign
12307         result to variable.  Adjust all users.
12308         Define INTERNAL_GETTIME if not already defined.
12309         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
12310         call.
12311         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
12312         HAVE_CLOCK_GETTIME_VSYSCALL.
12313         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
12315         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
12316         gettimeofday vsyscall, just use time.
12318 2011-09-06  Andreas Schwab  <schwab@redhat.com>
12320         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
12321         <errno.h>.
12323 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
12325         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
12326         syscall on x86-64.
12327         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
12328         syscall.
12329         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
12330         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
12331         syscall if possible.
12333 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
12335         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
12336         e_ident.  Don't pass to find_mapsXX.
12337         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
12339 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
12341         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12342         strchr-sse2-no-bsf strrchr-sse2-no-bsf
12343         * sysdeps/x86_64/multiarch/strchr.S: Update.
12344         Check bit_slow_BSF bit.
12345         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12346         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
12347         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
12349 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
12351         [BZ #13134]
12352         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
12353         before glibc 2.15.
12354         (tryshell): Define.
12355         (__spawni): Change last parameter to be flag.  Test
12356         SPAWN_XFLAGS_USE_PATH flag to use path or not.
12357         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
12358         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
12359         * posix/spawni.c: Likewise.
12360         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
12361         * posix/spawnp.c: Likewise.  Change normal version to use
12362         SPAWN_XFLAGS_USE_PATH.
12363         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
12364         SPAWN_XFLAGS_TRY_SHELL.
12366         [BZ #13150]
12367         * posix/glob.h: Remove gcc 1.x support.
12369         [BZ #13068]
12370         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
12372 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
12374         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12375         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
12376         strrchr-sse2-bsf
12377         * sysdeps/i386/i686/multiarch/strchr.S: New file.
12378         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
12379         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
12380         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
12381         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
12382         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
12384 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12386         * sysdeps/x86_64/wcscmp.S: New file.
12388         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
12389         wcscmp-c wcscmp-sse2
12390         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
12391         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
12392         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
12393         * wcsmbs/wcscmp.c: Allow renaming.
12395 2011-09-05  David S. Miller  <davem@davemloft.net>
12397         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
12398         stack slot, rather than the struct return pointer slot.
12399         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
12400         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
12401         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
12402         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
12404 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
12406         * po/ja.po: Update from translation team.
12408         [BZ #13144]
12409         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
12410         kernel in 64-bit binaries.
12412 2011-09-01  David S. Miller  <davem@davemloft.net>
12414         * elf/elf.h (HWCAP_SPARC_*): Move to..
12415         * sysdeps/sparc/sysdep.h: this new file and add new values.
12416         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
12417         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
12418         _DL_HWCAP_COUNT to 24.
12419         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
12420         entries.
12421         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
12422         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
12423         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
12424         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
12425         instead of magic constants.
12426         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12428 2011-08-31  David S. Miller  <davem@davemloft.net>
12430         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
12431         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
12432         Reimplement to do errno handling inline.
12433         (SYSCALL_ERROR_HANDLER): New macro.
12434         (__SYSCALL_STRING): Do not do errno handling in asm.
12435         (__CLONE_SYSCALL_STRING): Delete.
12436         (__INTERNAL_SYSCALL_STRING): Delete.
12437         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
12438         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
12439         (PSEUDO): Reimplement to do errno handling inline.
12440         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
12441         (SYSCALL_ERROR_HANDLER): New macro.
12442         (__SYSCALL_STRING): Do not do errno handling in asm.
12443         (__CLONE_SYSCALL_STRING): Delete.
12444         (__INTERNAL_SYSCALL_STRING): Delete.
12445         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
12446         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
12447         i386.
12448         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
12449         (inline_syscall*): Add 'err' argument.
12450         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
12451         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
12452         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
12453         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
12455         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
12456         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
12458 2011-08-30  Andreas Schwab  <schwab@redhat.com>
12460         * elf/rtld.c (dl_main): Relocate objects in dependency order.
12462 2011-08-29  Jiri Olsa <jolsa@redhat.com>
12464         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
12465         directive.
12467 2011-08-24  David S. Miller  <davem@davemloft.net>
12469         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
12471 2011-08-24  Andreas Schwab  <schwab@redhat.com>
12473         * elf/Makefile: Add rules to build and run unload8 test.
12474         * elf/unload8.c: New file.
12475         * elf/unload8mod1.c: New file.
12476         * elf/unload8mod1x.c: New file.
12477         * elf/unload8mod2.c: New file.
12478         * elf/unload8mod3.c: New file.
12480         * elf/dl-close.c (_dl_close_worker): Reset private search list if
12481         it wasn't used.
12483 2011-08-23  David S. Miller  <davem@davemloft.net>
12485         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
12486         subtract stack bias.
12487         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
12488         %sp not %fp in calculations.
12489         (_JMPBUF_UNWINDS_ADJ): Likewise.
12491         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
12492         (aio_suspend): Call it to force an exception region around the
12493         AIO_MISC_WAIT() invocation.
12495 2011-08-23  Andreas Schwab  <schwab@redhat.com>
12497         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
12498         backslash.
12500 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
12502         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
12503         protection macro.
12504         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
12505         and <dl-machine.h>.
12506         (Elf64_FuncDesc): Remove.
12508 2011-08-22  David S. Miller  <davem@davemloft.net>
12510         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
12511         sigaltstack check, add missing cfi directives.
12512         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
12513         missing cfi directives, and sigaltstack handling.
12515 2011-08-16  Andreas Schwab  <schwab@redhat.com>
12517         [BZ #11724]
12518         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
12519         object is seen twice.
12520         * elf/dl-fini.c (_dl_sort_fini): Likewise.
12522         * elf/Makefile (distribute): Add tst-initorder2.c.
12523         (tests): Add tst-initorder2.
12524         (modules-names): Add tst-initorder2a tst-initorder2b
12525         tst-initorder2c tst-initorder2d.  Add rules to build them.
12526         ($(objpfx)tst-initorder2.out): New rule.
12527         * elf/tst-initorder2.c: New file.
12528         * elf/tst-initorder2.exp: New file.
12530 2011-08-22  Andreas Schwab  <schwab@redhat.com>
12532         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
12534         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
12535         dependencies back to end of function.
12537         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
12538         $(elfobjdir)/ld.so.
12540 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
12542         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
12543         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
12544         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
12545         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
12546         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
12547         of __vdso_gettimeofday.
12548         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
12549         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
12550         attribute_hidden.
12551         (_libc_vdso_platform_setup): Remove initialization of
12552         __vdso_gettimeofday and __vdso_time.
12554 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
12556         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
12557         and fgetc_unlocked.
12558         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
12559         getc_unlocked.
12561         * elf/dl-open.c (add_to_global): Report additions to the global scope
12562         for LD_DEBUG=scopes.
12563         (dl_open_worker): Also print scope of newly loaded dependencies.
12564         (_dl_show_scope): Indicate if there is no scope.
12566         [BZ #13114]
12567         * stdio-common/Makefile (tests): Add bug24.
12568         * stdio-common/bug24.c: New file.
12570 2011-08-19  Andreas Jaeger  <aj@suse.de>
12572         [BZ #13114]
12573         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
12574         non-existant file when using close-on-exec mode.
12576 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
12578         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
12579         the very first instruction.
12581         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
12582         the CFI state in the end.
12583         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
12584         inclusion of dl-trampoline.h.
12585         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
12587 2011-08-19  Andreas Schwab  <schwab@redhat.com>
12589         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
12590         expectations for long double.
12592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
12593         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
12595 2011-08-14  David S. Miller  <davem@davemloft.net>
12597         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
12598         artificual limit depends upon the system page size.
12600 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
12602         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
12603         * resolv/Makefile: Define CFLAGS-libresolv.
12605 2011-08-17  Andreas Schwab  <schwab@redhat.com>
12607         * nss/makedb.c (compute_tables): Make variables used in nested
12608         function static.
12610 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
12612         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
12613         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
12614         if buffer was too small.
12616         * elf/pldd.c (main): Attach to all threads in the process.
12617         Rewrite /proc handling to use *at functions.
12619 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
12621         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
12622         specifies first scope to show.
12623         (dl_open_worker): Update callers.  Move printing scope of new
12624         object to before the relocation.
12625         * elf/rtld.c (dl_main): Update _dl_show_scope call.
12626         * sysdeps/generic/ldsodefs.h: Update declaration.
12628         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
12629         string for the scope number.
12631 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
12633         * nscd/servicescache.c (cache_addserv): Make sure written is always
12634         initialized.
12636 2011-08-14  Roland McGrath  <roland@hack.frob.com>
12638         * sysdeps/i386/i486/bits/atomic.h
12639         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
12640         statement expression, so as to suppress "set but not used" warning.
12641         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
12643         * string/strncat.c (STRNCAT): Use prototype definition.
12645         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
12646         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
12647         -Iprograms here.
12648         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
12649         (localedef-modules): Add localedef.
12650         (locale-modules): Add locale.
12652         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
12653         * elf/rtld.c (dl_main): Invert order of assignment in last change,
12654         to avoid a warning.
12656 2011-08-14  David S. Miller  <davem@davemloft.net>
12658         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
12659         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
12661 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
12663         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
12664         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
12665         * elf/rtld.c (dl_main): Set l_name of vDSO.
12666         Call _dl_show_scope when DL_DEBUG_SCOPES.
12667         (process_dl_debug): Recognize scopes flag and also set it for all.
12668         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
12669         Declare _dl_show_scope.
12671         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
12672         (do_dlopen): Pass caller_dlopen to dl_open.
12673         (__libc_dlopen_mode): Initialize caller_dlopen.
12675         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
12676         of libc.  Make tolower call locale-independent.  Optimize a bit by
12677         using isdigit instead of isalnum.
12678         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
12680 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
12682         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
12683         was a dependency or dynamically loaded.
12685 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
12687         * intl/l10nflist.c: Allow architecture-specific pop function.
12688         * sysdeps/x86_64/l10nflist.c: New file.
12690         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
12691         classification.
12693 2011-08-10  Andreas Schwab  <schwab@redhat.com>
12695         * include/dirent.h: Add libc_hidden_proto for scandirat and
12696         scandirat64.  Don't declare __scandirat64.
12697         * dirent/scandirat.c: Add libc_hidden_def.
12698         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
12699         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
12701 2011-08-10  David S. Miller  <davem@davemloft.net>
12703         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
12704         enum.
12705         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12706         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12707         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12709 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
12711         * Versions.def [libc]: Add GLIBC_2.15.
12712         * dirent/Makefile (routines): Add scandirat and scandirat64.
12713         * dirent/Versions [libc]: Export scandirat and scandirat64 for
12714         GLIBC_2.15.
12715         * dirent/dirent.h: Declare scandirat and scandirat64.
12716         * dirent/scandirat.c: New file.
12717         * dirent/scandirat64.c: New file.
12718         * sysdeps/wordsize-64/scandirat.c: New file.
12719         * sysdeps/wordsize-64/scandirat64.c: New file.
12720         * dirent/opendir.c: Define opendirat.
12721         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
12722         using scandirat.
12723         * dirent/scandir64.c: Adjust for scandir.c change.
12724         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
12725         __scandirat64, and __scandir_cancel_handler.
12726         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
12727         additional parameter and use openat instead of open (outside of ld.so).
12728         Add new __opendir as wrapper around __opendirat.
12729         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
12730         here without requiring old scandirat implementation.
12732 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
12734         * dirent/scandir.c (cancel_handler): Renamed to
12735         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
12736         defined.  Adjust users.
12737         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
12738         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
12740 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
12742         * string/test-string.h (IMPL): Use __STRING to expand name and then
12743         stringify it.
12745         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
12746         of cleanups.
12748 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12750         * string/Makefile: Update.
12751         (strop-tests): Append strncat.
12752         * string/test-wcscmp.c: New file.
12753         New comprehensive test for wcscmp.
12754         * string/test-strcmp.c: Update.
12755         (WIDE): New define.
12757 2011-07-22  Andreas Schwab  <schwab@redhat.com>
12759         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
12760         line.
12762 2011-07-26  Andreas Schwab  <schwab@redhat.com>
12764         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12765         encoding to ACE if AI_IDN.
12767 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
12769         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
12770         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
12772 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
12774         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
12775         Fix overflow bug in strncat.
12776         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
12778         * string/test-strncat.c: Update.
12779         Add new tests for checking overflow bugs.
12781 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
12783         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12784         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
12785         * sysdeps/i386/i686/multiarch/strcat.S: New file.
12786         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
12787         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
12788         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
12789         * sysdeps/i386/i686/multiarch/strncat.S: New file.
12790         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
12791         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
12793         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
12794         (USE_AS_STRCAT): Define.
12795         Add strcat and strncat support.
12796         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12798 2011-07-25  Andreas Schwab  <schwab@redhat.com>
12800         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
12801         __n bigger than INT_MAX+1.
12802         (__strncmp_g): Likewise.
12804 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
12806         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
12807         * libio/stido.h: Likewise.
12809         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
12810         (AF_NFC): Define.
12811         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
12812         (AF_NFC): Define.
12814         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
12815         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12816         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12817         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
12818         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12820         [BZ #13021]
12821         * scripts/test-installation.pl: Don't expect libnss_test1 to be
12822         installed.
12824         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
12825         typo.
12826         (_dl_x86_64_save_sse): Likewise.
12828 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
12830         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
12831         OSXSAVE.
12832         (_dl_x86_64_save_sse): Likewise.
12834         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
12836         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
12838 2011-07-21  Andreas Schwab  <schwab@redhat.com>
12840         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
12841         change.
12842         (_dl_x86_64_save_sse): Use correct AVX check.
12844 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12846         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
12847         bug in strncpy/strncat.
12848         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
12850 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
12852         * string/tester.c (test_strcat): Add tests for different alignments
12853         of source and destination.
12854         (test_strncat): Likewise.
12856 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
12858         [BZ #12852]
12859         * posix/glob.c (glob): Check passed in values before using them in
12860         expressions to avoid some overflows.
12861         (glob_in_dir): Likewise.
12863         [BZ #13007]
12864         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
12865         check for AVX enablement so that we don't crash with old kernels and
12866         new hardware.
12867         * elf/tst-audit4.c: Add same checks here.
12868         * elf/tst-audit6.c: Likewise.
12870         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
12872 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
12874         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
12876 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
12878         * po/cs.po: Update from translation team.
12879         * po/bg.po: Likewise.
12881 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
12883         * misc/sys/cdefs.h: Add support for const attribute.
12884         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
12885         to gnu_dev_{major,minor,makedev} functions.
12887 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
12889         * intl/dcigettext.c (get_output_charset): Add missing bracket.
12891 2011-07-20  Andreas Schwab  <schwab@redhat.com>
12893         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
12894         strlen results.
12896 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12898         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
12899         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
12900         register in order to avoid conflicts with the soft frame pointer
12901         being held in r11 when necessary.
12902         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
12903         (INTERNAL_VSYSCALL_NCS): Likewise.
12905 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
12907         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
12908         * elf/dl-fini.c (_dl_fini): Adjust caller.
12909         * elf/dl-close.c (_dl_close_worker): Likewise.
12910         * sysdeps/generic/ldsodefs.h: Adjust declaration.
12912 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
12914         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
12915         "aux_cache->nlibs < 0".
12917         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
12918         in the reload-count case.
12920 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
12922         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12923         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
12924         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
12925         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
12926         * sysdeps/x86_64/multiarch/strcat.S: New file.
12927         * sysdeps/x86_64/multiarch/strncat.S: New file.
12928         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
12929         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
12930         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
12931         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
12932         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
12933         (USE_AS_STRCAT): Define.
12934         Add strcat and strncat support.
12935         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12936         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12937         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
12938         * string/strncat.c: Update.
12939         (USE_AS_STRNCAT): Define.
12940         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12941         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
12942         and i7.
12943         * sysdeps/x86_64/multiarch/init-arch.h
12944         (bit_Prefer_PMINUB_for_stringop): New.
12945         (index_Prefer_PMINUB_for_stringop): Likewise.
12946         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
12947         bit_Prefer_PMINUB_for_stringop.
12949 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
12951         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
12952         buffer64.
12953         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
12954         of casting of buffer.
12955         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
12956         buffer32 and buffer64.
12957         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
12958         writes instead of casting of buffer.
12959         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
12960         buffer32.
12961         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
12962         casting of buffer.
12964 2011-07-19  Andreas Schwab  <schwab@redhat.com>
12966         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
12968 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
12970         * nscd/nscd.c (termination_handler): Don't do anything for a database
12971         if it has not yet been initialized.
12973 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
12975         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
12977 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
12979         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
12981 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
12983         * po/nl.po: Update from translation team.
12984         * po/sv.po: Likewise.
12986 2011-07-16  Roland McGrath  <roland@hack.frob.com>
12988         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
12989         now disallowed by GCC.
12991         * configure.in (use-default-link): Default to yes if a test -shared
12992         link meets our qualifications.
12993         * configure: Regenerated.
12995         * config.make.in (output-format): New variable.
12996         * configure.in: Check for ld --print-output-format support.
12997         * configure: Regenerated.
12998         * Makerules ($(common-objpfx)format.lds)
12999         [$(output-format) != unknown]: Just use $(output-format),
13000         instead of the linker-script munging.
13002 2011-07-14  Roland McGrath  <roland@hack.frob.com>
13004         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
13005         of $(common-objpfx)shlib.lds.
13006         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
13008         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
13009         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
13011         * configure.in (-z relro check): Adjust test code to add a large
13012         writable data section after it.
13013         * configure: Regenerated.
13015 2011-07-11  Roland McGrath  <roland@hack.frob.com>
13017         * configure.in (-z relro check): Fix test code to make the variable
13018         truly const.
13019         * configure: Regenerated.
13021 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
13023         * nscd/nscd.h (struct traced_file): Define.
13024         (struct database_dyn): Remove inotify_descr, reset_res, and filename
13025         elements.  Add traced_files.
13026         (inotify_fd): Declare.
13027         (register_traced_file): Declare.
13028         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
13029         (inotify_fd): Export.
13030         (resolv_conf_descr): Remove.
13031         (nscd_init): Move inotify descriptor creation to main.
13032         Don't register files for notification here.
13033         (register_traced_file): New function.
13034         (invalidate_cache): Don't use reset_res to determine whether to call
13035         res_init, go through the list of registered files.
13036         (main_loop_poll): The inotify descriptors are now stored in the
13037         structures for the traced files.
13038         (main_loop_epoll): Likewise
13039         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
13040         to __nss_disable_nscd.
13041         * nscd/cache.c (prune_cache): There is no single inotify descriptor
13042         for a database anymore.  Check the records for all the registered
13043         files instead.
13044         * nss/Makefile (libnss_files-routines): Add files-init.
13045         (libnss_db-routines): Add db-init.
13046         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
13047         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
13048         * nss/nss_db/db-init.c: New file.
13049         * nss/nss_files/files-init.c: New file.
13050         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
13051         __nss_lookup_function.
13052         (__nss_lookup_function): Call nss_load_library.
13053         (nss_load_all_libraries): New function.
13054         (__nss_disable_nscd): Take parameter with callback function for files
13055         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
13056         used for the cached services.
13057         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
13058         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
13059         options for features to all the files in nscd.
13061         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
13063 2011-07-10  Roland McGrath  <roland@hack.frob.com>
13065         * csu/elf-init.c (__libc_csu_init): Comment typo.
13067 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
13069         * po/pl.po: Update from translation team.
13070         * po/ja.po: Likewise.
13071         * po/ru.po: Likewise.
13072         * po/ko.po: Likewise.
13073         * po/fr.po: Likewise.
13075 2011-07-09  Roland McGrath  <roland@hack.frob.com>
13077         * configure.in (.ctors/.dtors header and trailer check):
13078         Use an empirical test on a built program.
13079         * configure: Regenerated.
13081         * configure.in (-z relro check): Use an empirical test on a built DSO.
13082         Detect, but do not require, on ia64.
13083         * configure: Regenerated.
13085         * configure.in (READELF): Find it with AC_CHECK_TOOL.
13086         Update tests that use readelf to use $READELF instead.
13087         * configure: Regenerated.
13089 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
13091         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
13092         if the result is not used.
13094 2011-07-05  Andreas Jaeger  <aj@suse.de>
13096         [BZ#9696]
13097         * stdlib/tst-strtod.c: Add testcase.
13099 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
13101         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
13102         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
13103         The latter has a higher limit.  Take additional parameter to pass to
13104         the new function.
13105         (__pathconf): Pass file to __statfs_link_max.
13106         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
13107         __statfs_link_max.
13108         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
13109         __statfs_link_max.
13111         [BZ #12868]
13112         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
13113         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13114         Handle Lustre.
13115         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
13116         (__statfs_filesize_max): Likewise.
13117         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
13119 2011-07-05  Andreas Jaeger  <aj@suse.de>
13121         * resolv/res_comp.c (dn_skipname): Remove unused variable.
13123 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
13125         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
13126         `status' variable.
13127         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
13128         Likewise.
13130 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
13132         * Makefile (strop-tests): Add strncat.
13133         * string/test-strncat.c: New file.
13135 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
13137         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
13139 2011-06-21  Andreas Jaeger  <aj@suse.de>
13141         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
13142         Copy rule from iconvdata/Makefile.
13144 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
13146         [BZ #12922]
13147         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
13148         but no long options are defined, just return 'W'.
13150 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
13152         [BZ #9696]
13153         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
13155 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
13157         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
13158         netgroups to read.
13159         (innetgr): Likewise.
13161 2011-07-05  Roland McGrath  <roland@hack.frob.com>
13163         * config.make.in (install_root): Default to $(DESTDIR).
13165 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
13167         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
13169 2011-07-02  Roland McGrath  <roland@hack.frob.com>
13171         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
13173         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
13174         containing directory rather than embedding absolute directory names.
13176         * scripts/check-local-headers.sh: Rewritten using awk.
13177         Match by word, not by line.  Print error messages for matches.
13178         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
13180         * Makerules [shlib-lds-flags empty]:
13181         ($(common-objpfx)libc_pic.opts): New target.
13182         ($(common-objpfx)libc_pic.os.clean): New target.
13183         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
13185         * config.make.in (OBJCOPY): New variable.
13186         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
13187         * configure: Regenerated.
13189         * config.make.in (use-default-link): New variable.
13190         * configure.in (use_default_link): Grok --with-default-link to set it.
13191         * configure: Regenerated.
13192         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
13193         (shlib-lds, shlib-lds-flags): Define to empty.
13195         * Makerules (shlib-lds): New variable.
13196         (shlib-lds-flags): New variable.
13197         (build-shlib, build-moduile, build-module-asneeded): Use it.
13198         ($(common-objpfx)libc.so): Use $(shlib-lds).
13199         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
13200         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
13202         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
13203         DT_FLAGS/DT_FLAGS_1 with zero flags.
13205         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
13206         linker script munging.
13208 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
13210         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
13211         as 128-bit value.
13212         * crypt/sha512.c (sha512_process_block): Perform total addition using
13213         128-bit if possible.
13214         (__sha512_finish_ctx): Likewise.
13215         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
13216         as 64-bit value.
13217         * crypt/sha256.c (SWAP64): Define.
13218         (sha256_process_block): Perform total addition using 64-bit if
13219         possible.
13220         (__sha256_finish_ctx): Likewise.
13222 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
13224         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
13225         * nscd/initgrcache.c (addinitgroupsX): Likewise.
13226         * nscd/hstcache.c (cache_addhst): Likewise.
13227         * nscd/grpcache.c (cache_addgr): Likewise.
13228         * nscd/aicache.c (addhstaiX): Likewise
13229         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
13231 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
13233         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
13234         * nscd/initgrcache.c (addinitgroupsX): Likewise.
13235         * nscd/hstcache.c (cache_addhst): Likewise.
13236         * nscd/grpcache.c (cache_addgr): Likewise.
13237         * nscd/aicache.c (addhstaiX): Likewise
13239 2011-07-01  Andreas Schwab  <schwab@redhat.com>
13241         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
13242         domain only when needed.
13244 2011-06-30  Andreas Schwab  <schwab@redhat.com>
13246         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
13247         is always restored.
13249 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
13251         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
13252         are re-adding the entry.
13253         * nscd/servicescache.c (cache_addserv): Likewise.
13255 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
13257         * sysdeps/generic/dl-irel.h: fix protection against multiple
13258         inclusions.
13259         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
13261 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
13263         [BZ #12935]
13264         * malloc/memusage.sh: Fix quoting in message.
13265         * debug/xtrace.sh: Likewise.
13267         * configure.in: Remove support for --experimental-malloc option, make
13268         it the default.
13269         * config.make.in: Likewise.
13270         * malloc/Makefile: Likewise.
13272 2011-06-27  Andreas Schwab  <schwab@redhat.com>
13274         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
13275         two-byte characters.
13277 2011-06-27  Roland McGrath  <roland@hack.frob.com>
13279         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
13280         AC_CACHE_CHECK invocation.
13281         * configure: Regenerated.
13283         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
13285 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
13287         [BZ #12350]
13288         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
13289         bit from old_res_options.
13291         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
13293         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
13294         value type for setfct.
13296 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
13298         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13299         __gettimeofday instead of gettimeofday.
13301 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
13303         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
13305 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
13307         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
13309         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
13310         info.
13312 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
13314         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13315         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13316         strcpy-sse2-unaligned strncpy-sse2-unaligned
13317         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
13318         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
13319         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
13320         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
13321         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
13322         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
13323         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
13324         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
13325         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
13326         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
13327         (STRCPY): Support SSE2 and SSSE3 versions.
13329 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
13331         [BZ #12874]
13332         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
13333         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
13334         kernels which artificially limit size of requests.
13336 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
13338         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13339         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13340         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
13341         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
13342         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
13343         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
13344         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
13345         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
13346         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
13347         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
13348         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
13349         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
13350         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
13351         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
13352         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
13353         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13354         Enable unaligned load optimization for Intel Core i3, i5 and i7
13355         processors.
13356         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
13357         Define.
13358         (index_Fast_Unaligned_Load): Define.
13359         (HAS_FAST_UNALIGNED_LOAD): Define.
13361 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
13363         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
13365 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
13367         [BZ #12907]
13368         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
13369         until it is clear that the information is realy needed.
13370         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
13372 2011-06-22  Andreas Schwab  <schwab@redhat.com>
13374         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
13376 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
13378         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13379         /sys/devices/system/cpu/online if it is usable.
13381         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
13382         reading the information from the /proc filesystem to once a second.
13384 2011-06-21  Andreas Jaeger  <aj@suse.de>
13386         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
13387         NULL after inclusion of kernel headers.
13389 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
13391         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
13392         calls to internal_setent.
13394         [BZ #12885]
13395         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
13396         addresses using gethostbyname4_r ignore IPv4 addresses.
13398         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
13399         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
13401         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
13403 2011-06-20  David S. Miller  <davem@davemloft.net>
13405         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
13406         inclusions.
13407         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
13409         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
13410         (elf_irel): Use it.
13411         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
13412         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
13413         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
13414         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
13415         * sysdeps/x86_64/dl-irel.h: Likewise.
13417         * elf/dl-runtime.c: Use elf_ifunc_invoke.
13418         * elf/dl-sym.c: Likewise.
13420 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
13422         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
13423         need to dereference resplen2.
13425 2011-06-14  Andreas Schwab  <schwab@redhat.com>
13427         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
13429 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
13431         * Makeconfig: Define vardbdir and inst_vardbdir.
13432         * nss/Makefile: Add rules to install db-Makefile.
13434         * nss/nss_db/db-XXX.c: Cleanup.
13436         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
13437         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
13438         GLIBC_PRIVATE.
13439         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
13440         * nss/makedb.c: Implement -g option to specify that value strings
13441         are generated and should not be added to table iterated over for
13442         get*ent calls.
13443         * nss/nss_db/db-initgroups.c: New file.
13445         * nss/getent.c: Add support for initgroups lookups through getgrouplist
13446         interface.
13448         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
13449         (internal_getgrouplist): Adjust to name change.
13450         Update use_initgroups_entry if this is not the first call.
13451         * nss/databases.def: Add initgroups entry.
13453         * nss/makedb.c (compute_tables): Check result of multiple hash table
13454         sizes to minimize maximum chain length.
13456 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
13458         * Versions.def: Add entry for libnss_db.
13459         * shlib-versions: Likewise.
13460         * nss/Makefile: Add rules to build libnss_db.
13461         * nss/Versions: Add libnss_db information.  Organize libnss_files
13462         entries better.
13463         * nss/db-Makefile: Add gshadow support.  Change rules for the new
13464         makedb progra.  Some minor improvements to generate smaller files.
13465         * nss/nss_db/nss_db.h: Move NSS database header data structures to
13466         here from...
13467         * nss/makedb.c: ...here.
13468         Improve database format to be smaller and require less memory at
13469         runtime.
13470         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
13471         db anymore.
13472         * nss/nss_db/db-netgrp.c: Likewise.
13473         * nss/nss_db/db-open.c: Likewise.
13474         * nss/nss_files/flies-XXX.x: Adjust comments.
13475         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
13476         * nss/nss_files/files-grp.c: Likewise.
13477         * nss/nss_files/files-hosts.c: Likewise.
13478         * nss/nss_files/files-network.c: Likewise.
13479         * nss/nss_files/files-proto.c: Likewise.
13480         * nss/nss_files/files-pwd.c: Likewise.
13481         * nss/nss_files/files-rpc.c: Likewise.
13482         * nss/nss_files/files-service.c: Likewise.
13483         * nss/nss_files/files-sgrp.c: Likewise.
13484         * nss/nss_files/files-spwd.c: Likewise.
13485         * nss/nss_db/db-alias.c: Removed.
13486         * nss/nss_db/dummy-db.h: Removed.
13488 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
13490         * nss/makedb.c: Rewritten to not use database library.
13491         * nss/Makefile: Update to build new makedb program.
13493 2011-06-14  Andreas Jaeger  <aj@suse.de>
13495         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
13496         memset declaration.
13498 2011-06-10  Andreas Schwab  <schwab@redhat.com>
13500         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
13501         tmpbuf.
13503 2011-06-10  Roland McGrath  <roland@hack.frob.com>
13505         * Makerules (shlib.lds): Fail if the linker script comes out empty.
13506         * elf/Makefile ($(objpfx)ld.so): Likewise.
13508         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
13509         Don't list ld.so twice in dependencies.
13511         * posix/bug-regex31.c: Include <stdlib.h>.
13513         * nscd/hstcache.c (cache_addhst): Remove unused variable.
13515         * nis/nss_compat/compat-spwd.c
13516         (getspent_next_nss_netgr): Remove unused variable.
13517         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
13519         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
13520         nonmembers" output to use the right array.
13522         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
13524         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
13526         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
13527         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
13528         * catgets/gencat.c (read_input_file): Likewise.
13529         * locale/programs/locarchive.c (enlarge_archive): Likewise.
13531         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
13532         variable definition inside #if's controlling its use.
13534         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
13536         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
13538         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
13540         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
13541         unreachable code.
13543         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
13545         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
13546         * configure: Regenerated.
13548         * Makerules: Revert last change.
13549         * elf/Makefile: Likewise.
13551 2011-06-09  Roland McGrath  <roland@hack.frob.com>
13553         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
13554         * elf/Makefile ($(objpfx)librtld.os): Likewise.
13555         (reloc-link): Likewise.
13557 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
13559         * elf/Makefile: Add rules to build pldd.
13560         * elf/pldd.c: New file.
13561         * elf/pldd-xx.c: New file.
13563 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
13565         * version.h: Update for 2.15 development version.
13567 2011-06-07  David S. Miller  <davem@davemloft.net>
13569         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
13570         ifuncs.
13571         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
13572         elf_machine_lazy_rel): Likewise.
13573         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
13574         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
13575         elf_machine_lazy_rel): Likewise.
13576         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
13577         dl_hwcap via passed in argument.
13578         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
13579         Likewise.
13581 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13583         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
13585 2011-06-06  Roland McGrath  <roland@hack.frob.com>
13587         [BZ #12849]
13588         * manual/fdl-1.1.texi: New file, verbatim from:
13589         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
13590         * manual/lgpl-2.1.texi: New file, verbatim from:
13591         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
13592         * manual/Makefile (licenses): New variable, list those new file names.
13593         (texis): Use it.
13594         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
13596         * manual/fdl.texi: File removed.
13597         * manual/lesser.texi: File removed.
13598         * manual/libc.texinfo (Copying, Documentation License):
13599         Use new @include file names, put @appendix directive before @include.
13601 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
13603         [BZ #12841]
13604         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
13605         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
13606         (mq_open): Add __NTH.
13608 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
13610         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13611         Assume Intel Core i3/i5/i7 processor if AVX is available.
13613 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
13615         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13616         typo.
13618 2011-05-31  Andreas Schwab  <schwab@redhat.com>
13620         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
13621         memory.  Use alloca_account.  Fix memory leak when retrying.
13623 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
13625         * version.h (RELEASE): Bump for 2.14 release.
13626         * include/features.h (__GLIBC_MINOR__): Bump to 14.
13628         * config.make.in (RANLIB): Remove entry.
13630 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
13632         * po/Makefile (po-sed-cmd): Add ksh to extensions.
13633         (libc.pot): Work around missing support for .ksh extension in xgettext.
13635         [BZ #12684]
13636         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
13637         if both request failed.
13638         (send_dg): In case of server errors clear resplen or *resplen2.
13640         [BZ #12454]
13641         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
13642         when there are multiple maps.
13643         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
13644         (_dl_fini): Remove test here.
13646         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
13648 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
13650         [BZ #12350]
13651         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
13652         bit from old_res_options.
13653         (gaih_inet): Likewise.
13655         [BZ #11099]
13656         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
13657         as signed.
13659         * resolv/res_init.c (res_setoptions): Make the code more compact.
13661         [BZ #11558]
13662         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
13663         set RES_USEVC.
13665         [BZ #11634]
13666         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
13668         * malloc/malloc.h: Mark malloc hook variables as deprecated.
13670         [BZ #11781]
13671         * malloc/malloc.h: Declare malloc hook variables as volatile.
13673         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
13674         in last patch.
13676         [BZ #11799]
13677         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
13678         raise in the comment.
13679         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
13680         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13681         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
13683 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
13685         [BZ #12811]
13686         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
13687         grow the buffers more if it already has to be sufficient.
13688         (build_wcs_upper_buffer): Likewise.
13689         * posix/regexec.c (check_matching): Likewise.
13690         (clean_state_log_if_needed): Likewise.
13691         (extend_buffers): Don't enlarge buffers beyond size of the input
13692         buffer.
13693         Patches mostly by Emil Wojak <emil@wojak.eu>.
13694         * posix/bug-regex32.c: New file.
13695         * posix/Makefile (tests): Add bug-regex32.
13697         * locale/findlocale.c (_nl_find_locale): Return right away if
13698         _nl_explode_name failed.
13699         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
13701         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
13703         * debug/xtrace.sh: Unify messages.
13704         * malloc/memusage.sh: Likewise.
13706         [BZ #12813]
13707         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
13708         time symbol from vDSO.  Substitute with vsyscall if not available.
13709         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
13710         __vdso_time.
13712         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
13713         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
13714         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
13715         Add sendmmsg and internal_sendmmsg.
13716         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
13717         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
13718         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
13720         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
13721         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
13722         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
13724 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
13726         [BZ #12813]
13727         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
13728         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
13729         available.
13730         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
13731         __vdso_getcpu.
13733         [BZ #12814]
13734         * iconvdata/Makefile (tests): Add bug-iconv9.
13735         * iconvdata/bug-iconv9.c: New file.
13737 2011-05-27  Andreas Schwab  <schwab@redhat.com>
13739         [BZ #12814]
13740         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
13742 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
13744         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13745         (struct user_regs_struct): Change intcs field back to cs.
13747 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
13749         * po/ja.po: Update from translation team.
13751 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
13753         [BZ #12795]
13754         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
13755         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
13757 2011-05-20  Andreas Schwab  <schwab@redhat.com>
13759         * stdlib/longlong.h: Update from GCC.
13761 2011-05-23  Andreas Schwab  <schwab@redhat.com>
13763         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
13764         parameter name.
13765         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
13766         Add parameter name.
13767         (__sysconf): Pass it down.
13769 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
13771         [BZ #12671]
13772         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
13773         some situations.
13774         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
13775         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
13776         add in in __libc_use_alloca calls.  Adjust callers.
13777         (glob): Use malloc in some situations.
13779         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
13780         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
13781         pltexit.
13783 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
13785         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
13786         and CLOCK_BOOTTIME_ALARM.
13788         [BZ #12782]
13789         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
13790         is returned.
13792         * string/_strerror.c (__strerror_r): Print negative errors as signed
13793         numbers.
13795         [BZ #12777]
13796         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
13797         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
13798         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
13800         * configure.in: Fix typo in redirection and correct removal of test
13801         files in two cases.
13803         [BZ #12788]
13804         * locale/setlocale.c (new_composite_name): Fix test to check for
13805         identical name of all categories.
13807         [BZ #12792]
13808         * libio/filedoalloc.c (local_isatty): New function.
13809         (_IO_file_doallocate): Use local_isatty.
13810         * stdio-common/perror.c (perror): In case a new stream is used
13811         forward the stream error.
13812         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
13813         error flag.
13815 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
13817         [BZ #11869]
13818         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
13819         alloca.
13820         * include/alloca.h (extend_alloca_account): Define.
13822         [BZ #11857]
13823         * posix/regex.h: Fix comments with documentation of user-accessible
13824         fields after compilation and describe correct free'ing of pattern
13825         after re_compile_pattern.
13826         Patch by Reuben Thomas <rrt@sc3d.org>.
13828 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
13830         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
13831         and -mno-altivec to prevent the compiler from using Altivec and/or
13832         VSX instructions when the corresponding registers are not available.
13834 2011-05-19  Andreas Schwab  <schwab@redhat.com>
13836         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
13838 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
13840         * libio/freopen.c (freopen): Use __dup2, not dup2.
13841         * libio/freopen64.c (freopen64): Likewise.
13843 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
13845         [BZ #12775]
13846         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
13847         * math/Makefile (tests): Add test-powl.
13848         (CFLAGS-test-powl.c): Define.
13849         * math/test-powl.c: New file.
13851 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
13853         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
13855 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
13857         [BZ #11837]
13858         * iconvdata/gb18030.c: Update to GB18020-2005.
13860 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
13862         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
13863         RE_SYNTAX_POSIX_AWK): Update to match recent development.
13864         Patch by Aharon Robbins <arnold@skeeve.com>.
13866         [BZ #11892]
13867         * stdlib/putenv.c (putenv): Don't always create copy of the variable
13868         on the stack.
13870         [BZ #11895]
13871         * misc/pselect.c (__pselect): Handle timeout value errors hidden
13872         through underflows.
13874         [BZ #12766]
13875         * misc/error.c (error_at_line): Ensure file_name and old_file_name
13876         point to strings before performing equality test for error_one_per_line
13877         mode.
13879         [BZ #11697]
13880         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
13882         [BZ #11820]
13883         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13884         (struct user_fpregs_struct): Avoid __uint*_t types.
13886         [BZ #6420]
13887         * malloc/mtrace.c (tr_where): Add additional parameter to point to
13888         symbol info.  Use it instead of calling _dl_addr locally.
13889         (lock_and_info): New function.
13890         (tr_freehook): Call lock_and_info and pass symbol info as additional
13891         parameter to tr_where.
13892         (tr_mallochook): Likewise.
13893         (tr_reallochook): Likewise.
13894         (tr_memalignhook): Likewise.
13896         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
13897         used and couldn't be at all thread-safe.
13899 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
13901         * libio/freopen.c (freopen): Don't close old file descriptor
13902         before the new one is opened.  Instead dup the new file descriptor
13903         to the old one after the new stream is created.
13904         * libio/freopen64.c (freopen64): Likewise.
13905         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
13906         * libio/fileops.c (_IO_new_file_close_it): Handle new
13907         _IO_FLAGS2_NOCLOSE flag.
13908         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
13909         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
13910         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
13911         _IO_FLAGS2_NOCLOSE flag.
13912         * include/unistd.h: Add hidden_proto for dup3.
13913         Define __have_dup3.
13914         * io/dup3.c: Define hidden symbol.
13915         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
13917         [BZ #7101]
13918         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
13919         when an incomplete long option is used.
13920         * posix/tst-getopt_long1.c: New file.
13921         * posix/Makefile (tests): Add tst-getopt_long1.
13923         [BZ #10138]
13924         * scripts/config.guess: Update from autoconf-2.68.
13925         * scripts/config.sub: Likewise.
13927         [BZ #10157]
13928         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
13929         tests into ...
13930         (has_cpuclock): ...this.  New function.
13931         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
13932         macro here based on has_cpuclock code.
13934         [BZ #10149]
13935         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13936         First byte (not low byte) is now always NUL.
13937         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
13939         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13940         Use non-cancelable interfaces.
13942         [BZ #9809]
13943         * locale/iso-639.def: Add entry for Sorani.
13945         [BZ #11901]
13946         * include/stdlib.h: Move include protection to the right place.
13947         Define abort_msg_s.  Declare __abort_msg with it.
13948         * stdlib/abort.c (__abort_msg): Adjust type.
13949         * assert/assert.c (__assert_fail_base): New function.  Majority
13950         of code from __assert_fail.  Allocate memory for __abort_msg with
13951         mmap.
13952         (__assert_fail): Now call __assert_fail_base.
13953         * assert/assert-perr.c: Remove bulk of implementation.  Use
13954         __assert_fail_base.
13955         * include/assert.hL Declare __assert_fail_base.
13956         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
13957         mmap.
13958         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
13960 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
13962         [BZ #11952]
13963         [BZ #12453]
13964         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
13965         until all modules are registered in the DTV.
13966         * elf/Makefile: Add rules to build and run tst-tls19.
13967         * elf/tst-tls19.c: New file.
13968         * elf/tst-tls19mod1.c: New file.
13969         * elf/tst-tls19mod2.c: New file.
13970         * elf/tst-tls19mod3.c: New file.
13971         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
13973         [BZ #12083]
13974         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
13975         correctly.
13977         [BZ #12601]
13978         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
13979         two-byte sequence errors.
13980         * iconvdata/Makefile (tests): Add bug-iconv8.
13981         * iconvdata/bug-iconv8.c: New file.
13983         [BZ #12626]
13984         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
13985         buf2 definition.
13987         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
13989         [BZ #12432]
13990         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
13991         (dummy_getcfa): New function.
13992         (init): Get _Unwind_GetCFA address, use dummy if not found.
13993         (backtrace_helper): In recursion check, also check whether CFA changes.
13994         (__backtrace): Completely initialize arg.
13996         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
13997         storing incomplete byte sequence in state object.  Avoid testing for
13998         guaranteed too small input if we know there is enough data available.
14000 2011-05-11  Andreas Schwab  <schwab@redhat.com>
14002         * Makeconfig (+link-pie): Indent.
14003         * Rules (binaries-pie): Define if $(have-fpie) and
14004         $(build-shared).
14005         (binaries-shared): Also filter out $(binaries-pie).
14006         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
14007         * nscd/Makefile (others-pie): Add nscd.
14008         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
14009         ($(objpfx)nscd): Remove command override.
14010         * login/Makefile (others-pie): Add pt_chown.
14011         ($(objpfx)pt_chown): Remove command override.
14012         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
14013         remove command overrides.
14015 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
14017         * libio/tst_putwc.c: Fix error messages.
14019         [BZ #12724]
14020         * libio/fileops.c (_IO_new_file_close_it): Always flush when
14021         currently writing and seek to current position when not.
14022         * libio/Makefile (tests): Add bug-fclose1.
14023         * libio/bug-fclose1.c: New file.
14025 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
14027         [BZ #12511]
14028         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
14029         don't set DF_1_NODELETE here.
14030         (do_lookup_x): When entering new entry test for copy relocation
14031         and if necessary set DF_1_NODELETE flag.
14032         * elf/tst-unique4.cc: New file.
14033         * elf/tst-unique4.h: New file.
14034         * elf/tst-unique4lib.cc: New file.
14035         * elf/Makefile: Add rules to build and run tst-unique4.
14036         Patch by Piotr Bury <pbury@goahead.com>.
14038 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
14040         [BZ #12052]
14041         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
14043         [BZ #12625]
14044         * misc/mntent_r.c (addmntent): Flush the stream after the output
14046         [BZ #12393]
14047         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
14048         (is_trusted_path_normalize): Skip initial colon.  Append slash
14049         to empty buffer.  Duplicate is_trusted_path code but allow
14050         constructed patch to be prefix.
14051         (is_dst): Allow $ORIGIN followed by /.
14052         (_dl_dst_substitute): Correct clearing of check_for_trusted.
14053         Correct testing of result of is_trusted_path_normalize
14054         (decompose_rpath): Fix warning.
14056 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
14058         [BZ #11257]
14059         * grp/initgroups.c (internal_getgrouplist): When we found the service
14060         list through the initgroups entry in nsswitch.conf do not always
14061         continue on a successful lookup.  Don't always use the
14062         __nss_group_database value if it is set.
14063         * nss/nsswitch.conf (initgroups): Change action for successful db
14064         lookup to continue for compatibility.
14066 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
14068         [BZ #11532]
14069         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
14070         and CP774 modules.
14071         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
14072         and CP774 modules.
14073         * iconvdata/tst-tables.sh: Likewise.
14074         * iconvdata/cp770.c: New file.
14075         * iconvdata/cp771.c: New file.
14076         * iconvdata/cp772.c: New file.
14077         * iconvdata/cp773.c: New file.
14078         * iconvdata/cp774.c: New file.
14079         * iconvdata/testdata/CP770: New file.
14080         * iconvdata/testdata/CP770..UTF8: New file.
14081         * iconvdata/testdata/CP771: New file.
14082         * iconvdata/testdata/CP771..UTF8: New file.
14083         * iconvdata/testdata/CP772: New file.
14084         * iconvdata/testdata/CP772..UTF8: New file.
14085         * iconvdata/testdata/CP773: New file.
14086         * iconvdata/testdata/CP773..UTF8: New file.
14087         * iconvdata/testdata/CP774: New file.
14088         * iconvdata/testdata/CP774..UTF8: New file.
14090         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
14091         END CHARMAP line.
14092         * iconvdata/gen-8bit-gap.sh: Likewise.
14093         * iconvdata/gen-8bit.sh: Likewise.
14095         * locale/iso-639.def: Add ary entry.
14097         [BZ #11258]
14098         * locale/C-translit.h.in: Add U20A1 transliteration.
14100         [BZ #12178]
14101         * locale/iso-639.def: Add wae entry.
14102         Patch by Kevin Bortis <bortis@translate-wae.ch>.
14104         [BZ #12545]
14105         * locale/programs/localedef.c (construct_output_path): Use ssize_t
14106         for n.
14108         [BZ #12711]
14109         * locale/C-translit.h.in: Add entry for U20B9.
14110         Patch by pravin.d.s@gmail.com.
14112 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
14114         [BZ #12713]
14115         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
14116         ENAMETOOLONG use generic getcwd.
14117         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
14118         in rtld.  Use *stat64.
14119         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
14120         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
14121         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
14122         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
14123         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
14124         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
14125         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
14126         __fstatat64 macros.
14127         * include/dirent.h: Add libc_hidden_proto for rewinddir.
14128         * dirent/rewinddir.c: Add libc_hidden_def.
14129         * sysdeps/mach/hurd/rewinddir.c: Likewise.
14130         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
14132         * include/dirent.h (__alloc_dir): Add flags parameter.
14133         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
14134         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
14135         __alloc_dir.
14136         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
14137         from fdopendir if O_CLOEXEC is already set.
14139 2011-03-15  Alan Modra  <amodra@gmail.com>
14141         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
14142         l_tls_firstbyte_offset non-zero.  Save padding offset in
14143         l_tls_firstbyte_offset for later use.
14144         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
14145         freeing static tls block.
14147 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
14149         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
14150         where #ifdef was intended.  The intent is to prevent ARG_MAX from
14151         being defined by the kernel headers.
14153 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
14155         [BZ #12734]
14156         * resolv/resolv.h: Define RES_NOTLDQUERY.
14157         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
14158         no-tld-query and set RES_NOTLDQUERY.
14159         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
14160         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
14161         modern BIND to search name as TLD unless forbidden.
14163 2011-05-07  Petr Baudis  <pasky@suse.cz>
14164             Ulrich Drepper  <drepper@gmail.com>
14166         [BZ #12393]
14167         * elf/dl-load.c (fillin_rpath): Move trusted path check...
14168         (is_trusted_path): ...to here.
14169         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
14170         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
14171         using is_trusted_path_normalize() in setuid scripts.
14173 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
14175         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
14176         __BEGIN/__END_DECLS.
14178 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
14180         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
14181         NSS_STATUS_NOTFOUND if no record was found.
14183 2011-05-05  Andreas Schwab  <schwab@redhat.com>
14185         * sunrpc/Makefile (headers): Add rpc/netdb.h.
14186         (headers-not-in-tirpc): Remove rpc/netdb.h
14187         * resolv/netdb.h: Revert last change.
14189 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
14191         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
14192         circular dependency between libgcc.a and libc.a.
14194 2011-05-05  Andreas Schwab  <schwab@redhat.com>
14196         * resolv/netdb.h: Don't include <rpc/netdb.h>.
14197         * nis/Makefile: Don't install rpcsvc/*.
14198         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
14199         instead of <rpc/types.h>.
14200         (MAXHOSTNAMELEN): Define.
14202 2011-05-03  Andreas Schwab  <schwab@redhat.com>
14204         * elf/ldconfig.c (add_dir): Don't crash on empty path.
14206 2011-04-28  Maciej Babinski  <mbabinski@google.com>
14208         [BZ #12714]
14209         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
14210         gethostbyname4_r when IPv6 results are possible.
14212 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
14214         [BZ #12723]
14215         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
14216         _PC_PIPE_BUF handling.
14218 2011-04-30  Bruno Haible  <bruno@clisp.org>
14220         [BZ #12717]
14221         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
14222         * resolv/netdb.h (getnameinfo): Change type of flags parameter
14223         to 'int'.
14224         * inet/getnameinfo.c (getnameinfo): Likewise.
14226 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
14228         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
14229         to groups setting in database lookup.
14230         * nss/nsswitch.conf: Add initgroups entry.
14232 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
14234         [BZ #12685]
14235         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
14236         mode string.
14237         Patch by Eric Blake <eblake@redhat.com>.
14239 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
14241         * sunrpc/Makefile (need-export-routines): Add svc_run.
14242         (routines): Remove svc_run.
14243         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
14244         * sunrpc/clnt_perr.c (clnt_perrno): Export.
14245         * sunrpc/svc_run.c (svc_run): Likewise.
14246         * sunrpc/svc_udp.c (svcudp_create): Likewise.
14248 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
14250         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
14251         problem in reallocation in last patch.
14253 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
14255         * sunrpc/Makefile: Move inclusion of Rules.
14257 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
14259         * nss/nss_files/files-initgroups.c: New file.
14260         * nss/Makefile (libnss_files-routines): Add files-initgroups.
14261         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
14262         _nss_files_initgroups_dyn.
14264 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
14266         * elf/elf.h (R_ARM_IRELATIVE): Define.
14268 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
14270         * po/ru.po: Update from translation team.
14272 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
14274         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
14275         dependencies.
14277 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
14279         [BZ #12653]
14280         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
14281         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
14282         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
14283         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14284         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14286 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
14288         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
14289         differing bytes.
14290         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14291         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14292         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14294 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
14296         [BZ #12420]
14297         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
14298         storing it.
14299         * stdlib/bug-getcontext.c: New file.
14300         * stdlib/Makefile: Add rules to build and run bug-getcontext.
14302 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14304         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
14305         instructions into .machine "z9-109".
14306         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
14307         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
14309 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14311         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
14312         between environment variables and auxiliary vector.
14314 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
14316         * Makefile: Add rules to build linkobj/libc.so.
14317         * include/libc-symbols.h: Define libc_hidden_nolink.
14318         * include/rpc/auth.h: Mark functions which are to be hidden.
14319         * include/rpc/auth_des.h: Likewise.
14320         * include/rpc/auth_unix.h: Likewise.
14321         * include/rpc/clnt.h: Likewise.
14322         * include/rpc/des_crypt.h: Likewise.
14323         * include/rpc/key_prot.h: Likewise.
14324         * include/rpc/pmap_clnt.h: Likewise.
14325         * include/rpc/pmap_prot.h: Likewise.
14326         * include/rpc/pmap_rmt.h: Likewise.
14327         * include/rpc/rpc_msg.h: Likewise.
14328         * include/rpc/svc.h: Likewise.
14329         * include/rpc/svc_auth.h: Likewise.
14330         * include/rpc/xdr.h: Likewise.
14331         * nis/Makefile: Link all DSOs against linkobj/libc.so.
14332         * nss/Makefile: Likewise.
14333         * sunrpc/Makefile: Don't install headers.  Build library with normal
14334         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
14335         * sunrpc/auth_des.c: Hide exported symbols by default, export some
14336         for the compat linking library.  Remove use of INTDEF/INTUSE.
14337         * sunrpc/auth_none.c: Likewise.
14338         * sunrpc/auth_unix.c: Likewise.
14339         * sunrpc/authdes_prot.c: Likewise.
14340         * sunrpc/authuxprot.c: Likewise.
14341         * sunrpc/clnt_gen.c: Likewise.
14342         * sunrpc/clnt_perr.c: Likewise.
14343         * sunrpc/clnt_raw.c: Likewise.
14344         * sunrpc/clnt_simp.c: Likewise.
14345         * sunrpc/clnt_tcp.c: Likewise.
14346         * sunrpc/clnt_udp.c: Likewise.
14347         * sunrpc/clnt_unix.c: Likewise.
14348         * sunrpc/des_crypt.c: Likewise.
14349         * sunrpc/des_soft.c: Likewise.
14350         * sunrpc/get_myaddr.c: Likewise.
14351         * sunrpc/key_call.c: Likewise.
14352         * sunrpc/key_prot.c: Likewise.
14353         * sunrpc/netname.c: Likewise.
14354         * sunrpc/pm_getmaps.c: Likewise.
14355         * sunrpc/pm_getport.c: Likewise.
14356         * sunrpc/pmap_clnt.c: Likewise.
14357         * sunrpc/pmap_prot.c: Likewise.
14358         * sunrpc/pmap_prot2.c: Likewise.
14359         * sunrpc/pmap_rmt.c: Likewise.
14360         * sunrpc/publickey.c: Likewise.
14361         * sunrpc/rpc_cmsg.c: Likewise.
14362         * sunrpc/rpc_common.c: Likewise.
14363         * sunrpc/rpc_dtable.c: Likewise.
14364         * sunrpc/rpc_prot.c: Likewise.
14365         * sunrpc/rpc_thread.c: Likewise.
14366         * sunrpc/rtime.c: Likewise.
14367         * sunrpc/svc.c: Likewise.
14368         * sunrpc/svc_auth.c: Likewise.
14369         * sunrpc/svc_authux.c: Likewise.
14370         * sunrpc/svc_raw.c: Likewise.
14371         * sunrpc/svc_run.c: Likewise.
14372         * sunrpc/svc_simple.c: Likewise.
14373         * sunrpc/svc_tcp.c: Likewise.
14374         * sunrpc/svc_udp.c: Likewise.
14375         * sunrpc/svc_unix.c: Likewise.
14376         * sunrpc/svcauth_des.c: Likewise.
14377         * sunrpc/xcrypt.c: Likewise.
14378         * sunrpc/xdr.c: Likewise.
14379         * sunrpc/xdr_array.c: Likewise.
14380         * sunrpc/xdr_float.c: Likewise.
14381         * sunrpc/xdr_intXX_t.c: Likewise.
14382         * sunrpc/xdr_mem.c: Likewise.
14383         * sunrpc/xdr_rec.c: Likewise.
14384         * sunrpc/xdr_ref.c: Likewise.
14385         * sunrpc/xdr_sizeof.c: Likewise.
14386         * sunrpc/xdr_stdio.c: Likewise.
14388 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
14390         [BZ #12650]
14391         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
14392         * sysdeps/ia64/dl-tls.h: Likewise.
14393         * sysdeps/powerpc/dl-tls.h: Likewise.
14394         * sysdeps/s390/dl-tls.h: Likewise.
14395         * sysdeps/sh/dl-tls.h: Likewise.
14396         * sysdeps/sparc/dl-tls.h: Likewise.
14397         * sysdeps/x86_64/dl-tls.h: Likewise.
14398         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
14400 2011-03-14  Andreas Schwab  <schwab@redhat.com>
14402         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
14403         rpath element also skip the following colon.
14404         (expand_dynamic_string_token): Add is_path parameter and pass
14405         down to DL_DST_REQUIRED and _dl_dst_substitute.
14406         (decompose_rpath): Call expand_dynamic_string_token with
14407         non-zero is_path.  Ignore empty rpaths.
14408         (_dl_map_object_from_fd): Call expand_dynamic_string_token
14409         with zero is_path.
14411 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
14413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
14414         Make cancelable.
14416 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
14418         [BZ #12655]
14419         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
14420         Patch by Filipe David Manana <fdmanana@apache.org>.
14422 2011-04-07  Andreas Schwab  <schwab@redhat.com>
14424         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
14425         Maintain aligned stack.
14426         (CHECK_RSP): Remove unused macro.
14428 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
14430         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
14431         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
14433 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
14435         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
14437         * include/features.h: Mention __USE_XOPEN2K8 in comment.
14439 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
14441         [BZ #12518]
14442         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
14443         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
14444         * sysdeps/x86_64/memmove.c: New file.
14445         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
14446         (memcpy): Renamed to ...
14447         (__new_memcpy): This.
14448         (memcpy): Provide GLIBC_2_14 memcpy.
14449         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
14450         (memcpy): Provide GLIBC_2_2_5 memcpy.
14452 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
14454         [BZ #12631]
14455         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
14457 2011-03-30  Andreas Schwab  <schwab@redhat.com>
14459         * misc/syncfs.c: New file.
14460         * misc/Makefile (routines): Add syncfs.
14461         * posix/unistd.h: Declare syncfs.
14462         * sysdeps/unix/syscalls.list: Add syncfs.
14464 2011-04-01  Andreas Schwab  <schwab@redhat.com>
14466         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
14467         open_by_handle_at.
14468         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14469         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14470         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14471         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14472         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14473         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
14474         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14476 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
14478         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
14479         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14480         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
14481         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14482         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14483         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14484         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14486         * io/Makefile: Compile fallocate.c, fallocate64.c, and
14487         sync_file_range.c with -fexceptions.
14488         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
14489         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
14490         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
14491         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
14492         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
14493         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
14494         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
14495         sync_file_range as cancellation point
14496         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
14497         now a wrapper around __call_sync_file_range with cancellation handling.
14498         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
14499         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
14500         function name to __call_sync_file_range.
14501         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
14502         Add call_sync_file_range.
14504 2011-04-01  Andreas Schwab  <schwab@redhat.com>
14506         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14507         bits/timex.h.
14509 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
14511         * iconv/iconv.h: Fix typo in comment.
14512         * io/fcntl.h: Likewise.
14513         * libio/stdio.h: Likewise.
14514         * posix/spawn.h: Likewise.
14515         * posix/unistd.h: Likewise.
14516         * stdlib/stdlib.h: Likewise.
14517         * time/time.h: Likewise.
14518         * wcsmbs/wchar.h: Likewise.
14520         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
14521         open_by_handle): Add.
14522         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
14523         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
14524         Augment a few comments.
14525         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14526         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14527         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14528         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14529         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14530         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
14531         open_by_handle.
14533         * io/fcntl.h (AT_EMPTY_PATH): Define.
14535 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
14537         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
14538         * sysdeps/unix/sysv/linux/bits/time.h: New file.
14539         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
14540         to...
14541         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
14542         * Versions.def: Add GLIBC_2.14.
14543         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
14544         Export.
14546 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
14548         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
14549         round counter.
14550         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14552 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
14554         [BZ #12597]
14555         * string/test-strncmp.c (do_page_test): New function.
14556         (check2): Likewise.
14557         (test_main): Call check2.
14558         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
14560 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
14562         [BZ #12587]
14563         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
14564         Handle cache information in CPU leaf 4.
14565         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14567 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
14569         [BZ #12583]
14570         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
14571         character representation.
14572         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
14574 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
14576         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
14577         END(__isnan) to END(__isnanf) to match function entry point/label
14578         EALIGN(__isnanf,...).
14580 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
14582         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
14584 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
14586         [BZ #12510]
14587         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
14588         copy from the symbol referenced in the relocation to initialize the
14589         used variable.
14590         Patch by Piotr Bury <pbury@goahead.com>.
14591         * elf/Makefile: Add rules to build and tst-unique3.
14592         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
14593         * elf/tst-unique3.cc: New file.
14594         * elf/tst-unique3.h: New file.
14595         * elf/tst-unique3lib.cc: New file.
14596         * elf/tst-unique3lib2.cc: New file.
14598         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
14600 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
14602         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
14603         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
14604         to _start.
14606 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
14608         * elf/dl-load.c (_dl_map_object): If we are looking for the first
14609         to-be-loaded object along a path to loader is ld.so.
14611 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
14612             Ulrich Drepper  <drepper@gmail.com>
14614         * sysdeps/x86_64/memset.S: After aligning destination, code
14615         branches to different locations depending on the value of
14616         misalignment, when multiarch is enabled. Fix this.
14618 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
14620         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
14621         Set _x86_64_preferred_memory_instruction for AMD processsors.
14622         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14623         Set bit_Prefer_SSE_for_memop for AMD processors.
14625 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
14627         * libio/fmemopen.c (fmemopen): Optimize a bit.
14629 2011-03-03  Andreas Schwab  <schwab@redhat.com>
14631         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
14633 2011-03-03  Roland McGrath  <roland@redhat.com>
14635         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
14637 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
14639         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
14640         __bzero_ultra1 instead of __memset_ultra1.
14642 2011-02-23  Andreas Schwab  <schwab@redhat.com>
14643             Ulrich Drepper  <drepper@gmail.com>
14645         [BZ #12509]
14646         * include/link.h (struct link_map): Add l_orig_initfini.
14647         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
14648         returning unsuccessfully.
14649         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
14650         close of a file loaded at startup, restore the original l_initfini
14651         list.
14652         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
14653         list, store the pointer.
14654         * elf/Makefile ($(objpfx)noload-mem): New rule.
14655         (noload-ENV): Define.
14656         (tests): Add $(objpfx)noload-mem.
14657         * elf/noload.c: Include <memcheck.h>.
14658         (main): Call mtrace.  Close all opened handles.
14660 2011-02-17  Andreas Schwab  <schwab@redhat.com>
14662         [BZ #12454]
14663         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
14664         dependencies are missing.
14666 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14668         Fix __if_freereq crash: Unlike the generic version which uses free,
14669         Hurd needs munmap.
14670         * sysdeps/mach/hurd/ifreq.h: New file.
14672 2011-01-27  Petr Baudis  <pasky@suse.cz>
14673             Ulrich Drepper  <drepper@gmail.com>
14675         [BZ 12445]#
14676         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
14677         to extend_alloca().
14678         * stdio-common/bug23.c: New file.
14679         * stdio-common/Makefile (tests): Add bug23.
14681 2010-09-28  Andreas Schwab  <schwab@redhat.com>
14682             Ulrich Drepper  <drepper@gmail.com>
14684         [BZ #12489]
14685         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
14686         before performing relro protection.  At old place add assertion
14687         to make sure nothing changed.
14689 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
14690             Glauber de Oliveira Costa  <glommer@gmail.com>
14692         * elf/elf.h: Add new ARM TLS relocs.
14694 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
14696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14697         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
14698         cast from r3.
14699         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
14700         'tests' variable.
14701         * sysdeps/wordsize-64/tst-writev.c: New file.
14703 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
14705         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
14706         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
14707         insns in _dl_start to prevent a TOC reference before relocs are
14708         resolved.
14710 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
14712         [BZ #12469]
14713         * Makeconfig: Remove RANLIB definition.
14714         * Makerules: Don't use RANLIB.
14715         * aclocal.m4: Remove ranlib test.
14716         * configure.in: No need to check for ranlib.
14717         * elf/rtld-Rules: Don't use RANLIB.
14719 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14721         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
14722         protection macro.
14723         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
14724         inclusion protection macro.
14726         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
14727         SIGRTMIN and SIGRTMAX and print information in that case only when
14728         SIGRTMIN is defined.
14730 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
14732         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
14733         arginfo fn returning -1.
14735         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
14736         and thousands string is zero terminated.
14738 2011-02-03  Andreas Schwab  <schwab@redhat.com>
14740         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
14741         sysdeps/unix/sysv/linux/bits/socket.h.
14743 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14745         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
14746         (__CPU_COUNT): Remove old macros.
14747         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
14748         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
14749         (__CPU_ALLOC, __CPU_FREE): Add macros.
14750         (__sched_cpualloc, __sched_cpufree): Add declarations.
14752 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
14754         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
14755         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
14756         * nscd/aicache.c (addhstaiX): Return timeout of added value.
14757         (readdhstai): Return value of addhstaiX call.
14758         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
14759         (addgrbyX): Return value returned by cache_addgr.
14760         (readdgrbyname): Return value returned by addgrbyX.
14761         (readdgrbygid): Likewise.
14762         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
14763         (addpwbyX): Return value returned by cache_addpw.
14764         (readdpwbyname): Return value returned by addhstbyX.
14765         (readdpwbyuid): Likewise.
14766         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
14767         (addservbyX): Return value returned by cache_addserv.
14768         (readdservbyname): Return value returned by addservbyX:
14769         (readdservbyport): Likewise.
14770         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
14771         (addhstbyX): Return value returned by cache_addhst.
14772         (readdhstbyname): Return value returned by addhstbyX.
14773         (readdhstbyaddr): Likewise.
14774         (readdhstbynamev6): Likewise.
14775         (readdhstbyaddrv6): Likewise.
14776         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
14777         (readdinitgroups): Return value returned by addinitgroupsX.
14778         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
14779         (prune_cache): Keep track of timeout value of re-added entries.
14780         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
14781         * nscd/nscd.h: Adjust prototypes of readd* functions.
14783 2011-02-04  Roland McGrath  <roland@redhat.com>
14785         * nis/nis_server.c (nis_servstate): Use the right name for 0.
14786         (nis_stats): Likewise.
14787         * nis/nis_modify.c (nis_modify): Likewise.
14788         * nis/nis_remove.c (nis_remove): Likewise.
14789         * nis/nis_add.c (nis_add): Likewise.
14791         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
14793         * posix/fnmatch_loop.c: Add some consts.
14795         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
14797 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
14799         [BZ #12460]
14800         * config.make.in (config-cflags-novzeroupper): Define.
14801         * configure.in: Substitute libc_cv_cc_novzeroupper.
14802         * elf/Makefile (AVX-CFLAGS): Define.
14803         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
14804         (CFLAGS-tst-auditmod4a.c): Likewise.
14805         (CFLAGS-tst-auditmod4b.c): Likewise.
14806         (CFLAGS-tst-auditmod6b.c): Likewise.
14807         (CFLAGS-tst-auditmod6c.c): Likewise.
14808         (CFLAGS-tst-auditmod7b.c): Likewise.
14809         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
14811 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
14813         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
14814         function to the callback.
14815         Patch partly by Jiri Olsa <jolsa@redhat.com>.
14817 2011-02-02  Andreas Schwab  <schwab@redhat.com>
14819         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
14820         of errno.
14822 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
14824         [BZ #11724]
14825         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
14826         of constructors.
14827         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
14828         of destructors.
14829         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
14831         [BZ #11724]
14832         * elf/Makefile: Add rules to build and run new test.
14833         * elf/tst-initorder.c: New file.
14834         * elf/tst-initorder.exp: New file.
14835         * elf/tst-initordera1.c: New file.
14836         * elf/tst-initordera2.c: New file.
14837         * elf/tst-initordera3.c: New file.
14838         * elf/tst-initordera4.c: New file.
14839         * elf/tst-initorderb1.c: New file.
14840         * elf/tst-initorderb2.c: New file.
14841         * elf/tst-order-a1.c: New file.
14842         * elf/tst-order-a2.c: New file.
14843         * elf/tst-order-a3.c: New file.
14844         * elf/tst-order-a4.c: New file.
14845         * elf/tst-order-b1.c: New file.
14846         * elf/tst-order-b2.c: New file.
14847         * elf/tst-order-main.c: New file.
14848         New test case by George Gensure <werkt0@gmail.com>.
14850 2010-10-01  Andreas Schwab  <schwab@redhat.com>
14852         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
14853         decoding ACE if AI_CANONIDN.
14855 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
14857         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
14859 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
14861         * version.h (RELEASE): Bump for 2.13 release.
14862         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
14864         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
14866         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
14867         MADV_NOHUGEPAGE.
14868         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
14869         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
14870         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
14871         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
14872         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
14873         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
14875         * posix/getconf.c: Update copyright year.
14876         * catgets/gencat.c: Likewise.
14877         * csu/version.c: Likewise.
14878         * debug/catchsegv.sh: Likewise.
14879         * debug/xtrace.sh: Likewise.
14880         * elf/ldconfig.c: Likewise.
14881         * elf/ldd.bash.in: Likewise.
14882         * elf/sprof.c (print_version): Likewise.
14883         * iconv/iconv_prog.c: Likewise.
14884         * iconv/iconvconfig.c: Likewise.
14885         * locale/programs/locale.c: Likewise.
14886         * locale/programs/localedef.c: Likewise.
14887         * malloc/memusage.sh: Likewise.
14888         * malloc/mtrace.pl: Likewise.
14889         * nscd/nscd.c (print_version): Likewise.
14890         * nss/getent.c: Likewise.
14892         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
14893         PF_CAIF, and PF_ALG.
14894         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14896 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
14898         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
14899         (modules-names): Use them.
14900         (ifunc-test-modules, ifunc-pie-tests): Define.
14901         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
14902         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
14903         (test-extras): Likewise.
14904         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
14905         $(compile-command.c).
14906         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
14907         (all-built-dso): Define.
14908         (check-textrel.out, check-execstack.out): Depend on it.
14910         * configure.in: Don't override --enable-multi-arch.
14912 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
14914         [BZ #6812]
14915         * nscd/hstcache.c (tryagain): Define.
14916         (cache_addhst): Return tryagain not notfound for temporary errors.
14917         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
14918         failed.
14920 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
14922         [BZ #10563]
14923         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
14924         to make the syscall.
14925         * sysdeps/unix/sysv/linux/setgroups.c: New file.
14927         [BZ #12378]
14928         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
14929         and fall back to matching as normal character if the string ends before
14930         the matching ']' is found.  This is what POSIX requires.
14931         * posix/testfnm.c: Adjust test result.
14932         * posix/globtest.sh: Adjust test result.  Add new test.
14933         * posix/tst-fnmatch.input: Likewise.
14934         * posix/tst-fnmatch2.c: Add new test.
14936 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
14938         * elf/Makefile (check-execstack): Revert last change.  Depend on
14939         check-execstack.h.
14940         (check-execstack.h): New target.
14941         (generated): Add check-execstack.h.
14942         * elf/check-execstack.c: Include "check-execstack.h".
14943         (main): Revert last change.
14944         (handle_file): Return zero if GNU_STACK is absent and
14945         DEFAULT_STACK_PERMS doesn't include PF_X.
14947 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
14949         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
14950         in child fails because the descriptor is already closed.
14951         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
14952         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
14953         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
14955         [BZ #12397]
14956         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
14957         syscall.
14959         [BZ #10484]
14960         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
14961         temporary buffer used to handle multi lookups locally.
14962         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
14964 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
14966         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
14967         loader is ld.so.
14969 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
14971         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
14972         alignment for SSE2.
14974 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
14976         [BZ #12394]
14977         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
14978         characters.  When rounding increased number of integer digits recompute
14979         number of groups.
14980         * stdio-common/tst-grouping.c: New file.
14981         * stdio-common/Makefile: Add rules to build and run tst-grouping.
14983 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
14985         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
14986         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
14988         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
14989         void.
14990         * bits/select.h: Likewise.
14992 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
14994         * po/ja.po: Update from translation team.
14996 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
14998         [BZ #11155]
14999         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
15000         implementation just like for lxstat, fxstatat, et al.
15002 2010-12-27  Jim Meyering  <meyering@redhat.com>
15004         [BZ #12348]
15005         * posix/regexec.c (build_trtable): Return failure indication upon
15006         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
15008 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
15010         [BZ #12201]
15011         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
15012         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
15013         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
15014         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
15016         [BZ #12207]
15017         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
15019         [BZ #12204]
15020         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
15021         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
15023 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
15025         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
15026         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
15027         script has SORT_BY_INIT_PRIORITY.
15028         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
15029         NO_CTORS_DTORS_SECTIONS is defined.
15030         * elf/soinit.c: Likewise.
15031         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
15032         NO_CTORS_DTORS_SECTIONS is defined.
15033         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
15034         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
15035         * sysdeps/sh/init-first.c: Likewise.
15036         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
15038 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
15040         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
15041         always use the slow path.
15043 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
15045         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
15046         similar rule which adds the sysdep directories to the header search in
15047         order to pick up the correct platform stackinfo.h.
15048         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
15049         perform test if it is, otherwise return successfully without testing.
15050         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
15051         DEFAULT_STACK_PERMS define in stackinfo.h.
15052         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
15053         defined in stackinfo.h.
15054         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
15055         DEFAULT_STACK_PERMS defined in stackinfo.h.
15056         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
15057         * sysdeps/ia64/stackinfo.h: Likewise.
15058         * sysdeps/s390/stackinfo.h: Likewise.
15059         * sysdeps/sh/stackinfo.h: Likewise.
15060         * sysdeps/sparc/stackinfo.h: Likewise.
15061         * sysdeps/x86_64/stackinfo.h: Likewise.
15062         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
15063         PF_X for powerpc64.  Retain PF_X for powerpc32.
15065 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
15067         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
15068         accurately.
15069         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
15070         GETDENTS_64BIT_ALIGNED.
15072 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
15074         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
15076 2010-12-10  Andreas Schwab  <schwab@redhat.com>
15078         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
15079         _GNU_SOURCE.
15081         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
15082         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
15083         Remove __restrict.
15084         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
15085         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
15087 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
15089         [BZ #11655]
15090         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
15091         are initialized.
15093 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
15095         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
15097 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
15099         * po/it.po: Update from translation team.
15101 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
15103         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
15104         unused codes.
15106 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
15108         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
15110 2010-11-24  Andreas Schwab  <schwab@redhat.com>
15112         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
15113         specially.
15114         (gaih_getanswer_slice): Likewise.
15116 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
15118         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
15120 2010-05-31  Petr Baudis  <pasky@suse.cz>
15122         [BZ #11149]
15123         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
15124         silently even in the chroot mode.
15126 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
15128         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
15129         last patch a bit.  Pretty printing
15131 2010-05-31  Petr Baudis <pasky@suse.cz>
15133         [BZ #10085]
15134         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
15135         initialization of skip_initgroups_dyn.
15137 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
15139         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
15140         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
15142 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
15144         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
15146 2010-11-11  Andreas Schwab  <schwab@redhat.com>
15148         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
15149         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
15150         (tst-fnmatch-ENV): Set MALLOC_TRACE.
15151         ($(objpfx)tst-fnmatch-mem): New rule.
15152         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
15153         * posix/tst-fnmatch.c (main): Call mtrace.
15155 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
15157         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15158         Support Intel processor model 6 and model 0x2c.
15160 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
15162         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
15163           signed comparison.
15165 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
15167         [BZ #12205]
15168         * string/test-strncasecmp.c (check_result): New function.
15169         (do_one_test): Use it.
15170         (check1): New function.
15171         (test_main): Use it.
15172         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
15173         Support strcasecmp and strncasecmp.
15175 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
15177         [BZ #12194]
15178         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
15179         * sysdeps/x86_64/bits/byteswap.h: Likewise.
15181 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
15183         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
15184         IFUNC support.
15185         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15186         memset-x86-64.
15187         * sysdeps/x86_64/multiarch/bzero.S: New file.
15188         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
15189         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
15190         * sysdeps/x86_64/multiarch/memset.S: New file.
15191         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
15192         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15193         Set bit_Prefer_SSE_for_memop for Intel processors.
15194         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
15195         Define.
15196         (index_Prefer_SSE_for_memop): Define.
15197         (HAS_PREFER_SSE_FOR_MEMOP): Define.
15199 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
15201         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
15202         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
15204 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
15206         [BZ #12191]
15207         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15208         (__x86_64_raw_data_cache_size_half): Likewise.
15209         (__x86_64_raw_shared_cache_size): Likewise.
15210         (__x86_64_raw_shared_cache_size_half): Likewise.
15212         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15213         (__x86_64_raw_data_cache_size_half): Likewise.
15214         (__x86_64_raw_shared_cache_size): Likewise.
15215         (__x86_64_raw_shared_cache_size_half): Likewise.
15216         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
15217         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
15218         and __x86_64_raw_shared_cache_size_half.  Round
15219         __x86_64_data_cache_size_half, __x86_64_data_cache_size
15220         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
15221         to multiple of 256 bytes.
15223 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
15225         [BZ #12167]
15226         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
15227         of inacessible symlinks.  Verify result of symlink before returning it.
15228         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
15229         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
15231 2010-10-28  Erich Ritz  <erichritz@gmail.com>
15233         * math/math.h (isinf): Fix typo in comment.
15235 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
15237         * po/da.po: Update from translation team.
15239 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
15241         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
15242         is added to the list.
15244 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15245             Ulrich Drepper  <drepper@gmail.com>
15247         * elf/dl-object.c (_dl_new_object): Don't append the new object to
15248         the global list here.  Move code to...
15249         (_dl_add_to_namespace_list): ...here.  New function.
15250         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
15251         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
15252         * elf/dl-load.c (lose): Don't remove the element from the list.
15253         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
15254         (_dl_map_object): Likewise.
15256 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
15258         [BZ #12159]
15259         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
15260         into all bytes of SSE register.
15261         Patch by Richard Li <richardpku@gmail.com>.
15263 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
15265         [BZ #12140]
15266         * malloc/malloc.c (_int_free): Fill correct number of bytes when
15267         perturbing.
15269 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
15271         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
15272         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
15273         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
15274         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
15275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
15276         submachine.
15277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
15279 2010-10-22  Andreas Schwab  <schwab@redhat.com>
15281         * include/dlfcn.h (__RTLD_SECURE): Define.
15282         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
15283         mode & __RTLD_SECURE instead.
15284         (open_path): Rename preloaded parameter to secure.
15285         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
15286         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
15287         * elf/dl-deps.c (openaux): Likewise.
15288         * elf/rtld.c (struct map_args): Remove is_preloaded.
15289         (map_doit): Don't use it.
15290         (dl_main): Likewise.
15291         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
15292         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
15294 2010-09-09  Andreas Schwab  <schwab@redhat.com>
15296         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
15297         (sysd-rules-targets): Remove duplicates.
15298         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
15299         rtld-%.$o dependency.
15301 2010-10-18  Andreas Schwab  <schwab@redhat.com>
15303         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
15304         _dl_map_object do it.
15306 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
15308         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
15309         fast fma builtins, define the macros in the C99 standard.
15310         (FP_FAST_FMAF): Likewise.
15311         (FP_FAST_FMAL): Likewise.
15312         * sysdeps/x86_64/bits/mathdef.h: Likewise.
15314         * bits/mathdef.h: Update copyright year.
15315         * sysdeps/powerpc/bits/mathdef.h: Likewise.
15317 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
15319         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
15320         builtins, define the macros in the C99 standard.
15321         (FP_FAST_FMAF): Likewise.
15322         (FP_FAST_FMAL): Likewise.
15323         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
15324         multiply/add.
15325         (FP_FAST_FMAF): Likewise.
15327 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
15329         [BZ #3268]
15330         * math/libm-test.inc (fma_test): Some new testcases.
15331         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
15332         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
15333         y and infinite z.  Do multiplication by C already in long double.
15334         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
15335         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
15336         y and infinite z.  Do bitwise or of inexact bit into u.d.
15337         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
15338         * sysdeps/i386/fpu/s_fmaf.S: Removed.
15339         * sysdeps/i386/fpu/s_fma.S: Removed.
15340         * sysdeps/i386/fpu/s_fmal.S: Removed.
15342 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
15344         [BZ #3268]
15345         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
15346         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
15347         computation is not scheduled after fetestexcept.  Fix value
15348         of minimum denormal long double.
15350 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
15352         [BZ #3268]
15353         * math/libm-test.inc (fma_test): Add some more tests.
15354         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
15355         correctly.
15357 2010-10-15  Andreas Schwab  <schwab@redhat.com>
15359         * scripts/data/localplt-s390-linux-gnu.data: New file.
15360         * scripts/data/localplt-s390x-linux-gnu.data: New file.
15362 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
15364         [BZ #3268]
15365         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
15366         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
15367         instead of dbl-64.
15368         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
15369         inlines.
15370         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
15371         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
15372         if one of x and y is very large and the other is subnormal.
15373         * sysdeps/s390/fpu/s_fmaf.c: New file.
15374         * sysdeps/s390/fpu/s_fma.c: New file.
15375         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
15376         * sysdeps/powerpc/fpu/s_fma.S: New file.
15377         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
15378         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
15379         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
15381 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
15383         [BZ #3268]
15384         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
15385         fma tests.
15386         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
15387         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
15388         * sysdeps/i386/i686/multiarch/s_fma.c: Include
15389         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
15390         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
15391         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
15392         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
15394 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
15396         [BZ #12078]
15397         * posix/regcomp.c (parse_branch): One more memory leak plugged.
15398         * posix/bug-regex31.input: Add test case.
15400 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
15402         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
15403         * posix/bug-regex31.input: New file.
15405         [BZ #12078]
15406         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
15407         (parse_sub_exp): Fix last change, use postorder.
15409         * posix/bug-regex31.c: New file.
15410         * posix/Makefile: Add rules to build and run bug-regex31.
15412         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
15414         [BZ #12078]
15415         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
15417         [BZ #12108]
15418         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
15419         to have entries in sys_siglist.
15421         [BZ #12093]
15422         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
15423         be NULL.
15425 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
15427         [BZ #3268]
15428         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
15429         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
15430         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
15431         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
15432         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
15433         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
15434         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
15435         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
15436         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
15437         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
15438         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
15439         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
15440         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
15441         * math/ftestexcept.c (fetestexcept): Likewise.
15442         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
15443         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
15444         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
15445         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
15446         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
15447         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
15448         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15450 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
15452         [BZ #12107]
15453         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
15454         newline.
15456 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
15458         * string/bug-strstr1.c: New file.
15459         * string/Makefile: Add rules to build and run bug-strstr1.
15461 2010-10-05  Eric Blake  <eblake@redhat.com>
15463         [BZ #12092]
15464         * string/str-two-way.h (two_way_long_needle): Always clear memory
15465         when skipping input due to the shift table.
15467 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
15469         [BZ #12005]
15470         * malloc/mcheck.c: Handle large requests.
15472         [BZ #12077]
15473         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
15474         for strncmp and strncasecmp.
15475         * string/stratcliff.c: Add tests for strcmp and strncmp.
15476         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
15478 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
15480         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
15481         __set_fpscr.
15483 2010-09-30  Andreas Jaeger  <aj@suse.de>
15485         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
15486         (CGROUP_SUPER_MAGIC): Define.
15487         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15488         Handle btrfs and cgroup file systems.
15489         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
15490         Likewise.
15492 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
15494         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
15495         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
15497 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15499         [BZ #12067]
15500         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
15501         trying to locate the ELF header.
15503 2010-09-27  Andreas Schwab  <schwab@redhat.com>
15505         [BZ #11611]
15506         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
15507         Mask out sign-bit copies when constructing f_fsid.
15509 2010-09-24  Petr Baudis <pasky@suse.cz>
15511         * debug/stack_chk_fail_local.c: Add missing licence exception.
15512         * debug/warning-nop.c: Likewise.
15514 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
15516         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
15517         implementing getdents64 using getdents syscall, set d_type if
15518         __ASSUME_GETDENTS32_D_TYPE.
15520 2010-09-16  Andreas Schwab  <schwab@redhat.com>
15522         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
15523         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
15525 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
15527         [BZ #12037]
15528         * posix/unistd.h: Undo change of feature selection for ftruncate from
15529         2010-01-11.
15531 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
15533         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
15534         detection.
15536 2010-09-20  Andreas Schwab  <schwab@redhat.com>
15538         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
15539         fanotify_mark.
15540         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15542 2010-09-14  Andreas Schwab  <schwab@redhat.com>
15544         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
15545         variables after CHECK_SP call.
15546         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
15548 2010-09-13  Andreas Schwab  <schwab@redhat.com>
15549             Ulrich Drepper  <drepper@redhat.com>
15551         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
15552         re-relocationg ld.so.
15553         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
15554         _dl_init_paths call.
15555         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
15556         here anymore.
15558 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
15560         * resolv/res_init.c (__res_vinit): Count the default server we added.
15562 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
15563             Ulrich Drepper  <drepper@redhat.com>
15565         [BZ #11968]
15566         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
15567         (____longjmp_chk): Use %ebx for saving value across system call.
15568         Add unwind info.
15570 2010-09-06  Andreas Schwab  <schwab@redhat.com>
15572         * manual/Makefile: Don't mix pattern rules with normal rules.
15574 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
15576         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
15577         operation.
15578         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
15579         * libio/iofopncook.c (_IO_cookie_init): Likewise.
15580         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
15581         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
15582         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15583         Likewise.
15585 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
15587         [BZ #11979]
15588         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
15589         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
15591 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
15593         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
15594         * sysdeps/x86_64/addmul_1.S: Likewise.
15595         * sysdeps/x86_64/lshift.S: Likewise.
15596         * sysdeps/x86_64/mul_1.S: Likewise.
15597         * sysdeps/x86_64/rshift.S: Likewise.
15598         * sysdeps/x86_64/sub_n.S: Likewise.
15599         * sysdeps/x86_64/submul_1.S: Likewise.
15601 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15603         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
15604         Define __sched_param instead of SCHED_* and sched_param when
15605         <bits/sched.h> is included with __need_schedparam defined.
15606         * bits/sched.h [__need_schedparam]
15607         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
15608         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
15609         (__defined_schedparam): Define to 1.
15610         (__sched_param): New structure, identical to sched_param.
15611         (__need_schedparam): Undefine.
15613 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
15615         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
15616         (epoll_create1): Declare.
15618         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
15620 2010-08-31  Andreas Schwab  <schwab@redhat.com>
15622         [BZ #7066]
15623         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
15624         shifting retval into place.
15626 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
15628         * nis/rpcsvc/nis.h: Update copyright notice.
15629         * nis/rpcsvc/nis.x: Likewise.
15630         * nis/rpcsvc/nis_callback.h: Likewise.
15631         * nis/rpcsvc/nis_callback.x: Likewise.
15632         * nis/rpcsvc/nis_object.x: Likewise.
15633         * nis/rpcsvc/nis_tags.h: Likewise.
15634         * nis/rpcsvc/yp.h: Likewise.
15635         * nis/rpcsvc/yp.x: Likewise.
15636         * nis/rpcsvc/ypupd.h: Likewise.
15637         * nis/yp_xdr.c: Likewise.
15638         * nis/ypupdate_xdr.c: Likewise.
15640         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
15641         mainly the body of pmap_getport.  Add parameters to specify timeouts.
15642         (pmap_getport): Use __libc_rpc_getport.
15643         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
15644         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
15645         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
15647 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
15649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
15650         fanotify_mark.
15652 2010-08-27  Roland McGrath  <roland@redhat.com>
15654         * sysdeps/i386/i686/multiarch/Makefile
15655         (CFLAGS-varshift.c): New variable.
15657 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
15659         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
15660         * sysdeps/i386/i686/multiarch/varshift.c: New file.
15662         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
15664         * sysdeps/x86_64/strlen.S: Minimal code improvement.
15666 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
15668         * sysdeps/x86_64/strlen.S: Unroll the loop.
15669         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15670         strlen-sse2 strlen-sse2-bsf.
15671         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
15672         __strlen_no_bsf if bit_Slow_BSF is set.
15673         (__strlen_sse42): Removed.
15674         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
15675         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
15677 2010-08-25  Roland McGrath  <roland@redhat.com>
15679         * sysdeps/x86_64/multiarch/varshift.S: File removed.
15680         * sysdeps/x86_64/multiarch/varshift.c: New file.
15681         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
15682         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
15683         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
15684         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15686 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
15688         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15689         strlen-sse2 strlen-sse2-bsf.
15690         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
15691         __strlen_sse2_bsf if bit_Slow_BSF is unset.
15692         (__strlen_sse2): Removed.
15693         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
15694         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
15695         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
15696         bit_Slow_BSF for Atom.
15697         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
15698         (index_Slow_BSF): Define.
15699         (HAS_SLOW_BSF): Define.
15701 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
15703         [BZ #10851]
15704         * resolv/res_init.c (__res_vinit): When no server address at all
15705         is given default to loopback.
15707 2010-08-24  Roland McGrath  <roland@redhat.com>
15709         * configure.in: Remove config-name.h generation.
15710         * configure: Regenerated.
15711         * config-name.in: File removed.
15712         * scripts/config-uname.sh: New file.
15713         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
15714         ($(objdir)config-name.h): New target.
15716         * sunrpc/rpc_parse.h: Avoid nested comment.
15718 2010-08-24  Richard Henderson  <rth@redhat.com>
15719             Ulrich Drepper  <drepper@redhat.com>
15720             H.J. Lu  <hongjiu.lu@intel.com>
15722         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
15723         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
15724         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
15725         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
15726         _mm_alignr_epi8 with _mm_loadu_si128.
15727         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
15728         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
15729         (__m128i_shift_right): Removed.
15730         * sysdeps/i386/i686/multiarch/varshift.h: New file.
15731         * sysdeps/i386/i686/multiarch/varshift.S: New file.
15732         * sysdeps/x86_64/multiarch/varshift.h: New file.
15733         * sysdeps/x86_64/multiarch/varshift.S: New file.
15735 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
15737         * configure.in: Move assembler checks to before sysdep dir checking.
15739 2010-08-20  Petr Baudis  <pasky@suse.cz>
15741         * LICENSES: Sync the sunrpc license.
15743 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
15745         * sunrpc/auth_des.c: Update copyright notice once again.
15746         * sunrpc/auth_none.c: Likewise.
15747         * sunrpc/auth_unix.c: Likewise.
15748         * sunrpc/authdes_prot.c: Likewise.
15749         * sunrpc/authuxprot.c: Likewise.
15750         * sunrpc/bindrsvprt.c: Likewise.
15751         * sunrpc/clnt_gen.c: Likewise.
15752         * sunrpc/clnt_perr.c: Likewise.
15753         * sunrpc/clnt_raw.c: Likewise.
15754         * sunrpc/clnt_simp.c: Likewise.
15755         * sunrpc/clnt_tcp.c: Likewise.
15756         * sunrpc/clnt_udp.c: Likewise.
15757         * sunrpc/clnt_unix.c: Likewise.
15758         * sunrpc/des_crypt.c: Likewise.
15759         * sunrpc/des_soft.c: Likewise.
15760         * sunrpc/get_myaddr.c: Likewise.
15761         * sunrpc/getrpcport.c: Likewise.
15762         * sunrpc/key_call.c: Likewise.
15763         * sunrpc/key_prot.c: Likewise.
15764         * sunrpc/openchild.c: Likewise.
15765         * sunrpc/pm_getmaps.c: Likewise.
15766         * sunrpc/pm_getport.c: Likewise.
15767         * sunrpc/pmap_clnt.c: Likewise.
15768         * sunrpc/pmap_prot.c: Likewise.
15769         * sunrpc/pmap_prot2.c: Likewise.
15770         * sunrpc/pmap_rmt.c: Likewise.
15771         * sunrpc/rpc/auth.h: Likewise.
15772         * sunrpc/rpc/auth_unix.h: Likewise.
15773         * sunrpc/rpc/clnt.h: Likewise.
15774         * sunrpc/rpc/des_crypt.h: Likewise.
15775         * sunrpc/rpc/key_prot.h: Likewise.
15776         * sunrpc/rpc/netdb.h: Likewise.
15777         * sunrpc/rpc/pmap_clnt.h: Likewise.
15778         * sunrpc/rpc/pmap_prot.h: Likewise.
15779         * sunrpc/rpc/pmap_rmt.h: Likewise.
15780         * sunrpc/rpc/rpc.h: Likewise.
15781         * sunrpc/rpc/rpc_des.h: Likewise.
15782         * sunrpc/rpc/rpc_msg.h: Likewise.
15783         * sunrpc/rpc/svc.h: Likewise.
15784         * sunrpc/rpc/svc_auth.h: Likewise.
15785         * sunrpc/rpc/types.h: Likewise.
15786         * sunrpc/rpc/xdr.h: Likewise.
15787         * sunrpc/rpc_clntout.c: Likewise.
15788         * sunrpc/rpc_cmsg.c: Likewise.
15789         * sunrpc/rpc_common.c: Likewise.
15790         * sunrpc/rpc_cout.c: Likewise.
15791         * sunrpc/rpc_dtable.c: Likewise.
15792         * sunrpc/rpc_hout.c: Likewise.
15793         * sunrpc/rpc_main.c: Likewise.
15794         * sunrpc/rpc_parse.c: Likewise.
15795         * sunrpc/rpc_parse.h: Likewise.
15796         * sunrpc/rpc_prot.c: Likewise.
15797         * sunrpc/rpc_sample.c: Likewise.
15798         * sunrpc/rpc_scan.c: Likewise.
15799         * sunrpc/rpc_scan.h: Likewise.
15800         * sunrpc/rpc_svcout.c: Likewise.
15801         * sunrpc/rpc_tblout.c: Likewise.
15802         * sunrpc/rpc_util.c: Likewise.
15803         * sunrpc/rpc_util.h: Likewise.
15804         * sunrpc/rpcinfo.c: Likewise.
15805         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
15806         * sunrpc/rpcsvc/key_prot.x: Likewise.
15807         * sunrpc/rpcsvc/klm_prot.x: Likewise.
15808         * sunrpc/rpcsvc/mount.x: Likewise.
15809         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
15810         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
15811         * sunrpc/rpcsvc/rex.x: Likewise.
15812         * sunrpc/rpcsvc/rstat.x: Likewise.
15813         * sunrpc/rpcsvc/rusers.x: Likewise.
15814         * sunrpc/rpcsvc/sm_inter.x: Likewise.
15815         * sunrpc/rpcsvc/spray.x: Likewise.
15816         * sunrpc/rpcsvc/yppasswd.x: Likewise.
15817         * sunrpc/rtime.c: Likewise.
15818         * sunrpc/svc.c: Likewise.
15819         * sunrpc/svc_auth.c: Likewise.
15820         * sunrpc/svc_authux.c: Likewise.
15821         * sunrpc/svc_raw.c: Likewise.
15822         * sunrpc/svc_run.c: Likewise.
15823         * sunrpc/svc_simple.c: Likewise.
15824         * sunrpc/svc_tcp.c: Likewise.
15825         * sunrpc/svc_udp.c: Likewise.
15826         * sunrpc/svc_unix.c: Likewise.
15827         * sunrpc/svcauth_des.c: Likewise.
15828         * sunrpc/xcrypt.c: Likewise.
15829         * sunrpc/xdr.c: Likewise.
15830         * sunrpc/xdr_array.c: Likewise.
15831         * sunrpc/xdr_float.c: Likewise.
15832         * sunrpc/xdr_mem.c: Likewise.
15833         * sunrpc/xdr_rec.c: Likewise.
15834         * sunrpc/xdr_ref.c: Likewise.
15835         * sunrpc/xdr_sizeof.c: Likewise.
15836         * sunrpc/xdr_stdio.c: Likewise.
15838         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
15839         handling.
15841 2010-08-19  Andreas Schwab  <schwab@redhat.com>
15843         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
15845 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
15847         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
15848         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
15849         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
15850         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
15851         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
15852         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
15853         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
15854         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
15855         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
15856         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
15857         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
15858         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
15859         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
15860         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
15862 2010-07-26  Anton Blanchard  <anton@samba.org>
15864         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
15865         * malloc/arena.c (heap_trim): Likewise.
15867 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
15869         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
15870         here.  Not...
15871         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
15872         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
15874 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
15876         * sysdeps/i386/elf/Makefile: New file.
15878 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
15880         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
15881         from fanotify_init.
15882         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
15883         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15885 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
15887         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
15888         of strncasecmp_l.
15889         * sysdeps/multiarch/strcmp.S: Likewise.
15891 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
15893         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
15894         strncase_l-nonascii.
15895         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
15896         Add strncase_l-ssse3.
15897         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
15898         * sysdeps/x86_64/strcmp.S: Likewise.
15899         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
15900         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
15901         * sysdeps/x86_64/strncase.S: New file.
15902         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
15903         * sysdeps/x86_64/strncase_l.S: New file.
15904         * string/Makefile (strop-tests): Add strncasecmp.
15905         * string/test-strncasecmp.c: New file.
15907         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
15908         warning.
15910         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
15911         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
15913 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
15915         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
15917 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
15919         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
15920         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
15921         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
15923 2010-05-01  Alan Modra  <amodra@gmail.com>
15925         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
15926         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
15927         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
15928         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
15929         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
15930         tidying.  Don't tail-call __sigjmp_save for static lib.
15931         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
15932         save location.
15933         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
15934         (CALL_MCOUNT): Add eh info, and nop after bl.
15935         (TAIL_CALL_SYSCALL_ERROR): New macro.
15936         (PSEUDO_RET): Use it.
15937         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
15938         Correct save location of integer regs and cr.
15939         (_dl_profile_resolve): Correct cr save location.  Delete nops
15940         after bl when SHARED.  Reduce cfi size a little by better
15941         placement of cfi directives.
15942         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
15943         make a stack frame.  Instead use parm save area as a temp.
15944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
15945         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
15946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
15947         Don't make a stack frame for parent, use parm save area.
15948         Increase child stack frame to 112 bytes.  Don't save unused reg,
15949         and adjust reg usage.  Set up cfi on error recovery and
15950         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
15951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15952         (__makecontext): Add dummy nop after jump to exit.
15953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
15954         Use correct parm save area and cr save, reduce stack frame.
15955         Correct cfi for possible PSEUDO_RET frame setup.
15956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
15957         Branch to local label emitted by PSEUDO_RET rather than
15958         __syscall_error.
15960 2010-08-12  Andreas Schwab  <schwab@redhat.com>
15962         [BZ #11904]
15963         * locale/programs/locale.c (print_assignment): New function.
15964         (show_locale_vars): Use it.
15966 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
15968         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
15969         field.
15970         (struct statfs64): Likewise.
15971         (_STATFS_F_FLAGS): Define.
15972         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
15973         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15974         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
15975         (ST_VALID): Define locally.
15976         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
15977         __statvfs_getflags, use the provided value.
15978         * sysdeps/unix/sysv/linux/kernel-features.h: Define
15979         __ASSUME_STATFS_F_FLAGS.
15981         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
15983         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
15984         Add sys/fanotify.h.
15985         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
15986         fanotify_mask for GLIBC_2.13.
15987         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
15988         fanotify_init and fanotify_mark.
15989         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15990         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
15992         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
15993         Add prlimit.
15994         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
15995         prlimit64 for GLIBC_2.13.
15996         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
15997         prlimit64.
15998         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
15999         syscall.
16000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
16001         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
16002         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
16003         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
16004         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
16005         add prlimit alias.
16006         * sysdeps/unix/sysv/linux/prlimit.c: New file.
16008         [BZ #11903]
16009         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
16010         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
16012         * nss/Makefile: Add rules to build and run tst-nss-test1.
16013         * shlib-versions: Add entry for libnss_test1.
16014         * nss/nss_test1.c: New file.
16015         * nss/tst-nss-test1.c: New file.
16017         * nss/nsswitch.c (__nss_database_custom): Define new variable.
16018         (__nss_configure_lookup): Set appropriate entry in
16019         __nss_configure_lookup to true.
16020         * nss/nsswitch.h: Define enum with indeces of databases in
16021         databases and __nss_database_custom arrays.  Declare
16022         __nss_database_custom.
16023         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
16024         to avoid using nscd when custom rules are installed.
16025         * nss/getXXbyYY_r.c: Likewise.
16026         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16028         * nss/nss_files/files-parse.c: Whitespace fixes.
16030 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
16032         [BZ #11883]
16033         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
16034         * posix/fnmatch_loop.c: Likewise.
16036 2010-07-17  Andi Kleen  <ak@linux.intel.com>
16038         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
16039         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
16040         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
16041         * Versions.def [GLIBC_2.13]: Add.
16043 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
16045         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16046         Also fail if tpwd after pwuid call is NULL.
16048 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16050         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
16051         when converting to ms.
16053 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16055         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
16056         EOPNOTSUPP errors with ENOTTY.
16057         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
16058         EOPNOTSUPP errors with ENOTTY.
16060 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
16062         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
16063         Add strcasecmp_l-ssse3.
16064         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
16065         strcasecmp.
16066         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
16067         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
16068         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
16070 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
16072         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
16074         * string/Makefile (strop-tests): Add strcasecmp.
16075         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
16076         strcasecmp_l-nonascii.
16077         (gen-as-const-headers): Add locale-defines.sym.
16078         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
16079         * sysdeps/x86_64/strcasecmp.S: New file.
16080         * sysdeps/x86_64/strcasecmp_l.S: New file.
16081         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
16082         * sysdeps/x86_64/locale-defines.sym: New file.
16083         * string/test-strcasecmp.c: New file.
16085         * string/test-strcasestr.c: Test both ends of the range of characters.
16086         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
16088 2010-07-29  Roland McGrath  <roland@redhat.com>
16090         [BZ #11856]
16091         * manual/locale.texi (Yes-or-No Questions): Fix example code.
16093 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
16095         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
16096         for ld.so.
16098 2010-07-27  Andreas Schwab  <schwab@redhat.com>
16100         * manual/memory.texi (Malloc Tunable Parameters): Document
16101         M_PERTURB.
16103 2010-07-26  Roland McGrath  <roland@redhat.com>
16105         [BZ #11840]
16106         * configure.in (-fgnu89-inline check): Set and substitute
16107         gnu89_inline, not libc_cv_gnu89_inline.
16108         * configure: Regenerated.
16109         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
16111 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
16113         * string/test-strnlen.c: New file.
16114         * string/Makefile (strop-tests): Add strnlen.
16115         * string/tester.c (test_strnlen): Add a few more test cases.
16116         * string/tst-strlen.c: Better error reporting.
16118         * sysdeps/x86_64/strnlen.S: New file.
16120 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
16122         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
16123         lower-latency instructions.
16125 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
16127         * string/test-strcasestr.c: New file.
16128         * string/test-strstr.c: New file.
16129         * string/Makefile (strop-tests): Add strstr and strcasestr.
16130         * string/str-two-way.h: Don't undefine MAX.
16131         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
16133 2010-07-21  Andreas Schwab  <schwab@redhat.com>
16135         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16136         strcasestr-nonascii.
16137         (CFLAGS-strcasestr-nonascii.c): Define.
16138         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
16139         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
16140         Remove unused attribute.
16142 2010-07-20  Roland McGrath  <roland@redhat.com>
16144         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
16145         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
16146         ld.so.cache was broken.  With it, there is no way to disable dsocaps
16147         like LD_HWCAP_MASK can disable hwcaps.
16149 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
16151         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
16153 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
16155         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
16156         call in strcasestr.
16157         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
16158         __strcasestr_sse42_nonascii.
16159         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
16160         strcasestr-nonascii.c.
16161         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
16163 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
16165         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
16166         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
16167         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
16168         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
16170 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
16172         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
16173         fcntl.
16175 2010-07-06  Andreas Schwab  <schwab@redhat.com>
16177         [BZ #11577]
16178         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
16179         dl_signal_cerror.
16181 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
16183         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
16184         _PC_PIPE_BUF using F_GETPIPE_SZ.
16186 2010-07-05  Roland McGrath  <roland@redhat.com>
16188         * manual/arith.texi (Rounding Functions): Fix rint description
16189         implicit in round description.
16191 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
16193         * elf/Makefile: Fix linking for a few tests to make recent linker
16194         happy.
16196 2010-06-30  Andreas Schwab  <schwab@redhat.com>
16198         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
16199         $(common-objpfx)libc_nonshared.a.
16201 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
16203         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
16204         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
16205         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16206         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16207         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
16208         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
16209         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16210         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
16212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
16213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
16214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
16216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
16218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
16219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
16220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
16221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
16223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
16225         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
16226         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
16227         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
16228         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
16229         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
16230         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
16231         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
16232         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
16233         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
16234         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
16235         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
16236         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
16237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
16238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
16239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
16240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
16241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
16242         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
16243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
16244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
16245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
16246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
16247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
16248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
16249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
16250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
16252 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
16254         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
16255         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
16256         * string/memmove.c (memmove): Renamed to ...
16257         (MEMMOVE): ...this.  Default to memmove.
16258         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
16259         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
16260         (END_CHK): Define.
16261         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16262         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
16263         mempcpy-ssse3-back memmove-ssse3-back.
16264         * sysdeps/x86_64/multiarch/bcopy.S: New file .
16265         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
16266         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
16267         * sysdeps/x86_64/multiarch/memcpy.S: New file.
16268         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
16269         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
16270         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
16271         * sysdeps/x86_64/multiarch/memmove.c: New file.
16272         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
16273         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
16274         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
16275         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
16276         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
16277         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
16278         Define.
16279         (index_Fast_Copy_Backward): Define.
16280         (HAS_ARCH_FEATURE): Define.
16281         (HAS_FAST_REP_STRING): Define.
16282         (HAS_FAST_COPY_BACKWARD): Define.
16284 2010-06-21  Andreas Schwab  <schwab@redhat.com>
16286         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16287         Restore proper fallback handling.
16289 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
16291         [BZ #11701]
16292         * posix/group_member.c (__group_member): Correct checking loop.
16294         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
16295         OOM in getpwuid_r correctly.  Return error number when the caller
16296         should return, otherwise -1.
16297         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
16298         call returning > 0 value.
16299         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
16301 2010-06-07  Andreas Schwab  <schwab@redhat.com>
16303         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
16304         libc_nonshared.a from targets in modules-names.
16306 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
16308         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
16309         requires it.
16311 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
16313         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
16314         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
16315         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
16316         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
16318 2010-06-02  Andreas Schwab  <schwab@redhat.com>
16320         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
16322 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
16324         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
16325         and F_GETPIPE_SZ.
16326         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
16327         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16328         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16329         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16330         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16331         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
16333 2010-06-14  Roland McGrath  <roland@redhat.com>
16335         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
16337 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
16339         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
16340         __REDIRECT followed by __THROW.
16341         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
16342         * posix/getopt.h (getopt): Likewise.
16344 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
16346         * hurd/lookup-at.c (__file_name_lookup_at): Accept
16347         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
16348         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
16349         in AT_FLAGS.
16350         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
16351         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
16353 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
16355         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
16357 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
16359         [BZ #11640]
16360         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16361         Properly check family and model.
16363 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
16365         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
16367 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
16369         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
16371 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
16373         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
16374         symbol reference.
16376 2010-05-19  Andreas Schwab  <schwab@redhat.com>
16378         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
16379         symbol reference.
16381 2010-05-21  Andreas Schwab  <schwab@redhat.com>
16383         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
16384         and internal_recvmmsg.
16385         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
16386         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
16387         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
16388         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
16390         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
16391         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16392         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16394 2010-05-20  Andreas Schwab  <schwab@redhat.com>
16396         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
16398 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
16400         POWER7 optimizations.
16401         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
16402         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
16404 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
16406         * version.h: Update for 2.13 development version.
16408 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
16410         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
16411         exceptions.  Return 0.
16413 2010-05-07  Roland McGrath  <roland@redhat.com>
16415         * elf/ldconfig.c (main): Add a const.
16417 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
16419         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
16420         (args_options): Add no-idn option.
16421         (ahosts_keys_int): Add idn_flags to ai_flags.
16422         (parse_option): Handle 'i' option to clear idn_flags.
16424         * malloc/malloc.c (_int_free): Possible race in the most recently
16425         added check.  Only act on the data if no current modification
16426         happened.
16428 See ChangeLog.17 for earlier changes.